openai/agentic-legibility
Score a repository's agentic legibility from repo-visible evidence only. Use when Codex needs to audit how easy a codebase is for coding agents to discover, bootstrap, validate, and navigate, especially for harness-engineering reviews, developer-experience audits, repo cleanup, or before/after comparisons after improving docs, tooling, or architectural constraints.
npx skills add https://github.com/openai/build-hours --skill agentic-legibility
Measure how legible a repository is to coding agents using seven repo-visible metrics: bootstrap self-sufficiency, task entrypoints, validation harness, lint and format gates, agent repo map, structured docs, and decision records.
The scorer can auto-discover nested scopes such as client/, server/, or language-specific subtrees when the repo clearly routes work into a self-contained subsystem with its own manifests, commands, or agent docs.
Keep the main score limited to evidence present in version control. Do not claim branch protection, CI reliability, team habits, or other external-system properties unless the user asks for a separate operational review.
Use metric selection when you want to split scoring across multiple hosted-shell or Responses API runs and aggregate the JSON results upstream.
This folder is the skill bundle you upload or register when you want to mount agentic-legibility into hosted shell.
Public docs for that workflow:
scripts/score_repo.py against the target repository.evaluated_scope and discovered_scopes.--scope when needed.references/scorecard.md only if you need the exact rubric, want to explain edge cases, or need to adjust recommendations.Run the detector from the skill directory or pass an absolute path:
python3 scripts/score_repo.py /path/to/repo
python3 scripts/score_repo.py /path/to/repo --list-scopes
python3 scripts/score_repo.py /path/to/repo --scope client
python3 scripts/score_repo.py /path/to/repo --metric bootstrap_self_sufficiency --metric task_entrypoints
python3 scripts/score_repo.py /path/to/repo --metric validation_harness,lint_format_gates --format markdown
python3 scripts/score_repo.py --list-metrics
python3 scripts/score_repo.py /path/to/repo --exclude node_modules --exclude dist
Default output is JSON for post-processing. Use Markdown only when you want a human-readable report directly in a reply.
When nested scopes are discovered, the JSON includes both the selected scope and the discovered candidates. Treat nested AGENTS.md files as subtree guidance, not automatically as a full repo-wide map.
scripts/score_repo.py: Scan a repository and emit JSON by default, with optional metric selection for split or parallel runs.references/scorecard.md: Define the seven metrics, scoring rubric, and recommendation style.Take openai/agentic-legibility from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.