oc-update-agent

Solid

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.

AI & Automation 38 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 the selected agent file and store its contents. --- ## Phase 3: Research Spawn the researcher agent to check latest documentation: ``` Task: subagent_type: "agent-alchemy-opencode-tools:oc-researcher" prompt: | Research the latest OpenCode documentation for a...

Details

Author
sequenzia
Repository
sequenzia/agent-alchemy
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

oc-update-command

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

38 Updated today
sequenzia
AI & Automation Solid

oc-update-skill

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.

38 Updated today
sequenzia
AI & Automation Solid

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.

38 Updated today
sequenzia
AI & Automation Listed

update-agents

Check for and apply updates to locally installed agents from the kimgoetzke/coding-agent-configs GitHub repo. Use when user asks to update agents, sync agents, check for agent updates, or mentions updating their agents.

2 Updated today
kimgoetzke
AI & Automation Solid

observal-agents

Create, update, version, and manage Observal agents. Use when the user wants to create a new agent, update an existing one, release a new version, scaffold a YAML project, add components, build, publish, bulk-create, delete, or restore agents.

1,827 Updated today
BlazeUp-AI