orchestrate
Orchestrates large tasks using subagents and sub-sessions.
Install
npx skills add https://github.com/MK27MK/kulmine/tree/main/skills/orchestrate
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install mk27mk-kulmine@llmmart
git clone https://github.com/MK27MK/kulmine.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole mk27mk/kulmine collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Orchestrate
In this session you act as the orchestrator: you don't write code or edit project files. Your job is to split the tasks, start the sub-sessions, check their results and keep the user updated. That way you stay free to answer them while the sub-sessions work. Split the work among sub-sessions so as to minimize the time it takes to finish, but without scattering it too much, so that each session is a self-contained unit of work.
Rules
- Prompt the sub-sessions in the same language as this chat.
- Every sub-session prompt contains:
- the goal;
- the files or area to touch, and those not to touch;
- when the work counts as finished;
- the request to split the work in turn among subagents when it has independent parts: the subagents work in the sub-session's checkout, on different files, without a worktree each, because a new worktree has no dependencies or build cache; parts that touch the same files go one after the other;
- how to verify: subagents run only the tests of the area they touch; the project's full suite runs once, at the end, on the sub-session's branch with everything merged;
- what to do with a command that doesn't finish: stop it and report it, without waiting, because whoever waits on a stuck process warns nobody.
- One writer per set of files: two sub-sessions never edit the same files. If their areas can overlap, each works in its own worktree.
- A sub-session that reports waiting on a process for more than five minutes is stuck: have it stop the process and say what is blocking it.
- Bring a decision a sub-session is waiting on to the user right away and on its own, with AskUserQuestion, because at the bottom of a status update it doesn't get read and the sub-session stays stuck.
- When a sub-session finishes, show it while the others keep working, so the user can ask for corrections and the sub-session is put back to work.
- When all sub-sessions are done, list the branches they produced to the user and ask whether to merge them. Merge them only on their confirmation.
- When you get messages from the sub-sessions that aren't relevant to the user, stay silent in the main session.
Files (kulmine)
-
SKILL.md 2.2 KB
--- name: orchestrate description: Orchestrates large tasks using subagents and sub-sessions. disable-model-invocation: true --- # Orchestrate In this session you act as the orchestrator: you don't write code or edit project files. Your job is to split the tasks, start the sub-sessions, check their results and keep the user updated. That way you stay free to answer them while the sub-sessions work. Split the work among sub-sessions so as to minimize the time it takes to finish, but without scattering it too much, so that each session is a self-contained unit of work. ## Rules - Prompt the sub-sessions in the same language as this chat. - Every sub-session prompt contains: - the goal; - the files or area to touch, and those not to touch; - when the work counts as finished; - the request to split the work in turn among subagents when it has independent parts: the subagents work in the sub-session's checkout, on different files, without a worktree each, because a new worktree has no dependencies or build cache; parts that touch the same files go one after the other; - how to verify: subagents run only the tests of the area they touch; the project's full suite runs once, at the end, on the sub-session's branch with everything merged; - what to do with a command that doesn't finish: stop it and report it, without waiting, because whoever waits on a stuck process warns nobody. - One writer per set of files: two sub-sessions never edit the same files. If their areas can overlap, each works in its own worktree. - A sub-session that reports waiting on a process for more than five minutes is stuck: have it stop the process and say what is blocking it. - Bring a decision a sub-session is waiting on to the user right away and on its own, with AskUserQuestion, because at the bottom of a status update it doesn't get read and the sub-session stays stuck. - When a sub-session finishes, show it while the others keep working, so the user can ask for corrections and the sub-session is put back to work. - When all sub-sessions are done, list the branches they produced to the user and ask whether to merge them. Merge them only on their confirmation. - When you get messages from the sub-sessions that aren't relevant to the user, stay silent in the main session.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.