mcpField
A
agent-readiness

agent-readiness

github.com/tryalan-aiAgent workflows257 installsUpdated 2w ago
Repository

About agent-readiness

A skill for assessing whether a repository gives autonomous coding agents enough structure to implement and verify tasks with limited human guidance. It combines a scripted audit and optional session-log analysis, then produces a report with gaps and prioritized actions.

Key features

  1. 01Runs a repository readiness assessment script
  2. 02Analyzes agent session logs when provided
  3. 03Scores documentation, testing, tooling, and safety
  4. 04Generates an HTML report with gaps and actions
  5. 05Supports manual scoring without Python

Use cases

  1. 01Finding repository gaps before assigning agent tasks
  2. 02Reviewing agent failures across saved session logs
  3. 03Prioritizing improvements to tests and developer tooling
  4. 04Producing a readiness report without automated analysis

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tryalan-ai/supa-skills --skill agent-readiness

After installing, type/agent-readinessin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

scripts/
analyze_sessions.py
compact_sessions.py
render_html_report.py
run_readiness_check.py
sample_sessions.py
session_events.py
test_session_events.py

Details

From the project README

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:

DimSubjectCheckImpact if missing
1Spec clarityStructured templates with AC, edge cases, non-goalsNo template → cap at 3
2Agent instructionsRoot AGENTS.md with stack, paths, commandsNone → cap at 2
2Agent instructionsHigh-risk invariants documented (migrations, secrets, etc.)Missing → −1
3Code clarityStrict TypeScript or equivalent static typesNone → cap at 2
3Code clarityBusiness logic separated from framework glueMixed → −1
4SearchabilityFeature flows discoverable by name/routeHidden → −1
4SearchabilityGenerated/vendored code clearly markedMixed → −0.5
5Local envDependency lockfile committedNo lockfile → cap at 2
5Local envOne-command setup scriptManual → −1
6TestsUnit + integration + E2E tests existNone → cap at 1
6TestsFocused test commands per surfaceOnly blanket → −0.5
7Static validationLinter configured and documentedNone → cap at 2
7Static validationPre-commit or CI hook enforces lintMissing → −0.5
8Build feedbackPackage-scoped build commands existOnly root → −0.5
8Build feedbackDev mode with HMR documentedMissing → −1
9DebuggabilityTests produce diagnostic artifacts (screenshots, traces)None → −1
9DebuggabilityStructured error typesSilent errors → −1
10SafetyDestructive migration workflow explicitImplicit → cap at 3
10SafetySecret/env files in .gitignoreNot ignored → cap at 2
11Browser automationAuth bypass avoids login pageManual login → cap at 2
11Browser automationStable 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
1Code Comprehensibility — strong types, clear names, predictable structure
2Context & Documentation — AGENTS.md, README, ADRs, inline WHY
3Verifiability & Testing — test pyramid, type checker, linter, CI gates
4Dev Environment Reproducibility — one-command setup, locked deps, containerized services
5Style & Validation Tooling — strict linter, formatter, pre-commit hooks
6Build System — deterministic builds, fast feedback, HMR
7Observability & Debuggability — structured logs, health checks, actionable errors
8Security & Governance — branch protection, secret scanning, CODEOWNERS
9Task Discovery & Scoping — issue templates, acceptance criteria, definition of done
10Spec & Planning Quality — structured PRDs, API contracts, measurable success criteria
11CI/CD & Deployment Pipeline — automated gates, staging, rollback docs
Maturity levels
LevelScoreWhat agents can do
Fragile<2.0Explore only; heavy supervision needed
Documented2.0–2.9Small changes with close review
Standardized3.0–3.9Well-scoped tasks with local verification
Optimized4.0–4.4Complex multi-file tasks with light review
Autonomous4.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/.

Comments

Markdown supported