agent-architect
БесплатноБез исполняемых скриптовНе проверенCreate and refine OpenCode agents via guided Q&A. Use proactively for agent creation, performance improvement, or configuration design. Examples: - user…
от IgorWarzocha★ 121 звезда на GitHubОб этом скилле
Agent Architect
Create and refine opencode agents through a guided Q&A process.
Agent creation is conversational, not transactional.
- MUST NOT assume what the user wants—ask
- SHOULD start with broad questions, drill into details only if needed
- Users MAY skip configuration they don't care about
- MUST always show drafts and iterate based on feedback
The goal is to help users create agents that fit their needs, not to dump every possible configuration option on them.
Batching: Use the question tool for 2+ related questions. Single questions → plain text.
Syntax: header ≤12 chars, label 1-5 words, add "(Recommended)" to default.
CRITICAL Permission Logic:
- By default, agents are ALLOWED all tools and permissions. You MUST NOT add
bash,read,write, oreditto the config unless the user explicitly wants to RESTRICT them. - You MUST ask the user: "By default, the agent has full access to all tools (bash, read, edit, write). Would you like to restrict any of these?"
- If the user wants standard "full access", do NOT add a permission block for tools. Rely on system defaults.
- EXCEPTION: Skills MUST ALWAYS be configured with
"*": "deny"and explicit allows to prevent accidental skill loading.
Agent Locations
| Scope | Path |
|---|---|
| Project | .opencode/agent/<name>.md |
| Global | ~/.config/opencode/agent/<name>.md |
Agent File Format
---
description: When to use this agent. Include trigger examples.
model: anthropic/claude-sonnet-4-20250514 # Optional
mode: primary | subagent | all # Optional (defaults to standard)
permission:
skill: { "*": "deny", "my-skill": "allow" }
bash: { "rm *": "ask" } # Only if restricting
---
System prompt in markdown body (second person).
Full schema: See references/opencode-config.md
Agent Modes
| Mode | Description |
|---|---|
primary |
Core agent, visible in main selection menus. |
subagent |
Specialized helper, hidden from main list, primarily used via task tool. |
all |
Dual-purpose agent, visible in both main menus and routing. |
(undefined) |
Standard agent, visible to tools and users. |
Phase 1: Core Purpose (Required)
Ask these first—they shape everything else:
"What should this agent do?"
- Get the core task/domain
- Examples: "review code", "help with deployments", "research topics"
"What should trigger this agent?"
- Specific phrases, contexts, file types
- Becomes the
descriptionfield
"What expertise/persona should it have?"
- Tone, boundaries, specialization
- Shapes the system prompt
Phase 1.5: Research the Domain
MUST NOT assume knowledge is current. After understanding the broad strokes:
- Search for current best practices in the domain
- Check for updates to frameworks, tools, or APIs the agent will work with
- Look up documentation for any unfamiliar technologies mentioned
- Find examples of how experts approach similar tasks
This research informs better questions in Phase 2 and produces a more capable agent.
Example: User wants an agent for "Next.js deployments" → Research current Next.js deployment patterns, Vercel vs self-hosted, App Router vs Pages Router, common pitfalls, etc.
Phase 2: Capabilities (Ask broadly, then drill down)
"Do you want to RESTRICT any permissions or tools?" (Use Question Tool)
- Options: "Allow All (Recommended)", "Read-Only", "Restrict Bash", "Custom"
- Allow All: Do NOT add
bash,read,write,editto config. Rely on defaults. - Read-Only: Explicitly deny write/edit/bash.
- Restrict Bash: Set bash to
askordenyfor specific patterns. - Custom: Ask specific follow-ups.
"Should this agent use any skills?"
- If yes: "Which ones?"
- ALWAYS configure
permission.skillwith"*": "deny"and explicit allows. - This applies even if other permissions are standard.
"What mode should this agent use?"
- Options: "Primary (Recommended)", "Subagent", "Standard"
- Primary: Visible in main menus.
- Subagent: Hidden, for background/task usage.
- Standard: Visible to tools/users.
Phase 3: Details (Optional—user MAY skip)
- "Any specific model preference?" (most users skip)
- "Custom temperature/sampling?" (most users skip)
- "Maximum steps before stopping?" (most users skip)
Phase 4: Review & Refine
- Show the draft config and prompt, ask for feedback
- "Here's what I've created. Anything you'd like to change?"
- Iterate until user is satisfied
Key principle: Start broad, get specific only where the user shows interest. MUST NOT overwhelm with options like top_p unless asked.
Be flexible: If the user provides lots of info upfront, adapt—MUST NOT rigidly follow the phases. If th
Установить agent-architect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-architect?
Create and refine OpenCode agents via guided Q&A. Use proactively for agent creation, performance improvement, or configuration design. Examples: - user: "Create an agent for code reviews" → ask about scope, permissions, tools, model preferences, generate AGENTS.md frontmatter - user: "My agent ignores context" → analyze description clarity, allowed-tools, permissions, suggest improvements - user: "Add a database expert agent" → gather requirements, set convex-database-expert in subagent_type, configure permissions - user: "Make my agent faster" → suggest smaller models, reduce allowed-tools, tighten permissions
Как установить скилл agent-architect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-architect запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic