Agent skill
invoke-opencode-acp
Delegate complex tasks to OpenCode subagent, use when >=2 file modifications or batch operations
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/invoke-opencode-acp-phonowell-invoke-opencode-acp-d9335f38
SKILL.md
invoke-opencode-acp
When to Use
- Triggers: >=2 file modifications / refactor / batch ops / code review / multi-step reasoning / git ops
- Avoid: single-file quick edits / recursive OpenCode calls
Core Intent
- Save tokens (50-90%) / main model decides / subagent executes details
Efficiency Priority
acp_client.cjs(this dir) > manual protocolopencode acp> run/serve (avoid HTTP)
Constraints
- Default sandbox blocks writes to
~/.config/opencodeand~/.cache/opencodeand blocks network - First run plugin install ~30s;
acp_client.cjsdefaultSESSION_TIMEOUT=10s - Fix: run
acp_client.cjsoutside sandbox to allow~writes and network; or install once then retry; or raiseSESSION_TIMEOUT> 30s - Evidence:
~/.local/share/opencode/log/*.logrecords bun add/install and duration
Workflow
- Pick timeout: simple >=180s / medium >=600s / complex >=1800s
- If first run or PermissionDenied/Timeout(10000ms) -> retry non-sandbox or install then retry
- Run:
node ~/.claude/skills/invoke-opencode-acp/acp_client.cjs "$PWD" "task description" -o /tmp/output.txt -t 300
- Listen
session/update-> drop<thinking>->result.stopReason === 'end_turn' - Return: OK / Timeout:{reason} / Error:{reason}
Protocol Notes
initialize->session/new(cwd,mcpServers:[]) ->session/prompt(prompt:[] shape)- Error codes: -32001 not found / -32002 rejected / -32003 state / -32601 method / -32602 params
Dependencies
- Node.js
- OpenCode CLI:
npm install -g opencode
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
riot-games
Manage Riot Games account, track stats across League, Valorant, and more
parcel
Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.
bbs
Manage issues with The Fold's CAS-native BBS (Bulletin Board System). Use for creating, updating, searching, and tracking issues. Invoke when the user wants to create tickets, find work, check issue status, or manage dependencies.
jito-bundles-and-priority-fees
Master Jito bundles for MEV protection and priority fee optimization on Solana - bundle submission, tip strategies, and transaction landing. Use for trading bots, high-priority transactions, and MEV-aware applications.
observability-monitoring-monitor-setup
You are a monitoring and observability expert specializing in implementing comprehensive monitoring solutions. Set up metrics collection, distributed tracing, log aggregation, and create insightful da
makefile-review
Didn't find tool you were looking for?