/kairos:domain-modelingfrom kairos
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, maintain the glossary in CONTEXT.md, record an architectural decision as an ADR, or when another skill needs to maintain the domain model.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Actively build and sharpen the project's domain model as you design. This is the active discipline — challenging terms, inventing edge-case scenarios, and writing the glossary and decisions down the moment they crystallise. (Merely reading CONTEXT.md for vocabulary is not this skill — that's a one-line habit any skill can do. This skill is for when you're changing the model, not just consuming it.)
The glossary is a repo file; the decisions are Kairos ADRs.
Most repos have a single context — one CONTEXT.md at the root:
/
├── CONTEXT.md
└── src/
If a CONTEXT-MAP.md exists at the root, the repo has multiple contexts. The map points to where each one lives:
/
├── CONTEXT-MAP.md
└── src/
├── ordering/
│ └── CONTEXT.md
└── billing/
└── CONTEXT.md
Create files lazily — only when you have something to write. If no CONTEXT.md exists, create one when the first term is resolved. Decisions never get repo files: record them as Kairos ADRs per ADR-FORMAT.md.
When the user uses a term that conflicts with the existing language in CONTEXT.md, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y — which is it?"
When the user uses vague or overloaded terms, propose a precise canonical term. "You're saying 'account' — do you mean the Customer or the User? Those are different things."
When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.
When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"
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.
When a term is resolved, update CONTEXT.md right there. Don't batch these up — capture them as they happen. Use the format in CONTEXT-FORMAT.md.
CONTEXT.md should be totally devoid of implementation details. Do not treat CONTEXT.md as a spec, a scratch pad, or a repository for implementation decisions. It is a glossary and nothing else.
Offer an ADR when a reader of the code would get the decision wrong without it. The reader can be a person or a later agent. That includes:
Skip routine bug fixes. Skip the choice that any reader expects. Create the ADR per ADR-FORMAT.md.
A code comment or a test that depends on the decision names the ADR short code, for example // KAIROS-A-0069. It does not repeat the reasoning. The ADR holds the reason; the citation leads the reader to it.
One short path when the user says "record this decision", or when implement finds one at the end of a task (COLLIERY-I-0628). A decision about the system under work goes to Kairos, not to local memory.
adr_board in the SessionStart context, else my_boards.create_item with item_type: adr, board: <adr board>, parent: <the task or the initiative that produced it>. The create takes no content: it writes the template of the type as version 1 and gives it back. Fill it in with update_item (send version 1). Put the draft in the sections of the template (ADR-FORMAT.md).link_items with impacts from the ADR to each repository that it is about.link_items with amends from the new ADR to the old one, and the new ADR names the part. It replaces all of it: link_items with supersedes from the new ADR to the old one. The old one stays as it is (KAIROS-A-0069).promote_note with kind: document makes a draft. When the user agrees with the text, set_lifecycle with lifecycle: published publishes it. A document is not on a board, so transition_item does not move it.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub colliery-io/kairos --plugin kairos28 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.