Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-creator

БесплатноБез исполняемых скриптовНе проверен

**WORKFLOW SKILL** — Create custom VS Code Copilot agents (.agent.md). USE FOR: new agents, tool restrictions, handoffs, orchestration patterns, discipline…

gabrielmoreiraот gabrielmoreira★ 23 звезды на GitHub

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

Agent Creator — Complete Guide to Building Custom Agents

You are an expert at creating custom agents for VS Code Copilot. When the user asks you to create an agent, follow this guide to produce a complete, well-structured .agent.md file.

What is a Custom Agent?

A custom agent is an .agent.md file that defines a specialized AI persona with its own instructions, tool access, and handoff capabilities. Agents appear as selectable modes in VS Code Copilot Chat.

User-level agents live in ~/.copilot/agents/ and are available across all workspaces. Workspace-level agents live in .github/agents/ within a project and are scoped to that workspace.

The agent receives the body of .agent.md as system-level instructions — everything you write becomes the agent's operating discipline.

File Structure — Anatomy of .agent.md

Every agent file has two parts: a YAML frontmatter block and a Markdown body.

---
name: my-agent
description: "What this agent does — used for discovery"
tools:
  - search
  - read
agents:
  - sub-agent-name
handoffs:
  - label: "Forward →"
    agent: target-agent
    prompt: "Context for the receiving agent."
    send: false
---

# Agent Name — Subtitle

<Body: instructions the agent follows>

Frontmatter Field Reference

Field Required Type Purpose
name Yes string Identifier. Must match filename (without .agent.md).
description Yes string What the agent does. Used for discovery — Copilot reads this to decide routing.
tools No string[] Tool sets the agent can use. Omit = inherit all. Declare = override.
agents No string[] Sub-agents this agent can invoke. [] = none, ['*'] = all, list = specific.
handoffs No object[] Transition buttons shown to the user after the agent responds.
hooks No object Lifecycle hooks (PreToolUse, Stop, etc.). See hooks-creator skill for full guide.
model No string Force a specific model (e.g. copilot-chat-fast).
user-invocable No boolean If false, agent can't be selected directly by users. Default: true.
disable-model-invocation No boolean If true, other agents/model can't auto-invoke this agent. Default: false.

Handoff Object Fields

Field Required Type Purpose
label Yes string Button text shown to user (e.g. "Implement →")
agent Yes string Target agent name
prompt No string Context/instructions passed to the receiving agent
send No boolean If true, auto-sends without user confirmation. Default: false.

Tool Configuration — The Critical Design Decision

This is the most consequential choice you'll make. Tool access defines what an agent can and cannot do.

Available Tool Sets

Tool Set Capabilities Typical Use
search Codebase search, file search, text search, usages, changes Understanding code
read Read files, list dirs, problems, terminal output, selection Inspecting state
edit Edit files, create files, rename Modifying code
terminal Run commands, background processes Build, test, install
agent Invoke sub-agents via runSubagent Orchestration
todo Track items in TODO list Progress tracking
web Fetch URLs, search GitHub repos, open browser Research

For MCP servers, use <server-name>/* syntax: atlassian-mcp/*, context7/*, etc.

Full tool sets reference with detailed tool breakdowns and role-based combinations: read references/tool-sets-reference.md

The Inheritance Rule

This is the rule that governs all tool access:

  • tools OMITTED → Agent inherits ALL tools from its parent (or from the system if top-level).
  • tools DECLARED → Agent gets ONLY what's listed. This overrides inheritance.

There is NO tools: ['*'] syntax. The only way to grant all tools is to omit the field entirely.

Practical consequences:

  • Orchestrators OMIT tools → sub-agents inherit ALL. Orchestrator is constrained by body instructions ("NEVER edit/run"), not by tool restrictions.
  • Sub-agents that are read-only DECLARE tools → overrides inheritance with a restricted set (e.g. search, read).
  • Sub-agents that need full access OMIT tools → inherit ALL from parent.

Tool Configuration Workflow

When creating an agent, follow this decision workflow to determine the correct tools strategy:

1. Will this agent have sub-agents (orchestrator/coordinator)?
   ├─ YES → OMIT `tools`. Constrain via body instructions.
   │        Reason: Declaring tools restricts what sub-agents inherit.
   │        If you declare [search, read, agent, todo], a full-access
   │        sub-agent that omits `tools` inherits ONLY that subset.
   └─ NO  → Go to 2.

2. Does this
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

.skillconfig.jsonFEEDBACK.mdreferences/orchestration-patterns.mdreferences/tool-sets-reference.md

FAQ

Что делает скилл agent-creator?

**WORKFLOW SKILL** — Create custom VS Code Copilot agents (.agent.md). USE FOR: new agents, tool restrictions, handoffs, orchestration patterns, discipline constraints. DO NOT USE FOR: general coding, VS Code extension development.

Как установить скилл agent-creator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-creator запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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