scaffold

scaffold is an agent for Claude Code from Rune-kit/rune. It costs 45 tokens per session (472 once invoked), scanned A, original, MIT.

An autonomous project generator that takes a sufficiently detailed software idea through requirements, planning, implementation, tests, documentation, Git setup, and verification.

In plain words
What is it for?
Use it to bootstrap new frontend, backend, command-line, or API projects and generate their code, tests, documentation, and initial repository setup.
Why use it?
It provides a structured path from an empty folder to a project that builds and passes its tests, while checking prerequisites first.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the rune plugin — 57 agents shipped together

Good fit Use it to bootstrap new frontend, backend, command-line, or API projects and generate their code, tests, documentation, and initial repository setup.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rune-kit/rune/scaffold
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/Rune-kit/rune

Made for: Claude Code.

Or install rune, the plugin that ships this one along with the rest of its 57 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 scaffold

README.md
[![agentmods](https://agentmods.dev/badge/agents/rune-kit/rune/scaffold/github.svg)](https://agentmods.dev/agents/rune-kit/rune/scaffold)
Your own site
<a href="https://agentmods.dev/agents/rune-kit/rune/scaffold"><img src="https://agentmods.dev/badge/agents/rune-kit/rune/scaffold/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 scaffold

Your own site · 80×15
<a href="https://agentmods.dev/agents/rune-kit/rune/scaffold"><img src="https://agentmods.dev/badge/agents/rune-kit/rune/scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 472 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.00045 $0.00472
Opus 5.5 $0.00018 $0.00189
Sonnet 5.5 $0.00009 $0.00094
Haiku 4.5 $0.00005 $0.00047

Measured 1mo ago against content hash 595fe3984cb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scaffold 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 1mo 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.

agents/scaffold.md · 42 lines

What it actually says

You are the scaffold skill — Rune's zero-to-production project generator.

Step 0 — Prerequisite Check (BEFORE scaffolding)

  1. Description sufficient? If vague (< 20 words, no tech stack mentioned) → ask clarifying questions or invoke rune:ba for full elicitation.
  2. Target directory clean? Check output path exists and is empty or non-existent. Never overwrite existing projects.
  3. Mode selected? Interactive (default, phase-gate approvals) or Express (autonomous, detailed description provided).

Only proceed after Step 0 is satisfied.

Quick Reference

9-Phase Pipeline:

  1. BA — requirement elicitation (always, even Express mode extracts requirements)
  2. Research — best practices, starter templates, library comparison
  3. Plan — architecture and implementation plan
  4. Design — design system (frontend projects only, skip for CLI/API)
  5. Implement — code generation via fix (or team if 3+ independent modules)
  6. Test — test suite generation
  7. Docs — README, API docs, architecture doc
  8. Git — initial commit with semantic message
  9. Verify — lint + types + tests + build + sentinel security scan

Hard Gates:

  • Generated projects MUST build and pass tests — broken scaffold is WORSE than no scaffold
  • Phase 9 (VERIFY) is MANDATORY — if verification fails, fix before presenting to user
  • Express mode still validates — auto-approve doesn't mean skip quality checks
  • BA runs in ALL modes (Interactive asks questions, Express extracts from description)

Modes:

  • Interactive (default): user reviews at each major phase gate
  • Express: autonomous — user provides detailed description, reviews only final output

Read skills/scaffold/SKILL.md for the full specification including project templates and tech stack detection.

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. 1mo ago First seen · 42 lines · 45 tokens per session scan A 595fe3984cb8

Subscribe to this mod's changes

scaffold is an agent published in the GitHub repository Rune-kit/rune (86 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 472 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

polymath

Cross-disciplinary synthesis; spawns domain-specific subagents, synthesizes findings across domains, and produces integrated insights.

pjt222/agent-almanac · 25 tokens

insistir-learnings-researcher

Knowledge search agent for insistir multi-agent orchestration. Searches docs/solutions/ for past solutions relevant to a query using grep-first strategy with parallel keyword searches including synonyms. Read-only — cannot edit, write, or execute commands. Do NOT use directly — spawned by insistir skill orchestration.

JairoTorregrosa/jaiskills · 68 tokens

askit-explorer

Surveys a repository broadly and reports a structural map of its components and layout. Use when delegating broad read-only exploration - the bounded discovery role for answering what exists and how a repo is organized.

product-on-purpose/agent-skills-toolkit · 45 tokens

askit-file-ops

Applies a specified set of file create and edit operations precisely, reading each target first. Use when delegating bounded file mutations - the role that carries out write and edit work an authoring skill has already decided on.

product-on-purpose/agent-skills-toolkit · 50 tokens

askit-file-search

Locates specific files, symbols, or text patterns and reports the matching paths and lines. Use when delegating a targeted search - the bounded read-only role for answering where something is, distinct from the broad survey askit-explorer runs.

product-on-purpose/agent-skills-toolkit · 53 tokens

architect

Harness architecture designer that takes project analysis and pattern library input to produce a complete harness specification — agents, skills, hooks, rules, and data flow. Uses opus for deep reasoning about optimal agent team composition.

bzantium/meta-harness · 43 tokens