Agent Bootstrap
Use this skill to add durable project instructions without overwriting repo intent.
When To Use
- User asks to bootstrap Claude Code, Codex, or AI agent workflow.
- Repo lacks useful
AGENTS.md / CLAUDE.md and the user wants setup or repair.
- Existing instructions are stale, duplicated, unsafe, or too large.
- Long project needs small boot files plus memory docs.
Do not use for normal coding unless instructions are part of the task.
Safety Rules
- Read existing
AGENTS.md, CLAUDE.md, README, package scripts, and relevant docs first.
- Never overwrite existing instructions blindly.
- Preserve project-specific rules; append guarded updates when possible.
- Keep boot files short: commands, safety rules, memory location, verification expectations.
- Put detailed context in
docs/agent-memory/, not in boot files.
- Do not add secrets, credentials, private paths, or one-project assumptions to reusable skills.
- If boot files or
docs/agent-memory/ are missing, do not auto-create them. Propose the files, summarize each in one line, and wait for explicit approval.
- Exception: create directly only when the user explicitly asked for project setup, agent setup, memory setup, or said to set up the repo.
Boot File Shape
Include only:
- project identity and critical flows
- verified setup/test/build commands
- destructive-action and secret rules
- where memory docs live
- when to update memory
- final verification expectations
Workflow
- Detect target: Claude Code (
CLAUDE.md), Codex (AGENTS.md), or both.
- Inspect existing files and commands.
- Patch existing boot files when requested or clearly part of the task.
- If files are missing, propose creating compact boot files and minimal memory index unless setup was explicitly requested.
- Run diff review. Confirm no secrets or huge prompt dumps.
Output
Report files created/changed, preserved existing rules, and any assumptions not verified.
Source: allytag/claude_code — distributed by TomeVault.
1---2name: agent-bootstrap3description: Use when setting up or repairing repo agent instructions for Claude Code, Codex, or both. Proposes durable AGENTS.md, CLAUDE.md, and project memory changes before writing unless setup was explicitly requested.4---56# Agent Bootstrap78Use this skill to add durable project instructions without overwriting repo intent.910## When To Use1112- User asks to bootstrap Claude Code, Codex, or AI agent workflow.13- Repo lacks useful `AGENTS.md` / `CLAUDE.md` and the user wants setup or repair.14- Existing instructions are stale, duplicated, unsafe, or too large.15- Long project needs small boot files plus memory docs.1617Do not use for normal coding unless instructions are part of the task.1819## Safety Rules20211. Read existing `AGENTS.md`, `CLAUDE.md`, README, package scripts, and relevant docs first.222. Never overwrite existing instructions blindly.233. Preserve project-specific rules; append guarded updates when possible.244. Keep boot files short: commands, safety rules, memory location, verification expectations.255. Put detailed context in `docs/agent-memory/`, not in boot files.266. Do not add secrets, credentials, private paths, or one-project assumptions to reusable skills.277. If boot files or `docs/agent-memory/` are missing, do not auto-create them. Propose the files, summarize each in one line, and wait for explicit approval.288. Exception: create directly only when the user explicitly asked for project setup, agent setup, memory setup, or said to set up the repo.2930## Boot File Shape3132Include only:3334- project identity and critical flows35- verified setup/test/build commands36- destructive-action and secret rules37- where memory docs live38- when to update memory39- final verification expectations4041## Workflow42431. Detect target: Claude Code (`CLAUDE.md`), Codex (`AGENTS.md`), or both.442. Inspect existing files and commands.453. Patch existing boot files when requested or clearly part of the task.464. If files are missing, propose creating compact boot files and minimal memory index unless setup was explicitly requested.475. Run diff review. Confirm no secrets or huge prompt dumps.4849## Output5051Report files created/changed, preserved existing rules, and any assumptions not verified.5253---54> Source: [allytag/claude_code](https://github.com/allytag/claude_code) — distributed by [TomeVault](https://tomevault.io).55<!-- tomevault:4.0:skill_md:2026-06-16 -->