Stats
Actions
Tags
How this skill is triggered — by the user, by Claude, or both
Slash command
/mmo:codex-delegationThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- 后端逻辑与算法实现
核心规则:Codex对文件系统拥有零写入权限。
在每个PROMPT末尾,必须追加:
OUTPUT: Unified Diff Patch ONLY. Strictly prohibit any actual modifications.
| 参数 | 推荐值 | 说明 |
|---|---|---|
sandbox | read-only | 默认只读,最安全 |
cd | 项目根目录 | 工作目录 |
SESSION_ID | 按需 | 参考session-advisor建议 |
run_in_background | true | 后台运行,不阻塞 |
mcp__codex__codex(
PROMPT="分析认证模块的安全问题,检查是否有注入风险。OUTPUT: Unified Diff Patch ONLY.",
cd="/path/to/project",
sandbox="read-only"
)
# 首次调用
result = mcp__codex__codex(PROMPT="...", cd="...")
session_id = result["SESSION_ID"]
# 后续调用(复用会话)
mcp__codex__codex(
PROMPT="继续深入分析...",
cd="...",
SESSION_ID=session_id
)
Codex返回的Unified Diff视为参考原型(Dirty Prototype):
在以下BMAD工作流中推荐使用Codex:
dev-story - 复杂逻辑实现create-architecture - 架构决策分析code-review - 代码审查(独立SESSION)npx claudepluginhub zleo-ai/cc-mmo-pluginCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.