/pipeline:harvest <repo-url> [--clean] [--deep]from pipeline
Clones a Git repo, analyzes its Claude Code setup (skills, hooks, agents, rules, CLAUDE.md), compares against the local framework inventory, and generates adoption proposals. Use after /pipeline:scout or directly with a repo URL.
Ships in pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Clone a Git repository, analyze its Claude Code setup (skills, hooks, agents, rules, CLAUDE.md), compare against this framework, and generate adoption proposals.
$ARGUMENTS must include a Git-cloneable URL. Optional flags:
--clean — delete the cloned repo after analysis (harvest report is preserved)--deep — detailed line-level comparison for new and enhancement items$ARGUMENTS for the repo URL and flags (--clean, --deep)<owner>/<repo> from the URL. Derive a slug: <owner>-<repo> (e.g. anthropics-skills, travisvn-awesome-claude-skills)references/repos/<slug>/processed/.done exists, report "Already harvested — run with a different repo or delete the marker to re-harvest" and stop.claude/references/scout-registry.md — if the URL exists with status fetched and type repo, also stop (already analyzed).claude/skills/*/SKILL.md, extract name and description from frontmatter.claude/agents/*.md.claude/hooks/*.claude/rules/*.mdCLAUDE.md top-level headingsreferences/repos/git clone --depth 1 <repo-url> .claude/references/repos/<slug>/Check the cloned repo for framework indicators:
.claude/ directory (or .claude-code/, claude/)CLAUDE.md (or .cursorrules, .windsurfrules — note as alternative AI config)package.json, pyproject.toml, Cargo.toml (identify tech stack).mcp.json or mcp_config.json (MCP server config)Fetch repo metadata via gh api repos/<owner>/<repo> (if gh is available):
gh is not available, skip — metadata is nice-to-have, not requiredClassify source tier:
anthropics (official Anthropic repos)Non-framework repo handling: If no .claude/ directory AND no CLAUDE.md found:
.claude/ or CLAUDE.md detected"package.json scripts, CI workflows, MCP configsScan the repo's Claude Code artifacts and build a comparison inventory. For each category:
| Category | What to scan in repo | Compare against |
|---|---|---|
| Skills | .claude/skills/*/SKILL.md or .claude/commands/*.md or commands/*.md | Our .claude/skills/ |
| Agents | .claude/agents/*.md or agents/*.md | Our .claude/agents/ |
| Hooks | .claude/hooks/* or hooks/* | Our .claude/hooks/ |
| Rules | .claude/rules/*.md | Our .claude/rules/ |
| CLAUDE.md | Top-level sections and rules | Our CLAUDE.md |
| MCP config | .mcp.json, mcp_config.json | (note as new — flag interesting servers) |
| Scripts | package.json scripts, Makefile targets | (note automation patterns) |
For each discovered artifact:
new and enhancement items, note what specifically is worth adopting (1–2 sentences)Build the inventory as a markdown table for the report.
--deep)Skip this phase unless --deep was passed.
For each item classified as new or enhancement in Phase 3:
enhancement: read our equivalent skill/hook/agent side-by-sideFor each new or enhancement item from Phase 3 (or Phase 4 if --deep):
Read existing proposals. If .claude/reviews/learn-proposals.md exists, read it and check for duplicates (same skill + similar change). Skip items already proposed with status pending, accepted, or rejected.
Append proposals under a ## Proposals — YYYY-MM-DD (harvest: <slug>) heading:
For new items (skills/agents/hooks we don't have):
### New skill: <name>
**What:** <one-line description of the capability>
**Why:** <what problem it solves, how it complements our framework>
**Source:** <repo-url> (harvested YYYY-MM-DD)
**Source tier:** T1/T2/T3
**Status:** pending
**Adaptation:** trivial/moderate/significant
**Diff:** New file: `.claude/skills/<name>/SKILL.md` — <key phases/steps summary>
For enhancement items (improvements to existing skills):
### Skill: <our-skill-name>
**What:** <one-line description of the improvement>
**Why:** <what the source repo does better and the benefit>
**Source:** <repo-url> (harvested YYYY-MM-DD)
**Source tier:** T1/T2/T3
**Status:** pending
**Diff:** <specific old → new changes in our skill>
For T3-sourced proposals, add a **Justification:** line explaining why the insight is trustworthy.
Update the summary table at the bottom of learn-proposals.md.
Write a structured report to references/repos/<slug>/harvest-report.md:
# Harvest Report: <slug>
**URL:** <repo-url>
**Stars:** <count or "unknown"> | **Tier:** T1/T2/T3 | **Date:** YYYY-MM-DD
**Language:** <primary language> | **Last push:** <date or "unknown">
**Has .claude/:** yes/no | **Has CLAUDE.md:** yes/no
## Inventory
| Category | Artifact | Classification | Our equivalent | Notes |
| -------- | -------- | -------------------------------------- | ------------------- | --------------- |
| skill | /<name> | new/enhancement/duplicate/incompatible | /<our-skill> or "—" | <one-line note> |
| agent | <name> | ... | ... | ... |
| hook | <name> | ... | ... | ... |
## Key findings
- <bullet point summaries of the most valuable discoveries>
## Proposals generated
- <count> proposals written to `learn-proposals.md`
- <list of proposal one-liners>
## Not adopted (and why)
- <items classified as duplicate or incompatible, with brief reasoning>
Update scout-registry. Add or update the repo URL in .claude/references/scout-registry.md:
repofetchedIf the registry doesn't have a Type column yet, add it (backfill existing rows as article).
Mark as processed. Create the marker: references/repos/<slug>/processed/.done
Append metrics. Add a row to .claude/metrics-harvest.csv (create with header if missing):
date,slug,repo_url,tier,artifacts_found,new_count,enhancement_count,duplicate_count,proposals_count
Clean up (if --clean). If --clean was passed:
harvest-report.md to references/blogs/harvest-<slug>.md (so /pipeline:learn can find it)references/repos/<slug>/ directoryPrint a summary and suggest next steps:
"Harvest complete for <slug>. Found artifacts: <new_count> new, <enhancement_count> enhancements, <dup_count> duplicates. <proposals_count> proposals written to learn-proposals.md.
A) Review proposals in reviews/learn-proposals.md
B) Run /pipeline:learn to process harvest insights into context knowledge
C) Run /pipeline:harvest <another-url> to analyze another repo
D) Done — I'll review manually"
What SKILL.md sets; muted values are Claude Code's defaults
claude-opus-4-7highnpx claudepluginhub dixus/claudeframework --plugin pipeline25 skills in this plugin
/0_specWrite a feature spec from requirements in .claude/input/. Use when starting a new feature, before implementation begins./1_implementImplement a feature from a spec file in .claude/specs/. Use after a spec is written and approved./2_reviewReview implementation changes and write a report to .claude/reviews/. Use after implementation is complete, before merging or committing./3_fixFix issues found in a review report in .claude/reviews/. Use after a review identifies issues that need fixing.Other plugins' skills for the same job