CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

local-codex

Launches and manages the local OpenAI Codex CLI as a non-interactive coding sub-agent via ChatGPT OAuth, never API keys. Use to delegate coding tasks to Codex, run codex exec, generate or refactor code, or get a Codex code review; phrases like 'codex', 'run codex', 'codex exec', 'delegate to codex'. Also route here for shared app-server daemon lifecycle and fault recovery: daemon restart, Codex hooks or spawns failing with 'Too many open files', fd exhaustion diagnostics; phrases like 'codex daemon', 'daemon 重启', 'Too many open files'.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

85%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong operational skill body: commands are executable and complete, fragile operations (auth, identity attribution, daemon restart) have explicit validation gates and error-recovery loops, and detail is properly pushed into well-anchored reference files. The main weakness is prose density — the Account-Manager and credit-policy passages in the Authentication section are convoluted and would benefit from plainer, shorter statements.

Suggestions

Rewrite the Account-Manager 'routine-switch SOP' paragraph in the Authentication section as short, plain directives; terms like 'separately scoped repair' and 'documented current-session form' require multiple reads to decode.

Replace the convoluted credit-policy sentence ('Keep the authentication route separate from the account's allowance and extra Credit policy; OAuth does not guarantee...') with a direct rule such as 'OAuth login does not cap credit consumption; long-running work may still consume extra Credit'.

State the SID+cwd+unique-runtime session-evidence rule once in a single canonical section and have the Authentication and Session Management sections back-reference it, rather than restating the gate in both.

DimensionReasoningScore

Conciseness

Mostly operational with no basic-concept padding, but several passages need tightening: the Account Manager paragraph ('enter that project's routine-switch SOP first... An unknown managed request stays with that manager; it does not authorize raw RPC or a new login') is jargon-dense and takes multiple reads, and 'Keep the authentication route separate from the account's allowance and extra Credit policy; OAuth does not guarantee that long work cannot consume extra Credit' is convoluted. This exceeds anchor 4's 'minor instances of over-explanation that could be trimmed'.

3 / 5

Actionability

Fully executable, copy-paste-ready commands throughout: 'python3 scripts/codex_wrapper.py exec "<prompt>" [<workdir>] [<model>] [<sandbox>] [<timeout>]' with a complete worked example, '/bin/zsh -lic 'command -v codex; codex --version'', 'codex exec resume "${CODEX_SESSION_ID:?...}"', and the snapshot/check identity commands with documented exit codes (0/1/2/3). Specific examples cover the common exec, review, and status cases; score 4's 'minor gaps' is not evidenced.

5 / 5

Workflow Clarity

Multi-step processes are clearly sequenced with explicit validation checkpoints and feedback loops: numbered binary-detection order, the identity baseline ('Freeze once, before the work... Compare before the expensive claim', 'never refresh a baseline to make a comparison pass'), diagnostics routing 'before changing configuration or resuming work', and daemon restart gated on 'Preserve affected work... and verify continuation under the original session IDs; a new daemon is not proof that tasks resumed'. Risky operations all carry verification, so the destructive-operation cap does not apply.

5 / 5

Progressive Disclosure

The body is a clear overview with well-signaled, one-level-deep references, all verified to exist with valid anchors: references/oauth-guide.md (with section anchors like #cached-login-inspection, #quota-driven-continuation), references/entry-identity.md, references/model-request-diagnostics.md, and references/shared-daemon-maintenance.md. Heavy detail is appropriately split out — parameter/output tables are delegated to named functions in scripts/codex_wrapper.py instead of being duplicated, and reference files link laterally to anchored sections rather than nesting content. Matches anchor 5's structure.

5 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: it states concrete capabilities in third person, gives explicit 'Use to...' trigger guidance with natural quoted phrases (including the literal fd-exhaustion error string), and clearly separates the delegation scope from the daemon-maintenance scope. It is somewhat long, but every clause carries trigger or scope information rather than padding.

DimensionReasoningScore

Specificity

Quotes: 'Launches and manages the local OpenAI Codex CLI as a non-interactive coding sub-agent via ChatGPT OAuth, never API keys', 'delegate coding tasks', 'run codex exec', 'generate or refactor code', 'get a Codex code review', 'daemon restart', 'fd exhaustion diagnostics'. Multiple specific concrete actions covering both the delegation use case and daemon/fault-recovery maintenance, matching the comprehensive-coverage anchor; score 4's 'minor gaps in coverage' would understate the breadth.

5 / 5

Completeness

Both questions are explicitly answered: 'what' via 'Launches and manages the local OpenAI Codex CLI as a non-interactive coding sub-agent via ChatGPT OAuth' and 'when' via 'Use to delegate coding tasks to Codex... phrases like...' plus 'Also route here for shared app-server daemon lifecycle and fault recovery'. Concrete trigger phrases accompany both clauses, matching anchor 5 exactly; anchor 4's 'when could be more explicit' does not apply.

5 / 5

Trigger Term Quality

Quotes: 'phrases like "codex", "run codex", "codex exec", "delegate to codex"' and '"codex daemon", "daemon 重启", "Too many open files"'. Trigger coverage is comprehensive and natural, including command names, user phrasings, a non-English synonym, and the literal error message a user would paste — exceeding anchor 4's 'a few natural terms missing'.

5 / 5

Distinctiveness Conflict Risk

The niche is clear (delegating to the local Codex CLI via ChatGPT OAuth, plus app-server daemon maintenance) and all triggers are codex-gated ('codex', 'codex exec', 'codex daemon') or uniquely specific ('Too many open files'). Anchor 4's 'minor overlap risk with closely related skills' is not evidenced — the generic phrase 'generate or refactor code' is always tied to explicit codex triggers.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

daymade/claude-code-skills

Path

daymade-codex/local-codex/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.