mirror of
https://github.com/obra/superpowers.git
synced 2026-06-28 13:39:05 +08:00
20 lines
1.1 KiB
Markdown
20 lines
1.1 KiB
Markdown
# Copilot CLI Tool Mapping
|
|
|
|
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Copilot CLI these resolve to the tools below.
|
|
|
|
| Action skills request | Copilot CLI equivalent |
|
|
|----------------------|----------------------|
|
|
| Read a file | `view` |
|
|
| Create / edit / delete a file | `apply_patch` (Copilot CLI has no separate create/edit/write tools) |
|
|
| Run a shell command | `bash` |
|
|
| Search file contents | `rg` (ripgrep; Copilot CLI does not expose a `grep` tool) |
|
|
| Find files by name | `glob` |
|
|
| Fetch a URL | `web_fetch` |
|
|
| Search the web | `web_search` |
|
|
| Invoke a skill | `skill` |
|
|
| Dispatch a subagent (`Subagent (general-purpose):` template) | `task` with `agent_type: "general-purpose"` (other accepted types: `explore`, `task`, `code-review`, `research`, `configure-copilot`) |
|
|
| Multiple parallel dispatches | Multiple `task` calls in one response |
|
|
| Subagent status/output/control | `read_agent`, `list_agents`, `write_agent` |
|
|
| Task tracking ("create a todo", "mark complete") | `update_todo` |
|
|
| Enter / exit plan mode | No equivalent — stay in the main session |
|