Stop babysitting your coding agent. Bootstrap the repo instead.
agent-harness-bootstrapturns a normal repository into an Agent-Readable workspace with a real entrypoint, repository-native working rules, and persistent project memory.
Built around the same idea behind OpenAI's Harness Engineering: if you want agents to work well, stop stuffing rules into prompts and start putting them into the repository.
Most teams do not fail with coding agents because the model is weak.
They fail because the repository has no harness.
That usually looks like this:
- every new session starts with another wall of copied context
- architecture rules live in chat history instead of version control
- the agent does not know what to read first
- plans, blockers, and technical debt are scattered or missing
- code gets written before the repo explains how work is supposed to happen
So the problem is not only generation quality.
The problem is that the repo is not engineered to be the working environment for an agent.
agent-harness-bootstrap fixes that first.
After bootstrap, the repo stops behaving like a pile of source files and starts behaving like an engineered workspace for agents.
You get:
- a real first entrypoint:
AGENTS.md - a design surface:
DESIGN.md - an execution and validation surface:
PLANS.md - a memory layer under
docs/ - index files so agents load context in layers instead of swallowing everything at once
The result is simple:
after bootstrap, the repository becomes the source of working context.
The project depends on repeated prompting:
"Use this architecture, remember this validation rule, read this file first, don't forget this convention, and by the way here's the background again..."
The project explains itself:
"Read
AGENTS.md. Follow the index. Work from the repository."
That is the real shift.
You stop treating every session like a fresh onboarding call and start treating the repository like an engineered runtime for agents.
Bootstrap produces a minimum structure like this:
docs/
design-docs/
index.md
exec-plans/
active/
completed/
tech-debt-tracker.md
references/
index.md
DESIGN.md
PLANS.md
AGENTS.md
Each file has a clear job:
AGENTS.mdThe first file an agent should read. It points to the rest of the repo.DESIGN.mdHigh-level structure, boundaries, and long-lived project rules.PLANS.mdActive work, next steps, validation expectations, and blocker handling.docs/design-docs/index.mdThe index for design documentation.docs/references/index.mdThe index for external APIs, platforms, and supporting material.docs/exec-plans/tech-debt-tracker.mdThe place where unresolved debt is recorded instead of silently forgotten.
If the project has explicit layering, you can also add:
docs/design-docs/layer-mapping.md
A normal project template gives you folders.
agent-harness-bootstrap gives you an operating shape for agent collaboration.
It answers questions normal scaffolds usually ignore:
- where should an agent start reading
- where should design rules live
- where should plans and blockers live
- how do you avoid re-explaining the same repo every session
- how do you move context from chat into versioned files
This is not about making the repo look tidy.
It is about making the repo usable by an agent that has to keep working tomorrow, not just right now.
The skill ships with templates so initialization does not depend on improvised formatting:
assets/AGENTS.template.mdassets/DESIGN.template.mdassets/PLANS.template.mdassets/design-docs.index.template.mdassets/references.index.template.mdassets/core-flows.template.md— for documenting critical call pathsassets/module-validation.template.md— for module-specific validation commandsassets/tech-debt-tracker.template.md
Optional:
assets/layer-mapping.template.md— for projects with explicit layeringassets/glossary.template.md— for project-specific terminologyassets/ci-validation.template.md— for CI/validation pipeline documentationassets/archive-template.md— for archiving completed plans
Use it when:
- a new repository is being set up for agent-first development
- an older repository needs its first real
AGENTS.md - your team wants the repo, not chat history, to hold the working rules
- you want future agents to inherit project context from files instead of from repeated prompting
Do not use it for:
- ordinary feature work
- a one-off bug fix
- a single test addition
- a small documentation patch
- adding one isolated rule long after initialization
Those tasks should run on top of the harness, not recreate it.
This project is intentionally narrow.
It does one thing:
bootstrap the harness once.
It does not try to:
- replace day-to-day development
- replace project documentation itself
- act as the permanent brain of the repo
- be re-run every time an agent touches the codebase
Once the bootstrap is done, the repository should take over.
After initialization, the default read order is:
AGENTS.mdDESIGN.mdPLANS.mddocs/design-docs/index.mddocs/references/index.md- the specific docs needed for the current task
That is the whole point of this project:
it makes the answer to "where does the agent get its context?" explicit, versioned, and local to the repository.