Source Code
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 <slug> --description "..." --objective "..."โ Create a taskcairn list tasks [--status pending,in_progress] [--project slug]โ List tasks with filterscairn search "keyword"โ Find tasks by content
Task Workflow
cairn start <task-slug>โ Begin work (setsin_progress)cairn note <task-slug> "Progress update"โ Add a status notecairn artifact <task-slug> "Artifact Name"โ Create a linked deliverablecairn done <task-slug>โ Finish work (moves torevieworcompleted)cairn block <task-slug> "Reason"โ Mark as blocked
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.