From cannibalizer
Absorb a foreign repo into the Rust ecosystem. Full pipeline: scan, classify, plan routing, generate hexagonal stubs, and execute. Use when the user says "cannibalize", "absorb", "strip", or points at a non-Rust repo to harvest. Orchestrates the scan -> plan -> gen -> eat pipeline with approval gates between stages.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cannibalizer:cnblsonnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Full pipeline orchestrator. Walks through all four stages with the user
Full pipeline orchestrator. Walks through all four stages with the user approving each transition.
cnbl scan <repo> --output scan.jsonl --report
|
v (user reviews scan report)
cnbl plan --input scan.jsonl --repo-map repos.json --dry-run
|
v (user reviews routing decisions)
cnbl gen --input plan.jsonl --out-dir cnbl-output
|
v (user reviews generated stubs)
cnbl eat --input plan.jsonl --scaffold-dir cnbl-output --dry-run
|
v (user approves, re-run without --dry-run)
Scan: run cnbl scan <repo> --output /tmp/cnbl-scan.jsonl --report
Show the report table to the user. Wait for approval.
Plan: run cnbl plan --input /tmp/cnbl-scan.jsonl --dry-run
Show routing decisions. Let user override any routing before proceeding.
When approved: cnbl plan --input /tmp/cnbl-scan.jsonl > /tmp/cnbl-plan.jsonl
Generate: run cnbl gen --input /tmp/cnbl-plan.jsonl --out-dir /tmp/cnbl-output
Show generated stubs. Wait for approval.
Execute: run cnbl eat --input /tmp/cnbl-plan.jsonl --scaffold-dir /tmp/cnbl-output --dry-run
Show what would happen. When approved, re-run without --dry-run.
Report: summarize what was absorbed, archived, and discarded.
Before the plan phase, load the ecosystem map:
cnbl discover --path ~/dev --output /tmp/repos.json
Or if discover is not yet implemented, use the existing map:
cat ~/dev/bazaar/repos.json
Load references/ecosystem-map.md for the canonical repo-to-domain
mapping when reviewing routing decisions.
references/ecosystem-map.md -- repo-to-domain routing tablereferences/hex-component-template.md -- hexagonal stub structurenpx claudepluginhub 89jobrien/bazaar --plugin cannibalizerCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.