hedgehog-orchestrating

hedgehog-orchestrating is a skill for Claude Code from skyf0xx/hedgehog. It costs 151 tokens per session (3,656 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 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,656 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.00151 $0.03656
Opus 5.5 $0.00060 $0.01462
Sonnet 5.5 $0.00030 $0.00731
Haiku 4.5 $0.00015 $0.00366

Measured 17d ago against content hash 7941afaf829f, 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 17d 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 · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 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 and what's built. Read state from hedgehog status — counts by status, what's ready, what's in flight, NEEDS ATTENTION, DRIFT — and hedgehog why <path> for one file's provenance. Never infer which layer or phase is built from commit messages or prose.

Who owns what

  • This skill owns the cycle below — claim, dispatch, verify — and every section after it. A core's loop skill references these sections by name.
  • The core's loop skill (named in the project's core section) supplies what is core-specific: which agent builds which layer, the conventions inside a layer, the review checklist, and any core-specific addition to a section here. hedgehog core show prints the core's layers, each with its scope, verify, and commit.
  • A build agent builds one packet it was handed and reports. It never claims, verifies, commits, or corrects across layers.

Where a core's loop skill restates one of these sections, this skill's version holds, plus any core-specific addition. Claim only at step 1 below: when a core loop's own step says to run hedgehog claim while this session holds packets, skip it and go to that loop's dispatch step. Claim and verify with the same owner; where the core's loop names a fixed owner, use it.

The cycle

  1. Claim. hedgehog claim --count N --owner <owner>, where <owner> is a stable id for this session. It is atomic and lease-based, and returns up to N packets the scheduler already cleared as safe to run together (scope and verify radius disjoint). --count is a maximum: a call may return fewer, or zero. hedgehog ready previews the claimable/held-back split and why each holdback. A blocked task anywhere in the graph makes claim --count refuse with a non-zero exit naming it; a targeted hedgehog claim <task-id> --owner <owner> is exempt. Never run two tasks together that one claim did not hand out together.
  2. Dispatch each packet to the agent the core's loop skill names for its layer, all packets concurrently, each with the full packet. Unless the core's loop skill says otherwise, build a packet inline only when the packet alone shows one of these: ALLOWED SCOPE is a few files you can read without bloating this context; RELEVANT RULES show the layer is plainly untouched by this intent; or the change is small and mechanical (a rename, an import fix, a one-line registration). Switch to a dispatch the moment that stops being true. Either way the same gate applies at step 4, and a no-op is reported per the packet's HONESTY rules, never assumed. An agent reported as not found right after init or update installed it is covered by the instructions file's "Delegating on this host" section.
  3. Build and report. Whoever built the packet runs its VERIFICATION command as a sanity check, then reports. A report moves nothing.
  4. Verify, serially. As each report arrives, run hedgehog verify <task-id> --owner <owner> with the owner that claimed it — one at a time, because each pass writes a commit. It checks touched files against ALLOWED SCOPE, runs the verify command, and on a pass commits and unlocks dependents. A first-time task with nothing changed in its scope closes as a no-op without running the command; exclusive layers such as a join, layers with a verify_radius, and reopened tasks always run it. Only a passing verify moves a task. On a fail the task goes blocked (scope_violation or verification_failed): fix the work, hedgehog retry <task-id>, claim it by id, verify again. Never hand-commit around a block.
  5. Repeat from step 1.

Read the full file on GitHub · 267 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. 17d ago Changed · +112 lines · +19 tokens per session 7941afaf829f
  2. 2mo 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 (50 stars, last pushed today), licensed MIT. It adds 151 tokens to every session and 3,656 once invoked, about $0.0006 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.

Related

hedgehog-orchestrating compared with skills from other repositories

hedgehog-orchestrating next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hedgehog-orchestratingskyf0xx/hedgehogSkill50todayMITA151Claude Code
quality-gatesVimalk0703/shipworthySkill67mo agoMITA46Claude Code
gitentropy-cloud/attractor-guided-engineering-templateSkill83yesterdayMITA46Claude Code, Codex
commitjoris887/exosuitSkill1228d agoMITA21Claude Code
commitzahardev/aicontextSkill22mo agoMITA15Claude Code
finish-taskzahardev/aicontextSkill22mo agoMITA9Claude Code
gh-review-fix-loopzahardev/aicontextSkill22mo agoMITA15Claude Code