Skip to content

About

Claude Code skill: scout the OSS ecosystem and return an evidence-backed ADOPT/WRAP/FORK/PORT/BUILD verdict before writing new code from scratch.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

oss-scouting

License: MIT

An Agent Skills workflow that forces a build-vs-adopt decision, backed by evidence, before any non-trivial component gets written from scratch. It includes native entry points for Claude Code, Codex, Cursor, GitHub Copilot/VS Code, Windsurf, Gemini CLI, and Continue.

Why this exists

Coding agents default to writing new code, even when the ecosystem already has a maintained answer. Two sourced, date-stamped data points on where that trend is heading:

  • GitClear, The Maintainability Gap: AI Code Quality in 2026 (analysis of 623M analyzed changes, 2023–2026): code block duplication hit its highest level on record, up 81% (40.3 → 73.0 per million changed lines), while refactored/moved lines — genuine reuse — collapsed from 21% of changed lines in 2022 to 3.8% in 2026. Within-commit copy/paste rose from 9.4% to 15.7%, and cross-file function connectivity (code actually wiring into existing systems) fell 35% (343 → 223 calls per thousand changed lines). Developers are now ~4x more likely to copy/paste than refactor (15.7% vs 3.8%), a reversal from 2022's ~2x preference for refactoring over redundant code. (gitclear.com, accessed 2026-07-29)
  • Huang et al., More Code, Less Reuse: Investigating Code Quality and Reviewer Sentiment towards AI-generated Pull Requests (arXiv 2601.21276, accepted to MSR 2026, submitted Jan 29 2026): LLM agents "frequently disregard code reuse opportunities, resulting in higher levels of redundancy compared to human developers" — yet reviewers expressed more neutral or positive sentiment toward AI-generated PRs than human ones, so the redundancy accumulates as "the silent accumulation of technical debt" masked by surface-level plausibility. (arxiv.org/abs/2601.21276, accessed 2026-07-29)

Read together: the industry-wide trend is toward less genuine reuse as AI's share of commits grows, and the specific way AI-generated code under-reuses is by not building on existing systems — exactly the failure mode this skill targets. The second source sharpens the point: the problem is not just that agents skip reuse, it's that the code they produce looks good enough to merge, so the gap never gets caught in review. This skill doesn't claim AI code is "worse" in the abstract; it targets one measurable gap: agents don't check whether something already exists before writing a fresh implementation.

This skill closes that gap. Instead of "write X," the agent is required to:

  1. Search the existing codebase first, then GitHub, package registries, vendor repos, and prior-art threads for existing solutions.
  2. Score real candidates against a fixed rubric (fit, maintenance, adoption, security, extensibility) plus a hard license gate — not vibes, not README claims taken at face value.
  3. Return an explicit verdict on a fixed ladder — ADOPT → WRAP → FORK → PORT → BUILD — with the evidence that produced it.

"Nothing out there" becomes a claim that has to survive a search log, not an assumption the agent gets to skip past. When BUILD is still the right call, you get that decision on the record too, with what was scouted and why it lost.

How this compares

There are a handful of other Claude Code skills that touch open-source evaluation. None occupy the same slot — worth knowing before picking one:

Skill Trigger point Scope Output
oss-scouting (this repo) Before writing any non-trivial new component Fast build-vs-adopt gate: is there something to reuse for this specific need One verdict on a fixed 5-rung ladder (ADOPT/WRAP/FORK/PORT/BUILD), evidence-backed, same session
maxamillion/claude-oss-eval-plugin You've already narrowed to a shortlist of frameworks Deep 15-phase methodology for comparing OSS frameworks against each other (adapted from a published internal methodology) A structured multi-phase comparison report, heavier-weight, framework-selection-focused
LottePitcher/oss-health-skills You already depend on a project and want to know its risk Dependency/maintainer health: bus factor, funding status, SBOM mapping A funding/health profile per project or dependency graph

In short: oss-scouting is the pre-build gate ("should I even write this?"), claude-oss-eval-plugin is the deep-dive once you're picking between known frameworks, and oss-health-skills is post-adoption risk monitoring of things you already ship with. They compose — oss-scouting can hand off a shortlist to claude-oss-eval-plugin for the framework-selection cases where a deeper pass is warranted.

Install and use

This repository is already configured for the supported tools when opened as a project. The platform adapters are deliberately thin and load the root SKILL.md as the single source of truth, so the workflow cannot silently drift between agents.

Platform Project-native entry point Invoke
Claude Code .claude/skills/oss-scouting/ /oss-scouting "<need>"
Codex .codex/skills/oss-scouting/ and .agents/skills/oss-scouting/ $oss-scouting or natural language
GitHub Copilot / VS Code .github/skills/oss-scouting/ and .agents/skills/oss-scouting/ /oss-scouting "<need>"
Cursor .cursor/rules/ and .cursor/commands/oss-scouting.md /oss-scouting "<need>"
Windsurf .windsurf/workflows/oss-scouting.md /oss-scouting "<need>"
Gemini CLI .gemini/commands/oss-scouting.toml /oss-scouting "<need>"
Continue .continue/rules/oss-scouting.md ask to use oss-scouting

To install it into another project or personal library, copy the repository directory (not just SKILL.md) into a target skill location. The portable Agent Skills location works across skills-compatible agents:

# user-level Claude Code
git clone https://github.com/ata381/oss-scouting ~/.claude/skills/oss-scouting

# project-level Agent Skills (Copilot, VS Code, and compatible agents)
git clone https://github.com/ata381/oss-scouting .agents/skills/oss-scouting

# user-level Codex
git clone https://github.com/ata381/oss-scouting ~/.codex/skills/oss-scouting

For tools without Agent Skills support, copy the matching adapter directory as well as the root SKILL.md. Cursor, Windsurf, Gemini CLI, and Continue use their checked-in adapters automatically when this repository is the workspace.

Invoke it explicitly where slash commands are available:

/oss-scouting "guardrail supervisor for autonomous agent runs"

or just say "is there something we can reuse for this?" before a build — the skill's description is written to trigger on that phrasing too.

What you get back

A short, evidence-anchored report, every time:

NEED: <one line>
CANDIDATES (top 1-5; for an internal hit, cite the file path instead):
  <repo/pkg> — URL, stars/downloads, last commit, license,
               scores (fit/maint/adopt/sec/ext), one-line delta
VERDICT: ADOPT|ADOPT (internal)|WRAP|FORK|PORT|BUILD <candidate — N/A for BUILD>
  (ADOPT/WRAP: pinned version. FORK: upstream SHA. PORT: source repo cited.)
WHY: 2-3 sentences, evidence-based
DELTA PLAN: what we still build ourselves
RISKS: license/maintenance/security flags

See SKILL.md for the full rubric, search lanes, verdict ladder, and guardrails (never running unvetted candidate code in a secrets-bearing environment, per-file license checks on anything forked or vendored, full-depth security reads for anything touching payments/auth/email).

License

MIT — see LICENSE.

About

Claude Code skill: scout the OSS ecosystem and return an evidence-backed ADOPT/WRAP/FORK/PORT/BUILD verdict before writing new code from scratch.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages