Command Palette

Search for a command to run...

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

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от 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:

  1. Focused behavior — custom system prompts for specific domains or tasks
  2. Context isolation — separate conversations that preserve your main context
  3. 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

  1. Check for IDE-specific markers in the project:
    • .cursor/ directory → Cursor
    • .claude/ directory → Claude Code
    • .opencode/ directory or opencode.json → OpenCode
  2. If multiple detected or none → ask the user
  3. 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

  1. Third person (injected into system prompt):

    • Good: "Reviews code for quality and best practices"
    • Bad: "I review code for quality and best practices"
  2. Specific with trigger terms:

    • Good: "Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when
Полный SKILL.md на GitHub

Установить flow-engineer-subagent в Claude Code и Claude Desktop

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

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

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

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

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

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

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

metadata.json

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), без исполняемых скриптов.

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

Сравнить flow-engineer-subagent с