Agent skill

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

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/agent/creating-opencode-agents/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to Use
  2. Quick Reference
  3. File Location
  4. Minimal Agent Structure
  5. Required Fields
  6. Optional Fields
  7. Agent Modes
  8. Common Patterns
  9. Code Reviewer (Read-Only)
  10. Backend Developer
  11. Test Writer
  12. Documentation Writer (Limited Tools)
  13. Tools Configuration
  14. Available Tools
Ships with 1 file
  • metadata.json
Commands it runs
Install from registry
prpm install @username/agent-name --format opencode
Installs to: .opencode/agent/<agent-name>.md
prpm publish
More from claude-skill-registry
All skills →
About this skill
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.

Keep going