/cairn:decision <intent>from Cairn
Open a Cairn decision so subsequent file edits attach to it. Use right before making a deliberate implementation choice worth recording — when there is a real intent, a constraint being worked around, or alternatives being weighed.
Ships in Cairn. 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.
node "${CLAUDE_SKILL_DIR}/../../dist/cli.js" open-decision-stdin <<'CAIRN_EOF_6fbb5abbb981ffcf5e266ad6'
$ARGUMENTS
CAIRN_EOF_6fbb5abbb981ffcf5e266ad6
A Cairn decision is now open. Until the next decision opens (or the session ends), the files you edit are journaled under this decision in .git/cairn/. On your next commit, Cairn folds that journal into a Lore-compatible decision record on the commit message and into the refs/notes/cairn graph, so a future session can ask why(<file>) and get this reasoning back.
To make the captured record richer, state in your next message — if they apply — the constraint you are working around and any alternative you considered and rejected, with the reason. That text is snapshotted from the transcript at edit time and refined into the record at consolidation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (andrewjsauer/cairn) — no native marketplace selected
npx claudepluginhub p/andrewjsauer-cairn