From 01034bcf8fc3afca3fb57d06149ee3c6ee56e06a Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 5 May 2026 18:26:21 -0700 Subject: Phase E: action-language tool vocabulary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace Claude-Code-specific tool names in skill prose, prompt templates, and OpenCode-facing docs with action-language descriptions that resolve to each runtime's native tool via the per-platform refs. Changes by category: - Prose mentions ("Use TodoWrite to track...", "Use Task tool with general-purpose type") → action language ("Track each item as a todo", "Dispatch a general-purpose subagent") - Prompt template headers (6 files): "Task tool (general-purpose):" → "Subagent (general-purpose):" — preserves the type information without naming Claude Code's specific dispatch tool - DOT flowchart node labels: "Invoke Skill tool" → "Invoke the skill"; "Create TodoWrite todo per item" → "Create a todo per item" - OpenCode INSTALL.md and docs/README.opencode.md: replace the old "TodoWrite → todowrite, Task → @mention" mapping (which both taught a vocabulary skills no longer use AND was wrong about @mention being a real OpenCode syntax) with an action-language mapping verified against the installed OpenCode CLI's tool inventory. The platform-tools refs landed in Phase B already document each runtime's resolution; skills now speak in the actions those refs map. Tool names that genuinely belong only in the per-platform dispatch section ("In Claude Code: Use the `Skill` tool") and the Claude-Code-specific Bash run_in_background flag note in visual-companion remain — those are intentional carve-outs. --- .opencode/INSTALL.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to '.opencode') diff --git a/.opencode/INSTALL.md b/.opencode/INSTALL.md index 94c3415..36d588b 100644 --- a/.opencode/INSTALL.md +++ b/.opencode/INSTALL.md @@ -98,11 +98,15 @@ Then use the installed package path in `opencode.json`: ### Tool mapping -When skills reference Claude Code tools: -- `TodoWrite` → `todowrite` -- `Task` with subagents → `@mention` syntax -- `Skill` tool → OpenCode's native `skill` tool -- File operations → your native tools +Skills speak in actions ("create a todo", "dispatch a subagent", "read a file"). On OpenCode these resolve to: + +- "Create a todo" / "mark complete in todo list" → `todowrite` +- `Subagent (general-purpose):` template → `task` tool with `subagent_type: "general"` (or `"explore"` for codebase exploration) +- "Invoke a skill" → OpenCode's native `skill` tool +- "Read a file" / "create a file" / "edit a file" → `read`, `write`, `edit` +- "Run a shell command" → `bash` +- "Search file contents" / "find files by name" → `grep`, `glob` +- "Fetch a URL" / "search the web" → `webfetch`, `websearch` ## Getting Help -- cgit