adr
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Explain complex code via Codex exec. Use when: understanding complex logic, tracing data flow, onboarding to unfamiliar code. Not for: code review (use codex-code-review), exploration (use code-explore). Output: structured explanation at chosen depth.
Claude Code
$ npx -y skills add sd0xdev/sd0x-harness --skill codex-explain --agent claude-code
Codex
$ npx skills add sd0xdev/sd0x-harness --skill codex-explain -a codex -y
Cursor
$ npx skills add sd0xdev/sd0x-harness --skill codex-explain -a cursor -y
Gemini CLI
$ npx skills add sd0xdev/sd0x-harness --skill codex-explain -a gemini-cli -y
GitHub Copilot
$ npx skills add sd0xdev/sd0x-harness --skill codex-explain -a github-copilot -y
OpenCode
$ npx skills add sd0xdev/sd0x-harness --skill codex-explain -a opencode -y
Windsurf
$ npx skills add sd0xdev/sd0x-harness --skill codex-explain -a windsurf -y
name: codex-explain description: "Explain complex code via Codex exec. Use when: understanding complex logic, tracing data flow, onboarding to unfamiliar code. Not for: code review (use codex-code-review), exploration (use code-explore). Output: structured explanation at chosen depth." allowed-tools: Read, Grep, Glob, Bash(node:*), Write
Read target → [Collect context] → Codex explain → Output explanation
Read file content. If `--lines` specified, extract only that range.
Dispatch per `@skills/codex-code-review/references/codex-transport.md` § Start with the explanation prompt. See `references/codex-prompt-explain.md`.
| Level | Description | | ------ | ---------------------------------------------------- | | brief | One-sentence summary | | normal | Functional overview + execution flow + key concepts (default) | | deep | + Design patterns + complexity + issues + dependencies |
## Code Explanation: <target> - **Depth**: brief / normal / deep - **Summary**: <functional overview> - **Execution flow**: <key paths> - **Key concepts**: <patterns, abstractions>
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
Language: English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español The harness layer for Claude Code. Let the model choose the path. Keep "done" verifiable. Claude has discretion inside a closed, test-pinned anchor set.
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Install and set up the optional agentctl mod (task scope, refusal before execution, evidence that goes stale, model-free…
Architecture design and documentation. Produces 3-architecture.md with component diagrams, data flow, integration points, and…
Context-aware Q&A with auto context gathering. Use when: user has a quick question about codebase, git history, rules, docs, or…
Industry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict (OK/WARN/FAIL) +…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.