Skip to content

0.2.0 - Menu

Choose a tag to compare

@drevendev drevendev released this 06 Sep 08:22
· 545 commits to master since this release
6a01eb9

The first release of Hungry Crab: eat a foreign repository, digest it, and extract everything
useful for your own repo without violating licenses. It covers milestone 0.1 "Sniff & Digest"
and milestone 0.2 "Menu".

What it does

  • Digest. crab digest owner/repo runs twelve deterministic miners (inventory, license,
    deps, ci, tests, docs, ai-config, history, branches, issues, architecture, traits) and writes
    a token-budgeted digest/ folder with a manifest.json an agent can read progressively.
    Nothing inside the prey is ever executed, and prey text never reaches a summary.
  • Compare. crab compare owner/repo --host . diffs the prey against your repository and
    produces scored candidate nutrients with stable ids, evidence linked to the prey commit,
    effort, risk and a license mode.
  • Serve. crab serve turns approved nutrients into GitHub issues with a hidden crab:<id>
    marker, a label and a provenance footer, so a rerun creates no duplicates.
  • Remember and tune. The ledger records every meal and decision; crab tune reads it and
    says which scoring weights to move and why.
  • Licenses by engine, not opinion. A deterministic host x prey matrix yields COPY,
    COPY_FILE, REIMPLEMENT, IDEAS_ONLY or HUMAN. Unknown and source-available licenses are
    always IDEAS_ONLY with a human flag.

Install

uv tool install "hungry-crab @ git+https://github.com/drevendev/HungryCrab@v0.2.0"

As a Claude Code plugin, which adds /crab:eat, /crab:sniff and /crab:menu:

/plugin marketplace add drevendev/HungryCrab
/plugin install crab@hungry-crab

Requires Python 3.11+, git, and gh authenticated for the GitHub API.

Measured

Prey Digest time Markdown tokens
pallets/click (3.4k commits) 1.0 s 5,323
colinhacks/zod (monorepo, 513 code files) 4.8 s 10,873

Limits for the milestone were 120 seconds and 30,000 Markdown tokens. 266 tests run on Ubuntu
and Windows with Python 3.11 and 3.14.

Not yet

Pull-request branches (serve --as pr-branch), the clean-room protocol, the attribution file
and the hook that mechanically blocks executing prey content arrive with 0.3. Until then the
"never execute prey" rule is enforced by the miners' design and the skills' instructions, not by
a hook.

This tool helps with license compliance; it is not legal advice.