agent-enhancement-worker
БесплатноБез исполняемых скриптовНе проверенAgent frontmatter enhancements — disallowedTools, mcpServers scoping, fork_eligible field
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Agent Enhancement Worker
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
When to Use This Skill
Features that enhance agent definition schema and prompt assembler to support new frontmatter fields (disallowedTools, mcpServers, fork_eligible).
Work Procedure
Read the feature description carefully. Understand which schema fields to add and how they affect prompt assembly.
Read source files. Before modifying:
- Read
.claude/schemas/agent-definition.schema.jsonfor current schema - Read
.claude/lib/spawn/prompt-assembler-data.cjsfor how agent fields are consumed - Read
.claude/lib/spawn/prompt-assembler.cjsfor assembly pipeline - Read at least 2 existing agent files to understand frontmatter patterns
- Read
Write tests first (red). Create test file at
tests/lib/spawn/<descriptive-name>.test.cjs. Tests must cover:- Schema validation (valid/invalid inputs for each field)
- Prompt assembly effects (tools excluded, servers scoped)
- Conflict resolution (disallowedTools vs tools)
- Default values (fork_eligible defaults false)
- Round-trip (create → validate → assemble → verify) Run tests — they should FAIL (red).
Implement changes.
- Schema: Add fields with proper types, descriptions, defaults
- disallowedTools: Array of strings, filter tools in filterAndDescribeTools()
- mcpServers: Array of strings with maxItems:20, scope MCP section in prompt
- fork_eligible: Boolean, default false, validation only (no assembly effect yet)
- Conflict: disallowedTools wins over tools (exclude takes precedence)
- Log warning on conflict, don't throw
Run tests (green). All tests pass.
Run lint.
pnpm lint npx prettier --check <modified-files>
Example Handoff
{
"salientSummary": "Added disallowedTools, mcpServers, fork_eligible to agent schema. Prompt assembler excludes disallowed tools and scopes MCP servers. 30 tests.",
"whatWasImplemented": "Schema updated with 3 new fields. filterAndDescribeTools() filters disallowedTools. buildMcpSection() scopes to agent's mcpServers. Conflict logging for tools/disallowedTools overlap.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{ "command": "node --test tests/lib/spawn/agent-enhancements.test.cjs", "exitCode": 0, "observation": "30 tests passing" },
{ "command": "pnpm lint", "exitCode": 0, "observation": "0 errors" }
]
}
}
When to Return to Orchestrator
- Agent schema has a different structure than expected
- Prompt assembler doesn't have clear extension points for filtering
- MCP section generation isn't separated enough to scope per agent
Установить agent-enhancement-worker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-enhancement-worker?
Agent frontmatter enhancements — disallowedTools, mcpServers scoping, fork_eligible field
Как установить скилл agent-enhancement-worker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-enhancement-worker запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic