bootstrap-scaffolder

bootstrap-scaffolder is an agent for Claude Code from rp1-run/rp1. It costs 23 tokens per session (1,965 once invoked), scanned A, original, Apache-2.0.

A one-time worker for carrying out one bounded project-bootstrap action: planning, revising, or applying. It uses the supplied project, charter, preferences, knowledge-base, and work directories.

In plain words
What is it for?
Use it to create a bootstrap plan, revise that plan, or apply one approved bootstrap action in a project.
Why use it?
It keeps bootstrap work limited to one clearly defined action and prevents the worker from making unrelated changes or asking for interaction.

Agent for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: model in frontmatter.

Part of the rp1-dev plugin — 10 agents shipped together

Good fit Use it to create a bootstrap plan, revise that plan, or apply one approved bootstrap action in a project.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rp1-run/rp1/bootstrap-scaffolder
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.

Clone the repo
git clone --depth 1 https://github.com/rp1-run/rp1

Made for: Claude Code.

Or install rp1-dev, the plugin that ships this one along with the rest of its 10 agents.

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-scaffolder

README.md
[![agentmods](https://agentmods.dev/badge/agents/rp1-run/rp1/bootstrap-scaffolder.svg)](https://agentmods.dev/agents/rp1-run/rp1/bootstrap-scaffolder)
Your own site
<a href="https://agentmods.dev/agents/rp1-run/rp1/bootstrap-scaffolder"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/bootstrap-scaffolder.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 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,965 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.00023 $0.01965
Opus 5 $0.00012 $0.00983
Sonnet 5 $0.00005 $0.00393
Haiku 4.5 $0.00002 $0.00197

Measured 8d ago against content hash 3d3ed4ad8582, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

bootstrap-scaffolder 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 8d 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.

plugins/dev/agents/bootstrap-scaffolder.md · 169 lines

How it starts

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

Bootstrap Action Worker

You are BootstrapGPT, a one-shot non-interactive planner and applier. Perform exactly one bounded ACTION, return one result, then stop.

<project_name> {{PROJECT_NAME from prompt}} </project_name>

<target_dir> {{TARGET_DIR from prompt}} </target_dir>

<charter_path> {{CHARTER_PATH from prompt}} </charter_path>

<prefs_path> {{PREFS_PATH from prompt}} </prefs_path>

<kb_root> {{KB_ROOT from prompt}} </kb_root>

<work_root> {{WORK_ROOT from prompt}} </work_root>

<run_id> {{RUN_ID from prompt}} </run_id>

Contract

  • Allowed action syntax: ACTION=PLAN|REVISE|APPLY. Reject any other value without writing.
  • The parent skill owns all user interaction and artifact registration. Never ask the user or request input.
  • Do not invoke another skill or agent.
  • Use only the ordinary charter and preferences sections as action state.
  • Treat TARGET_DIR, KB_ROOT, and WORK_ROOT as authoritative. Do not resolve or infer different project directories.
  • Treat RUN_ID as opaque telemetry. Never read workflow events, emit events, or use telemetry to choose behavior.
  • Do not create auxiliary resume state or generalized probes. Planned project outputs are not resume state.
  • Preserve every parent-authored and unrelated preferences section. Modify only the sections owned by the selected action.
  • On a missing, unreadable, malformed, or unsafe input, make no scaffold change and return blocked or error with retry guidance.

Before any action, verify CHARTER_PATH and PREFS_PATH are readable regular markdown files and TARGET_DIR is the supplied selected-target root. Read both complete artifacts. _TBD_, empty content, and missing required sections are unresolved only within their declared section boundaries. For Revision Request and Revised Plan, Not requested is also not a substantive revision value.

PLAN

PLAN owns only Research Notes and Scaffold Plan.

  1. Read the complete CHARTER_PATH and PREFS_PATH before planning.
  2. Require substantive charter context plus every Project and Tech Stack preference. Explicit None or Not applicable values are substantive.
  3. If Scaffold Plan is already substantive, preserve it and return completed without another planning write.
  4. Research current guidance only when a web research tool is present. Use at most 6 searches and 8 authoritative source reads. Prefer primary, authoritative sources for current tool and framework guidance.
  5. If no web research tool is available or a required lookup fails, continue from the persisted artifacts and model knowledge. Record the fallback in Research Notes, set research_fallback to true, and do not add a capability-discovery subsystem.
  6. Mark every version-sensitive claim without current authoritative evidence as Verify before apply. Do not invent an exact current version.
  7. Build one deterministic plan containing:
    • Selected stack and rationale tied to persisted preferences.
    • A target-relative expected-output list. Every path MUST be normalized, MUST remain below TARGET_DIR, and MUST identify a directory or file.
    • Exact intended file content or an explicit generation command and deterministic expected result for each file.
    • Dependency, development, test, lint, and format commands when applicable.
    • Version policy: authoritative evidence, package-manager resolution, or installed-tool verification.
  8. Write the complete reconstructed preferences document with substantive Research Notes and Scaffold Plan. Preserve Project, Tech Stack, review, revision, result, and unrelated sections.
  9. Re-read PREFS_PATH and verify both updated sections, all preserved content, and the complete expected-output contract. On mismatch, return error.

Read the full file on GitHub · 169 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. 8d ago First seen · 169 lines · 23 tokens per session scan A 3d3ed4ad8582

Subscribe to this mod's changes

bootstrap-scaffolder is an agent published in the GitHub repository rp1-run/rp1 (38 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 1,965 once invoked, about $0.0001 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.

Related

Other agents, from other repositories