/cairn:ctx <search|stats|index|fetch|insight|doctor|upgrade|purge> [args…]from cairn
Run a context-mode operation directly — raw passthrough to the ctx_* tools
Ships in cairn. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Raw context-mode passthrough — no cairn scoping. The ctx_* MCP tools ship with
cairn (context-mode is a dependency). Map the first token of $ARGUMENTS to the
tool and run it, passing the rest as arguments:
search <query> -> ctx_search(queries: [<query>])
stats -> ctx_stats
index <text> -> ctx_index(content: <text>)
fetch <url> -> ctx_fetch_and_index(url: <url>)
insight -> ctx_insight
doctor -> ctx_doctor
upgrade -> ctx_upgrade
purge <scope> -> ctx_purge(scope: <session|project>) ⚠ DESTRUCTIVE — confirm with the user first
For intent-scoped memory tied to the active issue + phase, prefer the curated
verbs /cairn:recall and /cairn:remember instead.
7-day visitors to each command page
18 commands in this plugin
/bdRun any beads (bd) command directly — raw passthrough/context-configContext ConfigEnable/configure the context-mode integration (intent-aware memory) — writes .cairn/context.json/gsdRun any GSD command directly — raw passthrough/helpShow the cairn unified command interface (one namespace for GSD + beads)/init1. Verify GSD is presentOne-command, soup-to-nuts project setup — ensure GSD + beads, wire git + bd init, then hand off to the interactive GSD project setup/issuesList beads issues, optionally scoped to a phasenpx claudepluginhub eventually-consistent-code-org/claude-plugins --plugin cairnOther plugins' commands for the same job