From agent-alchemy-opencode-tools
Guides interactive creation of OpenCode-compatible agents via structured interview for name, purpose, mode, model tier, temperature, steps; configures permissions, generates and validates markdown file.
npx claudepluginhub sequenzia/agent-alchemy --plugin agent-alchemy-opencode-toolsThis skill is limited to using the following tools:
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.
Creates Claude Code agents from scratch or by adapting templates. Guides requirements gathering, template selection, and file generation following Anthropic best practices (v2.1.63+).
Generates markdown agent files with YAML frontmatter for Claude Code, configuring system prompts, tools, and isolation for autonomous task delegation in plugins.
Guides creation of autonomous agents for Claude Code plugins, covering Markdown file structure, YAML frontmatter (name, description, model, color, tools), system prompts, triggering examples, and best practices.
Share bugs, ideas, or general feedback.
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.
IMPORTANT: You MUST use the AskUserQuestion tool for ALL questions to the user. Never ask questions through regular text output.
Read the OpenCode platform overview and agent guide:
${CLAUDE_PLUGIN_ROOT}/references/platform-overview.md${CLAUDE_PLUGIN_ROOT}/references/agent-guide.mdGather requirements through a structured interview.
Question 1 — Agent Name:
code-reviewer, test-runner)."Question 2 — Purpose:
Question 3 — Mode:
Question 1 — Model Tier:
Question 2 — Temperature:
Question 3 — Steps Limit:
Question 1 — Permission Level:
If "Custom" selected:
Question 2 — File Operations:
Question 3 — Execution:
Question 4 — Web Access:
Question 1 — Prompt Focus:
Question 2 — Constraints:
Question 1 — Location:
Question 2 — Display:
Present a comprehensive summary:
## Agent Summary
- **Name**: {name}
- **Description**: {generated description}
- **Mode**: {primary/subagent/all}
- **Model**: {provider/model-id}
- **Temperature**: {value}
- **Steps**: {value or "default"}
- **Permissions**: {summary}
- **Focus areas**: {list}
- **Constraints**: {list}
- **Location**: {path}
Use AskUserQuestion to confirm:
Spawn the generator agent:
Task:
subagent_type: "agent-alchemy-opencode-tools:oc-generator"
prompt: |
Generate an OpenCode agent with these specifications:
Type: agent
Name: {name}
Description: {description}
Mode: {mode}
Model: {model}
Temperature: {temperature}
Steps: {steps}
Permissions: {permission object}
Color: {color or null}
Hidden: {true/false}
System prompt focus: {focus areas}
Constraints: {constraints}
Target path: {target directory}/agents/{name}.md
Reference guide: ${CLAUDE_PLUGIN_ROOT}/references/agent-guide.md
Template: ${CLAUDE_PLUGIN_ROOT}/references/templates/agent-template.md
Interview notes:
{all gathered requirements}
Spawn the validator agent:
Task:
subagent_type: "agent-alchemy-opencode-tools:oc-validator"
prompt: |
Validate the following OpenCode artifact:
Type: agent
Path: {path to generated file}
Reference guide: ${CLAUDE_PLUGIN_ROOT}/references/agent-guide.md
If validation fails with errors, fix the issues and re-validate.
Present the generated agent:
@{name} in the TUItask({ prompt: "...", command: "{name}" })opencode.jsonCRITICAL: Complete ALL 5 phases before finishing.