---
name: majiayu000-opencode-agent-creation
description: "Generate OpenCode agents following official documentation best practices"
license: "MIT"
metadata:
  decimalai-skill-id: "4e3764b5-bbfd-445c-b785-51934f134c44"
  decimalai-version-id: "8eb6207f-6431-4d32-9e10-5805cad8d237"
  decimalai-version: "1"
  decimalai-body-sha256: "443a4a655351592c3c8497b924a7ed4ce46e32f3addca51828942cb46e56d807"
  decimalai-name: "majiayu000/opencode-agent-creation"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/majiayu000-opencode-agent-creation@1/SKILL.md"
---
## What I do

- Guide you through creating a new OpenCode agent by prompting for required configuration
- Generate agent files in either JSON (opencode.json) or Markdown format following official documentation
- Determine appropriate mode (primary or subagent) based on agent purpose
- Configure tools, permissions, temperature, maxSteps, and other agent options
- Create markdown agent files with proper frontmatter in `.opencode/agents/` or `~/.config/opencode/agents/`
- Ensure description is provided and other required fields are set correctly

## When to use me

Use this when:
- You want to create a new OpenCode agent without manually formatting configuration
- You need to ensure your agent follows official documentation standards
- You want to avoid repetitive setup when creating multiple agents

Ask clarifying questions about the agent's purpose, mode, tools access, and permissions.
