Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sd0xdev/sd0x-harness --skill codex-explaingit clone --depth 1 https://github.com/sd0xdev/sd0x-harnessWrote 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/skills/sd0xdev/sd0x-harness/codex-explain)<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/codex-explain"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/codex-explain/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/skills/sd0xdev/sd0x-harness/codex-explain"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/codex-explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Data Exfiltration · line 22 Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.Fix: Remove any code that sends prompts, responses, or session data externally. Preserve user privacy; never exfiltrate conversation content.
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.00056 | $0.00521 |
| Opus 5.5 | $0.00022 | $0.00208 |
| Sonnet 5.5 | $0.00011 | $0.00104 |
| Haiku 4.5 | $0.00006 | $0.00052 |
Grade A, and why
codex-explain scanned grade A with 0 findings 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 2mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Codex Explain Skill
Trigger
- Keywords: explain code, what does this do, how does this work, code walkthrough
When NOT to Use
- Code review (use
codex-code-review) - Bug investigation (use
bug-fixorissue-analyze) - Architecture overview (use
code-explore)
Workflow
Read target → [Collect context] → Codex explain → Output explanation
Step 1: Read Target File
Read file content. If --lines specified, extract only that range.
Step 2: Codex Explanation
Dispatch per @skills/codex-code-review/references/codex-transport.md § Start with the explanation prompt. See references/codex-prompt-explain.md.
Depth Levels
| Level | Description |
|---|---|
| brief | One-sentence summary |
| normal | Functional overview + execution flow + key concepts (default) |
| deep | + Design patterns + complexity + issues + dependencies |
Output
## Code Explanation: <target>
- **Depth**: brief / normal / deep
- **Summary**: <functional overview>
- **Execution flow**: <key paths>
- **Key concepts**: <patterns, abstractions>
Verification
- Codex independently researched project context (imports, callers)
- Explanation matches requested depth level
- Key concepts are identified and explained
References
- Explanation prompt:
references/codex-prompt-explain.md
Examples
Input: /codex-explain src/service/order/order.service.ts
Action: Read file → Codex explain (normal) → Functional summary + detailed explanation
Input: /codex-explain src/service/xxx.ts --depth deep
Action: Read file → Codex explain (deep) → Patterns + complexity + issues
Input: /codex-explain src/xxx.ts --lines 50-100
Action: Read lines 50-100 → Codex explain → Focused explanation
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · -1 lines 029ccb648242
- 3mo ago First seen · 75 lines · 56 tokens per session scan A e3a7099f3193
codex-explain is a skill published in the GitHub repository sd0xdev/sd0x-harness (196 stars, last pushed 8d ago), licensed MIT. It adds 56 tokens to every session and 521 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
codex-explain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-explainsd0xdev/sd0x-harness | Skill | 196 | 8d ago | MIT | A | 56 | Claude Code |
| guidanceagentscope-ai/QwenPaw | Skill | 38k | yesterday | Apache-2.0 | A | 44 | Claude Code, Codex |
| edu-math-tutorialagentscope-ai/QwenPaw | Skill | 38k | yesterday | Apache-2.0 | A | 146 | Claude Code, Codex |
| buildingromiluz13/cc10x | Skill | 167 | 1mo ago | MIT | A | 43 | Claude Code |
| cc10x-guideromiluz13/cc10x | Skill | 167 | 1mo ago | MIT | A | 231 | Claude Code |
| diff-driven-docsromiluz13/cc10x | Skill | 167 | 1mo ago | MIT | A | 64 | Claude Code |
| explorationromiluz13/cc10x | Skill | 167 | 1mo ago | MIT | A | 56 | Claude Code |