/kairos:decompose Initiative or document short code (optional if it's already in the conversation)from kairos
Break an initiative, plan, or PRD into independently-grabbable Kairos tasks using tracer-bullet vertical slices.
Ships in kairos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Break a plan into independently-grabbable Kairos tasks using vertical slices (tracer bullets).
Work from whatever is already in the conversation. If the user passes a short code as an argument, get_item it — and if it's an initiative whose relationships list an attached PRD, get_item that too — and read the full content. If neither an argument nor a plan in the conversation exists, ask the user what to decompose.
First read the record: GROUND.md. The ADRs and the documents that impact the repository, the documents of the initiative, related_work on the initiative. Write its "Read: ..." sentence before you draft a task. A task that contradicts an ADR says so in its body, and you ask the user before you publish it.
If you have not already explored the codebase, do so to understand the current state of the code. Task titles and descriptions should use the project's domain glossary vocabulary, and respect ADRs in the area you're touching.
Code index first. Find code with the tools of the kairos-code MCP server before you read a file. code_search finds what the code does; symbol finds one name. callers and references find its uses; path finds how one symbol reaches another. Then read only the files that they name. grep is for literal text only: a log line, a config key, an error message. After you change code, run kairos index update.
Check the names. List each symbol, file, crate and dependency that the plan names, and check each one with the code tools (symbol, code_search, path). A name that is not in the code goes into no task: write "Stale: <name> is not in the code" on the initiative, and ask the user what the plan meant. A blocker that the plan names: get_item it, and check that it is open and that its scope blocks this work. A claim that you make without evidence carries the marker "not checked".
Look for opportunities to prefactor the code to make the implementation easier. "Make the change easy, then make the easy change."
Break the plan into tracer bullet tasks, following the Vertical slice rules. A wide refactor is the exception to that rule — slice it by expand–contract instead (see Wide refactors). Prefactoring becomes its own leading task(s) that the slices it enables block on. Every user story in the source material maps to a slice or goes on an explicit uncovered list.
Present the proposed breakdown as a list of quoted titles, each marked "not yet created". The tasks do not exist yet, so they have no short code. Do not give them a temporary name ("Slice 1", "T1", "task A"). A number in the list is for the user's answer in this message only. For each proposed task, show:
Ask the user:
Iterate until the user approves the breakdown. The naming rules are in the kairos-vocabulary skill.
The size of the initiative (KAIROS-T-0779). The initiative board has the setting size_warning, 15 tasks by default (my_boards or kairos boards policy <board> gives it). Count the tasks that the initiative has now, and the tasks that you propose. Past the setting, ask the user before you publish: is this initiative too big? Find the points where it can split: intermediate states that each deliver against an objective. Propose several medium or large initiatives, each with its own objective, and the tasks of each. Kairos also warns at each create past the setting: it is a warning, not a refusal.
Every task names a board (COLLIERY-A-0023): the team decides the board, and the board decides the team of the task. Default to the session's team_board (SessionStart context). With no team_board, find the board with my_boards. If more than one can hold the work, ask the user which. A slice for a different team is a request: name the delivery board of that team, and follow CROSS-TEAM-FILING.md.
The repository is an optional link to the repo where an agent implements the task. It does not choose the board. Default to the session's repository. When the initiative spans repositories, ask the user which repo holds each slice. A slice that "touches both" is two slices, one per repo, joined by a blocks edge. list_repositories shows the directory.
Publish in dependency order — blockers first — so every blocking edge names a real short code. For each approved slice:
create_item(item_type: task, task_type: <task|bug|tech_debt|support|spike>, board: <delivery board>, repository: <slug>, parent: <initiative short code>, title: ...) (omit repository when the task has no code). The create takes no content: it writes the template of the task type as version 1 and gives it back. The parent edge links the task to its initiative — the body carries no parent section.update_item (send version 1): see The body of a task below. Keep the headings of the template.link_items(source: <blocker short code>, target: <this task's short code>, relationship: blocks).blocks edge only when a task must wait for another task. Give no edge to tasks that can go in parallel. The graph view shows serial work as a row and parallel work in one column.blocks edges are the order. The body has no order section.task_type: spike for the question, and link_items with blocks from the spike to each task that waits for the answer (KAIROS-A-0089). The spike has the initiative as parent, as the other tasks have. The spike skill runs it, and has the one case with no parent.Columns and blocking edges are native to Kairos — new tasks go to the entry column of the board, and that's where they belong; leave them for the team to pull. The initiative itself stays untouched: decompose only adds children.
From here on, name each task only by the short code in the result of its create_item. Do not use its working title or its number in the step 4 list.
Finish by listing the created short codes in dependency order, each with its board and its repository (and, for a request, a note that it is in the support lane of that team).
Then offer /kairos:grill-decomposition <initiative short code>. It reviews the tasks as a set before a Ralph loop runs them: the slice boundaries, the blocks edges, criteria that the loop can check, and scope leaks.
Each task is a thin vertical slice that cuts through ALL integration layers end-to-end, NOT a horizontal slice of one layer.
A wide refactor is one mechanical change — rename a column, retype a shared symbol — whose blast radius fans across the whole codebase, so a single edit breaks thousands of call sites at once and no vertical slice can land green. Don't force it into a tracer bullet; sequence it as expand–contract. First expand: add the new form beside the old so nothing breaks. Then migrate the call sites over in batches sized by blast radius (per package, per directory), each batch its own task blocked by the expand, keeping CI green batch to batch because the old form still exists. Finally contract: delete the old form once no caller remains, in a task blocked by every migrate batch. When even the batches can't stay green alone, keep the sequence but let them share an integration branch that all block a final integrate-and-verify task — green is promised only there.
The template of the organization gives the body of a task (KAIROS-A-0087): create_item gives it back, and list_templates with slug: task (or bug, tech_debt, support, spike) shows it. Do not keep a copy of it here. The italic text under each heading says how to fill in the section; replace it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/architecture-reviewReview the codebase's architecture — scan, classify by altitude, present deepening candidates as an HTML report, then grill through the one you pick./bootstrapWire this repo and engineer to a Kairos deployment — MCP endpoint config, auth check, repository detection from the git remote, board discovery, and the wiring (a project entry in ~/.config/kairos/config.toml)./cancel-ralphStop the Ralph loop of this session, or of this folder after /clear. Then the Stop hook lets the session stop.npx claudepluginhub colliery-io/kairos --plugin kairos