summaryrefslogtreecommitdiff
path: root/docs/README.opencode.md
diff options
context:
space:
mode:
authorDrew Ritter <drew@primeradiant.com>2026-05-13 17:29:04 -0700
committerDrew Ritter <drew@primeradiant.com>2026-06-16 10:09:43 -0700
commitf030d6ef88ae28946184d87f7d339743da757651 (patch)
tree58f348fd4634b3663c368d9690b89c5fd13ec78b /docs/README.opencode.md
parentd7f47d350a5fb53014af8bd707420c811f82ac1f (diff)
Tighten cross-platform tool references
Diffstat (limited to 'docs/README.opencode.md')
-rw-r--r--docs/README.opencode.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/README.opencode.md b/docs/README.opencode.md
index 16cc4df..11da854 100644
--- a/docs/README.opencode.md
+++ b/docs/README.opencode.md
@@ -50,7 +50,7 @@ use skill tool to list skills
### Loading a Skill
```
-use skill tool to load superpowers/brainstorming
+use skill tool to load brainstorming
```
### Personal Skills
@@ -99,7 +99,7 @@ To pin a specific version, use a branch or tag:
The plugin does two things:
-1. **Injects bootstrap context** via the `experimental.chat.system.transform` hook, adding superpowers awareness to every conversation.
+1. **Injects bootstrap context** via the `experimental.chat.messages.transform` hook, adding superpowers awareness to every conversation.
2. **Registers the skills directory** via the `config` hook, so OpenCode discovers all superpowers skills without symlinks or manual config.
### Tool Mapping
@@ -109,10 +109,11 @@ Skills speak in actions rather than naming any one runtime's tools. On OpenCode
- "Create a todo" / "mark complete in todo list" → `todowrite`
- `Subagent (general-purpose):` template → OpenCode's `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`
+- "Read a file" → `read`
+- "Create a file" / "edit a file" / "delete a file" → `apply_patch`
- "Run a shell command" → `bash`
- "Search file contents" / "find files by name" → `grep`, `glob`
-- "Fetch a URL" / "search the web" → `webfetch`, `websearch`
+- "Fetch a URL" → `webfetch`
(Verified against the installed OpenCode CLI's tool inventory.)
@@ -152,7 +153,7 @@ Then use the installed package path in `opencode.json`:
### Bootstrap not appearing
-1. Check OpenCode version supports `experimental.chat.system.transform` hook
+1. Check OpenCode version supports `experimental.chat.messages.transform` hook
2. Restart OpenCode after config changes
## Getting Help