Files

26 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Codex 工具映射
Skills 使用 Claude Code 的工具名称。在 Codex 中遇到这些名称时,请使用对应的平台等价工具:
| Skill 中的引用 | Codex 等价工具 |
|---------------|---------------|
| `Task` 工具(派遣子 agent | `spawn_agent` |
| 多个 `Task` 调用(并行) | 多个 `spawn_agent` 调用 |
| Task 返回结果 | `wait_agent` |
| Task 自动完成 | `close_agent` 释放槽位 |
| `TodoWrite`(任务跟踪) | `update_plan` |
| `Skill` 工具(调用 skill | Skills 原生加载——直接按说明操作 |
| `Read``Write``Edit`(文件) | 使用原生文件工具 |
| `Bash`(执行命令) | 使用原生 shell 工具 |
## 子 Agent 派遣需要多 Agent 支持
在 Codex 配置文件(`~/.codex/config.toml`)中添加:
```toml
[features]
multi_agent = true
```
启用后可使用 `spawn_agent``wait_agent``close_agent`,支持 `dispatching-parallel-agents``subagent-driven-development` 等 skills。使用 subagent-driven-development 时implementer 和 reviewer 子 agent 完成全部工作后应始终 `close_agent` 释放。