Command Palette

Search for a command to run...

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

agents

БесплатноЗапускает вложенные скриптыНе проверен

Creates, improves, syncs Claude Code subagents. Triggers: create agent, improve agent, sync agents, memory sync.

kochetkov-maот kochetkov-ma★ 41 звезда на GitHub

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

agents Skill

Manages Claude Code agents from one free-form prompt.

Prompt contract

$ARGUMENTS is one free-form RU/EN prompt; mode tokens and flags may sit anywhere in it.

  1. Mode: an explicit mode token wins outright; else the most distinct whole-word keyword hits (table below). Tie with a destructive mode -> AskUserQuestion; with status -> status; of two mutating modes -> the keyword that comes first. No hit or empty -> status.
  2. Scope: prose that is not a mode/id/path is still input: take the id, path or target from it.
  3. Ask: bundle material unresolved write decisions in ONE AskUserQuestion (max 4 questions), before work. Use prompt/history answers; never repeat resolved questions or routine approval calls. Read-only asks nothing except an explicitly requested menu.

Print once, before the first action (labels and plan values English, INPUT verbatim):

PLAN — brewcode:agents
INPUT:  <arguments verbatim, or "(empty)">
MODE:   <resolved> — <explicit | matched keyword: X | default>
SCOPE:  <resolved paths / target / level / flags>
DO:     <2-5 imperative bullets>
RESULT: <what the user ends up holding>

Constants

Const Value
ARTIFACT agents
SPECIALIST brewcode:agent-creator
LIST_CMD Bash find <dir> -name '*.md' (no Glob on macOS/Linux) over .claude/agents/, ~/.claude/agents/, ${CLAUDE_PLUGIN_ROOT}/agents/ (shipped, READ-ONLY), brewcode/agents/ ONLY when test -d brewcode/.claude-plugin; plus walk-up/managed/CLI/add-dir definitions when available
SYNC_REF ${CLAUDE_SKILL_DIR}/../skills/references/mode-sync.md (shared with /brewcode:skills)

Step 1 — Input gate

Empty/whitespace -> status; explicit menu request -> Step 3; else Step 2.

Step 2 — Auto-mode selection

Classify the prompt + recent conversation into exactly ONE mode:

Mode EN keywords RU keywords Mutates?
status (empty), status, show me, health, overview статус, что есть, состояние no
list list список, перечисли no
create create, new, scaffold, add создай, добавь yes
improve improve, refactor, fix улучши, почини yes
review review, validate ревью, проверь корректность no
sync sync, memory sync синк, меморисинк, актуализируй, обнови знания, приведи в соответствие с кодом yes

A bare existing agent name/path with no keyword -> improve (Prompt contract rule 2); never read the first word as a positional id. Batch flag: plural form, "все" / "all", or multiple names/paths -> fan-out. Then Step 4.

Step 3 — Explicitly requested menu (one AskUserQuestion)

Two questions, 2-4 options each (tool cap; "Other" is automatic): Q1 What do you want to do with agents?: Status (agents) (Recommended), Create new agents, Improve existing agents, Review agents. Q2 Variant?: As chosen (Recommended), Status (all: agents+rules+skills), List (plain), Sync agents (memory sync) (re-verify all knowledge vs code, shrink not grow); a non-default Q2 replaces Q1.

Dismissed or cancel via Other -> stop; else no follow-up question: missing safe params -> stated defaults, a write-critical one -> report the missing decision before writing. Print PLAN, then Step 4.

Delegation (every Agent spawn in this skill)

One subagent = ONE bounded unit (here ONE agent definition, ~<=5 files, ~<=10 steps) that never nests a spawn or accepts its own output; split bigger work into N tasks spawned in ONE message.

Every spawn brief carries six labeled fields, since a subagent starts with an empty context: GOAL (task + why), ROLE (owns, must not touch), SCOPE (paths/commands in and out), CONTEXT (done, by whom, in parallel), CONSUMER (who uses the result + its shape), DONE (acceptance + return: verdict first, evidence, bounded; long output to a file, path returned). A bare one-line task is never enough.

Step 4 — Dispatch

  • status -> Step 5; status (all) -> Step 5 over agents + rules + skills.
  • list -> run LIST_CMD, print its plain inventory, stop (no status assembly).
  • create / improve -> Artifact-specific params below; one SPECIALIST per item, a batch ALL in ONE message.
  • review -> the project's reviewer agent from .claude/agents/, else general-purpose; two-phase: review -> double-check findings -> report.
  • sync -> read SYNC_REF, follow it S1 scope -> S6 report; it replaces Steps 5-6.
  • After create / improve returns -> run SYNC_REF on the written file only: S3 ground truth -> S5 verdicts -> one S6 row in Step 6. No roster sweep, no second SPECIALIST: S4 (its only editing step) is skipped, so apply every S5 verdict yourself with targeted Edit calls, ending <= the specialist's size. Nothing to correct -> sync: no drift in one line.

Step 5 — Real status, not a flat list

One Explore

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

Установить agents в Claude Code и Claude Desktop

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

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

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

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

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

Read
Write
Edit
Glob
Grep
Bash
Agent
AskUserQuestion
Skill

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

LICENSEREADME.mdreferences/agent-context-and-execution.mdreferences/agent-frontmatter-fields.mdreferences/agent-known-issues.mdreferences/agent-scope-and-tools.mdreferences/agent-template.mdreferences/hooks-changes.mdreferences/hooks-env.mdreferences/hooks-events.mdreferences/hooks-io-contract.mdreferences/hooks-templates.mdreferences/hooks-types-config.mdreferences/mods-api.mdreferences/mods-changes.mdreferences/mods-lifecycle.mdreferences/mods-patterns.mdreferences/mods-testing.mdscripts/mods-ref-check.mjs

FAQ

Что делает скилл agents?

Creates, improves, syncs Claude Code subagents. Triggers: create agent, improve agent, sync agents, memory sync.

Как установить скилл agents?

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

Скилл agents запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить agents с