scaffold
Skill14 starsChanged 3 months agoMITView on GitHub
Set up Stuntman project memory in AGENTS.md for Codex, CLAUDE.md for Claude Code, or both. Create and populate HANDOFF, STATUS, SPEC, and STRATEGY without clobbering existing content. Use when asked to scaffold project memory or set up handoff/status docs.
29 other projects use a version of this.
Adopted by
Most recently taken up by
- batirko/research-and-learntheir own version, first seen Oct 5, 2026
- danmaps/gis-agent-skillstheir own version, first seen Oct 2, 2026
- microsoft/GitHub-Copilot-for-Azuretheir own version, first seen Oct 1, 2026
- coroboros/agent-skillstheir own version, first seen Sep 26, 2026
- microsoft/azure-skillstheir own version, first seen Sep 23, 2026
- wangqiqi/cursor-aitheir own version, first seen Sep 23, 2026
Used with
Projects with it also use git, refactor and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nicolasestremSkillgit
Git operations with intelligent commit messages and branch management
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 6 projects that use this
nicepkgSkillteam
根据任务快速组建临时 AI Agent 团队协作。自动从 .claude/agents/ 中选择最合适的成员组队。
Also in 3 projects that use this
Microsoft AzureSkilldesign
Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.
Also in 6 projects that use this
an8079Skillautopilot
Also in 3 projects that use this
genomewalkerSkillmigrate
Import soul data from SQLite or shared chitta files
Also in 3 projects that use this
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 29
- microsoft/skills★ 3.1ksame name
- microsoft/azure-skills★ 1.5ksame name
- SethGammon/Citadel★ 922same name
- codewithmukesh/dotnet-claude-kit★ 750same name
- microsoft/GitHub-Copilot-for-Azure★ 253same name
- genkovich/sdd★ 170same name
- Rune-kit/rune★ 88same name
- simota/agent-skills★ 87same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- danmaps/gis-agent-skills★ 29same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 25 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Read host and tool setup. Set STUNTMAN_HOST to codex in Codex or claude in Claude Code.
- Distinctive: line 59
Write all of them for a reader with zero memory of this session, and set each doc's date / changelog.
- Very specific: line 79
Self-contained: no dependency on an external /checkpoint skill or memory system — just the host's instruction file + the living docs.
“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
stuntman: scaffold — stand up the project-memory system
/delegate saves cost, /relay survives the rate limit; scaffold + handoff
make a project document and resume itself across sessions. This command is
the one-time setup; /handoff is the per-session resume.
The scaffolder
Read host and tool setup. Set STUNTMAN_HOST to codex in
Codex or claude in Claude Code; use both when the user requests both hosts.
SCAFFOLD="$STUNTMAN_ROOT/bin/scaffold"
"$SCAFFOLD" --host "$STUNTMAN_HOST"Idempotent and non-destructive. It:
- writes a contract block (
<!-- stuntman:scaffold:start … end -->) into the host's instruction file (AGENTS.md,CLAUDE.md, or both) — created if absent, appended if present, skipped if already there (recognizes the pre-0.5stuntman:handoffmarker too). Never rewrites existing memory or user-owned content. - creates the living docs it references —
HANDOFF.md(the session baton),STATUS.md(the board),SPEC.md(the contract),STRATEGY.md(the honest why) — each only if missing. Each self-declares as a living doc. - appends or refreshes a managed agent roster block
(
<!-- stuntman:agents:start … end -->) in the same instruction file(s) — one full inventory snapshot shared by every selected host. Rerunning refreshes only that block; memory content is untouched, and user overrides persist outside the block. The roster states role preferences — Fable in Claude Code and Astra/GPT in Codex for spec writing and review, everything else executing throughstunt— which are preferences, not availability or login proof. Installed means the CLI is onPATH, not that it is authenticated. Discovery runsopencode models/agy modelswith a short timeout and reads the local Codex model cache; it makes no model inference calls. Refreshing the snapshot never installs or configures models.
What to do
- Confirm the project root — run from the repo root (git root:
git rev-parse --show-toplevel). - Run the scaffolder and show the user its output.
- Populate the docs from reality. The stubs are living-doc skeletons — fill
them in now so the system is useful immediately, by examining the project (its
README.md, structure, recentgit log):SPEC.md— the contract: a one-paragraph Vision, the load-bearing Principles, Scope (in / out), Open decisions. Draft from what the project clearly is; flag guesses for the user.STRATEGY.md— the honest Bottom line, Assessment, Direction. The critical version, not a pitch. If you can't assess honestly yet, say what you'd need to.STATUS.md— the board: Built / In progress / Planned / Blockers.HANDOFF.md— the baton: What changed this session, the Next step, Gotchas, dated. Write all of them for a reader with zero memory of this session, and set each doc's date / changelog.README.mdis maintained too (refresh when the surface changes). Scaffold doesn't create one, so if it's missing — a brand-new project — infer what's being built from the code, structure, and any notes, then draft a README that states the purpose, how to run it, and the conventions the project should follow (best practices for its stack). Flag guesses for the user.
- Report: the system is active. Every future session now reads
HANDOFF.md/STATUS.mdfirst (the instruction lives in the host's instruction file, which auto-loads) and updates them before stopping. To resume any time, the user runs/handoffor says "execute handoff".
Notes
- The contract is instruction-driven (the host's instruction file auto-loads, so read-first /
update-before-stop is always in context), and a Stop hook (ships with the
plugin) backs it up: in scaffolded projects only, if the session changed code
but didn't update
HANDOFF.md/STATUS.md, it nudges once before the turn ends. It fails open and never touches non-scaffolded projects. Codex only runs the hook after the user trusts it; the memory workflow does not require it. - Self-contained: no dependency on an external
/checkpointskill or memory system — just the host's instruction file + the living docs. (If the user already runs a/checkpointthat maintainsSTATUS.md, it stays compatible — same file.) - Pairs with
/relay: when a long run pauses at the 5-hour cap,HANDOFF.mdis the human-readable state the next session resumes from.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

