flow-engineer-subagent
БесплатноБез исполняемых скриптовНе проверенGuide for creating effective Subagents (custom agent definitions). Use when users want to create a new subagent, set up task-specific agents, configure code…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Subagent Creator
This skill guides through creating effective Subagents — custom agent definitions that provide specialized AI assistants with focused system prompts.
About Subagents
Subagents are specialized AI assistants that extend agent capabilities with:
- Focused behavior — custom system prompts for specific domains or tasks
- Context isolation — separate conversations that preserve your main context
- Reusable configurations — shareable agent definitions across projects or users
IDE Detection and Subagent Placement
Subagents work across multiple IDEs. Before creating a subagent, determine the current environment and ask the user where to place it.
Control Primitives Map by IDE
| Primitive | Scope | Cursor | Claude Code | OpenCode |
|---|---|---|---|---|
| Custom Agents (Subagents) | User | ~/.cursor/agents/*.md |
~/.claude/agents/*.md |
~/.config/opencode/agents/*.md |
| Project | .cursor/agents/*.md |
.claude/agents/*.md |
.opencode/agents/*.md |
Subagent-Specific Paths
| IDE | Personal Subagents | Project Subagents |
|---|---|---|
| Cursor | ~/.cursor/agents/*.md |
.cursor/agents/*.md |
| Claude Code | ~/.claude/agents/*.md |
.claude/agents/*.md |
| OpenCode | ~/.config/opencode/agents/*.md |
.opencode/agents/*.md |
Detection Strategy
- Check for IDE-specific markers in the project:
.cursor/directory → Cursor.claude/directory → Claude Code.opencode/directory oropencode.json→ OpenCode
- If multiple detected or none → ask the user
- Ask: personal subagent (user-level) or project subagent (shared via repo)?
IMPORTANT: Never create subagents in ~/.cursor/agents-cursor/ (reserved for Cursor internals) or other IDE-reserved directories.
Core Principles
Focused Specialization
Each subagent should excel at one specific task.
- Good:
code-reviewer— focused on reviewing code quality - Bad:
helper— too broad, overlaps with default agent
Clear Delegation Triggers
The description determines when the main agent delegates to this subagent.
| Freedom Level | When to Use | Example |
|---|---|---|
| High (manual) | User explicitly requests | "Use the data-analyst to..." |
| Medium (suggested) | Agent suggests based on context | "Consider using debugger for errors" |
| Low (proactive) | Automatic delegation on pattern match | "Use code-reviewer after code changes" |
Anatomy of a Subagent
Every subagent is a .md file with YAML frontmatter and a markdown body:
my-agent.md
├── Frontmatter (YAML) # Metadata: name, description, mode, etc.
└── Body (Markdown) # System prompt: behavior, workflow, constraints
Frontmatter Structure
Cursor Format
---
name: code-reviewer
description: Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.
model: inherit
readonly: false
---
Cursor Additional Fields
| Field | Description | Default |
|---|---|---|
name |
Agent name | Required |
description |
Task description and role definition | Required |
model |
Suggested model (inherit, fast, slow, or model ID) |
Inherits from conversation |
readonly |
If true, restricts agent to read-only tools (no file edits, shell writes) |
false |
OpenCode Format
---
description: Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.
mode: subagent
model: gpt-4o
temperature: 0.3
permission: auto
---
OpenCode Additional Fields
| Field | Description | Default |
|---|---|---|
mode |
primary / subagent / all |
subagent |
model |
Specific model string | Inherits from conversation |
temperature |
Creativity (0.0-2.0) | Inherits |
top_p |
Nucleus sampling (0.0-1.0) | Inherits |
steps |
Max reasoning steps | Inherits |
tools |
Allowed tools | Inherits |
permission |
auto / ask / none |
Inherits |
color |
UI color code | Inherited |
hidden |
Hide from UI | false |
disable |
Disable subagent | false |
Writing Effective Descriptions
The description is critical - the AI uses it to decide when to delegate.
Rules
Third person (injected into system prompt):
- Good: "Reviews code for quality and best practices"
- Bad: "I review code for quality and best practices"
Specific with trigger terms:
- Good: "Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when
Установить flow-engineer-subagent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл flow-engineer-subagent?
Guide for creating effective Subagents (custom agent definitions). Use when users want to create a new subagent, set up task-specific agents, configure code reviewers, debuggers, or domain-specific assistants. Works across IDEs (Cursor, OpenCode).
Как установить скилл flow-engineer-subagent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flow-engineer-subagent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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