CLI reference
On this page
clara <command> [arguments] [flags]
clara on its own shows what needs you, what is in progress and what is ready. clara help <command> prints the help of one command, and clara <command> --help does the same.
Ticket ids can be written 12, gen-12 or GEN-12. Where a command takes a query, the syntax is in QUERY.md.
Commands
- Setup:
init,doctor,migrate,config,completion,import,demo,trust,notify test - Tickets:
add,templates,show,context,list,edit,move,assign,claim,release,block,answer,comment,attach,checkpoint,complete,link,unlink,rank,archive,restore,undo,open - Review:
verify,review,approve,request-changes,reject - Flow:
next,board,inbox,workspace,projects,standup,log,search,status,serve - Planning:
idea,plan,split,estimate,refine,plan show,plan edit,plan apply,plan discard,plan list,scan,docs list,docs show,docs pages,docs page,docs propose,docs accept,docs reject,brain,brain init,brain lint,brain index,brain search,brain read,brain write,brain rename,brain delete,brain capture,meeting,routine list,routine run - Sprints and releases:
sprint create,sprint edit,sprint start,sprint close,sprint show,sprint list,release create,release show,release ship,release list - Views:
view list,view save,view delete - Agents:
setup,mcp,agents,ask,do,start,chat-hook,work,runs,chats,prs,top,logs,stop,allow,deny,resume - Git:
sync,hooks install,hooks remove,badge,export,github setup,github action - Numbers:
stats,forecast,retro,scorecard
Global flags
Every command takes these, before or after its own arguments. A flag between the words of a text, as in clara comment 12 Run it with -q to see, is refused, since it could be either: quote the text to keep the flag in it, or put the flag after the text. Every word after -- is text, which keeps text that starts with a dash from reading as a flag: clara add -- "--help is broken". The words of a query are not text, so flags among them are flags.
| Flag | What it does |
|---|---|
--json |
Print data as JSON. |
--as <actor> |
Act as this person, or as agent:<name>. |
-q, --quiet |
Print only what was asked for: no hints, no warnings. |
--no-color |
No colour. Also off when NO_COLOR is set or output is not a terminal. |
--color |
Colour, even when output is not a terminal or NO_COLOR is set. |
-C <folder> |
Run as if Clara was started in this folder. |
-h, --help |
Show help for a command. |
Colour is on when output goes to a terminal. NO_COLOR set to anything but the empty string turns it off, FORCE_COLOR turns it on for a pipe (except FORCE_COLOR=0 or false), and --color or --no-color on the command line wins over both.
Without --as, Clara acts as CLARA_ACTOR when that is set and not empty, and otherwise as the person git knows as user.name.
Output for scripts
With --json, a command prints one JSON value on stdout and nothing else. When it fails, it prints {"error": {...}} on stderr instead, with the fields code, kind, message, hint and sometimes details. The code is stable; scripts and agents should act on it, not on the message.
Output for people never sends a control character from the board to the terminal: anything but Clara's own colour codes, line feeds and tabs is shown in caret notation, as ^[ or ^M.
Exit codes
| Code | Kind | Meaning |
|---|---|---|
| 0 | It worked. | |
| 1 | error |
Something is missing or broken: no board here, a file that does not parse. |
| 2 | usage |
The command was malformed: an unknown flag, a missing argument, a bad id. |
| 3 | refused |
A rule of the board said no: a claim held by someone else, a WIP limit. |
Setup
clara init
Set up a board in this repository.
clara init [flags]
Creates .clara/ with the board settings, finds the checks your project already runs, the install its lockfiles pin, which each agent run makes first in its worktree, and the agent CLIs on this machine, and asks what it needs. Tickets nobody is assigned go to an agent it found, Claude Code first, as one routing rule. In a repository with no origin remote, approving merges the work into this checkout instead of opening a pull request. A Beads or Backlog.md board kept in the repository is offered for import at a terminal and named otherwise; nothing is imported unasked. With --yes, or with no terminal to ask in, it takes the defaults and the flags given. Commit .clara/ to share the board.
| Flag | What it does |
|---|---|
--key <text> |
Ticket prefix, 2 to 8 letters: GEN makes GEN-1. |
--name <text> |
The project name. Default: the folder name. |
--workspace <text> |
Keep the board in this workspace folder, with other projects, and point the repository at it with .clara.json. Made when it does not exist; with --key naming a project the workspace has, the repository joins it. |
--template <template> |
Start from a project template: starting work-in-progress limits, ticket templates (bug, feature, chore) and a view. hackathon also adds an epic and its stories for a 48-hour build. The checks and setup are still found as without one. One of web, library, cli, hackathon. |
--private |
Keep the board on this machine: adds .clara/ to the repository's .gitignore and sets brain.private, so git leaves the board out. clara config brain.private false shares it again. |
-y, --yes |
Take every default without asking. |
clara init
clara init --private
clara init --key WEB --name "Web app" --yes
clara init --template hackathon --yes
clara init --workspace ../boards --key WEB
Runs project.init.
clara doctor
Find what a merge or a hand edit broke, and repair it with --fix.
clara doctor [flags]
Reads every file of the board and lists what is wrong: merge conflicts, files that do not parse, two tickets with one id, references to tickets that are gone, dependency loops, stale claims, tickets that disagree with the log, and settings Clara does not know, such as a mistyped one. --fix repairs what it can without guessing and says what it left for you.
| Flag | What it does |
|---|---|
--fix |
Repair what can be repaired. |
clara doctor
clara doctor --fix
Runs doctor.check, doctor.fix.
clara migrate
Upgrade the board format.
clara migrate [flags]
Rewrites a board made by an older Clara in the current format, one version at a time, and records what changed. Commit before running it, so the change is easy to review.
| Flag | What it does |
|---|---|
--dry-run |
Say what would change, and change nothing. |
clara migrate --dry-run
clara migrate
Runs project.migrate.
clara config
Show or change the board settings.
clara config [key] [value] [flags]
With no key, prints every setting. With a key, prints its value. With a key and a value, changes it; a value in JSON sets a list or an object. --unset puts a setting back to its default.
| Flag | What it does |
|---|---|
--unset |
Remove the setting. |
clara config
clara config review.mode
clara config review.mode agent
clara config wip_limits.in_progress 3
clara config wip_limits.in_progress --unset
clara config brain.private true
Runs config.get, config.set.
clara completion
Print a shell completion script for bash, zsh or fish.
clara completion <shell>
Prints a completion script for your shell. Load it from your shell's startup file, as the examples show, and Tab completes commands, flags and ticket ids.
clara completion bash >> ~/.bashrc
echo 'source <(clara completion zsh)' >> ~/.zshrc
clara completion fish > ~/.config/fish/completions/clara.fish
clara import
Make tickets from another tool's export: GitHub, Jira, Linear, Trello and more.
clara import <source> <path> [flags]
Reads an export of GitHub Issues (gh issue list --json ...), Backlog.md (its backlog folder), Vibe Kanban, Beads (.beads/issues.jsonl), Jira or Linear (CSV) or Trello (the board's JSON) and shows the tickets it would make, the items it would skip and why, and every value it changed to make an item fit. Nothing is written until --apply. Each ticket keeps its status, done and in progress included, and its parent and dependencies become ticket ids. Each carries the source and its id in origin, so importing a newer export later makes only what is new. Symbolic links are not followed.
| Flag | What it does |
|---|---|
--apply |
Make the tickets; without it the import only shows what it would do. |
clara import jira issues.csv
clara import backlog-md backlog --apply
gh issue list --state all --json number,title,body,state,labels,assignees > issues.json && clara import github issues.json
Runs board.import.
clara demo
Watch scripted agents work a made-up project, labelled a simulation.
clara demo [flags]
Makes a small made-up project, Ledger, with a board, in a temporary folder, and works it with Clara’s own work loop and a scripted agent that ships with Clara: no keys, no agent CLI and no model are needed, and nothing leaves this machine. The agents claim tickets and work each in a worktree of its own, one asks its lead a question, the checks fail once and pass on the second try, and each ticket reaches review and is merged; then the checks run on the merged work. The board opens in your browser, saying on every screen that it is a simulation, and stays open until Ctrl-C. --headless prints what happens instead, as CI runs it, and exits 1 if the checks fail at the end. The folder is removed at the end, unless --keep.
| Flag | What it does |
|---|---|
--headless |
Open no browser: print what happens, as fast as it can, and end. |
--keep |
Keep the temporary folder at the end, and say how to look around it. |
--port <n> |
The port for the board, or 0 for any free one. Default: 25272, or the next free. |
clara demo
clara demo --headless
clara demo --keep
Runs project.init, config.set, ticket.create, ticket.move, ticket.claim, ticket.block, ticket.answer, ticket.complete, ticket.review, ticket.approve, run.start, run.finish.
clara trust
Read the commands this board runs, and trust them on this machine.
clara trust [flags]
Checks and setup commands come from the repository's settings, so Clara runs none of them until you have read them and said yes on this machine. It asks again whenever they change. Only a person can trust them: an agent can read them and take trust away, but not give it. The answer is stored under CLARA_HOME, never in the repository.
| Flag | What it does |
|---|---|
-y, --yes |
Trust them without asking, once you have read them. For scripts and CI. |
--revoke |
Stop trusting them on this machine. |
clara trust
clara trust --yes
clara trust --revoke
Runs config.get.
clara notify test
Send a test message to the board's webhooks.
clara notify test [flags]
Sends each webhook in the board's notify settings a message saying it is a test, in the format it is set to (json, slack, discord or telegram), and says for each whether it was taken. A webhook sends what tickets say to an address the repository names, so, like a check, it sends nothing until you have trusted it on this machine with clara trust. An address written env:NAME is read from that environment variable. Clara names a webhook by its host or its variable, never by its whole address, whose path is usually its secret. See docs/NOTIFICATIONS.md.
| Flag | What it does |
|---|---|
--target <n> |
Test only this webhook: its number in the list, from 1. |
clara notify test
clara notify test --target 2
Runs config.get.
Tickets
clara add
Create a ticket.
clara add <title...> [flags]
Adds a ticket with the next free id. People create in todo by default, agents in the backlog, where a person decides when it is ready. A ticket template gives it a starting type, priority, labels and body; what is given here wins.
| Flag | What it does |
|---|---|
--template <text> |
A ticket template in .clara/templates, by name, such as bug. The ticket starts with its type, priority, points, labels, epic, release and body; what is given here wins, and labels and criteria are added to its own. |
-t, --type <type> |
epic, story, task, bug, chore or spike. Default: the template's type, or task. |
-p, --priority <priority> |
p0 is the most urgent, p3 the least. Default: the template's priority, or p2. One of p0, p1, p2, p3. |
--status <status> |
Where the ticket starts: backlog or todo. |
--points <n> |
An estimate of size. |
-a, --assignee <text> |
A person by name, or an agent as agent:<name>. |
-l, --labels <a,b,...> |
Labels, such as auth or billing. Separate them with commas. |
--epic <text> |
The epic this belongs to. |
--parent <text> |
The ticket this is a part of. |
--sprint <text> |
The sprint: 3 or S3. |
--release <text> |
The release, such as v0.3.0. |
--depends-on <a,b,...> |
Tickets that must be done first. Separate them with commas. |
--due <text> |
The due date, YYYY-MM-DD. |
--model <text> |
The Claude model to work on it with: haiku, sonnet, opus, fable or a claude- model id. clara start uses it. |
--effort <effort> |
How hard Claude thinks on it: low, medium, high, xhigh or max. clara start uses it. |
--repos <a,b,...> |
The repositories its work is in, by name such as acme/api or https address. Separate them with commas. |
-d, --description <text> |
What the work is and why, in Markdown. With a template, it replaces the template's opening text and keeps its sections. |
--criteria <text> |
Acceptance criteria, one sentence each. Repeat the flag for each one. |
clara add "Send sign-in links by email"
clara add Fix the flaky upload test -t bug -p p1 -l ci,tests
clara add "Expire links" --depends-on 12 --points 2
clara add "Upload fails on large files" --template bug -p p0
Runs ticket.create.
clara templates
List ticket templates.
clara templates
The ticket templates in .clara/templates, by name: the type, priority, points, labels, epic and release a ticket made from each starts with, and its body. ticket.create takes one by name.
clara templates
clara templates --json
Runs template.list.
clara show
Show a ticket.
clara show <id>
One ticket, live or archived, with what it waits for, what waits for it, its acceptance criteria, the commits and branches clara sync linked to it and, for an epic, its progress.
clara show 12
clara show GEN-12 --json
Runs ticket.get.
clara context
Gather what a ticket needs, as an agent reads it.
clara context <id> [flags]
Everything worth reading before starting a ticket, within a size budget in characters: the ticket, its criteria and handoff note, open review notes, answered questions, what each dependency delivered and which files it changed, the epic, the accepted playbooks and decisions that bear on it, what the brain says is happening now and its notes that bear on it, the conventions, the opening of the idea, recent comments and the checks. Built from links, the epic, labels, the files work touched and the activity log; nothing is guessed. When something does not fit, omitted says what was left out.
| Flag | What it does |
|---|---|
--budget <n> |
How much board text to gather, in characters (about four to a token). Default 16000. |
clara context 12
clara context GEN-12 --budget 8000
Runs ticket.context.
clara list
List tickets.
clara list [query...] [flags]
clara ls [query...] [flags]
Tickets that match a query (see docs/QUERY.md), in the order it asks for. Without a query, every live ticket by priority and rank.
| Flag | What it does |
|---|---|
--archived |
Look at archived tickets too. |
--view <text> |
Use the query of a saved view. |
clara list
clara list status:todo assignee:me
clara list "type:bug or label:urgent" sort:-priority
clara list --view mine
Runs ticket.list.
clara edit
Edit a ticket.
clara edit <id> [flags]
Changes the fields given and leaves the rest. null clears a field. Status, assignee and links have their own operations, so the log says what happened in words. An agent rewrites the body of a ticket nobody holds or one it holds, acceptance criteria included, and keeps the handoff note as it is; it names a branch or pull request only on a ticket it holds and has not handed in, since those say what approving lands. With base, the body the edit started from, it refuses when someone has changed the body since, so neither change is lost. With refine, or when an agent rewrites the title or description of a raw ticket, the first wording is kept in the ticket's "Original" section, which no edit changes. The event records the old and new value of each field that changed, and why, the reason given.
| Flag | What it does |
|---|---|
--title <text> |
A new title. |
-t, --type <type> |
epic, story, task, bug, chore or spike. |
-p, --priority <priority> |
p0 is the most urgent, p3 the least. One of p0, p1, p2, p3. |
--points <n> |
An estimate of size. none clears it. |
-l, --labels <a,b,...> |
Replace every label with these. Separate them with commas. |
--add-labels <a,b,...> |
Labels to add. Separate them with commas. |
--remove-labels <a,b,...> |
Labels to remove. Separate them with commas. |
--epic <text> |
The epic this belongs to. none clears it. |
--parent <text> |
The ticket this is a part of. none clears it. |
--sprint <text> |
The sprint: 3 or S3. none clears it. |
--release <text> |
The release, such as v0.3.0. none clears it. |
--due <text> |
The due date, YYYY-MM-DD. none clears it. |
--branch <text> |
The git branch with the work. none clears it. |
--pr <text> |
The pull request: a number or a URL. none clears it. |
--model <text> |
The Claude model to work on it with: haiku, sonnet, opus, fable or a claude- model id. clara start uses it. none clears it. |
--effort <effort> |
How hard Claude thinks on it: low, medium, high, xhigh or max. clara start uses it. none clears it. |
--repos <a,b,...> |
The repositories its work is in; an empty list or null clears them. Separate them with commas. none clears it. |
--body <text> |
The whole Markdown body of the ticket, replacing what is there. |
--base <text> |
The body the edit started from. When the body is no longer this, nothing is saved. |
--refine |
True when this edit refines the ticket: the first time, the title and text as they were are kept in its "Original" section, and it is no longer raw. |
--why <text> |
Why the change was made, in the words of the person who asked for it. |
clara edit 12 --title "Send sign-in links"
clara edit 12 -p p1 --add-labels auth
clara edit 12 --sprint none
clara edit 12 --sprint S2 --why "Waiting on the design review"
Runs ticket.update.
clara move
Move a ticket.
clara move <id> <to> [flags]
Changes a ticket's status. People may make any move. Agents follow the table in docs/SPEC.md (D2): a move to in_progress claims, a move back to todo releases, and review is reached only through complete.
| Flag | What it does |
|---|---|
--why <text> |
Why the change was made, in the words of the person who asked for it. |
clara move 12 todo
clara move 12 in_review
clara move 12 backlog --why "Not needed for the launch"
Runs ticket.move.
clara assign
Assign a ticket.
clara assign <id> <assignee>
Gives a ticket to a person or an agent, or takes it back with null. The status does not change.
clara assign 12 ada
clara assign 12 agent:claude
clara assign 12 none
Runs ticket.assign.
clara claim
Claim a ticket.
clara claim <id>
Takes a ticket and starts it in one step: sets you as the assignee and moves it to in_progress. Refused when someone else holds it, a dependency is not done, a WIP limit is reached, or (for agents) it is still in the backlog. Of two claims at the same moment, exactly one succeeds.
clara claim 12
Runs ticket.claim.
clara release
Release a ticket.
clara release <id> [note...]
Gives a ticket back: clears the assignee and, if it was started, returns it to todo so someone else can claim it. Agents can only release what they hold.
clara release 12
clara release 12 Out of time today; the tests are written
Runs ticket.release.
clara block
Block a ticket on a question.
clara block <id> <reason...> --question <text>
Stops work on a ticket in progress until someone answers one question. Records the reason and the question, moves it to blocked, and puts it in the "needs you" list.
| Flag | What it does |
|---|---|
--question <text> |
The question a person must answer before the work can go on. Required. |
clara block 12 "The expiry is not decided" --question "How long should a link live?"
Runs ticket.block.
clara answer
Answer a blocked ticket.
clara answer <id> <answer...>
Answers the question a blocked ticket asks and resumes it: the answer goes on the timeline and the ticket returns to in_progress with the same holder.
clara answer 12 Fifteen minutes
Runs ticket.answer.
clara comment
Comment on a ticket.
clara comment <id> <text...>
Adds a comment to the ticket's timeline. Mentioning @name puts the ticket in that person's "needs you" list until they act on it.
clara comment 12 "Use the existing mailer, @ada knows it"
Runs ticket.comment.
clara attach
Attach an image to a ticket, and print the Markdown that shows it.
clara attach <id> <file>
Saves a PNG, JPEG, GIF or WebP image of at most 3 MB in .clara/attachments/<ticket id>/ and prints the Markdown that shows it, such as , to put in the ticket's description or a comment. The type is read from the file's bytes, not its name, and SVG and every other type is refused. The file is saved under a slug of its name, and a name the ticket already has gets -2, -3 and so on. In the web app, pasting or dropping an image into a ticket does the same.
clara attach 12 "Screen Shot.png"
Runs attachment.add.
clara checkpoint
Save a handoff.
clara checkpoint <id> [handoff...] [flags]
Rewrites the ticket's Handoff section so a fresh session, or someone else, can carry on: what is done, what is next, what to watch out for. Can tick acceptance criteria by number, starting at 1.
| Flag | What it does |
|---|---|
--done <n,...> |
Numbers of the acceptance criteria that are now met. Separate them with commas. |
--undone <n,...> |
Numbers of the acceptance criteria that are no longer met. Separate them with commas. |
clara checkpoint 12 "Links send; expiry is next" --done 1,2
Runs ticket.checkpoint.
clara complete
Send a ticket to review.
clara complete <id> <summary...> [flags]
Finishes work on a ticket in progress: records a summary of what was done and moves it to in_review. When the board has checks, the newest recorded run must have run every one of them on the commit given, and each must have passed, or it is refused with a hint to run clara verify.
| Flag | What it does |
|---|---|
--commit <text> |
The commit with the work. |
--branch <text> |
The git branch with the work. |
--pr <text> |
The pull request: a number or a URL. |
clara complete 12 "Links expire after 15 minutes" --pr 41
Runs ticket.complete.
clara link
Link two tickets.
clara link <id> <kind> <target>
depends_on makes a ticket wait for another (loops are refused). relates and duplicates are notes for people.
clara link 13 depends_on 12
clara link 13 relates 9
Runs ticket.link.
clara unlink
Remove a link between two tickets.
clara unlink <id> <kind> <target>
Removes a depends_on, relates or duplicates link. Removing a missing link does nothing.
clara unlink 13 depends_on 12
Runs ticket.unlink.
clara rank
Reorder a ticket.
clara rank <id> [flags]
Moves a ticket in the one order every list shares: just before or after another ticket of any status, or to the top or bottom of its own column. The board shows each column in this order and the backlog each sprint. Rank decides what is picked first among equal priorities.
| Flag | What it does |
|---|---|
--before <text> |
Put it just above this ticket. |
--after <text> |
Put it just below this ticket. |
--position <position> |
top or bottom of the backlog. |
clara rank 12 --before 9
clara rank 12 --position top
Runs ticket.rank.
clara archive
Archive a ticket.
clara archive <id>
Moves a ticket to archive/. It leaves the board and lists but keeps its history. A done ticket still counts as a finished dependency; an unfinished one does not, so the tickets that depend on it keep waiting, and the warning names them. restore brings it back.
clara archive 12
Runs ticket.archive.
clara restore
Restore an archived ticket.
clara restore <id>
Brings an archived ticket back to the board, as it was when it was archived.
clara restore 12
Runs ticket.restore.
clara undo
Undo your last change.
clara undo [flags]
Puts back the files your last change on this machine wrote, when nothing has changed them since, and records an undone event. Up to 50 changes back. With change, it takes back that change instead of the last one.
| Flag | What it does |
|---|---|
--change <text> |
The change to take back, by the id of its first event; clara log --json shows the ids. Without it, your last change. |
clara undo
Runs activity.undo.
clara open
Open a ticket file in your editor.
clara open <id>
Opens the ticket's Markdown file in $VISUAL or $EDITOR. Without a terminal it prints the file's path instead, for a script to use. A ticket whose file cannot be read opens too, with a warning saying why, since editing the file is how it gets fixed.
clara open 12
EDITOR=nano clara open 12
Runs ticket.get.
Review
clara verify
Run the board's checks on the current commit and record the results.
clara verify <id>
Runs each check from the board's settings in this checkout, in order, and records the results on the ticket for the commit it is on. When the board has checks, clara complete needs a passing run for that commit. The checkout must have no uncommitted changes outside .clara. The commands run only once they are trusted; see clara trust. The board keeps the end of a failing check's output, with tokens and the values of secret environment variables hidden, and nothing of a passing one.
clara verify 12
Runs config.get, ticket.get, verify.record.
clara review
Show what a ticket handed in.
clara review <id>
Shows what a ticket handed in for review: the summary, the commit and branch, the checks recorded on that commit with the end of any failing output, the acceptance criteria, the files the branch changes against the base branch, and what reviewers said since. It changes nothing.
clara review 12
clara review 12 --json
Runs ticket.review, config.get.
clara approve
Approve work in review.
clara approve <id> [note...]
Approves a ticket in review and moves it to done, then lands the work as the board's conductor.on_approve says: pr pushes the branch to origin and opens a pull request with GitHub's gh, its body made from the ticket; merge merges the branch into the base branch in this checkout, which must be on the base branch with nothing uncommitted; none lands nothing. Anything that would stop the landing is found before the approval is recorded. When landing fails part way, the approval stands, and approving again lands it. An agent's approval lands nothing.
clara approve 12
clara approve 12 Nice and small
Runs ticket.approve, ticket.review, config.get, ticket.update, ticket.comment.
clara request-changes
Send work back for changes.
clara request-changes <id> <note...>
Returns a ticket in review to in_progress with a note on what to change. The holder keeps it.
clara request-changes 12 "Links must not work twice"
Runs ticket.request_changes.
clara reject
Reject work in review.
clara reject <id> <note...> [flags]
Rejects a ticket in review: it goes back to todo with no one on it, and the note says why. The worktree of its run and the branch Clara made for it are deleted, after a yes; a branch a person named is kept. Use --keep to keep both.
| Flag | What it does |
|---|---|
-y, --yes |
Delete the run's worktree and branch without asking. For scripts. |
--keep |
Keep the worktree and the branch. |
clara reject 12 "We are not doing email sign-in after all"
Runs ticket.reject, ticket.review.
Flow
clara next
Find the next ticket to work on.
clara next [flags]
The best ready ticket for whoever asks: in todo, every dependency done, free or already theirs; the active sprint first, then priority, then rank. It does not claim it. raw counts the tickets written by hand that nobody has refined yet.
| Flag | What it does |
|---|---|
-n, --limit <n> |
How many tickets to suggest, best first. Default 1. |
clara next
clara next -n 5
Runs ticket.next.
clara board
Show the board in columns.
clara board [query...] [flags]
Prints one column per status with its tickets in rank order, and only the first ten of backlog and done. A query narrows it, the same as for clara list. With --watch, the board stays open and is drawn again whenever it changes, from a command, an agent or a git pull: on a terminal it fills the window, says what it left out when the board is taller, and q or Ctrl-C ends it; in a pipe, each change prints the whole board again, or with --json one line of JSON. With --at, the board as it stood at a past moment, replayed from the log: each ticket with its status, title, assignee and points then, in number order.
| Flag | What it does |
|---|---|
--watch |
Keep the board open, and draw it again whenever it changes. |
--at <text> |
Show the board at a past moment: a date, meaning the end of that day in UTC, or a time such as 2026-11-12T15:00:00Z. |
clara board
clara board sprint:active
clara board label:auth
clara board --watch
clara board --at 2026-11-12
Runs ticket.list, board.at.
clara inbox
Show what needs you.
clara inbox
What is waiting on you: blocked tickets with a question, work in review you can approve, and comments that mention you that you have not acted on.
clara inbox
Runs activity.inbox.
clara workspace
Every project in the workspace: in progress, blocked, needs you.
clara workspace
In workspace mode, lists each project of the workspace with its tickets in progress, the blocked ones, and what needs you there: questions to answer, work to review and mentions. Run it in a repository whose .clara.json points at a workspace, or in the workspace folder.
clara workspace
clara workspace --json
Runs board.get, activity.inbox.
clara projects
Every Clara project on this machine, newest first.
clara projects [flags]
Lists every Clara project a command has read on this machine, the one used last first, each with its tickets by status, its active sprint and what needs you there. It finds them from the cache Clara keeps of each board, so a project shows once any command has run in it, and a folder since deleted is left out. With --open, the board here, or the one used last, opens in your browser at the list of projects, where each one opens on a port of its own, from the same clara serve.
| Flag | What it does |
|---|---|
--open |
Open the list in your browser, served as clara serve --open serves a board. It runs until Ctrl-C. |
clara projects
clara projects --open
clara projects --json
Runs board.get, activity.inbox.
clara standup
What was done, what is in progress and what is stuck.
clara standup [flags]
Lists what was done in the period, 24h unless --since says otherwise, then what waits for review, what is in progress, and what is blocked and on what question. With --save it also files the standup in the brain, in today’s daily note, linked to each ticket.
| Flag | What it does |
|---|---|
--since <text> |
How far back to look: a duration such as 24h or 3d. Default 24h. |
--save |
Also write it into today’s daily note in the brain, daily/<date>.md. |
clara standup
clara standup --since 3d
clara standup --save
Runs project.standup, brain.capture.
clara log
Show the activity log.
clara log [ticket] [flags]
What happened on the board, newest first: every event, or those of one ticket. Undone events are left out; the undo itself is shown. A ticket clara doctor renumbered keeps the creation it was made with; anything else done to the shared number before the repair stays with the ticket that kept the number, since the log cannot tell which branch did it.
| Flag | What it does |
|---|---|
--actor <text> |
Only events by this person or agent. |
-n, --limit <n> |
How many events, newest first. Default 50. |
clara log
clara log 12
clara log --actor agent:claude -n 20
Runs activity.list.
clara search
Find tickets by the words in their id, title or description.
clara search <text...> [flags]
Finds tickets whose id, title or description contains every word given, each anywhere and in any case. Archived tickets are left out unless you add --archived.
| Flag | What it does |
|---|---|
--archived |
Search archived tickets too. |
clara search sign-in link
clara search --archived mailer
Runs ticket.list.
clara status
Show the board.
clara status
The board at a glance: its name and key, how many tickets are in each status, the active sprint, the review mode, and any files that could not be read.
clara status
Runs project.show.
clara serve
Open the board in a browser, from this machine only.
clara serve [flags]
Starts the board’s web app on 127.0.0.1, port 25272 or the next free one, and prints a link that carries a fresh key. The browser that opens the link can read and change the board as you; any other program or user on this machine, and every other website, is refused. The page follows the board as it changes, from the commands, an agent or a git pull, without reloading. It runs until Ctrl-C. An agent may start it only with --open: the page then acts for the person at this machine, and the link with the key goes to their browser alone, never to the agent. docs/SECURITY-MODEL.md says what it guards against.
| Flag | What it does |
|---|---|
--port <n> |
The port to listen on, or 0 for any free one. Default: 25272, or the next free. |
--open |
Open the board in your browser as well, through a file only you can read, so the key never appears in its arguments. The one way an agent may start the board: for you, and without the link. |
clara serve
clara serve --open
clara serve --port 8080 --json
Runs board.get, activity.list.
Planning
clara idea
Show the idea, or save a file as the idea.
clara idea [flags]
Prints .clara/idea.md: what the project is for, who it is for and what it must do, in the words of the people who own it. clara plan plans from it, and every agent reads its opening before it starts. With --from, the text of a Markdown file becomes the idea, or standard input with --from -. The idea is a plain file, so writing .clara/idea.md in your editor does the same.
| Flag | What it does |
|---|---|
--from <text> |
A Markdown file whose text becomes the idea; - reads standard input. |
clara idea
clara idea --from notes/idea.md
pbpaste | clara idea --from -
Runs idea.get, idea.update.
clara plan
Ask an agent for a plan from the idea, to review and apply.
clara plan [flags]
Starts an agent, read-only, with the idea, the tickets on the board and the accepted playbooks and decisions, and asks it for a plan: epics, stories with acceptance criteria, sizes, labels and dependencies, a suggested split into sprints, the risks and the open questions. The plan is kept on this machine, in .clara/.local, and nothing reaches the board until you apply it: read it with clara plan show, change or leave out items with clara plan edit, then clara plan apply creates everything in one commit. With --update, the agent compares the idea with the board instead, and proposes what to add, what to change and which tickets are now obsolete. The agent is the one named with --agent, else the board's routing rule for every ticket, else claude. It can read the repository and the board and can change neither; a plan run counts toward conductor.daily_budget_usd and stops at the board's limits on time, turns and spend, and Ctrl-C stops it. Exits 0 when the agent proposed a plan.
| Flag | What it does |
|---|---|
--update |
Compare the idea with the board and propose what to add, change and archive. |
--agent <text> |
The agent that plans, by name, such as claude. |
--model <text> |
The model it uses, instead of its profile's. |
clara plan
clara plan --update
clara plan --agent claude --model opus
Runs idea.get, knowledge.list, plan.show.
clara split
Ask an agent to split a large ticket into smaller ones, to review and apply.
clara split <id> [flags]
Starts an agent, read-only, with the ticket, the tickets under it already and the idea's opening, and asks it to split the ticket into stories of 1 to 5 points, each with acceptance criteria and what it waits for, and to say why it splits it that way. The split is a plan, reviewed like any: read it with clara plan show, change or leave out pieces with clara plan edit, then clara plan apply creates them in one commit, each a child of the ticket (parent), or a story of it when the ticket is an epic, and in the ticket's epic. The ticket itself is left as it is. The agent is chosen, held to read-only, limited and stopped as for clara plan. Exits 0 when the agent proposed a split.
| Flag | What it does |
|---|---|
--agent <text> |
The agent that splits it, by name, such as claude. |
--model <text> |
The model it uses, instead of its profile's. |
clara split 12
clara split GEN-12 --agent claude
Runs idea.get, knowledge.list, plan.show.
clara estimate
Ask an agent to size tickets, each with its reason, to review and apply.
clara estimate [ids...] [flags]
Starts an agent, read-only, with the tickets to size and some already sized for scale, and asks it for points for each, with the reason for each size. With no ids, it sizes every ticket in backlog and todo that has no size yet, epics aside, up to 100. The sizes are a plan of changes, reviewed like any: read them with clara plan show, change one with clara plan edit <id> --points <n> or leave it out, then clara plan apply sets them in one commit. The agent is chosen, held to read-only, limited and stopped as for clara plan. Exits 0 when the agent proposed sizes.
| Flag | What it does |
|---|---|
--agent <text> |
The agent that sizes them, by name, such as claude. |
--model <text> |
The model it uses, instead of its profile's. |
clara estimate
clara estimate 12 14 15
clara estimate --agent claude
Runs idea.get, knowledge.list, plan.show.
clara refine
Ask an agent to rewrite tickets people wrote, with acceptance criteria, to review and apply.
clara refine [ids...] [flags]
Starts an agent, read-only, with the tickets to refine and the code they touch, and asks it for a plain description and acceptance criteria for each, with the reason. With no ids, it refines every ticket in backlog and todo that nobody holds and nobody has refined, with no acceptance criteria, up to 20. The rewrites are a plan of changes, reviewed like any: read them with clara plan show, change or leave one out with clara plan edit, then clara plan apply sets them in one commit and keeps what each person first wrote in the ticket's "Original" section. The board's "Refine with Claude" button runs it in a terminal. Exits 0 when the agent proposed rewrites.
| Flag | What it does |
|---|---|
--agent <text> |
The agent that refines them, by name, such as claude. |
--model <text> |
The model it uses, instead of its profile's. |
clara refine
clara refine 12
clara refine 12 14 --model haiku
Runs idea.get, knowledge.list, plan.show.
clara plan show
Show a plan.
clara plan show [id]
One plan as proposed and edited, what stops it from being applied, and the tickets on the board it names. Left out, the newest plan waiting for review.
clara plan show
clara plan show 01JDQ3
clara plan show --json
Runs plan.show.
clara plan edit
Edit a plan.
clara plan edit <item> [flags]
Changes one item of a plan in review, or leaves it out with skip. null clears points, the epic, the parent or the sprint. Gives back the plan and what still stops it from being applied, which may be nothing.
| Flag | What it does |
|---|---|
--id <text> |
The plan: its id, or the first characters of it. Left out, the newest plan in review. |
--skip |
True leaves the item out when the plan is applied; false keeps it. |
--title <text> |
One line saying what the work is. |
--type <type> |
story, task, bug, chore or spike. |
--description <text> |
The new description, in Markdown. |
--criteria <text> |
Acceptance criteria, one sentence each, replacing the ones there; for a change, the ones it adds. Repeat the flag for each one. |
--points <n> |
An estimate of size. none clears it. |
--priority <priority> |
p0 is the most urgent, p3 the least. One of p0, p1, p2, p3. |
-l, --labels <a,b,...> |
Replace every label with these. Separate them with commas. |
--epic <text> |
The epic it belongs to: a ref in the plan, or an epic on the board. none clears it. |
--parent <text> |
The ticket on the board the story is part of; null makes it stand alone. none clears it. |
--depends-on <a,b,...> |
What it waits for, replacing what is there: refs in the plan, or tickets on the board. Separate them with commas. |
--sprint <n> |
The suggested sprint it goes in, by its number in the plan, from 1. none clears it. |
--model <text> |
The model the agent was told to use. none clears it. |
--effort <effort> |
How hard Claude thinks on it: low, medium, high, xhigh or max. clara start uses it. none clears it. |
--reason <text> |
Why the ticket changes, or is no longer needed. |
clara plan edit S4 --points 3
clara plan edit S7 --skip
clara plan edit S7 --no-skip
clara plan edit S2 --depends-on S1 --sprint 1
clara plan edit E2 --title "Billing and invoices"
clara plan edit GEN-9 --skip
Runs plan.edit.
clara plan apply
Apply a plan.
clara plan apply [id] [flags]
Puts a plan on the board in one commit: the suggested sprints that hold kept stories, then the epics, then the stories in the order of what they wait for, then the changes, then the obsolete tickets archived. Items left out are not applied. New tickets are ready, in todo, unless status says backlog. A plan is applied once. An agent applies one only when a person said to, and passes their words in said, which the log keeps.
| Flag | What it does |
|---|---|
--status <status> |
Where the new tickets go: todo, ready for work, or the backlog. |
--sprints |
False leaves the suggested sprints out, and the stories in no sprint. |
--said <text> |
The words in which the person said to apply it, as they wrote them. An agent must pass them. |
clara plan apply
clara plan apply --status backlog
clara plan apply --no-sprints
Runs plan.apply.
clara plan discard
Discard a plan.
clara plan discard [id]
Sets a plan in review aside without applying it. It stays on this machine, so clara plan list still shows it. Discarding one already discarded changes nothing.
clara plan discard
clara plan discard 01JDQ3
Runs plan.discard.
clara plan list
List plans.
clara plan list [flags]
The plans on this machine, newest first: those waiting for review, applied and discarded, with how much each holds.
| Flag | What it does |
|---|---|
--status <status> |
Only the plans in review, applied or discarded. Default: all of them. |
clara plan list
clara plan list --status review
Runs plan.list.
clara scan
Propose a ticket for each TODO and FIXME comment in the code.
clara scan [paths...] [flags]
Reads the files git tracks, or those in the files and folders named, and proposes a ticket for each comment whose first word is TODO or FIXME: //, #, /* */, <!-- --> and -- comments, as the file's language writes them. Nothing reaches the board until --apply: then each becomes a ticket in the backlog, a bug for a FIXME and a task for a TODO, titled with the comment's words and with its file and line in the description. Each ticket remembers its comment by the file and the comment's words, not the line, so scanning again proposes only comments that are new, and a comment whose ticket was archived is never proposed again. Files git ignores or does not track, links, the board's folder, binary files and files over 1 MB are not read. A TODO written inside a string in the code is found too, so read the proposal before applying it.
| Flag | What it does |
|---|---|
--apply |
Make the proposed tickets. |
clara scan
clara scan src lib
clara scan --apply
clara scan --json
Runs board.scan.
clara docs list
List playbooks and decisions.
clara docs list [flags]
The playbooks in .clara/playbooks and the decisions in .clara/docs/decisions, drafts that wait for a person first, then by kind and name. Only accepted notes reach an agent’s context pack.
| Flag | What it does |
|---|---|
--kind <kind> |
Only playbooks, or only decisions. Default: both. |
--status <status> |
Only drafts, or only accepted notes. Default: both. |
clara docs list
clara docs list --status draft
clara docs list --kind decision
Runs knowledge.list.
clara docs show
Read a playbook or decision.
clara docs show <kind> <name>
One note with its text, whether it is accepted or still a draft, and what it is about: tickets, labels and paths.
clara docs show playbook run-migrations
clara docs show decision tokens-are-hashed
Runs knowledge.get.
clara docs pages
List the conventions, specs and other pages.
clara docs pages
The Markdown pages people keep in .clara/docs beside the decisions: the conventions first, which every agent’s context pack carries, then specs, retros and the like by name. Each goes by its first heading.
clara docs pages
Runs knowledge.pages.
clara docs page
Read the conventions, a spec or another page.
clara docs page <name>
One page from .clara/docs, such as the conventions or a spec, with its text.
clara docs page conventions
clara docs page sign-in-spec
Runs knowledge.page.
clara docs propose
Propose a playbook or decision.
clara docs propose <kind> <title...> --body <text> [flags]
Writes a draft note for a person to accept: a playbook, how to do something in this project that you had to work out, or a decision, a choice made and why. Keep it short and specific. Name the tickets, labels and paths it is about, so it reaches the agents that need it once a person accepts it.
| Flag | What it does |
|---|---|
--body <text> |
The note, in Markdown. Short and specific: what to do or what was decided, and why. Required. |
--name <text> |
The file name without .md: letters, digits, dots, dashes and underscores. Default: made from the title. |
-l, --labels <a,b,...> |
Labels it bears on: tickets with one of them get the note in their context. Separate them with commas. |
--tickets <a,b,...> |
Tickets and epics it is about, and the work under them: 12, gen-12 or GEN-12. Separate them with commas. |
--files <a,b,...> |
Paths in the repository it is about: a file, a folder ending in /, or a pattern with * and , such as src//*.test.ts. Separate them with commas. |
clara docs propose playbook "Run the migrations" --files migrations/ -l db --body "Run npm run migrate before the tests; the test database starts empty."
clara docs propose decision "Sign-in tokens are stored hashed" --tickets 12 --body "Only the hash is kept, so a leaked table signs nobody in."
Runs knowledge.propose.
clara docs accept
Accept a playbook or decision.
clara docs accept <kind> <name>
Accepts a draft note, so it reaches the context packs of the agents it bears on. Accepting a note already accepted changes nothing.
clara docs accept playbook run-migrations
Runs knowledge.accept.
clara docs reject
Reject a draft playbook or decision.
clara docs reject <kind> <name> [flags]
Removes a draft note a person does not want, with the reason in the log. Git history keeps its text. An accepted note is not rejected: edit or delete its file instead.
| Flag | What it does |
|---|---|
--reason <text> |
Why it is not wanted, for the log. |
clara docs reject playbook run-migrations --reason "The README already says this"
Runs knowledge.reject.
clara brain
Count the notes in the project's second brain, by folder.
clara brain
Every note in .clara, from tickets to people, phases and conversations, with what each links to: the graph and the file tree of the project’s second brain.
clara brain
clara brain --json
Runs brain.map.
clara brain init
Start the second brain.
clara brain init
Lays down the first notes of the second brain, only where nothing is yet: Home, the map of the project; docs/status.md; a note for each person the board names; a note in each empty folder (phases, meetings, conversations, daily, notes) saying what goes there; a note for each repository the tickets name; index.md, the catalogue a chat reads first; and log.md, what was added and when. Running it again changes nothing that is there.
clara brain init
Runs brain.init.
clara brain lint
Check the second brain.
clara brain lint [flags]
What the brain has lost track of, what is broken first: links to pages not written, an index that lists pages gone or misses new ones, tickets in no epic, decisions no ticket names, labels on three or more tickets with no page, pages nothing links, and documents of the repository nothing links. Run it at the end of a sprint, and fix what it finds.
| Flag | What it does |
|---|---|
--limit <n> |
The most findings to give. |
clara brain lint
clara brain lint --json
Runs brain.lint.
clara brain index
Write the index.
clara brain index
Writes the catalogue in index.md again from the pages there are now, a line on each, and adds an entry to log.md. Only the part between the clara:index markers changes; what anyone wrote around it is kept.
clara brain index
Runs brain.index.
clara brain search
Search the second brain.
clara brain search [query...] [flags]
Finds notes by their words, the best first, each with a line around the first match. Every word must be in the note. in:people keeps to a folder, kind:decision to a kind of note, and tag:auth to a tag; an empty query lists the notes.
| Flag | What it does |
|---|---|
--limit <n> |
At most this many. |
clara brain search sign-in tokens
clara brain search in:people
clara brain search kind:decision cache
Runs brain.search.
clara brain read
Read a note.
clara brain read <path...>
One note of the second brain with its whole text, the notes it links to and the notes that link to it. Its version is what an edit passes back, so two people editing one note never overwrite each other. A note the board makes from its tickets, such as a label, has no text and no version until someone writes it; a document of the repository, under @repo/, is read only.
clara brain read docs/status.md
clara brain read phases/Phase 1
Runs brain.read.
clara brain write
Write a note.
clara brain write <path> --text <text> [flags]
Writes a note of the second brain, whole: a new one, or an edit of one you read, with the version that read gave, so nothing someone else wrote since is lost. Link other notes with [[wikilinks]] and name tickets by id. Tickets, sprints and releases change through their own commands; an agent proposes playbooks and decisions as drafts instead.
| Flag | What it does |
|---|---|
--text <text> |
The whole text of the note, in Markdown. Required. |
--version <text> |
The version brain.read gave. Leave it out only for a note that is new. |
clara brain write people/ada.md --text "# Ada
Owns [[sign-in]]."
clara brain write docs/status.md --text "..." --version <the version brain read gave>
Runs brain.write.
clara brain rename
Rename or move a note.
clara brain rename <path> <to> [flags]
Gives a note a new name or folder, and points every [[link]] to it at the new place, in one change. A link written in a note the caller may not write, such as a ticket, is left and listed. An agent passes the version brain.read gave.
| Flag | What it does |
|---|---|
--version <text> |
The version brain.read gave; an agent always passes it. |
clara brain rename people/ada.md people/ada-lovelace.md
clara brain rename "phases/Phase 1" "phases/Sign-in"
Runs brain.rename.
clara brain delete
Delete a note.
clara brain delete <path> [flags]
Deletes a note of the second brain. The notes that link to it are listed, as their links now lead nowhere; git keeps the note, and Undo puts it back. An agent passes the version brain.read gave.
| Flag | What it does |
|---|---|
--version <text> |
The version brain.read gave; an agent always passes it. |
clara brain delete notes/old-idea.md
Runs brain.delete.
clara brain capture
Write down a meeting, a chat or the day.
clara brain capture <kind> [title...] --text <text> [flags]
Files what was said in the second brain, where every chat and person finds it: a meeting (planning, standup, review, retro, demo, one-on-one) in meetings/, a chat in conversations/, or the day in daily/<date>.md. The note gets front matter, a heading and links to the people and tickets named, and a line in log.md. Capturing the same title on the same day again adds to that note instead of starting another. Decisions are proposed with docs propose decision, which a person accepts.
| Flag | What it does |
|---|---|
--type <type> |
For a meeting: planning, standup, review, retro, demo, one-on-one or other. |
--people <a,b,...> |
Who was there: people by name, agents as agent:<name>. Separate them with commas. |
--tickets <a,b,...> |
Tickets it was about, by id. Separate them with commas. |
--text <text> |
What was said and decided, in Markdown. Required. |
--date <text> |
The day it happened. Default: today. |
clara brain capture daily --text "Shipped sign-in. Billing next."
clara brain capture conversation "Why links expire" --tickets 12 --text "..."
Runs brain.capture.
clara meeting
Write down a meeting in the brain.
clara meeting <title...> [flags]
Files a meeting in .clara/meetings/<date>-<title>.md with who was there and the tickets it was about, linked, so every chat and person reads it later. The notes come from --text, a Markdown file with --from, or standard input with --from -. Capturing the same title on the same day adds to that note.
| Flag | What it does |
|---|---|
--type <type> |
planning, standup, review, retro, demo, one-on-one or other. |
--with <a,b,...> |
Who was there, by name: ana,raj,agent:claude. Separate them with commas. |
--tickets <a,b,...> |
Tickets it was about: 12,14. Separate them with commas. |
--text <text> |
The notes, in Markdown. |
--from <text> |
A Markdown file of notes; - reads standard input. |
--date <text> |
The day it happened, such as 2026-11-27. |
clara meeting "Sprint 2 planning" --type planning --with ana,raj --from notes.md
pbpaste | clara meeting "Standup" --type standup --from -
Runs brain.capture.
clara routine list
List the routines.
clara routine list
The board's routines, each with the occurrence due now, the ticket made for it (or none yet) and when the next one is due. Days are UTC dates.
clara routine list
Runs routine.list.
clara routine run
Make the tickets routines are due.
clara routine run [name] [flags]
Makes a ticket for each routine whose current occurrence has none, live or archived, and leaves the others alone, so it is safe to run as often as you like. Give name for one routine. The ticket is in todo, made by whoever runs it, with the routine in its origin.
| Flag | What it does |
|---|---|
--dry-run |
Say what would change, and change nothing. |
clara routine run
clara routine run deps-audit --dry-run
Runs routine.run.
Sprints and releases
clara sprint create
Plan a sprint.
clara sprint create [name...] [flags]
Adds a planned sprint with the next free number. Add tickets with clara edit <id> --sprint.
| Flag | What it does |
|---|---|
--goal <text> |
What the sprint is for, in one sentence. |
--start <text> |
The first day, YYYY-MM-DD. |
--end <text> |
The last day, YYYY-MM-DD. |
clara sprint create "Sign-in week" --goal "People can sign in" --end 2026-12-04
Runs sprint.create.
clara sprint edit
Edit a sprint.
clara sprint edit <id> [flags]
Changes a sprint's name, goal or dates. null clears the goal or a date. The event records the old and new name, goal and dates, and why, the reason given.
| Flag | What it does |
|---|---|
--name <text> |
The new sprint name. |
--goal <text> |
What the sprint is for, in one sentence. none clears it. |
--start <text> |
The first day, YYYY-MM-DD. none clears it. |
--end <text> |
The last day, YYYY-MM-DD. none clears it. |
--notes <text> |
Notes on the sprint, in Markdown. |
--why <text> |
Why the change was made, in the words of the person who asked for it. |
clara sprint edit 3 --goal "People can sign in and out"
Runs sprint.update.
clara sprint start
Start a sprint.
clara sprint start <id>
Makes a planned sprint the active one and records its commitment: the open tickets and points in it right now. Only one sprint is active at a time. A planning note with the goal and the commitment goes to meetings/ in the brain, unless brain.remember is false.
clara sprint start 3
Runs sprint.start.
clara sprint close
Close the active sprint.
clara sprint close [id] [flags]
Ends the active sprint: records what was done, writes a short report into the sprint, and takes unfinished tickets out of it, or carries them into a planned sprint. Their status does not change. A retro note with the numbers, and room for what went well and what to change, goes to meetings/ in the brain, unless brain.remember is false.
| Flag | What it does |
|---|---|
--into <text> |
The sprint that gets the unfinished tickets. Without it they go back to the backlog. |
clara sprint close
clara sprint close --into S4
Runs sprint.close.
clara sprint show
Show a sprint.
clara sprint show [id]
A sprint and its tickets in board order. Without an id, the active sprint.
clara sprint show
clara sprint show 3
Runs sprint.show.
clara sprint list
List sprints.
clara sprint list
Every sprint, oldest first, with how many tickets each holds and how many are done.
clara sprint list
Runs sprint.list.
clara release create
Plan a release.
clara release create <id> [name...] [flags]
Adds a planned release, such as v0.3.0. Tickets join it with clara edit <id> --release.
| Flag | What it does |
|---|---|
--date <text> |
The planned day, YYYY-MM-DD. |
clara release create v0.3.0 Sign-in --date 2026-12-01
Runs release.create.
clara release show
Show a release and its tickets.
clara release show <id>
Prints the release, when it is planned or shipped, how much of it is done, and its tickets.
clara release show v0.3.0
Runs release.list, ticket.list.
clara release ship
Ship a release.
clara release ship <id>
Marks a release as released today and writes its changelog from the done tickets in it. Unfinished tickets stay in it, with a warning.
clara release ship v0.3.0
Runs release.ship.
clara release list
List releases.
clara release list
Every release with how many tickets it holds and how many are done.
clara release list
Runs release.list.
Views
clara view list
List saved views.
clara view list
The saved filters in .clara/views/, by name.
clara view list
Runs view.list.
clara view save
Save a view.
clara view save <name> <query...> [flags]
Saves a query under a name, for the board and clara list --view.
| Flag | What it does |
|---|---|
--layout <layout> |
board or list. |
--group-by <group-by> |
epic, assignee or priority. |
clara view save mine assignee:me is:open sort:rank
Runs view.save.
clara view delete
Delete a view.
clara view delete <name>
Removes a saved view. The tickets it showed are not touched.
clara view delete mine
Runs view.delete.
Agents
clara setup
Give a coding agent what it needs to work the board.
clara setup <agent> [flags]
Writes three things where the agent reads them: Clara's MCP server in its settings, Clara's skill where it reads skills, and Clara's block, the board and the working agreement, in AGENTS.md, CLAUDE.md or GEMINI.md. The agent is claude, codex, cursor, gemini, antigravity (or agy), opencode or copilot. It writes into this repository, or with --global into your user settings, and changes only Clara's entry or Clara's block, so running it again changes nothing and what you wrote stays. A file it cannot change safely, such as one with a broken block or JSON it cannot read, stops the run before anything is written, with the steps to do it by hand. For Claude Code's user settings, whose format is not confirmed, it prints the commands to run instead. Every agent but Claude Code is set up from its documentation alone, and says so.
| Flag | What it does |
|---|---|
--global |
Write your user settings, for every repository, instead of this one. |
--dry-run |
Say what would change, and change nothing. |
clara setup claude
clara setup codex --dry-run
clara setup cursor --global
clara mcp
Serve the board to a coding agent over MCP.
clara mcp
Speaks the Model Context Protocol on standard input and output, for a coding agent that starts it. The agent gets the working agreement; eighteen tools to find ready work, claim it, read its context, checkpoint, block with a question, comment, hand it in for review, and propose a playbook, a decision or a plan; the idea, a guide and each ticket to read; and four prompts: plan, standup, review and retro. Everything it does is done as agent:<name>, named by --as or CLARA_ACTOR when that names an agent, by the agent's client, or by the tool call; never as a person, and never as another agent. Nothing is deleted over MCP. docs/MCP.md describes every tool, resource and prompt.
clara mcp
clara mcp --as agent:claude
Runs project.show, idea.get, ticket.list, ticket.next, ticket.get, ticket.context, ticket.create, ticket.update, ticket.claim, ticket.release, ticket.checkpoint, ticket.block, ticket.comment, ticket.complete, ticket.approve, ticket.request_changes, sprint.show, project.standup.
clara agents
Show the agents this board names and whether each can start here.
clara agents
Lists the agent programs Clara can start, with whether each is installed on this machine, its version and whether it is signed in, then every agent the board names: in a profile in .clara/agents, a routing rule, a ticket's assignee or review.reviewer. For each agent it shows its adapter, its permission profile and what would stop it from starting here, such as a program that is not installed or a profile Clara cannot read. A custom agent's permissions are its own command's: Clara cannot hold it to a profile. Finding out runs only each program's version and sign-in check, and for a custom agent only looks for its program on PATH; no command from the board runs. The account an agent is signed in with is never shown or kept.
clara agents
clara agents --json
clara ask
Ask an agent a question about the project, and print its answer.
clara ask <question...> [flags]
Starts an agent, read-only, with your question, the idea, the board, and the tickets and accepted notes the question bears on, as much as fits, and prints its answer. It reads the repository and the board for the rest, and can change neither: its MCP server offers only the tools that read, and it proposes nothing. The board's text reaches it fenced as information, never as instructions. The agent is chosen, held to read-only, limited and stopped as for clara plan, and the run counts toward conductor.daily_budget_usd. Exits 0 when the agent answered.
| Flag | What it does |
|---|---|
--agent <text> |
The agent that answers, by name, such as claude. |
--model <text> |
The model it uses, instead of its profile's. |
clara ask "Where are sign-in links sent from?"
clara ask What is left before the billing epic is done --json
Runs idea.get, knowledge.list, knowledge.get.
clara do
Create a ticket and start an agent on it, in one step.
clara do <title...> [flags]
Creates the ticket as clara add does, with the same flags, then starts an agent on it as clara start does, behind the same checks: the board's commands must be trusted on this machine, the WIP limits must leave room, and routing or --agent must name an agent. When starting is refused, the ticket stays created, and the refusal says why and how to start it once that is fixed. Exits 0 when the ticket reached review, and 1 when the run ended another way.
| Flag | What it does |
|---|---|
--template <text> |
A ticket template in .clara/templates, by name, such as bug. The ticket starts with its type, priority, points, labels, epic, release and body; what is given here wins, and labels and criteria are added to its own. |
-t, --type <type> |
epic, story, task, bug, chore or spike. Default: the template's type, or task. |
-p, --priority <priority> |
p0 is the most urgent, p3 the least. Default: the template's priority, or p2. One of p0, p1, p2, p3. |
--status <status> |
Where the ticket starts: backlog or todo. |
--points <n> |
An estimate of size. |
-a, --assignee <text> |
A person by name, or an agent as agent:<name>. |
-l, --labels <a,b,...> |
Labels, such as auth or billing. Separate them with commas. |
--epic <text> |
The epic this belongs to. |
--parent <text> |
The ticket this is a part of. |
--sprint <text> |
The sprint: 3 or S3. |
--release <text> |
The release, such as v0.3.0. |
--depends-on <a,b,...> |
Tickets that must be done first. Separate them with commas. |
--due <text> |
The due date, YYYY-MM-DD. |
--model <text> |
The Claude model to work on it with: haiku, sonnet, opus, fable or a claude- model id. clara start uses it. |
--effort <effort> |
How hard Claude thinks on it: low, medium, high, xhigh or max. clara start uses it. |
--repos <a,b,...> |
The repositories its work is in, by name such as acme/api or https address. Separate them with commas. |
-d, --description <text> |
What the work is and why, in Markdown. With a template, it replaces the template's opening text and keeps its sections. |
--criteria <text> |
Acceptance criteria, one sentence each. Repeat the flag for each one. |
--agent <text> |
The agent: claude, codex, gemini, cursor, copilot or antigravity for a chat, or any agent with --headless. Default: claude for a chat, else the one routing chooses. |
--model <text> |
The model the agent uses, instead of the routing rule's or the profile's. |
clara do "Fix the flaky upload test"
clara do Expire sign-in links after an hour -t task -p p1 --agent claude
Runs ticket.create, config.get, ticket.get, ticket.context, ticket.claim, ticket.release, ticket.block, ticket.complete, verify.record, ticket.review, ticket.comment, run.start, run.finish.
clara start
Open a chat on a ticket, or start an agent on it.
clara start <id> [flags]
At a terminal, opens Claude Code here on the ticket, interactively: in a worktree of its own under CLARA_HOME on the ticket's branch (in this checkout with --here, or when the base branch has no commit yet), holding the ticket as agent:claude, with what the board has on the ticket as its first message, fenced as information. The chat follows the working agreement: it commits on the branch, pushes it, opens a pull request and hands the ticket in for review, and it may not merge, force-push or push to the base branch. --model and --effort default to the ones the ticket names. Starting a ticket again carries on its last chat; --new opens a fresh one. Clara records the chat, so the board shows it while it is open and clara chats lists it, and Ctrl-C belongs to Claude Code while it runs. With --agent codex, gemini, cursor, copilot or antigravity the chat opens on that agent instead, holding the ticket as agent:<name>, with the same rules and first message and the agent's own model and effort; Clara carries on a Copilot chat as it does Claude Code's, while each start on the others opens a new one, and only Claude Code's settings enforce the refused git commands. --dry-run prints the command and starts nothing. Exits with 0 when the agent ended normally. With --headless, with --json, with an agent that has no chat, or when there is no terminal, it runs the agent without a chat instead. Without a chat, it gives the ticket to an agent: the one named with --agent, else its assignee when that is an agent, else the board's router command, else the first routing rule that matches it. The agent works in a worktree of its own under CLARA_HOME, on the ticket's branch, after the board's setup commands, and claims the ticket as agent:<name>. The ticket's text reaches it fenced as information, never as instructions. When it ends, the board's checks run on its last commit: when they pass the ticket goes to review, and when they fail the agent is told what failed and tries again, up to conductor.max_attempts, before the ticket is blocked with the reason. A question the agent asks blocks the ticket and ends the run; once it is answered, starting the ticket again carries on the same session. The run stops at the board's limits on time, turns and spend, and Ctrl-C stops it, interrupting the agent first. Commands from the board's settings run only once a person on this machine trusted them, and an agent working in a run Clara started does not start another. With review.reviewer set, that agent then reads the work in a read-only run of its own: in agent mode it approves it or sends it back with a note, in human mode it sends it back or leaves its opinion as a comment; a ticket sent back carries on with the note when started again. Exits 0 when the ticket reached review, whatever the reviewer said, and 1 when the run ended another way.
| Flag | What it does |
|---|---|
--agent <text> |
The agent to start, by name, such as claude, instead of the one routing chooses. |
--model <text> |
The model: for Claude Code haiku, sonnet, opus, fable or a claude- model id, for another agent its own model name. Default: for Claude Code the ticket's, else the routing rule's or the profile's; for another agent, its own. |
--effort <text> |
How hard the chat thinks: low, medium, high, xhigh or max for Claude Code and Copilot, low to xhigh for Codex; the other agents take none. Default: the ticket's, for Claude Code. |
--here |
Work in this checkout, not a worktree. |
--new |
Open a fresh chat, not the ticket's last one. |
--headless |
Run the agent without a chat, to the end, as clara work does. |
--dry-run |
Print the agent's command, and start nothing. |
clara start 12
clara start 12 --model sonnet --effort xhigh
clara start 12 --agent codex --effort high
clara start 12 --headless --agent claude --model opus
Runs config.get, ticket.get, ticket.context, ticket.claim, ticket.release, ticket.block, ticket.complete, verify.record, ticket.review, ticket.comment, run.start, run.finish.
clara chat-hook
Record what a chat is doing; Claude Code runs it.
clara chat-hook <state>
Claude Code runs this from the hooks of a chat clara start opened, with working when it is given a prompt and waiting when it finishes its turn or asks the person something, so the board shows which chats wait for you. It reads the chat from CLARA_SESSION, changes only that chat's record on this machine, prints nothing, and always exits 0.
clara chat-hook waiting
clara work
Let agents work every ready ticket, several at once, in dependency order.
clara work [flags]
Starts an agent on every ticket that is ready for one, as clara start does for one ticket: first the tickets agents hold that can carry on, such as one whose question was answered, then the ready ones, unassigned or assigned to an agent, in the order clara next gives. It runs up to conductor.max_parallel at once, or --max, and each agent no more than its profile's max_parallel; as each run ends it starts the tickets that run unblocked. A ticket no agent takes is skipped once, with the reason, and tried again only when it changes; so is a ticket whose run just ended. Under on_approve: merge, a ticket waits while work it depends on is approved but not merged into the base branch yet, so its agent starts from that work. When the agents on this machine have spent conductor.daily_budget_usd in the last 24 hours, new runs wait, and a run never gets more than what the ceiling leaves. Without --watch it ends once nothing is ready and nothing runs; --once works only what is ready when it starts. --dry-run prints the plan as waves of tickets that can run together and starts nothing. Each run that hands its work in is followed by the board's reviewer, as with clara start, and work the reviewer sends back carries on in the same loop, until it has sent it back conductor.max_attempts times and leaves it to a person. Before it looks for work it makes the tickets the board's routines are due, as clara routine run does, and with --watch again on each new day (UTC). Ctrl-C stops every run, interrupting each agent first. Exits 0 when every run handed its work in, whatever a reviewer said, and 1 when one ended another way or work was left for the daily ceiling.
| Flag | What it does |
|---|---|
--watch |
Keep looking for work when none is left, until Ctrl-C. |
--once |
Work only the tickets ready now, and end when their runs do. |
--max <n> |
At most this many runs at once, instead of conductor.max_parallel. |
--dry-run |
Print the plan, wave by wave, and start nothing. |
--runtime <runtime> |
Work only the tickets of agents whose profile's runtime is this. Default local; the clara-work workflow uses actions. |
clara work
clara work --dry-run
clara work --max 3
clara work --watch
Runs config.get, ticket.get, ticket.context, ticket.claim, ticket.release, ticket.block, ticket.complete, verify.record, ticket.review, ticket.comment, run.start, run.finish, routine.run.
clara runs
List the agent runs on this machine, newest first.
clara runs [ticket] [flags]
Lists the runs started on this machine, newest first: the ticket, how the run ended or that it is still going, the agent, how long it took, what it spent, when it started and its id. Name a ticket to see only its runs. Runs are kept in .clara/.local, which is never committed, so each checkout sees its own. The last line says what agents here spent in the last 24 hours, against conductor.daily_budget_usd.
| Flag | What it does |
|---|---|
--limit <n> |
Show this many runs at most. Default 20. |
clara runs
clara runs 12
clara runs --json
Runs run.list.
clara chats
List the Claude Code chats on this machine.
clara chats [ticket] [flags]
Lists the Claude Code chats that work on this board from this machine, the open ones first: the ticket, whether the chat is working or waiting for you, the model and effort, how long it has been open, the last of Clara's tools it called, and its branch. clara start opens a chat for a ticket; a chat that reaches Clara any other way, such as the one planning the project, shows as a board chat. Name a ticket to see only its chats. Chats are kept in .clara/.local, which is never committed, so each checkout sees its own.
| Flag | What it does |
|---|---|
--live |
Only the chats open now. |
--limit <n> |
Show this many chats at most. Default 20. |
clara chats
clara chats --live
clara chats 12 --json
Runs session.list.
clara prs
Show what GitHub says of the tickets' pull requests.
clara prs
Lists the pull request of each ticket that names one, as GitHub's own gh last described it on this machine: open, merged or closed, whether its checks pass, and its address. clara sync asks about the tickets in progress and in review each time it pulls, and clara serve about once a minute while it runs; a ticket in review whose pull request is merged is approved then, unless review.merged_pr_approves is off. Kept in .clara/.local, which is never committed.
clara prs
clara prs --json
Runs pr.list.
clara top
Watch the agent runs on this machine as they go.
clara top
Shows the runs going on this machine, each with its ticket, agent, how long it has run, what it spent, its turns and what its agent did last; the tickets clara work would start next; the questions runs wait on you for; and the runs that ended in the last 24 hours, with how each ended. It reads them again every second and whenever the board changes. On a terminal it fills the window and q or Ctrl-C ends it; in a pipe, each change prints the whole view again, or with --json one line of JSON. Runs are kept in .clara/.local, so it sees the runs started in this checkout.
clara top
clara top --json
Runs run.list.
clara logs
Show what an agent did in a run, and follow it with -f.
clara logs <run> [flags]
Shows what the agent did in a run, event by event: what it said, the tools it used, what it was refused, what each attempt spent, and the checks each attempt ended with. Name the run by its id, or by its ticket for the ticket's newest run. -f follows a run still going until it ends; Ctrl-C stops following, never the run. --raw prints the agent's own output instead, with the values of secret variables masked.
| Flag | What it does |
|---|---|
-f, --follow |
Keep printing as the run goes, until it ends. |
--raw |
Print the agent's own output, as it wrote it, secrets masked. |
clara logs 12
clara logs 12 -f
clara logs 01JD0Z6Q8X4T2V9K3M5N7P1R2S --raw
clara stop
Stop a run going on this machine, from any terminal.
clara stop <run>
Stops a run started by clara start or clara work in another terminal, and waits for it to end: its conductor interrupts the agent, ends it if it has not stopped after a few seconds, and records the run as stopped. The ticket stays with the agent, so starting it again carries on. Name the run by its id, or by its ticket. When the process that ran it is gone, as after a crash, the run is closed as crashed instead. Exits 1 if the run has not ended after a minute.
clara stop 12
clara stop 01JD0Z6Q8X4T2V9K3M5N7P1R2S
Runs run.finish.
clara allow
Let an agent use a tool it asked for.
clara allow <id> [note...] [flags]
Answers yes to a question an agent asked in a guarded run, about a tool its rules do not allow, such as a command outside the board's checks. Name the ticket the run works on: the oldest question still waiting is answered, or the one --ask names. The note reaches the agent with the answer. A question no one answers in ten minutes is denied. A person answers, or an agent working with them, never the agent that asked, on the machine running the run; clara runs shows what is waiting.
| Flag | What it does |
|---|---|
--ask <text> |
The question to answer, by its id, instead of the oldest still waiting. |
clara allow 12
clara allow 12 "Only this once"
Runs run.answer.
clara deny
Refuse a tool an agent asked for.
clara deny <id> [note...] [flags]
Answers no to a question an agent asked in a guarded run, about a tool its rules do not allow. Name the ticket the run works on: the oldest question still waiting is answered, or the one --ask names. Say why in the note: the agent reads it and does the work another way, or blocks the ticket with a question. A person answers, or an agent working with them, never the agent that asked, on the machine running the run.
| Flag | What it does |
|---|---|
--ask <text> |
The question to answer, by its id, instead of the oldest still waiting. |
clara deny 12
clara deny 12 "Use the fixture in test/data instead"
Runs run.answer.
clara resume
What you were in the middle of, with its last handoff note.
clara resume
Prints each ticket you hold in progress, the most recent first, with how many of its acceptance criteria are met and its last handoff note, fenced as information because it comes from the board. When you hold none it says so, or with --quiet prints nothing at all.
clara resume
clara resume --as agent:claude --quiet
Runs ticket.list.
Git
clara sync
Let the board follow the repository: link commits, close what merged.
clara sync [flags]
Pulls when this branch tracks a remote one, only ever fast-forwarding, and carries the board's waiting changes across the pull when nothing outside .clara has changes; a person's own work is never stashed. Then links each commit and branch that names a ticket to it, and moves a ticket to done when a commit whose message says closes APP-12, fixes APP-12 or resolves APP-12 is on the base branch, credited to who merged it: the committer of the commit that brought it onto the base branch, or its author when GitHub's website made that commit. A commit message names a ticket as the board writes its id; a branch name may hold it in any case. A commit made before its ticket existed is not linked to it, nor does it close it. Then, unless --no-pull is given, asks GitHub's own gh about the pull request of each ticket in progress or in review, and approves a ticket in review whose pull request was merged, unless review.merged_pr_approves is off. Then commits the changes in .clara, and only those, with a message that says what changed, and pushes with --push. Each commit, branch and closing commit is recorded once, so sync can run any number of times, and a ticket reopened by hand is not closed again by the same commit, nor by a revert of it, since a revert closes nothing. In a linked worktree it records on the main checkout's board and leaves committing it to that checkout.
| Flag | What it does |
|---|---|
--dry-run |
Say what sync would record, and change nothing: no pull, no commit. |
--pull |
Pull before reading the history. On unless --no-pull. |
--commit |
Commit the board's changes. On unless --no-commit. |
--push |
Push the branch after committing. |
clara sync
clara sync --dry-run
clara sync --push
clara sync --no-pull --quiet
Runs sync.apply.
clara hooks install
Have git run clara sync after each commit and merge.
clara hooks install
Writes post-commit and post-merge hooks into this repository's git hooks folder, which its worktrees share. After each commit, and each merge or pull, they run clara sync --no-pull --no-commit --quiet: the board links what was committed and closes what merged at once, and what they record waits in .clara until clara sync commits it. They never pull, commit or push, do nothing inside an agent's run or while git replays commits in a rebase or a cherry-pick of several, and use the project's own Clara in node_modules when git tracks nothing there, else one on the PATH, else nothing. Clara changes only hooks it wrote: a hook of another tool's, or a hooks folder set by core.hooksPath, is refused with the line to add there yourself. Running it again brings Clara's hooks up to date.
clara hooks install
clara hooks install --json
clara hooks remove
Take away the git hooks clara hooks install wrote.
clara hooks remove
Deletes the post-commit and post-merge hooks Clara wrote, and only those: a hook another tool wrote is left as it is. The board keeps everything they recorded.
clara hooks remove
clara badge
Draw the sprint's progress as an SVG badge for a README.
clara badge [sprint] [flags]
Prints an SVG badge of the active sprint, such as Sprint 3 | 12 of 20 points: the points done of all the points in it, or its tickets done of all its tickets when none has points. Name a sprint to draw that one instead. With no sprint running, it counts the open tickets. Blue means a sprint is running, green that all its work is done, grey neither. The text is the board's, cut and escaped, and the badge names itself to screen readers. --out writes it to a file in the repository instead, which a redirect in some Windows shells would not write as UTF-8.
| Flag | What it does |
|---|---|
--out <text> |
Write the badge to this file, inside the repository, instead of printing it. |
clara badge --out docs/badge.svg
clara badge > badge.svg
clara badge 3 --json
Runs sprint.show, ticket.list.
clara export
Write the board as a read-only website, or its tickets as JSON, CSV or Markdown.
clara export [query...] [flags]
With --static, writes a website of the board into a folder of the repository: Clara's web app, with a snapshot of the board written into its page. It shows the board, backlog, sprint, graph, activity, docs and insights as they stand now, with filters, ticket timelines and the replay, and nothing on it can be changed. The page asks nothing of the network and carries its own content security policy, so any static host can serve the folder as it is. It names the commit the board was at when the board is committed, and says when it is not. Only what the repository holds goes on the page, never what .clara/.local keeps on this machine, such as runs, plans and undo history. The folder must be new or empty, or hold a board exported before: then its page and scripts are replaced, and its other files, such as a CNAME, are kept. With --format instead, prints the tickets a query finds, the same query clara list takes, or writes them to the file --out names inside the repository. json is an array of tickets with every field, as clara list --json gives them. csv has a header row and these columns, in this order: id, title, status, type, priority, assignee, points, labels (joined with ;), sprint, epic, due, created, updated. A cell that starts with =, +, - or @, which a spreadsheet would run as a formula, is written after a ', so it shows as text. md is a report with a table for each status. --static and --format cannot be given together.
| Flag | What it does |
|---|---|
--static |
Write the board as a static website. |
--format <format> |
Write the tickets the query finds in this format instead. One of json, csv, md. |
--archived |
With --format, export archived tickets as well as live ones. |
--out <text> |
The folder to write the website into, or with --format the file to write, inside the repository. |
clara export --static --out site
clara export --static --out site --json
clara export --format csv --out tickets.csv
clara export --format md status:done sprint:3 > sprint-3.md
clara export --format json "type:bug or label:urgent"
Runs board.get, ticket.list, ticket.get, insights.flow, insights.forecast, insights.scorecard, insights.work, sprint.burndown, knowledge.list, knowledge.get, knowledge.pages, knowledge.page.
clara github setup
Write the GitHub workflows that keep the board, for you to commit.
clara github setup [workflows...] [flags]
Writes GitHub Actions workflows into .github/workflows, each running a mode of clara github action from npm at this version of Clara: validate comments on each pull request with what merging it closes and any problem with the board, sync applies the merge rules on each push to the base branch and commits the board, routines makes the tickets the board’s routines are due each morning and commits them to the base branch, work works the tickets of agents whose profile says runtime: actions every hour and opens their pull requests, publish deploys the board as a website to GitHub Pages, and digest posts the standup to a webhook each weekday. With no name it writes validate and sync; all writes all six. Every action is pinned to a commit, every job has a timeout and only the permissions it needs, and no two runs of a workflow race. A workflow that needs a secret or a setting the repository lacks says so and passes. Clara never writes over a workflow that differs from what it would write without --force, and commits nothing: read the workflows, then commit and push them.
| Flag | What it does |
|---|---|
--force |
Replace a workflow that differs from what this version writes. |
clara github setup
clara github setup publish digest
clara github setup all
clara github setup sync --force
Runs config.get.
clara github action
Run a mode of Clara's GitHub Action, as its workflow does.
clara github action <mode> [flags]
What Clara's GitHub Action runs in a workflow, and nowhere else: it refuses to run outside GitHub Actions. validate, on a pull request, runs the doctor and finds the tickets merging it marks done, from the closing keywords in its title and its commits; it keeps one comment on the pull request up to date with both, marks each problem on its file, and fails only when the doctor finds an error. sync, on a push to the base branch, applies the merge rules as clara sync does, commits the board as the Actions bot and pushes it, syncing again if someone pushed first; it does nothing for its own commit, so it never starts itself again. routines, on a schedule, makes the tickets the board's routines are due, as clara routine run does, commits them to the base branch as the Actions bot and pushes them; each ticket names its occurrence, so a second run that day makes nothing. publish builds the board as a static website with its badge, for the workflow's next steps to deploy to GitHub Pages when Pages is on. digest posts the standup or the sprint's summary to the webhook in the CLARA_WEBHOOK_URL secret, and posts nothing without one. work, on a schedule or by hand, runs in two jobs. The first, work --out <folder>, works the tickets of agents whose profile says runtime: actions as clara work --once does, trusting the commands the base branch holds, and holds no token: it refuses one, and a checkout that kept one, as any agent could read it. It commits the board on the commit it began from and leaves that commit and each branch handed in in the folder. The second, work --land <folder>, runs no agent: it checks that the board's commit changes only the board's records and that each branch is the one Clara names for its ticket, pushes each branch and opens a pull request whose title says (closes APP-12), then pushes the board, putting it on top of anyone who pushed first, or on a branch of its own for a person to merge when both changed the same ticket. Neither runs for a pull request. Ticket titles and the doctor's words are escaped wherever they go, so the board can neither notify anyone nor add markup. The token is sent to GitHub in a header or to git in its environment, never anywhere else.
| Flag | What it does |
|---|---|
--out <text> |
publish: the folder to build the site into, inside the repository. Default _site. work: the folder to leave the work in for the land job, outside the repository. |
--land <text> |
work: push the work the first job left in this folder, and open its pull requests. |
--digest <digest> |
digest: what to post, the standup or the active sprint's summary. Default standup. |
--since <text> |
digest: how far back the standup looks, such as 24h or 7d. Default 24h. |
--max <n> |
work: at most this many runs at once, from 1 to 32. Default conductor.max_parallel. |
clara github action validate
clara github action sync
clara github action publish
clara github action digest --digest sprint
clara github action work --max 2
Runs doctor.check, config.get, ticket.context, ticket.claim, ticket.release, ticket.block, ticket.complete, verify.record, ticket.review, ticket.comment, ticket.update, run.start, run.finish, ticket.get, sync.apply, project.standup, sprint.show, board.get, ticket.list, insights.flow, insights.forecast, insights.scorecard, insights.work, sprint.burndown, knowledge.list, knowledge.get, knowledge.pages, knowledge.page.
Numbers
clara stats
How work flowed: done, cycle time, lead time, velocity.
clara stats [flags]
How work moved over recent days, read from the log: tickets and points done, done a week, cycle time (first in progress to done) and lead time (created to done), time in review and blocked, each as the 50th, 85th and 95th percentile in days; the work in progress now; the velocity of closed sprints; and the tickets in each status at the end of each day.
| Flag | What it does |
|---|---|
--days <n> |
How many days to look back over, today included. Default 28. |
clara stats
clara stats --days 90
clara stats --json
Runs insights.flow.
clara forecast
Forecast when work will be done.
clara forecast [query...] [flags]
When the work left is likely to be done, from a Monte Carlo simulation over the tickets done each day of recent history: the dates by which 50, 80 and 95 percent of simulated futures finished. The work is a sprint, the open tickets a query matches, or both; without either, the active sprint, else every open ticket outside the backlog. Epics are not counted as work. A sprint with an end date also gets the chance of finishing by it. The random draws are seeded, so the same log, seed and day give the same dates.
| Flag | What it does |
|---|---|
--sprint <text> |
The sprint whose work is left: 3 or S3. Default: the active sprint, unless a query is given. |
--history-days <n> |
How many past days, today included, the pace is drawn from. Default 28. |
--trials <n> |
How many futures to simulate, 100 to 100000. Default 10000. |
--seed <n> |
The seed of the random draws: the same log, seed and day give the same dates. Default 1. |
clara forecast
clara forecast --sprint 4
clara forecast epic:GEN-4
clara forecast --seed 7 --history-days 14
Runs insights.forecast.
clara retro
How the work went: rework, time in each status, estimates, sprint scope, chats by model.
clara retro [flags]
How the work itself went over recent days, read from the log: how many tickets done were sent back and how often, how long the tickets done spent in each status on the way (in progress, blocked, in review), how long each size of estimate took from first in progress to done, how far the last closed sprints moved from what they started with and what they handed back, and, for each model and effort the chats ran on, the chats started, the tickets they finished, the share approved the first time and the hours they were open; the hours each ticket done waited for a person (in review, blocked, and its chats waiting for the next prompt); and the tokens the chats and runs reported, per ticket done, each week and for each model. A chat reports time and tokens, not money: the tokens are what Claude Code wrote down for each message, never an estimate. Durations are the 50th, 85th and 95th percentile in hours.
| Flag | What it does |
|---|---|
--days <n> |
How many days to look back over, today included. Default 28. |
clara retro
clara retro --days 90
clara retro --json
Runs insights.work.
clara scorecard
How each agent and model did: finished, first-pass rate, time and spend.
clara scorecard [flags]
How each agent did, per agent and model, read from the log: work handed in and finished, the share approved the first time it was judged, average hours from the claim to the approved hand-in, runs and their spend, spend per finished ticket and per point. Also every hand-in with its verdict, the outcome-labelled rows a model router can learn from. Only agents are scored.
| Flag | What it does |
|---|---|
--since <text> |
Only hand-ins and runs this recent: 90m, 24h, 3d or 1w. Default: all of them. |
--export |
Print every hand-in as a line of JSON, with its verdict, model, time and spend, for a model router to learn from. |
clara scorecard
clara scorecard --since 2w
clara scorecard --export > hand-ins.jsonl
Runs insights.scorecard.
Error codes
Every error has one of these codes, a message that says what happened, and a hint that says what to do next.
| Code | Kind | Exit | Meaning |
|---|---|---|---|
INVALID_INPUT |
usage |
2 | An argument is missing or has the wrong shape. |
INVALID_ID |
usage |
2 | The id is not a ticket, sprint or release id. |
INVALID_PATH |
usage |
2 | A file path is unsafe or outside the board. |
INVALID_QUERY |
usage |
2 | The query could not be parsed. |
UNKNOWN_COMMAND |
usage |
2 | No such command or operation. |
CLAIM_HELD |
refused |
3 | Someone else holds the ticket. |
CLAIM_DEPENDENCY |
refused |
3 | A dependency of the ticket is not done. |
CLAIM_WIP_LIMIT |
refused |
3 | The work-in-progress limit is reached. |
CLAIM_BACKLOG |
refused |
3 | Agents cannot claim a ticket that is still in the backlog. |
CLAIM_EPIC |
refused |
3 | Epics cannot be claimed. |
CLAIM_STATUS |
refused |
3 | The ticket is not in a state that can be claimed. |
MOVE_NOT_ALLOWED |
refused |
3 | Agents may not make this move. |
NOT_HOLDER |
refused |
3 | Only the holder of the ticket may do this. |
PERSON_ONLY |
refused |
3 | Only a person may do this. |
AGENT_ONLY |
refused |
3 | Only an agent may do this. |
APPROVE_SELF |
refused |
3 | An author cannot approve its own work. |
APPROVE_MODE |
refused |
3 | The review mode does not allow this approval. |
APPROVE_STATUS |
refused |
3 | Only a ticket in review can be approved or sent back. |
COMPLETE_UNVERIFIED |
refused |
3 | The checks have not passed for the current commit. |
COMPLETE_STATUS |
refused |
3 | Only a ticket in progress can be completed. |
BLOCK_STATUS |
refused |
3 | Only a ticket in progress can be blocked. |
ANSWER_STATUS |
refused |
3 | Only a blocked ticket can be answered. |
DEPENDENCY_CYCLE |
refused |
3 | The dependency would create a loop. |
HIERARCHY_CYCLE |
refused |
3 | The epic or parent link would create a loop. |
SPRINT_ACTIVE_EXISTS |
refused |
3 | Another sprint is already active. |
SPRINT_STATUS |
refused |
3 | The sprint is not in a state that allows this. |
WIP_LIMIT |
refused |
3 | The work-in-progress limit is reached. |
UNDO_EMPTY |
refused |
3 | There is nothing to undo. |
UNDO_CHANGED |
refused |
3 | The files changed after the operation, so it cannot be undone safely. |
NOT_TRUSTED |
refused |
3 | The commands in this repo have not been trusted on this machine. |
NO_ROUTE |
refused |
3 | No agent is assigned to the ticket, and no routing rule matches it. |
OTHER_RUNTIME |
refused |
3 | The ticket's agent runs somewhere else: in GitHub Actions, or on a machine. |
RUN_ACTIVE |
refused |
3 | The ticket has a run going on this machine already. |
DAILY_LIMIT |
refused |
3 | Agents have spent the day's ceiling on this machine. |
UNCOMMITTED_CHANGES |
refused |
3 | The checkout has changes that are not committed, so no commit matches it. |
UNSAFE_EDIT |
refused |
3 | A file Clara shares with another tool is not in a shape it can change safely. |
STALE_EDIT |
refused |
3 | The text changed since the edit began, so saving would lose that change. |
LAND_BLOCKED |
refused |
3 | The approved work cannot be landed as the board says, as things stand. |
CONFIRM_NEEDED |
refused |
3 | This discards work, so it needs a yes first. |
NOTE_STATUS |
refused |
3 | Only a draft playbook or decision can be rejected. |
PLAN_STATUS |
refused |
3 | The plan has been applied or discarded already. |
PLAN_PROBLEMS |
refused |
3 | The plan cannot be applied as it stands. |
NO_BOARD |
error |
1 | There is no Clara board here. |
BOARD_EXISTS |
error |
1 | A Clara board already exists here. |
NOT_FOUND |
error |
1 | No such ticket, sprint, agent or file. |
NO_RUN |
error |
1 | No run on this machine matches, or the one that does has ended. |
NO_ASK |
error |
1 | No question from a run on this machine is waiting for that answer. |
NO_PLAN |
error |
1 | No plan on this machine matches. |
NO_CHANGES |
error |
1 | The ticket has no branch whose changes can be read here. |
ALREADY_EXISTS |
error |
1 | It already exists. |
PARSE_ERROR |
error |
1 | A file in the board could not be read. |
UNSUPPORTED_VERSION |
error |
1 | The board was written by a newer version of Clara. |
MIGRATION_NEEDED |
error |
1 | The board uses an older format and must be migrated first. |
CONFLICT |
error |
1 | The board changed while the operation was running. |
LOCKED |
error |
1 | Another Clara process is writing to the board. |
STORAGE_ERROR |
error |
1 | The storage layer failed. |
NOT_SIGNED_IN |
error |
1 | Nobody is signed in, or the sign-in has expired. |
NO_ACCESS |
error |
1 | The signed-in account cannot reach the board. |
RATE_LIMITED |
error |
1 | GitHub asked Clara to wait before asking again. |
GIT_ERROR |
error |
1 | A git command failed. |
GITHUB_ERROR |
error |
1 | GitHub's API refused the request or did not answer. |
WEBHOOK_ERROR |
error |
1 | The webhook refused the message or did not answer. |
ROUTER_FAILED |
error |
1 | The board's router command failed or gave an answer Clara cannot read. |
AGENT_UNAVAILABLE |
error |
1 | The agent could not be started on this machine. |
LAND_FAILED |
error |
1 | The work was approved, but landing it failed part way. |
DEMO_STUCK |
error |
1 | The demo did not finish in time. |
INTERNAL |
error |
1 | Clara hit a bug. |