CLI that scores how ready a repo is for AI coding agents (Claude Code, Cursor, Copilot, Codex)
Project description
agent-ready: AI Agent Readiness Checker
agent-ready is a Python CLI that evaluates a code repository's structure and content for optimal performance with AI coding agents like Claude Code, Cursor, and GitHub Copilot.
AI coding agents are now standard development tools. The quality and relevance of their suggestions, refactors, and code generation heavily depend on the clarity, consistency, and discoverability of a repository's codebase. agent-ready helps identify areas for improvement to maximize agent effectiveness.
Quick Start
To check a repository, simply run the script with the path to your repository:
# Clone the agent-ready repository
git clone https://github.com/your-org/agent-ready.git
cd agent-ready
# Run the check against your target repository
python3 agent_ready.py /path/to/your/project
What It Checks
agent-ready performs the following checks, assigning points based on best practices for AI agent comprehension:
| Check | Points |
|---|---|
README.md exists and is substantial |
10 |
.gitignore exists and is comprehensive |
8 |
requirements.txt or equivalent exists |
7 |
pyproject.toml or setup.py exists |
7 |
Clear project structure (e.g., src/) |
8 |
| Docstrings/comments present (sample check) | 10 |
| Type hints used (sample check) | 8 |
Test suite detected (tests/ folder) |
9 |
Linter config detected (.flake8, pyproject.toml) |
6 |
Formatter config detected (.prettierrc, pyproject.toml) |
6 |
CI/CD config detected (.github/workflows, gitlab-ci.yml) |
5 |
CONTRIBUTING.md exists |
4 |
LICENSE file exists |
4 |
| Recent activity (last 3 months) | 8 |
| Total Possible Score | 100 |
Grading Scale
The final score translates to a grade:
| Grade | Score Range |
|---|---|
| A | 90-100 |
| B | 80-89 |
| C | 70-79 |
| D | 60-69 |
| F | < 60 |
Flags
agent-ready supports the following flags:
--json: Output results as a JSON object. Useful for programmatic consumption.--badge: Output a Markdown badge string representing the grade.--strict: Exit with a non-zero status code if the grade is below 'B'. Useful for CI/CD pipelines.
Badge Example

Use in CI
Integrate agent-ready into your CI/CD pipeline to ensure ongoing agent readiness.
name: Agent Readiness Check
on: [push, pull_request]
jobs:
check-readiness:
runs-on: ubuntu-latest
steps:
- name: Checkout agent-ready
uses: actions/checkout@v4
with:
repository: your-org/agent-ready # Replace with actual repo URL
path: agent-ready
- name: Checkout target repository
uses: actions/checkout@v4
with:
path: target-repo
- name: Run agent-ready check
run: python3 agent-ready/agent_ready.py target-repo --strict
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_ready_cli-0.1.0.tar.gz.
File metadata
- Download URL: agent_ready_cli-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
affee7382913bb8d4bb181b849fd7c622acfe32e12427470b8791e1ff34b5e50
|
|
| MD5 |
34a9cc327c8bf3a533def16f42fdb71e
|
|
| BLAKE2b-256 |
c574b50e10c3f670308a0f4a2fb81e39009fd8c52c1d4afc1fa9cddf89ffa122
|
Provenance
The following attestation bundles were made for agent_ready_cli-0.1.0.tar.gz:
Publisher:
publish.yml on RLASAF12/agent-ready
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_ready_cli-0.1.0.tar.gz -
Subject digest:
affee7382913bb8d4bb181b849fd7c622acfe32e12427470b8791e1ff34b5e50 - Sigstore transparency entry: 1722603335
- Sigstore integration time:
-
Permalink:
RLASAF12/agent-ready@7dc0af60c14ce925be696b8cecffe694bc6cac81 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/RLASAF12
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7dc0af60c14ce925be696b8cecffe694bc6cac81 -
Trigger Event:
release
-
Statement type:
File details
Details for the file agent_ready_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agent_ready_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e263709f24da8a41ac8496423b4d4a905a4dea3ee33d6841c8a726112aa2c2a
|
|
| MD5 |
1c7d8505128a8176ccab394506404136
|
|
| BLAKE2b-256 |
ca5bc4276ae6c8f02fee725aa3ec8f42ec5ae4f5142ed45bf0e8c6cd48f99bbd
|
Provenance
The following attestation bundles were made for agent_ready_cli-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on RLASAF12/agent-ready
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_ready_cli-0.1.0-py3-none-any.whl -
Subject digest:
1e263709f24da8a41ac8496423b4d4a905a4dea3ee33d6841c8a726112aa2c2a - Sigstore transparency entry: 1722603457
- Sigstore integration time:
-
Permalink:
RLASAF12/agent-ready@7dc0af60c14ce925be696b8cecffe694bc6cac81 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/RLASAF12
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7dc0af60c14ce925be696b8cecffe694bc6cac81 -
Trigger Event:
release
-
Statement type: