Cairn gives you and your AI agent a shared workspace of markdown files for managing projects and tasks. Statuses are the shared language. Any AI that can read files is ready to go.
npm install -g cairn-work
cairn onboard
cairn onboard creates ~/cairn/ with auto-generated context files (AGENTS.md and .cairn/planning.md) that agents read automatically.
cairn status — Overview with task countscairn my — Your assigned taskscairn active — All in-progress taskscairn doctor — Diagnose workspace healthcairn create project "Name" --description "..." --objective "..." — Create a project with chartercairn create task "Name" --project --description "..." --objective "..." — Create a taskcairn list tasks [--status pending,in_progress] [--project slug] — List tasks with filterscairn search "keyword" — Find tasks by contentcairn start — Begin work (sets in_progress)cairn note "Progress update" — Add a status notecairn artifact "Artifact Name" — Create a linked deliverablecairn done — Finish work (moves to review or completed)cairn block "Reason" — Mark as blockedcairn update-skill — Refresh context files after CLI updatescairn upgrade — Update CLI to latest version~/cairn/
AGENTS.md # Agent context (auto-generated)
.cairn/planning.md # Planning guide (auto-generated)
projects/
project-slug/
charter.md # Why, success criteria, context
artifacts/ # Deliverables (design docs, proposals, etc.)
tasks/ # Individual task markdown files
inbox/ # Ideas to triage
memory/ # Workspace memory
pending → next_up → in_progress → review → completed (or blocked at any point)
Set per-task to control how much the agent can do:
reviewcompletedcairn onboard first — it sets up everything the agent needs.cairn my to see your current workload at a glance.cairn artifact) create linked deliverables stored with the project.共 1 个版本