Agent Readiness Assessment
Evaluate whether a repository gives an autonomous coding agent enough structure to take a task from spec to implementation to local verification without human hand-holding.
Automated analysis (default)
This skill ships with analysis scripts in the scripts/ directory. If Python 3 is available, use the combined runner for the full assessment including session-log pattern analysis:
# Full assessment (with session log analysis)
python3 scripts/run_readiness_check.py \
--sessions-dir ~/.claude/projects/PROJECT-NAME \
--repo .
# Static audit only (no session logs needed — fastest)
python3 scripts/run_readiness_check.py \
--repo . \
--skip-sessions \
--output /tmp/agent-readiness-report.html
The output is an HTML report at /tmp/agent-readiness-report.html with maturity level, dimension scores, failure patterns, critical gaps, and a prioritized action plan.
Session log analysis
When session logs are available (.jsonl files from Claude Code, Codex, Cursor, etc. in ~/.claude/projects/), the analyzer detects:
- Classification distribution (research-only, validation-only, blocked, task-finisher, etc.)
- Top failed tools and commands
- Recurring failure patterns (browser auth, test failures, MCP schema issues, etc.)
- Post-edit validation rate
- Compact qualitative summaries of selected sessions
Pass --max-sessions N for a smaller sample while iterating. The analyzer caches parsed results by file hash so re-runs are near-instant.
Scoring checklist
When scoring manually (or to validate the automated output), use this rubric:
| Dim |
Subject |
Check |
Impact if missing |
| 1 |
Spec clarity |
Structured templates with AC, edge cases, non-goals |
No template → cap at 3 |
| 2 |
Agent instructions |
Root AGENTS.md with stack, paths, commands |
None → cap at 2 |
| 2 |
Agent instructions |
High-risk invariants documented (migrations, secrets, etc.) |
Missing → −1 |
| 3 |
Code clarity |
Strict TypeScript or equivalent static types |
None → cap at 2 |
| 3 |
Code clarity |
Business logic separated from framework glue |
Mixed → −1 |
| 4 |
Searchability |
Feature flows discoverable by name/route |
Hidden → −1 |
| 4 |
Searchability |
Generated/vendored code clearly marked |
Mixed → −0.5 |
| 5 |
Local env |
Dependency lockfile committed |
No lockfile → cap at 2 |
| 5 |
Local env |
One-command setup script |
Manual → −1 |
| 6 |
Tests |
Unit + integration + E2E tests exist |
None → cap at 1 |
| 6 |
Tests |
Focused test commands per surface |
Only blanket → −0.5 |
| 7 |
Static validation |
Linter configured and documented |
None → cap at 2 |
| 7 |
Static validation |
Pre-commit or CI hook enforces lint |
Missing → −0.5 |
| 8 |
Build feedback |
Package-scoped build commands exist |
Only root → −0.5 |
| 8 |
Build feedback |
Dev mode with HMR documented |
Missing → −1 |
| 9 |
Debuggability |
Tests produce diagnostic artifacts (screenshots, traces) |
None → −1 |
| 9 |
Debuggability |
Structured error types |
Silent errors → −1 |
| 10 |
Safety |
Destructive migration workflow explicit |
Implicit → cap at 3 |
| 10 |
Safety |
Secret/env files in .gitignore |
Not ignored → cap at 2 |
| 11 |
Browser automation |
Auth bypass avoids login page |
Manual login → cap at 2 |
| 11 |
Browser automation |
Stable selectors (data-testid or a11y roles) |
CSS classes → −1 |
Start each dimension at 3, adjust up/down per the checklist, max 5, min 1.
What it assesses
| # |
Dimension |
| 1 |
Code Comprehensibility — strong types, clear names, predictable structure |
| 2 |
Context & Documentation — AGENTS.md, README, ADRs, inline WHY |
| 3 |
Verifiability & Testing — test pyramid, type checker, linter, CI gates |
| 4 |
Dev Environment Reproducibility — one-command setup, locked deps, containerized services |
| 5 |
Style & Validation Tooling — strict linter, formatter, pre-commit hooks |
| 6 |
Build System — deterministic builds, fast feedback, HMR |
| 7 |
Observability & Debuggability — structured logs, health checks, actionable errors |
| 8 |
Security & Governance — branch protection, secret scanning, CODEOWNERS |
| 9 |
Task Discovery & Scoping — issue templates, acceptance criteria, definition of done |
| 10 |
Spec & Planning Quality — structured PRDs, API contracts, measurable success criteria |
| 11 |
CI/CD & Deployment Pipeline — automated gates, staging, rollback docs |
Maturity levels
| Level |
Score |
What agents can do |
| Fragile |
<2.0 |
Explore only; heavy supervision needed |
| Documented |
2.0–2.9 |
Small changes with close review |
| Standardized |
3.0–3.9 |
Well-scoped tasks with local verification |
| Optimized |
4.0–4.4 |
Complex multi-file tasks with light review |
| Autonomous |
4.5+ |
Spec to tested implementation with strategic oversight |
Manual mode (no Python)
When Python 3 is not available, score each dimension 1–5 manually using the checklist above. Produce a report with: overall level, dimension table, critical gaps, action plan, and coverage table. See the automated report for output format reference.
Report delivery
Persist the report as an HTML document artifact when team artifact/document tools are available. Otherwise display the summary in chat and note the full HTML path at /tmp/agent-readiness-report.html.
Updates
This skill ships from the supatest-ai/supa-skills marketplace. The source of truth for the scripts is the supatest-ai/aiden repo under .agents/skills/agent-readiness/scripts/.
1---2name: agent-readiness3description: Evaluate how ready a codebase is for autonomous AI agent work. Generates a scored report across 11 dimensions with a maturity level and prioritized action plan.4---56# Agent Readiness Assessment78Evaluate whether a repository gives an autonomous coding agent enough structure to take a task from spec to implementation to local verification without human hand-holding.910## Automated analysis (default)1112This skill ships with analysis scripts in the `scripts/` directory. If Python 3 is available, use the **combined runner** for the full assessment including session-log pattern analysis:1314```bash15# Full assessment (with session log analysis)16python3 scripts/run_readiness_check.py \17 --sessions-dir ~/.claude/projects/PROJECT-NAME \18 --repo .1920# Static audit only (no session logs needed — fastest)21python3 scripts/run_readiness_check.py \22 --repo . \23 --skip-sessions \24 --output /tmp/agent-readiness-report.html25```2627The output is an HTML report at `/tmp/agent-readiness-report.html` with maturity level, dimension scores, failure patterns, critical gaps, and a prioritized action plan.2829### Session log analysis3031When session logs are available (`.jsonl` files from Claude Code, Codex, Cursor, etc. in `~/.claude/projects/`), the analyzer detects:3233- Classification distribution (research-only, validation-only, blocked, task-finisher, etc.)34- Top failed tools and commands35- Recurring failure patterns (browser auth, test failures, MCP schema issues, etc.)36- Post-edit validation rate37- Compact qualitative summaries of selected sessions3839Pass `--max-sessions N` for a smaller sample while iterating. The analyzer caches parsed results by file hash so re-runs are near-instant.4041### Scoring checklist4243When scoring manually (or to validate the automated output), use this rubric:4445| Dim | Subject | Check | Impact if missing |46|-----|---------|-------|-------------------|47| 1 | Spec clarity | Structured templates with AC, edge cases, non-goals | No template → cap at 3 |48| 2 | Agent instructions | Root AGENTS.md with stack, paths, commands | None → cap at 2 |49| 2 | Agent instructions | High-risk invariants documented (migrations, secrets, etc.) | Missing → −1 |50| 3 | Code clarity | Strict TypeScript or equivalent static types | None → cap at 2 |51| 3 | Code clarity | Business logic separated from framework glue | Mixed → −1 |52| 4 | Searchability | Feature flows discoverable by name/route | Hidden → −1 |53| 4 | Searchability | Generated/vendored code clearly marked | Mixed → −0.5 |54| 5 | Local env | Dependency lockfile committed | No lockfile → cap at 2 |55| 5 | Local env | One-command setup script | Manual → −1 |56| 6 | Tests | Unit + integration + E2E tests exist | None → cap at 1 |57| 6 | Tests | Focused test commands per surface | Only blanket → −0.5 |58| 7 | Static validation | Linter configured and documented | None → cap at 2 |59| 7 | Static validation | Pre-commit or CI hook enforces lint | Missing → −0.5 |60| 8 | Build feedback | Package-scoped build commands exist | Only root → −0.5 |61| 8 | Build feedback | Dev mode with HMR documented | Missing → −1 |62| 9 | Debuggability | Tests produce diagnostic artifacts (screenshots, traces) | None → −1 |63| 9 | Debuggability | Structured error types | Silent errors → −1 |64| 10 | Safety | Destructive migration workflow explicit | Implicit → cap at 3 |65| 10 | Safety | Secret/env files in .gitignore | Not ignored → cap at 2 |66| 11 | Browser automation | Auth bypass avoids login page | Manual login → cap at 2 |67| 11 | Browser automation | Stable selectors (data-testid or a11y roles) | CSS classes → −1 |6869Start each dimension at 3, adjust up/down per the checklist, max 5, min 1.7071### What it assesses7273| # | Dimension |74|---|-----------|75| 1 | Code Comprehensibility — strong types, clear names, predictable structure |76| 2 | Context & Documentation — AGENTS.md, README, ADRs, inline WHY |77| 3 | Verifiability & Testing — test pyramid, type checker, linter, CI gates |78| 4 | Dev Environment Reproducibility — one-command setup, locked deps, containerized services |79| 5 | Style & Validation Tooling — strict linter, formatter, pre-commit hooks |80| 6 | Build System — deterministic builds, fast feedback, HMR |81| 7 | Observability & Debuggability — structured logs, health checks, actionable errors |82| 8 | Security & Governance — branch protection, secret scanning, CODEOWNERS |83| 9 | Task Discovery & Scoping — issue templates, acceptance criteria, definition of done |84| 10 | Spec & Planning Quality — structured PRDs, API contracts, measurable success criteria |85| 11 | CI/CD & Deployment Pipeline — automated gates, staging, rollback docs |8687### Maturity levels8889| Level | Score | What agents can do |90|-------|-------|-------------------|91| Fragile | <2.0 | Explore only; heavy supervision needed |92| Documented | 2.0–2.9 | Small changes with close review |93| Standardized | 3.0–3.9 | Well-scoped tasks with local verification |94| Optimized | 4.0–4.4 | Complex multi-file tasks with light review |95| Autonomous | 4.5+ | Spec to tested implementation with strategic oversight |9697### Manual mode (no Python)9899When Python 3 is not available, score each dimension 1–5 manually using the checklist above. Produce a report with: overall level, dimension table, critical gaps, action plan, and coverage table. See the automated report for output format reference.100101### Report delivery102103Persist the report as an HTML document artifact when team artifact/document tools are available. Otherwise display the summary in chat and note the full HTML path at `/tmp/agent-readiness-report.html`.104105### Updates106107This skill ships from the [supatest-ai/supa-skills](https://github.com/supatest-ai/supa-skills) marketplace. The source of truth for the scripts is the [supatest-ai/aiden](https://github.com/supatest-ai/aiden) repo under `.agents/skills/agent-readiness/scripts/`.