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 commands
Install
$ npx -y skills add isaacriehm/cairn --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/cairn-init

Context preview

What this command does when you run it.

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

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.

Ships withcairn

Persistent ground truth for AI coding agents. First-class support for Claude Code, Cursor, and Codex. Stop agents from drifting.

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
1
Forks
Active
Maintenance
TypeScript
Language
MIT
License
9d ago
Last commit
3mo ago
Created

Repo: isaacriehm/cairn