Skip to content
Development
Command

/cairn-init

Adopt this project with Cairn — runs the one-time init pipeline inline.

From plugin
cairn
64 skills5 agents4 commands1 MCP
> /plugin marketplace add isaacriehm/cairn
> /plugin install cairn@isaacriehm-cairn

Command definition

cairn-init.md
description: Adopt this project with Cairn — runs the one-time init pipeline inline.
argument-hint: "[--force]"

/cairn:cairn-init

Manually trigger the Cairn adoption flow. Equivalent to the `cairn-adopt` skill, but invoked explicitly by the operator.

Useful when:

  • The operator previously declined `[c]` "never" and wants to retry.
  • The operator skipped `[b]` "not now" and the 7-day re-prompt window

hasn't elapsed yet.

  • The operator wants to re-adopt after deleting `.cairn/` (e.g.

starting fresh from a known baseline).

Behavior

Invoke the `cairn-adopt` skill. It owns the trigger gate, preflight, init subprocess, and the phase-by-phase A/B/C surface.

If `.cairn/` already exists, the skill detects this and surfaces:

> Project is already Cairn-adopted. `[a]` re-run init (warning: may overwrite ground state) `[b]` doctor (verify health) `[c]` cancel

Default to `[c]` cancel for safety.

@isaacriehm
Ships withcairn

Keeps AI coding agents consistent with the decisions your project already made. Plugin for Claude Code, Cursor, and Codex · MCP server · pre-commit and CI checks

65 skills5 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6
Star history of isaacriehm/cairn on GitHub, a chart by star-history.com

Other commands on cairn.

cairn-direction

cairn-direction

Command

Force cairn-direction tightening on the supplied prompt. Escape hatch when auto-invocation misses.

@isaacriehm@isaacriehmInstall Command
cairn-resume

cairn-resume

Command

Resume an active Cairn task after `/clear`. Reads the task journal + spec and primes context cold.

@isaacriehm@isaacriehmInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command