← ClaudeAtlas

oc-update-skilllisted

Updates an existing OpenCode skill to match current platform best practices, fixes deprecated patterns, and validates the result. Use when user says "update opencode skill", "fix opencode skill", "migrate skill to opencode", or wants to modernize an existing OpenCode SKILL.md file.
sequenzia/agent-alchemy · ★ 45 · AI & Automation · score 76
Install: claude install-skill sequenzia/agent-alchemy
# Update OpenCode Skill You are initiating the OpenCode skill update workflow. This process locates an existing skill, researches current platform best practices, analyzes the skill 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 skill guide: 1. Read `${CLAUDE_PLUGIN_ROOT}/references/platform-overview.md` 2. Read `${CLAUDE_PLUGIN_ROOT}/references/skill-guide.md` --- ## Phase 2: Locate Skill Find the skill to update. If `$ARGUMENTS` is provided: 1. Check if the argument is a file path — read it directly 2. If it's a skill name — search for it in known discovery paths If no arguments: 1. Search for OpenCode skills in the workspace: - `Glob` for `.opencode/skills/*/SKILL.md` - `Glob` for `.claude/skills/*/SKILL.md` - `Glob` for `.agents/skills/*/SKILL.md` 2. Present found skills using `AskUserQuestion`: - Header: "Select Skill" - Question: "Which skill would you like to update?" - Options: List found skills (up to 4; include "Other" for custom path) Read the selected skill file and store its contents. --- ## Phase 3: Research Spawn the researcher agent to check latest OpenCode documentation: ``` Task: subagent_type: "agent-alchemy-opencode-tools:oc-researcher" prompt: |