一键导入
codex-logical-decision-layer
Use when work is ambiguous or has multiple viable paths; compares options, assumptions, evidence, tradeoffs, and the best next action.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when work is ambiguous or has multiple viable paths; compares options, assumptions, evidence, tradeoffs, and the best next action.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for project memory, decisions, handoffs, genome, knowledge index, changelog, and patterns that must persist across sessions.
Use for frontend, backend, mobile, debugging, security, or specialized engineering work that needs focused domain references and strict boundaries.
Use for prototype, MVP, fullstack feature, from-scratch feature, or multi-domain work that needs a SPEC.md before planning or implementation. Do not use for tiny one-file edits.
Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation.
Use before completion, PR, deploy, handoff, or when verifying code changes. Runs advisory or blocking checks and reports evidence.
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
| name | codex-logical-decision-layer |
| description | Use when work is ambiguous or has multiple viable paths; compares options, assumptions, evidence, tradeoffs, and the best next action. |
| load_priority | on-demand |
Use when the task has multiple possible solutions, hidden risk, or high cost of being wrong. Produce a concise decision surface: options, evidence, tradeoffs, recommendation, stop conditions.
$think, $decide, $options, "think from multiple angles", or "find the best direction".codex-reasoning-rigor when the user asks for deeper reasoning or non-generic output.## Decision Surface
| Option | When it wins | Cost | Risk | Evidence needed |
| --- | --- | --- | --- | --- |
## Recommendation
Choose <option> because <repo evidence / constraint>.
## Verification
- <command or observable signal>
## Stop Conditions
- <condition that would change the decision>
python "<SKILLS_ROOT>/codex-logical-decision-layer/scripts/build_decision_matrix.py" --problem "<problem>" --options "A,B,C" --format markdown
references/decision-contract.md: compact decision matrix rules and anti-token-waste policy.