Command Palette

Search for a command to run...

Назад к скиллам
скилл № 89891

agent-architect

Create and refine OpenCode agents via guided Q&A. Use proactively for agent creation, performance improvement, or configuration design. Examples: - user…

БесплатноБез исполняемых скриптов
IgorWarzochaот IgorWarzocha★ 121 звезда на GitHub

Установить agent-architect в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Agent Architect

Create and refine opencode agents through a guided Q&A process.

<core_approach>

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.

</core_approach><question_tool>

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, or edit to 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.
</question_tool>

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:

  1. "What should this agent do?"

    • Get the core task/domain
    • Examples: "review code", "help with deployments", "research topics"
  2. "What should trigger this agent?"

    • Specific phrases, contexts, file types
    • Becomes the description field
  3. "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)

  1. "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, edit to config. Rely on defaults.
    • Read-Only: Explicitly deny write/edit/bash.
    • Restrict Bash: Set bash to ask or deny for specific patterns.
    • Custom: Ask specific follow-ups.
  2. "Should this agent use any skills?"

    • If yes: "Which ones?"
    • ALWAYS configure permission.skill with "*": "deny" and explicit allows.
    • This applies even if other permissions are standard.
  3. "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)

  1. "Any specific model preference?" (most users skip)
  2. "Custom temperature/sampling?" (most users skip)
  3. "Maximum steps before stopping?" (most users skip)

Phase 4: Review & Refine

  1. 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

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/agent-patterns.md
  • references/opencode-config.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-architect с