mcpbeat Sign in

Agentic Legibility Skill for Codex

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.

11k tokens
context cost
the whole folder, loaded on every use
4
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
838
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/openai/build-hours --skill agentic-legibility

What comes with it

37 737 bytes besides the instruction
agents/openai.yaml
references/scorecard.md
scripts/score_repo.py

The instruction itself

8 sections, as written by the author

Agentic Legibility

Overview

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.

Hosted Use

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:

Workflow

  • Run scripts/score_repo.py against the target repository.
  • Check the reported evaluated_scope and discovered_scopes.
  • If the repo has multiple plausible sub-scopes, inspect the root README or user instructions and rerun with --scope when needed.
  • Read references/scorecard.md only if you need the exact rubric, want to explain edge cases, or need to adjust recommendations.
  • Inspect a small number of files manually only when the script reports low confidence or the evidence looks stale.
  • Report the selected metric scores, concrete evidence, the largest gaps, and the highest-value next fixes.

Commands

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.

Reporting Rules

  • Treat scores as heuristics, not proof.
  • Prefer repo evidence over inference from naming alone.
  • Call out confidence when the signal is weak or ecosystem-specific.
  • Keep recommendations concrete and mechanical: add a file, add a command, add a rule, add a doc index.
  • Prioritize metrics with the lowest score and the highest leverage on agent workflows.
  • When only a subset of metrics is requested, treat the aggregate score as a score over that subset only.

Limits

  • Keep the score repo-visible only.
  • Do not fold proxy metrics such as CI parity, debt tracking, or entropy control into the main score in this skill version.
  • Prefer conservative scores when a docs tree exists but indexing or routing is weak. It is better to recognize existing structure and recommend tightening it than to suggest artifacts that are already present.

Resources

  • 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.

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take openai/agentic-legibility from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

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.