Stats
Actions
Tags
From opencode
Internal helper contract for calling the opencode-companion runtime from Claude Code
How this skill is triggered — by the user, by Claude, or both
Slash command
/opencode:opencode-runtimeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill only inside the `opencode:opencode-rescue` subagent.
Use this skill only inside the opencode:opencode-rescue subagent.
Primary helper:
node "${CLAUDE_PLUGIN_ROOT}/scripts/opencode-companion.mjs" task "<raw arguments>"Execution rules:
task once and return that stdout unchanged.git, direct OpenCode CLI strings, or any other Bash activity.setup, review, adversarial-review, status, result, or cancel from opencode:opencode-rescue.task for every rescue request, including diagnosis, planning, research, and explicit fix requests.opencode-prompting skill to rewrite the user's request into a tighter OpenCode prompt before the single task call.--agent unset unless the user explicitly requests a specific agent (build or plan).--model only when the user explicitly asks for one, or --free when they explicitly ask for a free-tier pick. --free and --model are mutually exclusive.Command selection:
task invocation per rescue handoff.--background or --wait, treat that as Claude-side execution control only. Strip it before calling task, and do not treat it as part of the natural-language task text.--model, pass it through to task.--free, pass it through to task. The companion will shell out to opencode models, filter for first-party opencode/* free-tier entries (:free or -free), and pick one at random. --free is restricted to opencode/* because OpenRouter free models have inconsistent tool-use support.--free and --model, do not invoke task — return nothing, because the companion will reject the combination.--agent, pass it through to task.--resume, strip that token from the task text and add --resume-last.--fresh, strip that token from the task text and do not add --resume-last.--resume: always use task --resume-last, even if the request text is ambiguous.--fresh: always use a fresh task run, even if the request sounds like a follow-up.Safety rules:
opencode:opencode-rescue unless the user explicitly asks for read-only behavior.task command exactly as-is.npx claudepluginhub johnnyvicious/opencode-plugin-cc --plugin opencodeCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.