/solo-skills:opencode-expertisefrom solo-skills
Expert knowledge of opencode — every extension surface (config, agents, skills, commands, custom tools, plugins, MCP, rules), the TypeScript constraint, and the claude-code → opencode translation mapping. Use when configuring opencode, authoring or migrating extenders for it, designing an opencode distribution target for a Claude Code skill collection, or answering how any opencode surface works.
Ships in solo-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
opencode is a self-hostable AI coding agent (Bun/TypeScript backend). It is highly extensible but TypeScript-restrictive: content surfaces are declarative (markdown/JSON), but every programmatic surface — plugins, custom tools, and therefore anything hook-shaped — must be written in TypeScript/JavaScript running on Bun.
Facts marked ✅ were verified against https://opencode.ai/docs and the published
@opencode-ai/plugin 1.18.29 type declarations on 2026-09-06. Unmarked details come from
gathered notes and may be stale or specific to a private fork — re-verify before relying on
them. opencode moves fast; when a path 404s or a field is
rejected, check the docs before assuming a bug.
| Surface | Project location | Global location | Format | TS required? |
|---|---|---|---|---|
| Config ✅ | opencode.json{,c} (root; found by walking up to the nearest git dir). .opencode/opencode.json{,c} as a config file is unverified — the docs list .opencode/ as a directory level for agents/commands/plugins | ~/.config/opencode/opencode.json{,c} | JSON/JSONC | No |
| Rules ✅ | AGENTS.md (walks up; CLAUDE.md fallback) | ~/.config/opencode/AGENTS.md (~/.claude/CLAUDE.md fallback) | Markdown | No |
| Agents ✅ | .opencode/agents/*.md | ~/.config/opencode/agents/*.md | Markdown + frontmatter | No |
| Skills ✅ | .opencode/skills/<name>/SKILL.md (also reads .claude/skills/, .agents/skills/) | ~/.config/opencode/skills/ (also ~/.claude/skills/, ~/.agents/skills/) | SKILL.md | No |
| Commands ✅ | .opencode/commands/*.md | ~/.config/opencode/commands/*.md | Markdown + frontmatter | No |
| MCP servers ✅ | mcp block in config | same | JSON | No |
| Custom tools ✅ | .opencode/tools/*.ts | ~/.config/opencode/tools/*.ts | @opencode-ai/plugin tool() + Zod | Yes |
| Plugins (hooks) ✅ | .opencode/plugins/*.{ts,js} | ~/.config/opencode/plugins/ + npm via config plugin: [] | JS/TS module returning hooks | Yes |
| Providers / themes / keybinds | config fields | config fields | JSON | No |
Directory naming: current docs use plural (skills/, agents/, tools/, plugins/,
commands/, modes/, themes/) and state that singular names (e.g. agent/) are still
supported for backwards compatibility ✅. Emit plural; read singular as legacy.
$-execs it), but the
registered artifact must be a TS module.Full table + per-primitive notes: references/cc-to-opencode-mapping.md.
.claude/skills/ and ~/.claude/skills/
natively ✅. Stricter name rule applies: ^[a-z0-9]+(-[a-z0-9]+)*$, 1–64 chars, must match dir ✅.provider/model prefix; CC tools:
list becomes OC permission: allow/ask/deny map)..mcp.json → config mcp block; type: local|remote).PreToolUse→tool.execute.before, PostToolUse→tool.execute.after
— real Hooks members ✅; SessionStart→ the event member filtering
event.type === "session.created" — an SDK Event value, not a hook key ✅) that shells out
to the existing script. Some CC events have no exact equivalent.instructions globs ✅.references/configuration.md — config schema, precedence chain, key fields, storage paths.references/extension-surfaces.md — each surface with a minimal working example.references/cc-to-opencode-mapping.md — the full translation table (feeds a
CC → opencode translation/build step, if one exists in your project).references/distribution.md — how a generated opencode bundle should be laid out,
install/merge behavior, gotchas.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
13 skills in this plugin
/claude-code-configConfigure Claude Code itself — settings-file precedence, permissions, hooks, env vars, and MCP registration, closed by a take-effect check. Use for "change a setting", "allow/deny a command", "add or move a permission rule", "set up a hook", "run something automatically whenever X happens", "always do Y every time", "add an environment variable", "register an MCP server", or "why isn't my setting taking effect"./claude-code-expertiseExpert map of Claude Code's extension surfaces for authoring and debugging extenders — skills, subagents, hooks, commands, plugins, marketplaces, MCP servers, and settings/permissions contracts. Use to decide which surface fits a need, to look up a surface's frontmatter or config contract, to author or debug a skill, subagent, hook, command, or plugin, or to answer how any Claude Code extension surface works. Not for changing settings, permissions, or hook wiring in a project - that is claude-code-config./datavizDesign data visualizations - charts, graphs, plots, and dashboards - that are correct, legible, and honest, in any medium. Consult this BEFORE writing any chart, graph, plot, or dashboard code, whatever the library (matplotlib, plotly, d3, Recharts, inline SVG) or output (static image, notebook, web app, deck). Use whenever a task involves picking a chart type, a color palette for data, dashboard or KPI-tile layout, axis and label formatting, or making a visualization colorblind-safe and light/dark-ready. Covers the data-shape to mark-type heuristic, chart anti-patterns to refuse (pie overuse, dual axes, truncated bar axes, rainbow scales, 3D), a brand-neutral colorblind-safe palette you can rebrand, composition, interaction and static degradation, and a final validation checklist. Data charts only - structural diagrams and deck theming are out of scope.npx claudepluginhub hsb3/dotfiles-agents --plugin solo-skills