| name | cairn |
| description | Project management for AI agents using markdown files. Install and use the cairn CLI to create projects, manage tasks, track status, and coordinate human-AI collaboration through a shared workspace of markdown files. |
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
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 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 onboard first โ it sets up everything the agent needs.
- Use
cairn my to 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.