From opencode
Generic guidance for crafting prompts sent through opencode. Model-agnostic — opencode's provider/model is set by the user, not by this plugin.
How this skill is triggered — by the user, by Claude, or both
Slash command
/opencode:opencode-promptingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
opencode's `POST /session/:id/message` accepts a prompt and returns the
opencode's POST /session/:id/message accepts a prompt and returns the
assistant's response. The user picks the underlying model (Anthropic, OpenAI,
Moonshot, OpenRouter routes, etc.) via opencode's own config or the
--model <provider/model> flag. This plugin doesn't choose models or alias them.
The companion's rescue subcommand sends the user's free-form text directly.
Don't add framing the user didn't ask for. Specifically:
If the user wants context, they include it. opencode has its own tools for reading files and running shell commands inside the session — let it use them on demand.
buildReviewPrompt and buildAdversarialReviewPrompt already produce the
right framing for their respective modes. Don't wrap or rewrite them upstream.
Avoid model-family quirks:
Different providers handle these differently or ignore them. A clean, declarative prompt travels well across opencode's model registry.
opencode's session model already keeps conversation history. For follow-ups,
prefer /opencode:rescue --resume <text> over re-uploading context — the
session retains what was already discussed.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub joelfrancisco/opencode-plugin-cc --plugin opencode