Make your repository easier for AI coding agents and human contributors to work on.
AgentReady is a local-first CLI that scans a repo, generates practical AGENTS.md and contributor instructions, and checks that those instructions stay accurate as the project changes.
npx @rasmusdriving/agent-ready init
npx @rasmusdriving/agent-ready checkOpen-source maintainers increasingly review contributions from humans and AI-assisted tools. A clear AGENTS.md, contribution guide, and pull request checklist can reduce repeated review feedback, but those files drift as scripts and package managers change.
AgentReady treats contributor instructions as something testable.
- Docs say
npm test, but your repo uses pnpm. AGENTS.mdreferences a deleted or missing script.CONTRIBUTING.mdpoints to a file that no longer exists.- PR templates ask contributors to run checks that are not defined.
- Multiple package managers are documented for one repo.
AgentReady runs on Node.js 20 or newer.
npm install --save-dev @rasmusdriving/agent-readyOr run it directly:
npx @rasmusdriving/agent-ready --helpnpx @rasmusdriving/agent-ready init --dry-run
npx @rasmusdriving/agent-ready init --yes --profile codex --include-pr-template --include-actioninit detects package manager, scripts, docs, framework hints, and basic monorepo markers. It creates files only when they do not already exist.
npx @rasmusdriving/agent-ready check
npx @rasmusdriving/agent-ready check --format markdown
npx @rasmusdriving/agent-ready check --format json
npx @rasmusdriving/agent-ready check --warn-onlycheck validates package-manager references, missing scripts, missing file references, and required AGENTS.md sections.
npx @rasmusdriving/agent-ready doctordoctor summarizes concrete strengths and next improvements. The score is directional, not a vanity metric or program threshold.
npx @rasmusdriving/agent-ready bundle
npx @rasmusdriving/agent-ready bundle --max-chars 8000 --output .agent-ready/repo-context.mdbundle writes a compact Markdown packet with project summary, detected commands, known instruction files, top-level layout, workflows, and agent guardrails.
npx @rasmusdriving/agent-ready badgeThis repository currently validates itself in CI by building the package and running the local CLI:
- run: npm ci
- run: npm run build
- run: node dist/cli.js check --format markdown --warn-only >> "$GITHUB_STEP_SUMMARY"After the npm package is published, downstream repositories can use npx. This does not require secrets:
name: AgentReady
on:
pull_request:
push:
branches:
- main
jobs:
agent-ready:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npx @rasmusdriving/agent-ready check --format markdown --warn-only >> "$GITHUB_STEP_SUMMARY"This repository also includes composite action metadata in action.yml. After a release tag exists, projects can pin this repo directly if they prefer action syntax:
- uses: rasmusdriving/agent-ready@v0.1.0
with:
mode: warn
format: markdownA dedicated AgentReady action repository under an agentready organization has not been published. The roadmap keeps that as a future packaging decision, so current docs should not depend on that path.
- examples/node-basic shows a small Node.js package with generated
AGENTS.md, AgentReady config, and a CI check workflow.
- No API key required.
- No account required.
- No telemetry by default.
- No repository contents are sent to external services.
- Project scripts are not executed during scanning.
AgentReady currently has a Node.js-focused MVP plus a conservative first Python detection pass:
- npm, pnpm, yarn, and bun lockfile detection
package.jsonscript detectionpyproject.toml,requirements.txt, uv, Poetry, and pip detection- Python command hints for pytest, Ruff, Black, and mypy when detected
AGENTS.md,CONTRIBUTING.md, PR template, and workflow generation- command drift validation
- repo context bundle generation
- text, Markdown, and JSON output
- basic monorepo hints
See ROADMAP.md for deeper Python support, Rust, Go, and nested AGENTS.md support.
AgentReady is vendor-neutral, but it treats AGENTS.md as a first-class artifact because Codex can use repository guidance and review guidelines from AGENTS.md during GitHub code review. AgentReady does not require Codex, OpenAI APIs, or any external AI service.
npm install
npm run build
npm test
npm run lint
npm run formatMaintainers should follow docs/release-checklist.md before publishing to npm or creating a GitHub release.
Issues and PRs are welcome. Start with CONTRIBUTING.md, ROADMAP.md, and this repo's AGENTS.md.
Apache-2.0