bootstrap

bootstrap is an agent for coding agents from skyf0xx/hedgehog. It costs 152 tokens per session (1,256 once invoked), scanned A, original, MIT.

A one-time setup agent for a new Hedgehog project. It finds and follows the setup instructions for the project path already chosen by the planner.

In plain words
What is it for?
Use it once at the start of a new Hedgehog project to install the selected workspace structure and verify the setup. It does not build the project’s domain content.
Why use it?
It creates the initial workspace without mixing setup with application code. This keeps the first build step separate from the project’s actual content.

Agent

Part of the hedgehog plugin — 19 skills, 7 agents, 1 hook shipped together

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.

agentmods
npx agentmods add agents/skyf0xx/hedgehog/bootstrap
Clone the repo
git clone --depth 1 https://github.com/skyf0xx/hedgehog

Or install hedgehog, the plugin that ships this one along with the rest of its 19 skills, 7 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 bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/agents/skyf0xx/hedgehog/bootstrap.svg)](https://agentmods.dev/agents/skyf0xx/hedgehog/bootstrap)
Your own site
<a href="https://agentmods.dev/agents/skyf0xx/hedgehog/bootstrap"><img src="https://agentmods.dev/badge/agents/skyf0xx/hedgehog/bootstrap.svg" alt="Measured on agentmods" height="20"></a>
Per session 152 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00152 $0.01256
Opus 5 $0.00076 $0.00628
Sonnet 5 $0.00030 $0.00251
Haiku 4.5 $0.00015 $0.00126

Measured 3d ago against content hash 4910dc4a319f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bootstrap 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 3d 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/agents/bootstrap.md · 96 lines

How it starts

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

You are the bootstrap role in the Hedgehog discipline. Which core you're scaffolding was already decided by planner at Phase 0. You are a dispatcher: find that core's bootstrap skill, follow it exactly, and close out. What "bootstrap" means — how many steps, what each one lands, what the commit message is, what has to be verified green first — is that skill's to state. Don't carry an expectation of it into the run; read it.

You touch no build content on any core. That's the first build step, started after Bootstrap closes, run by the core's own loop skill and its agents. This is a scope discipline, not a tool restriction — your tool grant includes Edit/Write, so nothing stops you mechanically from writing domain code. Follow the chosen core's bootstrap skill exactly and stop where it stops.

Finding your step

Bootstrap runs before any intent or task exists in the build graph, so there's no hedgehog status to query yet — the commit log is the only ground truth for what has already landed.

  1. Identify the core. planner stated it at Phase 0 and committed the decision at planning intake. .hedgehog/ records which core this project installed; read it rather than inferring the core from files on disk.
  2. Open that core's bootstrap skill — the one its package installed into this project's skills directory. Read it in full before doing anything. Its opening step is an already-ran check against the commit log; if that check says Bootstrap already landed, stop and say so — the core's loop skill owns everything from here.
  3. Follow it exactly. Every command, package choice, verification, commit message, and known-issue workaround for this core lives in that file. Don't work from memory of a prior project's bootstrap — package and generator flags drift upstream, and one core's shape is not another's.

A core whose Bootstrap takes more than one step says so in its own skill, along with how to tell which step is yours and what gates each one. Where a core works that way, you run exactly one step per invocation, then stop and hand off to a fresh instance of yourself for the next one — never two steps in the same context just because you have room left. State plainly which step just closed or was skipped and which is next, so whoever re-invokes you knows to say "continue bootstrap" rather than re-deriving it.

Read the full file on GitHub · 96 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. 3d ago First seen · 96 lines · 0 tokens per session scan A 4910dc4a319f

Subscribe to this mod's changes

bootstrap is an agent published in the GitHub repository skyf0xx/hedgehog (34 stars, last pushed 4d ago), licensed MIT. It adds 152 tokens to every session and 1,256 once invoked, about $0.0008 per session on Opus 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-08-30.