hedgehog-orchestrating

hedgehog-orchestrating is a skill for Claude Code from skyf0xx/hedgehog. It costs 132 tokens per session (2,208 once invoked), scanned A, original, MIT.

A coordination skill for projects that use a build graph stored in a database. It claims ready task packets, sends them to agents, and verifies their changes before commits are recorded.

In plain words
What is it for?
Use it to preview and claim tasks, delegate independent work, run verification one task at a time, and record build decisions and outstanding debt.
Why use it?
It prevents agents from duplicating work or working on blocked tasks, and makes verification and commit order explicit.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the hedgehog plugin — 22 skills, 5 agents, 1 hook shipped together

Good fit Use it to preview and claim tasks, delegate independent work, run verification one task at a time, and record build decisions and outstanding debt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skyf0xx/hedgehog/hedgehog-orchestrating
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add skyf0xx/hedgehog --skill hedgehog-orchestrating
Clone the repo
git clone --depth 1 https://github.com/skyf0xx/hedgehog

Made for: Claude Code.

Or install hedgehog, the plugin that ships this one along with the rest of its 22 skills, 5 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hedgehog-orchestrating

README.md
[![agentmods](https://agentmods.dev/badge/skills/skyf0xx/hedgehog/hedgehog-orchestrating/github.svg)](https://agentmods.dev/skills/skyf0xx/hedgehog/hedgehog-orchestrating)
Your own site
<a href="https://agentmods.dev/skills/skyf0xx/hedgehog/hedgehog-orchestrating"><img src="https://agentmods.dev/badge/skills/skyf0xx/hedgehog/hedgehog-orchestrating/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hedgehog-orchestrating

Your own site · 80×15
<a href="https://agentmods.dev/skills/skyf0xx/hedgehog/hedgehog-orchestrating"><img src="https://agentmods.dev/badge/skills/skyf0xx/hedgehog/hedgehog-orchestrating.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,208 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00132 $0.02208
Opus 5.5 $0.00053 $0.00883
Sonnet 5.5 $0.00026 $0.00442
Haiku 4.5 $0.00013 $0.00221

Measured 24d ago against content hash 090ee4201b84, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hedgehog-orchestrating scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skills/hedgehog-orchestrating/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orchestrating the build

.hedgehog/hedgehog.db is the source of truth for what's next — never re-derive build state from prose. To work from it:

  1. Run hedgehog claim --count N --owner <owner>. It's atomic and lease-based, and returns up to N tasks (each with its own full STATUS/INTENT/RELEVANT RULES/INHERITED DEBT/INHERITED DECISIONS/WHY NOW/BLOCKED DOWNSTREAM/ALLOWED SCOPE/VERIFICATION packet) that the scheduler has already verified are safe to run together right now — scope and verify-radius disjoint. --count is a maximum, not a promise: a call may return fewer than N, or zero. hedgehog ready is a read-only preview of the claimable/held-back split (and why a task is held back — conflict with another claimable task, or exclusivity) before you claim.
  2. Delegate each claimed packet to this core's loop skill (named in the project's core section), one dispatch per packet, running concurrently.
  3. As each agent reports its packet done, run hedgehog verify <task-id> --owner <owner> serially — one at a time, even though the building happened concurrently, because verify writes git commits and those must land one at a time. It checks the touched files against the packet's ALLOWED SCOPE, runs the verification command, and on a pass writes the commit and unlocks whatever the task was blocking. An agent reporting success never moves the task — only a passing hedgehog verify exit code does.

hedgehog claim hands out only tasks safe to run together. Never run two tasks it didn't hand you together.

The packet's INTENT block names the goal and outcome of the whole intent, not just this layer. A layer's own verify command runs the tests that layer wrote, so it measures internal consistency and never coverage of what was asked — a layer that builds half the intent and tests that half exhaustively is green. Build the layer's share of the goal, and say so when the packet doesn't account for something the goal asks for. When hedgehog verify closes the last layer of an intent it prints that goal and outcome back as an INTENT CHECK: read the built work against it there, because nothing else in the build does.

A layer that discovers a limitation the next layer has to compensate for records it with hedgehog debt add <task-id> "<note>" — it lands in the INHERITED DEBT section of every packet that depends on that task. A comment in a source file is not a mechanism; nothing reads it.

A layer that makes a choice a dependent layer needs to know about — a pattern, a library, a trade-off, anything the next task should follow rather than reinvent or contradict — records it with hedgehog decision add <task-id> "<note>", landing in the INHERITED DECISIONS section the same way. Debt is what's still wrong with a task; a decision is why it was built the way it was.

planner owns writing intents (hedgehog intent add) at planning intake; hedgehog plan compiles them into the task graph the loop consumes. Nothing checks a box — there is no checklist, only queryable state.

When the build is done: once hedgehog status shows every task complete and hedgehog boundary exits 0 (see Managing context below — it checks nothing-in-flight, a clean tree, and a closed intent together), the build session is complete. The permanent record is the committed intents (.hedgehog/intents/*.json), the friction log (.hedgehog/friction/*.md), the core definition (root core.yaml for a shipped core, .hedgehog/core.yaml for an authored one), and the git commit history itself — not the database. .hedgehog/hedgehog.db is gitignored: a derived index, rebuildable at any time via hedgehog db rebuild, which replays those committed sources against git history. That rebuild also runs automatically on a fresh clone when the DB is missing but .hedgehog/intents/ exists. That's what makes every later session cheap.

A completed build is extendable, not sealed. Offer the user a fresh-context handoff, and name both ways forward:

Read the full file on GitHub · 155 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 24d ago First seen · 155 lines · 132 tokens per session scan A 090ee4201b84

Subscribe to this mod's changes

hedgehog-orchestrating is a skill published in the GitHub repository skyf0xx/hedgehog (45 stars, last pushed yesterday), licensed MIT. It adds 132 tokens to every session and 2,208 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.