Agent skill · AI & Agents

oc-create-agent

Guides through creating a new OpenCode-compatible agent with interactive interview, permission configuration, and validation. Use when user says "create opencode agent", "new opencode agent", "build agent for opencode", or wants to create an OpenCode agent markdown file.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill oc-create-agent --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
Allowed tools: AskUserQuestionTaskReadWriteEditGlobGrep
Path: skills/agent/oc-create-agent/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

# Create OpenCode Agent You are initiating the OpenCode agent creation workflow. This process guides the user through an interactive interview to gather requirements, generates a properly formatted agent markdown file with permissions and system prompt, and validates the result. ## Critical Rules ### AskUserQuestion is MANDATORY **IMPORTANT**: You MUST use the `AskUserQuestion` tool for ALL questions to the user. Never ask questions through regular text output. --- ## Phase 1: Load References Read the OpenCode platform overview and agent guide: 1. Read `${CLAUDE_PLUGIN_ROOT}/references/platform-overview.md` 2. Read `${CLAUDE_PLUGIN_ROOT}/references/agent-guide.md` --- ## Phase 2: Interview Gather requirements through a structured interview. ### Round 1: Identity **Question 1 — Agent Name:** - Header: "Agent Name" - Question: "What should this agent be named? Use kebab-case (e.g., `code-reviewer`, `test-runner`)." - Options: - "I'll type the name" — Let me provide a custom name **Question 2 — Purpose:** - Header: "Purpose" - Question: "What does this agent do? Describe its main function." - Options: - "Code analysis" — Reviews or analyzes code - "Code generation" — Writes new code o

What's inside
Steps it walks through
  1. Critical Rules
  2. AskUserQuestion is MANDATORY
  3. Phase 1: Load References
  4. Phase 2: Interview
  5. Round 1: Identity
  6. Round 2: Model & Behavior
  7. Round 3: Permissions
  8. Round 4: System Prompt
  9. Round 5: Location & Display
  10. Interview Summary
  11. Phase 3: Generate
  12. Phase 4: Validate
  13. Phase 5: Present
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the oc-create-agent skill do?

Guides through creating a new OpenCode-compatible agent with interactive interview, permission configuration, and validation. Use when user says "create opencode agent", "new opencode agent", "build agent for opencode", or wants to create an OpenCode agent markdown file.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill oc-create-agent --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