diff options
| author | Daniel E. <daniel.e@teachingstrategies.com> | 2026-01-25 18:25:58 -0500 |
|---|---|---|
| committer | Daniel E. <daniel.e@teachingstrategies.com> | 2026-01-25 18:42:22 -0500 |
| commit | 8904b7d9dc74603c2d78428c5017c2d8abf78576 (patch) | |
| tree | ff413e9f75d2dd2b2e36116c7a37986557eba8d3 | |
| parent | 469a6d81ebb8b827e284d4afb090c6c622d97747 (diff) | |
codex: clarify subagent tool mapping in bootstrap
| -rw-r--r-- | .codex/superpowers-bootstrap.md | 5 | ||||
| -rw-r--r-- | docs/README.codex.md | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.codex/superpowers-bootstrap.md b/.codex/superpowers-bootstrap.md index 18fe657..a8c3fb4 100644 --- a/.codex/superpowers-bootstrap.md +++ b/.codex/superpowers-bootstrap.md @@ -9,7 +9,8 @@ You have superpowers. **Tool Mapping for Codex:** When skills reference tools you don't have, substitute your equivalent tools: - `TodoWrite` → `update_plan` (your planning/task tracking tool) -- `Task` tool with subagents → Tell the user that subagents aren't available in Codex yet and you'll do the work the subagent would do +- `Task` tool with subagents → Use Codex collab `spawn_agent` + `wait` when available; if collab is disabled, state that and proceed sequentially +- `Subagent` / `Agent` tool mentions → Map to `spawn_agent` (collab) or sequential fallback when collab is disabled - `Skill` tool → `~/.codex/superpowers/.codex/superpowers-codex use-skill` command (already available) - `Read`, `Write`, `Edit`, `Bash` → Use your native tools with similar functions @@ -30,4 +31,4 @@ When skills reference tools you don't have, substitute your equivalent tools: - Personal skills: ~/.codex/skills/ (override superpowers when names match) IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT. -</EXTREMELY_IMPORTANT>
\ No newline at end of file +</EXTREMELY_IMPORTANT> diff --git a/docs/README.codex.md b/docs/README.codex.md index e43004f..b38744d 100644 --- a/docs/README.codex.md +++ b/docs/README.codex.md @@ -107,7 +107,8 @@ The Codex implementation uses the shared `skills-core` module (ES module format) Skills written for Claude Code are adapted for Codex with these mappings: - `TodoWrite` → `update_plan` -- `Task` with subagents → Tell user subagents aren't available, do work directly +- `Task` with subagents → Use collab `spawn_agent` + `wait` when available; if collab is disabled, say so and proceed sequentially +- `Subagent` / `Agent` tool mentions → Map to `spawn_agent` (collab) or sequential fallback when collab is disabled - `Skill` tool → `~/.codex/superpowers/.codex/superpowers-codex use-skill` - File operations → Native Codex tools |
