Логотип Subagent Prompt

Subagent Prompt

Організація
existential-birds
subagent-prompt

Produce a comprehensive prompt that hands off the current session's work to a fresh session for sub-agent-orchestrated execution. Use when the user wants to execute discussed/planned work in a new session, run a job to completion via sub-agents, or generate a portable handoff prompt with per-task verification. Assumes the target session supports sub-agents. Triggers on "subagent-prompt", "give me a prompt to run this in a new session", "hand this off to sub-agents", "execute this with sub-agents".

Огляд

Видавецьexistential-birds
Репозиторійbeagle
Назва навичкиsubagent-prompt
Зірки
82
Форки
8
Файли в пакеті
Лише інструкції
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем existential-birds. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Subagent Prompt у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/existential-birds/beagle/tree/main/plugins/beagle-core/skills/subagent-prompt
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/existential-birds/beagle.git /tmp/beagle
mkdir -p .claude/skills
cp -r /tmp/beagle/plugins/beagle-core/skills/subagent-prompt .claude/skills/subagent-prompt
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Subagent Prompt в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Subagent Prompt, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Subagent Prompt не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Sub-Agent Orchestration Prompt

Produce a single, self-contained prompt that the user can paste into a new agent session (one that supports sub-agents) to execute the work discussed in this conversation. The new session is the orchestrator: it dispatches a sub-agent per task and only synthesizes results — it does not implement code itself.

Goal

Hand off the current session's work to a fresh context window in a form that:

  • Runs to completion without needing the user to babysit each step
  • Uses one sub-agent per task so each task has its own context window
  • Forces each sub-agent to verify its own work before reporting back
  • Leaves the orchestrator with enough material to confirm the whole job is functional at the end

Gates

Complete in order. Do not advance until the Pass when condition holds.

  1. Source material identified — Pass when: You can point to the concrete artifacts this prompt will hand off (a plan file, a checklist, a list of changes the user described, etc.). If the conversation has only vague intent, ask the user what the prompt should cover before drafting.
  2. Task decomposition explicit — Pass when: You have a numbered list of tasks (or you can point to one already on disk) where each task is small enough for one sub-agent to own end-to-end. If the work is monolithic, decompose it before drafting the prompt.
  3. Verification per task specified — Pass when: For every task, you have named the concrete check a sub-agent must run before reporting success (typecheck command, test command, lint, file inspection, etc.). "Verify it works" is not a pass.
  4. Prompt drafted and self-contained — Pass when: The drafted prompt would make sense to a fresh agent session with zero memory of this conversation: it names paths, names tools, names verification commands, and names the success condition.

What the Generated Prompt Must Contain

Draft the handoff prompt as a single fenced block the user can copy. It must include, in this order:

  1. Role line — "You are the orchestrator. Dispatch one sub-agent per task. Do not implement code yourself."
  2. Context — what the work is, where the source material lives (plan path, spec path, repo paths), and any non-obvious constraints. Reference files by absolute path so the new session can read them without guesswork.
  3. Task list — each task numbered, with: title, input artifacts (paths/sections), sub-agent type to use, and the specific verification step that sub-agent must run and pass before reporting.
  4. Verification contract — explicit instruction that each sub-agent reports back only after its verification passed, and reports back with: what it changed, the verification command run, and the verification output (last few lines or full output if short).
  5. Run-to-completion clause — "Continue dispatching tasks until every task is complete. If a sub-agent reports verification failure, dispatch a follow-up sub-agent to diagnose and fix before moving on. Do not stop until the final integration check passes."
  6. Final integration check — the single command (or short sequence) the orchestrator runs after all tasks complete to confirm the whole job is functional (project typecheck, full test suite, lint, smoke run). Name it concretely.
  7. Failure-handling policy — what to do if a sub-agent gets stuck twice on the same step (escalate to the user, do not silently downscope).

Drafting Discipline

  • Absolute paths only. A new session can't resolve relative paths against this session's working directory.
  • Concrete commands only. "Run the tests" is not a command. cargo test --package osprey-core is.
  • Name the sub-agent type. If the target harness exposes a general-purpose sub-agent, say so. If a specialized agent fits (e.g. a search-only explorer), name it in the target's own terms. Don't leave the orchestrator guessing.
  • No "use your judgment" escape hatches. If a task needs judgment, pre-specify the criteria. If you can't, the task isn't ready to hand off and you should say so to the user before drafting.
  • One source of truth. If a plan file exists on disk, the prompt points the orchestrator at the plan file rather than restating the plan. Restating drifts; the file is authoritative.

Workflow

  1. Identify the source material (gate 1). If a .beagle/concepts/<slug>/plan.md or equivalent exists, that is the spine; if not, ask the user what to base the prompt on.
  2. Confirm task decomposition (gate 2). If the source already enumerates tasks, reuse that numbering. Otherwise propose one and confirm with the user before drafting.
  3. For each task, define the verification check (gate 3). Match it to the project's actual tooling — read the project conventions file (e.g. AGENTS.md or CLAUDE.md) and any Makefile/package.json/Cargo.toml to find the right command.
  4. Draft the prompt as a single fenced block (gate 4). Include everything from the What the Generated Prompt Must Contain checklist.
  5. Present the drafted prompt in chat. Tell the user to start a fresh session and paste it in.
  6. Optionally offer to refine if the user spots a missing constraint, a wrong path, or a gap in the verification plan.

When This Skill Is the Wrong Tool

  • The work fits in one session and one context window — just do it.
  • The work is exploratory or experimental and the user explicitly wants to stay in-loop — a heavy orchestration handoff is overkill.
  • No concrete artifacts exist to hand off yet — route the user to the brainstorm-beagle or write-plan skill first to produce the spec and plan that this skill will hand off.

Поширені запитання

Що робить навичка ШІ Subagent Prompt?

Produce a comprehensive prompt that hands off the current session's work to a fresh session for sub-agent-orchestrated execution. Use when the user wants to execute discussed/planned work in a new session, run a job to completion via sub-agents, or generate a portable handoff prompt with per-task verification. Assumes the target session supports sub-agents. Triggers on "subagent-prompt", "give me a prompt to run this in a new session", "hand this off to sub-agents", "execute this with sub-agents".

Навіщо використовувати Subagent Prompt у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Subagent Prompt — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Subagent Prompt у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/existential-birds/beagle/tree/main/plugins/beagle-core/skills/subagent-prompt. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Subagent Prompt?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Subagent Prompt?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Subagent Prompt — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Subagent Prompt?

Так. Навичку опубліковано на GitHub: existential-birds, за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇