crab plugin
Eat a foreign repository, digest it, and extract everything useful for your own repo without violating licenses.
How to install the crab plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add drevendev/HungryCrab
/plugin install crab@hungry-crabWhat's inside crab
11 parts read from the plugin's own files.
Commands 2
Run as /crab:name- /crab:menuowner/repo [--top N] [--category ci,tests]
Show the ranked menu of nutrients from the last compare of a prey
- /crab:sniffowner/repo
Sniff a repository (license, size, languages, verdict) before eating it
Agents 3
Call as @agent-crab:name- @agent-crab:crab-architectinherit
Compares the architecture sections of the prey and maw digests and proposes at most three structural nutrients with evidence. Use for architecture candidates from crab compare, or when asked how another repository is structured.
- @agent-crab:crab-cleanroom-implinherit
Implements a REIMPLEMENT nutrient inside the maw from a code-free clean-room specification, without access to prey source or the Hungry Crab cache. Use only after the cleanroom skill has produced the specification at the path `crab spec <nutrient-id>` prints, under `.crab/specs/`.
- @agent-crab:crab-historianinherit
Turns the history and branches sections of a prey digest into 3-7 concrete lessons with evidence. Use for history-lesson candidates from crab compare, or when asked what a repository's commit history teaches.
Skills 5
Claude loads it when the task matches- cleanroom
No description in the file.
- eat
Eat a foreign repository and turn useful, evidenced improvements for the current repository into guarded issues or pull requests without violating licenses. Use when the user asks to eat, consume, digest or chew a repo, or asks what to borrow from another project.
- license
Decide what may be carried over from a prey repository under its license. Modes are COPY, COPY_FILE, REIMPLEMENT, IDEAS_ONLY and HUMAN. Use when a nutrient's license mode is unclear, when asked whether code or configs from another repository may be copied, or when a sniff verdict says HUMAN. Do not use to choose the maw's own license, for general legal advice, or for licensing questions unrelated to prey-to-maw transfer.
- loop
Run exactly one phase of a configured, persisted Hungry Crab loop and exit. Use when a human or a local scheduler explicitly invokes the scheduled crab for a maw; never start a scheduler or enable work autonomy yourself.
- serve
Write and create issues or guarded pull requests for approved nutrients with trace and deduplication markers, using crab serve. Use when serving a menu, writing the why and how of a nutrient, explaining the trace footer, or checking why a nutrient was skipped. Do not use for ordinary issue or pull-request authoring unrelated to a Hungry Crab nutrient, menu, or implementation receipt.
Hooks 1
Runs on these events- PreToolUsecommand
Read|Grep|Glob|Write|Edit|PowerShell, Bash|PowerShell|Monitor|mcp__terminal__run_in_terminal|Write
Using crab in Claude Code
Type a command in a Claude Code session:
/crab:menu owner/repo [--top N] [--category ci,tests]
/crab:sniff owner/repoAsk for an agent by name:
@agent-crab:crab-architect
@agent-crab:crab-cleanroom-implSkills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update crab@hungry-crab
- Refresh the marketplace
- /plugin marketplace update hungry-crab
- Turn it off for now
- /plugin disable crab@hungry-crab
- Remove it
- /plugin uninstall crab@hungry-crab
Skills in crab
- eatdrevendev/HungryCrab
Eat a foreign repository and turn useful, evidenced improvements for the current repository into guarded issues or pull requests without violating licenses. Use when the user asks to eat, consume, digest or chew a repo, or asks what to borrow from another project.
2 files5stars - licensedrevendev/HungryCrab
Decide what may be carried over from a prey repository under its license. Modes are COPY, COPY_FILE, REIMPLEMENT, IDEAS_ONLY and HUMAN. Use when a nutrient's license mode is unclear, when asked whether code or configs from another repository may be copied, or when a sniff verdict says HUMAN. Do not use to choose the maw's own license, for general legal advice, or for licensing questions unrelated to prey-to-maw transfer.
2 files5stars - servedrevendev/HungryCrab
Write and create issues or guarded pull requests for approved nutrients with trace and deduplication markers, using crab serve. Use when serving a menu, writing the why and how of a nutrient, explaining the trace footer, or checking why a nutrient was skipped. Do not use for ordinary issue or pull-request authoring unrelated to a Hungry Crab nutrient, menu, or implementation receipt.
2 files5stars - loopdrevendev/HungryCrab
Run exactly one phase of a configured, persisted Hungry Crab loop and exit. Use when a human or a local scheduler explicitly invokes the scheduled crab for a maw; never start a scheduler or enable work autonomy yourself.
5stars
crab plugin questions
How do I install the crab plugin?
In Claude Code run /plugin marketplace add drevendev/HungryCrab, then /plugin install crab@hungry-crab.
What does the crab plugin include?
crab bundles 2 commands, 3 agents, 5 skills, hooks.
What commands does the crab plugin add?
It adds /crab:menu, /crab:sniff. Run them in Claude Code with the plugin prefix, for example /crab:menu.
Which agents come with crab?
crab-architect, crab-cleanroom-impl, crab-historian. Call one with @agent-crab:crab-architect.
How do I update or remove the crab plugin?
Update it with claude plugin update crab@hungry-crab in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall crab@hungry-crab.
What license is the crab plugin under?
MIT, as stated in the plugin's manifest.