
agents-scaffold
Fork-and-fill bootstrap for AI coding agents (Claude Code first, Codex/Gemini via AGENTS.md) — agents, skills, hooks, tiered rules (P0/P1/P2) and stack prese…
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up agents-scaffold (git-clone project) into my current project. Found on https://claudeers.com/agents-scaffold Repo: https://github.com/LeeYudok/agents-scaffold Homepage/docs: https://leeyudok.github.io/agents-scaffold/ Detected install method: git-clone → git clone https://github.com/LeeYudok/agents-scaffold Category: devtools. Platforms: web. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: unknown; community-verified: false. Confirm the source before running anything.
git clone https://github.com/LeeYudok/agents-scaffold
// compatibility
| Platforms | web |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | Shell |
agents-scaffold
leeyudok.github.io/agents-scaffold
AI coding agents break your rules. This blocks the commit instead of asking nicely.
One command drops a .claude/ setup and a pre-commit gate into your repo. No framework, no
runtime, no registry to install from — what you get is plain files you own outright.

30-second demo: one command → a filled .claude/ → the gate blocks a secret commit. Reproduce with vhs docs/assets/demo.tape.
You want this if
- You re-explain the same rules every session — what you told the agent yesterday is gone today.
- An agent staged your
.env, or produced a commit with type errors still in it. - Every teammate has a different
CLAUDE.md, so results depend on whose session it was.
Rules that live only in a document get ignored eventually. This scaffold turns them into a gate that blocks the commit, and plants it in the repo.
Quickstart
# one command, no clone required
curl -fsSL https://raw.githubusercontent.com/leeyudok/agents-scaffold/main/bin/agents-scaffold.sh | bash -s -- --stack nextjs --yes
# or from a local clone (prompts interactively when options are omitted)
git clone https://github.com/leeyudok/agents-scaffold.git
agents-scaffold/bin/agents-scaffold.sh /path/to/new-repo --forge github --stack nextjs,bun --name my-app
You get a filled-in .claude/ directory (agents, skills, hooks, paths-scoped
rules, memory), an AGENTS.md project brain, and a single composed pre-commit
gate — plain files you own outright. Full options: see Usage.
What happens the moment it's installed
When an agent — or a person — tries to commit a secret, the commit does not happen.
$ bash agents-scaffold.sh . --stack python --name payments --yes
$ echo 'DB_PASSWORD=hunter2' > .env
$ git add -f .env app.py && git commit -m "feat: add config"
Blocked: a .env-type file is staged. Commit is not allowed.
This is not the same as writing "don't commit secrets" in a doc. .git/hooks/pre-commit is what
stops it, so it holds whichever AI tool you use, and it holds when a human commits by hand.
What you get — for beginners
One minute after install, Claude behaves like a teammate who knows the rules. Even if you're new to prompting:
- The workflow is the default: say "build the login feature" and Claude follows
issue → branch → implementation → tests → PR/MR on its own (
/fix-issue;/sdlc-cycleruns an unattended cycle with three role-separated agents). - Mistakes are blocked by machinery: committing
.env/secrets, broken builds/type errors, or new JSP scriptlets is stopped by the pre-commit hook, and functions over complexity 15 get flagged — gates that catch things even when Claude forgets. - One-shot commands:
/review(code review + security audit),/status,/knowledge-graph(doc link checker),/sonar. - Requirements hardening, your pick of three: beyond the bundled
grill-me, two external tools plug in depending on the job → Picking a requirements-hardening tool. - Memory that survives sessions: project learnings accumulate under
.claude/memory/, auto-load next session, and are shared with the team. - Self-evolving: skill-evolve/agent-evolve rewrite skill/agent definitions from failure feedback — it gets better the more you use it.
- Team/multi-session safe: per-session git worktree isolation is the default, so parallel work never tramples each other.
Why agents-scaffold
Unlike large installable frameworks or agent/skill catalogs, agents-scaffold ships
no runtime, no plugin system, and no central registry to keep in sync — it is
a .claude/ directory skeleton plus a handful of stack presets that you copy
into a repo once and then own outright. There is nothing to upgrade later:
you fork it, fill in the placeholders, delete what you don't need, and the
result is plain files under version control like any other code in the repo.
- Enforced, not aspirational — the P0/P1/P2 tiers are wired into hooks (pre-commit gate, deny rules, CC warnings), not just written down in prose.
- Paths-scoped rules — a rule loads only while you touch matching files, so context stays lean instead of front-loading every convention.
- Self-improving —
skill-evolve/agent-evolveappend "Learned warnings" to skills and agents from real mistakes. - Tested — the bootstrap script ships with a bats regression suite, and a knowledge-graph link checker gates the docs.
Going further
| Doc | What's in it |
|---|---|
| docs/OPTIONS.en.md | Every option — 10 stack presets, --forge, --harness, --lang, usage, placeholder substitution, picking a requirements-hardening tool |
| docs/INTERNALS.en.md | Internals — the full generated .claude/ tree, key patterns |
| CONTRIBUTING.md | Contribution guide |
Contributing
See CONTRIBUTING.md for the workflow and
docs/PRESET_SPEC.md for the stack preset format.
New here? Start with a good first issue —
adding a new stack preset is the most approachable one, since the layout is fully templated.
License
MIT — see LICENSE. Third-party origins (skills/docs) are listed in CREDITS.md.
// faq
What is agents-scaffold?
Fork-and-fill bootstrap for AI coding agents (Claude Code first, Codex/Gemini via AGENTS.md) — agents, skills, hooks, tiered rules (P0/P1/P2) and stack presets composed into one enforced pre-commit gate. 한국어/English. It is open-source on GitHub.
Is agents-scaffold free to use?
agents-scaffold is open-source under the MIT license, so it is free to use.
What category does agents-scaffold belong to?
agents-scaffold is listed under devtools in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/agents-scaffold)
// retro hit counter
[](https://claudeers.com/agents-scaffold)
// reviews
// guestbook
// related in Developer Tools
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…
Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.