creating-opencode-agents
Use when creating OpenCode agents - provides markdown format with YAML frontmatter, mode/tools/permission configuration, and best practices for specialized AI assistants
npx skills add majiayu000/claude-skill-registry --skill creating-opencode-agents --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Creating OpenCode Agents Expert guidance for creating OpenCode AI agents with proper configuration, tools, and permissions. ## When to Use **Use when:** - User asks to create an OpenCode agent - Need specialized AI assistant for specific tasks - Building domain-focused development tools - Configuring agent tools and permissions **Don't use for:** - OpenCode plugins (use creating-opencode-plugins skill) - OpenCode slash commands (different format) - Generic AI prompts (not OpenCode-specific) ## Quick Reference ### File Location - **Project**: `.opencode/agent/<name>.md` - **Global**: `~/.config/opencode/agent/<name>.md` ### Minimal Agent Structure ```markdown --- description: Brief explanation of the agent's purpose mode: all --- System prompt content here... ``` ### Required Fields - **`description`** (string): Brief explanation of the agent's purpose (REQUIRED) ### Optional Fields | Field | Type | Description | |-------|------|-------------| | `mode` | `primary` \| `subagent` \| `all` | How agent can be used (default: `all`) | | `model` | string | Override model (e.g., `anthropic/claude-sonnet-4-20250514`) | | `temperature` | number | Response randomness 0.0-1.0 | | `prompt` | s
- When to Use
- Quick Reference
- File Location
- Minimal Agent Structure
- Required Fields
- Optional Fields
- Agent Modes
- Common Patterns
- Code Reviewer (Read-Only)
- Backend Developer
- Test Writer
- Documentation Writer (Limited Tools)
- Tools Configuration
- Available Tools
Install from registry prpm install @username/agent-name --format opencode Installs to: .opencode/agent/<agent-name>.md prpm publish
What does the creating-opencode-agents skill do?
Use when creating OpenCode agents - provides markdown format with YAML frontmatter, mode/tools/permission configuration, and best practices for specialized AI assistants
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill creating-opencode-agents --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
