agents
БесплатноЗапускает вложенные скриптыНе проверенCreates, improves, syncs Claude Code subagents. Triggers: create agent, improve agent, sync agents, memory sync.
от 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.
- Mode: an explicit mode token wins outright; else the most distinct whole-word keyword hits
(table below). Tie with a destructive mode ->
AskUserQuestion; withstatus->status; of two mutating modes -> the keyword that comes first. No hit or empty ->status. - Scope: prose that is not a mode/id/path is still input: take the id, path or target from it.
- 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-> runLIST_CMD, print its plain inventory, stop (no status assembly).create/improve-> Artifact-specific params below; oneSPECIALISTper item, a batch ALL in ONE message.review-> the project's reviewer agent from.claude/agents/, elsegeneral-purpose; two-phase: review -> double-check findings -> report.sync-> readSYNC_REF, follow it S1 scope -> S6 report; it replaces Steps 5-6.- After
create/improvereturns -> runSYNC_REFon the written file only: S3 ground truth -> S5 verdicts -> one S6 row in Step 6. No roster sweep, no secondSPECIALIST: S4 (its only editing step) is skipped, so apply every S5 verdict yourself with targetedEditcalls, ending<=the specialist's size. Nothing to correct ->sync: no driftin one line.
Step 5 — Real status, not a flat list
One Explore
Установить agents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGlobGrepBashAgentAskUserQuestionSkillВложенные файлы
FAQ
Что делает скилл agents?
Creates, improves, syncs Claude Code subagents. Triggers: create agent, improve agent, sync agents, memory sync.
Как установить скилл agents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agents запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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