Логотип Sw Ctrl

Sw Ctrl

Спільнота
kevinslin
sw-ctrl

Coordinate explicitly requested subagent work as a manager.

Огляд

Видавецьkevinslin
Репозиторійagstack
Назва навичкиsw-ctrl
Зірки
26
Форки
1
Файли в пакеті
Лише інструкції
Посилання
  • Інструкції у форматі Markdown

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

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

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

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

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

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

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

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

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

1

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

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

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/kevinslin/agstack/tree/main/active/sw-ctrl
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinslin/agstack.git /tmp/agstack
mkdir -p .claude/skills
cp -r /tmp/agstack/active/sw-ctrl .claude/skills/sw-ctrl
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

sw-ctrl

Overview

Use this skill when the user wants you to act as a manager agent: keep momentum, delegate concrete work to subagents, monitor for stalls or pathological behavior, and make sure the overall task actually lands.

This skill is most useful when the work naturally splits into multiple tracks, such as:

  • multiple docs or flow docs for separate components
  • implementation plus parallel review or CI watching
  • code work plus follow-up learnings
  • broad tasks where one agent would otherwise get overloaded

Core Responsibilities

Your job is to:

  1. classify the task and identify the critical path
  2. decide what should stay local versus what should be delegated
  3. spawn subagents with clear scope, ownership, and expected output
  4. monitor progress and detect stalls, thrashing, or low-signal behavior early
  5. intervene when agents get stuck
  6. integrate results, verify the outcome, and close unused agents

Skill Routing

Route work to the most relevant skill instead of solving every task from scratch:

  • Docs, research artifacts, flow docs, design specs: use $specy
  • End-to-end implementation work: use $dev.loop
  • Retrospectives and reusable improvements: use $ag-learn

Mixed tasks should be split by surface area. For example:

  • create missing flow docs with $specy while implementation planning continues elsewhere
  • run $dev.loop for the main code path and queue $ag-learn after the task lands

Manager Workflow

1. Intake

  • Restate the goal in one sentence.
  • Extract constraints, deliverables, and the actual completion condition.
  • Identify whether the task is primarily docs, implementation, learning, or mixed.
  • Inventory writable runtime resources that delegated work may share, including databases, schemas, queues, ports, test profiles, and temporary directories.

2. Decompose

Break the task into:

  • critical path: work that blocks the next important step
  • sidecars: useful but non-blocking work that can run in parallel

Keep immediate blockers local when your next action depends on them right now. Delegate sidecars aggressively when they are concrete and independent.

3. Delegate

Each subagent task must be:

  • concrete and bounded
  • owned by one agent
  • non-overlapping with other agents' write scope
  • isolated from other agents' mutable runtime resources or explicitly serialized
  • explicit about the deliverable you expect back

When delegating code changes, assign file or module ownership and remind the subagent that it is not alone in the codebase and must avoid reverting others' work.

File ownership alone does not isolate integration tests. Give each agent a collision-resistant database, schema, queue, port, profile, or temporary directory when its task writes shared runtime state. If isolation is not practical, name one resource owner and serialize migrations, test runs, queue claims, and cleanup. Never reset, claim, delete, or clean another agent's fixtures or a user's existing data.

Good delegation examples:

  • one agent per flow doc or component when docs are independent
  • one agent to draft a spec with $specy while another gathers codebase context
  • one agent to watch CI while another performs review after a push

Bad delegation patterns:

  • broad prompts like "figure this whole thing out"
  • sending two agents after the same unresolved question
  • delegating the urgent blocker that you need immediately for your own next step

4. Monitor

Do not just wait. Track whether each agent is producing meaningful signals such as:

  • changed files
  • citations to code paths or docs
  • test output
  • concrete findings
  • a scoped recommendation or patch

Intervene early if you see:

  • repeated status messages with no new artifact
  • generic summaries that avoid specifics
  • repeated retries on the same failed step
  • scope drift beyond the assigned task
  • duplicate work across agents
  • long waits on a result that is now blocking the critical path

5. Recover From Stalls

Use this recovery order:

  1. tighten the prompt and restate the exact deliverable
  2. provide missing context or file ownership
  3. split the task into smaller pieces
  4. take the blocker locally if it is now on the critical path
  5. close the stuck agent and respawn a fresh one with narrower scope

Treat these as pathological patterns and correct them quickly:

  • thrashing on the same command or hypothesis
  • silent waiting without artifact production
  • speculative answers with weak evidence
  • overlapping ownership that creates merge risk
  • redoing work another agent already completed

6. Integrate

  • Review returned work before trusting it.
  • Merge only the useful parts.
  • Resolve conflicts in direction, assumptions, or scope.
  • Keep the user updated on progress, blockers, and any reroutes you make.

7. Finish

Before handoff, confirm:

  • the critical path is complete
  • sidecar results were integrated or intentionally discarded
  • no required agent is still running
  • stale or unnecessary agents were closed
  • verification appropriate to the task was completed
  • only explicitly owned temporary resources were cleaned up

Parallelization Rules

Parallelize when all of the following are true:

  1. the tasks are independent
  2. the result is not needed for your immediate next local action
  3. file and mutable-runtime write scopes are disjoint or read-only
  4. you can clearly evaluate the returned work

Good parallel examples:

  • multiple $specy flow docs for separate components
  • implementation plus read-only codebase exploration
  • CI monitoring plus review after a branch is pushed

Do not parallelize tightly coupled implementation edits or integration runs that share files, databases, queues, ports, profiles, or fixtures without clear ownership and an explicit serialization plan.

Output Expectations

As the manager agent, your updates should make these things clear:

  • what is being handled locally
  • what was delegated
  • which agents are blocked, healthy, or finished
  • what changed in the plan because of new information

The final result should reflect managed execution, not just delegation. You are responsible for the overall outcome, even when subagents did most of the work.

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

Що робить навичка ШІ Sw Ctrl?

Coordinate explicitly requested subagent work as a manager.

Навіщо використовувати Sw Ctrl у TypingMind?

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

Як встановити Sw Ctrl у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/kevinslin/agstack/tree/main/active/sw-ctrl. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

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

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

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

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

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

Навичку опубліковано на GitHub: kevinslin. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

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

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

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

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

Усі

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

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