agent-ready-repo audits and fixes any repository so coding agents — Claude Code,
Gemini CLI, Jules, Cursor, Lovable, Bolt, and Replit Agent — can understand it and
work on it without API-key hell.
Agents are the new developers. GitHub is their memory. Docs are their instructions. Templates are their instincts. This tool makes your repo a place agents can navigate on their first try.
# audit the current repo and write a report
npx agent-ready-repo audit
# scaffold any missing agent-readiness files (safe — never overwrites silently)
npx agent-ready-repo fixNo install, no account, no API keys. It runs locally and only reads/writes files in the target directory.
audit scores your repo (0–100, grade A–F) across four areas:
- Files —
README.md,AGENTS.md,CLAUDE.md,llms.txt,.env.example,.gitignore,LICENSE,SECURITY.md,CONTRIBUTING.md, and thedocs/handbook (HANDOFF,ROADMAP,KNOWN_ISSUES,ARCHITECTURE,DEPLOYMENT,MONETIZATION). - Content — a repo description, a README quickstart, and actionable agent
instructions in
AGENTS.md. - Package scripts —
build,test,preview/dev, anddeploycommands. - Security — possible committed secrets and leftover placeholder URLs.
Output goes to your console, to docs/AGENT_READY_REPORT.md, and optionally to JSON.
fix creates only the missing starter files from safe, generic templates. It
never overwrites existing content silently:
- Existing files are skipped and listed.
--forcebacks each existing file up to<file>.bakbefore writing.--dry-runshows what would change without writing anything.
After running fix, edit the placeholders and re-run audit.
agent-ready-repo audit [--cwd <dir>] [--json [path]] [--no-report] [--silent] [--ci]
agent-ready-repo fix [--cwd <dir>] [--dry-run] [--force]| Option | Applies to | Meaning |
|---|---|---|
--cwd <dir> |
both | Target directory (default: current directory). |
--json [path] |
audit | Print JSON, or write it to path. |
--no-report |
audit | Skip writing docs/AGENT_READY_REPORT.md. |
--ci |
audit | Exit non-zero when the grade is failing (D or F). |
--dry-run |
fix | Show planned changes without writing. |
--force |
fix | Overwrite existing files (backs up to .bak first). |
See AGENTS.md for build/test commands and conventions, and docs/AGENT_PROMPTS.md for ready-to-use prompts.
npm install
npm run typecheck
npm test
npm run buildThis is the free CLI core of a broader agent-readiness toolchain. See docs/ROADMAP.md and docs/MONETIZATION.md.
MIT — see LICENSE.