Clawctl

v0.1.0

Coordination layer for OpenClaw agent fleets (tasks, messaging, activity feed, dashboard).

0· 844· 1 versions· 0 current· 4 all-time· Updated 12h ago· MIT-0

Install

openclaw skills install clawctl

Setup

clawctl init                        # create the database
export CLAW_AGENT=your-name         # set identity (falls back to $USER with warning)
export CLAW_DB=~/.openclaw/clawctl.db  # optional, this is the default

Operational Rhythm

Follow this pattern every session:

  1. clawctl checkin — register presence, see unread count
  2. clawctl inbox --unread — read messages before picking up work
  3. clawctl next — find highest-priority actionable task (or clawctl list --mine)
  4. clawctl claim <id> then clawctl start <id> — take ownership and begin
  5. clawctl msg <agent> "update" --task <id> — coordinate during work
  6. clawctl done <id> -m "what I did" then clawctl next — complete and move on

Only claim tasks assigned to you or matching your role. Completing an already-done task is a safe no-op.

Decision Tree

SituationCommand
New taskclawctl add "Subject" -d "Details"
Find workclawctl next then clawctl claim <id>
Blockedclawctl block <id> --by <blocker-id> and notify via clawctl msg
Finishedclawctl done <id> -m "Result"
Hand offclawctl msg <agent> "Ready for you" --task <id> --type handoff
Ready for reviewclawctl review <id>
Catch upclawctl feed --last 20 or clawctl summary
Link artifactsAdd --meta '{"note":"path/to/file"}' to done, claim, start, or block

Task Statuses

pending → claimed → in_progress → done
                  ↘ blocked ↗    ↘ cancelled
                  ↘ review  ↗

list excludes done/cancelled by default. Use --all for history (newest first).

Commands

Tasks

CommandDescription
add SUBJECTCreate task. -d desc, -p 0|1|2 priority, --for AGENT assign, --parent ID
listActive tasks. --mine, --status STATUS, --owner AGENT, --all
nextHighest-priority actionable task for current agent
claim IDClaim task. --force overrides ownership, --meta JSON
start IDBegin work (in_progress). --meta JSON
done IDComplete. -m note, --force, --meta JSON
review IDMark ready for review. --meta JSON
cancel IDCancel task. --meta JSON
block ID --by OTHERMark blocked. --meta JSON
boardKanban board grouped by status

Messages

CommandDescription
msg AGENT BODYSend message. --task ID, --type TYPE (comment, status, handoff, question, answer, alert)
broadcast BODYAlert all agents
inboxRead messages. --unread for unread only

Fleet

CommandDescription
checkinHeartbeat — update presence, report unread count
register NAMERegister agent. --role TEXT
fleetAll agents with status and current task
whoamiIdentity, role, and DB path

Monitoring

CommandDescription
feedActivity log. --last N, --agent NAME, --meta
summaryFleet overview with counts and recent events
dashboardWeb UI. --port INT, --stop, --verbose

Version tags

latestvk974rjh7e1tdnx37hqz3kqgwzd80vn7k

Runtime requirements

🛰️ Clawdis
Binsclawctl