Cairn Cli
Project management for AI agents using markdown files.
- Rating
- 4.2 (204 reviews)
- Downloads
- 3,942 downloads
- Version
- 1.0.0
Overview
Project management for AI agents using markdown files.
Complete Documentation
View Source →
Cairn — AI-Native Project Management
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.
Installation
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.
Community
- Follow @letcairnwork on X
- Visit letcairn.work
- Submit issues
- Join the discussion
Core Commands
Workspace
cairn status— Overview with task countscairn my— Your assigned taskscairn active— All in-progress taskscairn doctor— Diagnose workspace health
Projects & Tasks
cairn create project "Name" --description "..." --objective "..."— Create a project with chartercairn create task "Name" --project— Create a task--description "..." --objective "..." cairn list tasks [--status pending,in_progress] [--project slug]— List tasks with filterscairn search "keyword"— Find tasks by content
Task Workflow
cairn start— Begin work (setsin_progress)cairn note— Add a status note"Progress update" cairn artifact— Create a linked deliverable"Artifact Name" cairn done— Finish work (moves torevieworcompleted)cairn block— Mark as blocked"Reason"
Maintenance
cairn update-skill— Refresh context files after CLI updatescairn upgrade— Update CLI to latest version
Workspace Structure
~/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
Statuses
pending → next_up → in_progress → review → completed (or blocked at any point)
Autonomy Levels
Set per-task to control how much the agent can do:
- propose — Agent plans only, finishes in
review - draft — Agent does work, you approve before shipping
- execute — Full autonomy, finishes as
completed
Tips
- Run
cairn onboardfirst — it sets up everything the agent needs. - Use
cairn myto see your current workload at a glance. - Artifacts (
cairn artifact) create linked deliverables stored with the project. - All data is plain markdown with YAML frontmatter — version control friendly.
Installation
openclaw install cairn-cli
💻Code Examples
cairn onboard
`cairn onboard` creates `~/cairn/` with auto-generated context files (`AGENTS.md` and `.cairn/planning.md`) that agents read automatically.
## Community
- Follow [@letcairnwork](https://x.com/letcairnwork) on X
- Visit [letcairn.work](https://letcairn.work/)
- [Submit issues](https://github.com/letcairnwork/cairn-cli/issues)
- [Join the discussion](https://github.com/letcairnwork/cairn-cli/discussions)
## Core Commands
### Workspace
- `cairn status` — Overview with task counts
- `cairn my` — Your assigned tasks
- `cairn active` — All in-progress tasks
- `cairn doctor` — Diagnose workspace health
### Projects & Tasks
- `cairn create project "Name" --description "..." --objective "..."` — Create a project with charter
- `cairn create task "Name" --project <slug> --description "..." --objective "..."` — Create a task
- `cairn list tasks [--status pending,in_progress] [--project slug]` — List tasks with filters
- `cairn search "keyword"` — Find tasks by content
### Task Workflow
- `cairn start <task-slug>` — Begin work (sets `in_progress`)
- `cairn note <task-slug> "Progress update"` — Add a status note
- `cairn artifact <task-slug> "Artifact Name"` — Create a linked deliverable
- `cairn done <task-slug>` — Finish work (moves to `review` or `completed`)
- `cairn block <task-slug> "Reason"` — Mark as blocked
### Maintenance
- `cairn update-skill` — Refresh context files after CLI updates
- `cairn upgrade` — Update CLI to latest version
## Workspace Structure~/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 memoryTags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
Adversarial Prompting
Adversarial analysis to critique, fix.