Borrowing it
Nothing to install: this file belongs to Arystos/skill-codex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Arystos/skill-codex/master/CLAUDE.mdgit clone --depth 1 https://github.com/Arystos/skill-codexWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/arystos/skill-codex/claude-md)<a href="https://agentmods.dev/instructions/arystos/skill-codex/claude-md"><img src="https://agentmods.dev/badge/instructions/arystos/skill-codex/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/arystos/skill-codex/claude-md"><img src="https://agentmods.dev/badge/instructions/arystos/skill-codex/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00729 | $0.00729 |
| Opus 5.5 | $0.00292 | $0.00292 |
| Sonnet 5.5 | $0.00146 | $0.00146 |
| Haiku 4.5 | $0.00073 | $0.00073 |
Grade A, and why
skill-codex CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Mock `child_process.spawn` for runner tests How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
skill-codex
Cross-platform Claude Code skill integrating OpenAI Codex CLI for code review, task delegation, and consultation.
Architecture
- MCP Server (
src/): One-direction bridge -- Claude Code calls Codex viacodex execCLI - Slash Commands (
commands/):/codex-review,/codex-do,/codex-consult - Auto-review Hook (
hooks/): PostToolUse hook with smart diff filtering - Setup CLI (
setup/):npx skill-codex setupone-command installer
Key Design Decisions
- Subscription-first: Works with
codex login(ChatGPT Plus/Codex subscription). NoOPENAI_API_KEYrequired. - Codex as peer, not authority: Claude critically evaluates all Codex output. Findings are suggestions, not directives.
- Cross-platform: Windows (git-bash), macOS, Linux. Uses
shell: falsewith resolved binary path +windowsHide: trueon Windows. - Single MCP tool (
codex_exec): Mode param controls behavior (exec vs full-auto).
Code Conventions
- TypeScript strict mode, ES2022 target, Node16 modules
- Immutable data patterns -- never mutate, return new objects
- Small focused files: 50-150 lines typical, 400 max
- Typed errors with
retryableboolean onBridgeErrorbase class - All magic numbers in
src/config/constants.ts - Cross-platform paths via
src/config/paths.tsandsrc/util/platform.ts
Testing
- Framework: vitest
- Target: 80%+ overall, 90%+ on runner and guards
- Mock
child_process.spawnfor runner tests - Mock
whichfor binary check tests - Use temp dirs for lock file tests
Build & Run
npm install
npm run build
npm test
MCP Server
The server exposes one tool: codex_exec with params:
prompt(string, required)mode("exec" | "full-auto", default "exec")cwd(string, optional)timeoutMs(number, optional)requireGit(boolean, optional)
Environment Variables
| Variable | Default | Description |
|---|---|---|
SKILL_CODEX_TIMEOUT_MS |
600000 (10 min) |
Subprocess timeout |
SKILL_CODEX_MAX_RETRIES |
3 |
Retry count for transient errors |
SKILL_CODEX_DEBUG |
-- | Enable debug logging to stderr |
SKILL_CODEX_DEPTH |
0 |
Recursion depth (set automatically) |
SKILL_CODEX_WINDOWS_SANDBOX |
unelevated |
Windows windows.sandbox mode; works around elevated-sandbox spawn failures (codex#24098) |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 70 lines · 729 tokens per session scan A b6405ac5d989
skill-codex CLAUDE.md is an instructions file published in the GitHub repository Arystos/skill-codex (6 stars, last pushed 2mo ago), licensed MIT. It adds 729 tokens to every session, about $0.0029 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).