Agent skill · AI & Agents

oc-update-agent

Updates an existing OpenCode agent to match current platform best practices, fixes deprecated patterns, and validates the result. Use when user says "update opencode agent", "fix opencode agent", "migrate agent to opencode", or wants to modernize an existing OpenCode agent file.

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

# Update OpenCode Agent You are initiating the OpenCode agent update workflow. This process locates an existing agent, researches current platform best practices, analyzes the agent for outdated patterns, and applies updates with validation. ## 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: Locate Agent Find the agent to update. If `$ARGUMENTS` is provided: 1. Check if the argument is a file path — read it directly 2. If it's an agent name — search for `{name}.md` in known directories If no arguments: 1. Search for OpenCode agents in the workspace: - `Glob` for `.opencode/agents/*.md` - `Glob` for `~/.config/opencode/agents/*.md` 2. Present found agents using `AskUserQuestion`: - Header: "Select Agent" - Question: "Which agent would you like to update?" - Options: List found agents (up to 4; include "Other" for custom path) Read

What's inside
Steps it walks through
  1. Critical Rules
  2. AskUserQuestion is MANDATORY
  3. Phase 1: Load References
  4. Phase 2: Locate Agent
  5. Phase 3: Research
  6. Phase 4: Analyze
  7. Frontmatter Issues
  8. Body Issues
  9. Permission Issues
  10. Phase 5: Present Findings
  11. Phase 6: Apply Updates
  12. Phase 7: Validate
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the oc-update-agent skill do?

Updates an existing OpenCode agent to match current platform best practices, fixes deprecated patterns, and validates the result. Use when user says "update opencode agent", "fix opencode agent", "migrate agent to opencode", or wants to modernize an existing OpenCode agent file.

How do I install it?

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