A coding agent does its best work in a repository where one command sets it up, runs it, tests it, lints it and formats it; where the same checks run before a commit and in CI; where a workflow cannot leak a token; and where dependencies and images stay current without anyone remembering. The same things help the people working beside it.
template-agent-ready is an open-source recipe, Apache 2.0, that checks a repository for exactly that. It is a template: introspection init makes your own copy to run and deploy. About sixty deterministic rules score it, and a model's judgement covers what rules cannot see.
What it checks
- Dependencies. Dependabot for every ecosystem and directory, grouped, with a cooldown; open version floors; a committed lockfile; no git-sourced dependencies.
- Docker. Base images tagged by version number, never
latestor a codename Dependabot never moves; pinned tools; a non-root final stage. - Hooks. Git hooks that install themselves, a secret scanner, and CI running the same hooks.
- Lint. A linter and a formatter for every language, both enforced in CI, with strict type checking and pinned toolchains.
- CI. Every pull request checked, least-privilege
permissions:, no untrusted event text in a shell, actions pinned to releases, and timeouts. - Helm. Documented values and a schema, resources, a security context, probes, and
helm lintin CI. - Local. Backing services started with one command and an
.env.example. - Make and docs. A Makefile with targets for setup, run, test, lint, format and build; a README that runs the app end to end; an
AGENTS.md.
How it works
It shares its shape with our post-quantum check. The lead scans the repository, reader subagents judge one area each with no shell and no write tool, and you review at most eight cards. For each card you approve, the lead makes the change in its own worktree, a verifier tries to break it, and only then is a pull request opened on an agent-ready/ branch. A gate extension refuses any push for an area you have not approved.
Run it on your own repository
1. Install the Introspection CLI and Pi (once, with Node.js 24 or later):
npm install -g @introspection-ai/cli @earendil-works/pi-coding-agent
pi auth login anthropic2. Make your own copy of the recipe (once), in a folder outside any git repository:
cd ~/src
introspection init agent-ready --template template-agent-ready3. Run it from inside the repository you want checked:
cd ~/src/your-repo
introspection local --work-dir ~/src/agent-ready -- "Check this repository is agent-ready"Ask for "a report only" to change nothing. The results go to .agent-ready/ in your repository, which git never sees.
To run it on the platform, follow the deployment steps in the template's README.
Talk to us about running it across your organization's repositories.