Workflows

Set up Routines, Goal mode, and Autopilot

Schedule recurring lead check-ins with Routines (UI or Linux CLI), keep leads working until done with Goal mode, and tune Autopilot levels and crew auto-start rules.

  • Updated December 1, 2026
  • 8 min read
  • 3 primary sources
  • 4 steps
  • You act in steps 1, 2, 3 and 4

What you get

What you get

ToolWhat triggers itBest for
RoutinesA local-time schedule (once, daily on chosen days, or every 1–24 hours with an optional time window)Recurring briefings, daily PR/issue sweeps, scheduled release checks, or waking a lead on a Linux server
Goal mode45 seconds of quiet after the lead and its crew stop with nothing waiting on youKeeping a lead driving a multi-step milestone until it reports met with evidence or blocked on you
AutopilotProject level (Ask at each step, One approval, Within the rules) plus computer rules in Settings › Computers › RulesControlling which plans, crews, file edits, branch pushes, and commands proceed without interrupting you
CmdBrief Playbooks was retired in 0.5.88; existing run logs remain readable and Routines handle scheduled lead runs.

Use Routines when work happens on a clock, Goal mode when one lead must push through to a verifiable finish condition, and Autopilot to decide how much a lead and its crew may start without waiting for a click. All three run inside CmdBrief’s app logic loop, so they work in a minimized window and under headless cmdbrief serve on Linux.

Create and manage Routines across paired computers

You do thisSidebar Routines chip, or Routines… in any lead menu

Open the Routines page from the sidebar’s top row (or click Routines… in a lead’s menu or its clock chip in Products/Leads view). Every routine belongs to one lead on one computer and fires in that computer’s local time—never duplicated across machines.

  1. Click Add routine and choose the Computer, Project, and Lead (each lead holds up to 20 active routines; completed one-time routines stop counting toward the limit and clear after a week).
  2. Enter a name (up to 80 characters) and the message (up to 4,000 characters) that CmdBrief will send as a turn from Routine (never disguised as user words).
  3. Pick a schedule: Once (date and time), Daily (time plus optional weekday toggles—none selected means every day), or Every few hours (1 to 24 hours counted from midnight, with an optional Only between window such as 09:00–18:00, which may cross midnight).
  4. Verify the next run preview in the footer and save. Use Run now to fire immediately without altering the schedule, toggle pause/resume, or filter by All, On, Paused, and Problem.
  • Across paired computers: The Routines page lists and manages routines on every paired computer running 0.5.72+ where this computer has Full use access. Offline computers appear dimmed and read-only until back online.
  • Waking & missed runs: Routines check every 15 seconds, wake sleeping or parked leads automatically, hold for Continue if you manually stopped the lead, fire once if missed by less than 12 hours while the computer slept (otherwise logged as missed), and skip a tick if the previous run is still awaiting an answer. Each routine keeps its last 20 runs.
  • Lead-created routines: A lead can add, edit, or remove its own routines via cmdbrief_routine_add, _update, _delete, and _list (crew members cannot). CmdBrief notifies you immediately with an Undo button.

Check it worked

  • Routines pageClick Run now on a newly added routineThe lead receives a message headed Routine: <name> (<schedule>) and begins a turn (waking first if asleep).

Manage Routines from the Linux CLI (cmdbrief routines)

You do thisYour own terminal or SSH session on Linux

On headless Linux servers running cmdbrief serve, manage local leads’ routines directly with cmdbrief routines. When CmdBrief is running, commands talk to it over the local control socket; when stopped, all subcommands except run edit <app support>/routines.json directly.

cmdbrief routines subcommands on Linuxbash
# List every routine on this computer (add --json for machine-readable output)
cmdbrief routines

# Daily on weekdays at 09:00
cmdbrief routines add --lead Ada --name "Morning triage" \
  --message "Check open CI failures and post a summary." \
  --daily 09:00 --days mon,tue,wed,thu,fri

# Every 2 hours during working hours
cmdbrief routines add --lead Ada --name "Release watch" \
  --message "Verify staging health and report any regression." \
  --every 2 --between 09:00-18:00

# One-time run (pass --message - to read the prompt from stdin)
cmdbrief routines add --lead Ada --name "Launch check" \
  --message "Verify production sitemap and canonical tags." \
  --once "2026-12-05 14:00"

# Pause, re-enable, trigger immediately, or delete by routine id
cmdbrief routines edit <id> --off
cmdbrief routines edit <id> --on
cmdbrief routines run <id>
cmdbrief routines remove <id>

Check it worked

  • Linux terminalcmdbrief routinesLists each routine’s id, lead, workspace, schedule, next run, and last outcome.

Use Goal mode for continuous check-ins

You do thisLead card or Stage header › Set goal…

Goal mode lets you hand a lead (or an agent on Stage) a concrete finish condition—up to 500 characters—and let CmdBrief keep checking in until the goal is met or genuinely blocked on you. Unlike CLI-internal loops that block turns from ending, CmdBrief’s loop understands when a lead is waiting on its crew.

  1. Open Set goal… on the lead’s row on Stage.
  2. Write a specific finish condition (for example: All billing migration tests pass on main and the release checklist artifact is published).
  3. Save the goal. CmdBrief delivers the goal words on the lead’s next free turn and saves the goal in lead-goals.json.
  • 45-second settle window: Whenever the lead and its entire crew have been quiet for 45 seconds with no pending reports, no active waits, and nothing waiting on you in Needs you, CmdBrief sends a check-in turn.
  • Waking asleep leads: If the lead went to sleep between turns, Goal mode wakes it on its conversation before sending the check-in. On a large session whose prompt cache went cold, it uses Clear + recent when enabled in Settings (see Multiple accounts and usage limits) rather than doing an unasked full cold re-read.
  • Explicit completion: The lead closes the loop by calling cmdbrief_goal with met (plus evidence) or blocked (stating what only you can unblock).
  • Runaway-loop guards: CmdBrief automatically pauses the goal and notifies you (Goal paused) after 3 consecutive check-ins with no progress or 25 check-ins in one stretch. After an app restart, saved goals stay Dormant until the agent finishes a turn or you resume the goal—nothing wakes unsolicited at launch.

Check it worked

  • StageWatch the goal line on the lead’s card after savingThe goal shows its live status (Working, Crew working, Waiting on you, Paused, Met, or Blocked) and check-in count.

Configure Autopilot levels and crew auto-start rules

You do thisStart a project… and Settings › Computers › Rules

Each project picks one of three Autopilot levels in Start a project… (or via --autopilot steps|once|rules on Linux), bounded by computer-wide rules enforced by CmdBrief in Settings › Computers › Rules.

LevelCLI valueWhat happens
Ask at each stepstepsYou approve the plan, the crew, and each tool request. On CmdBrief 0.5.100+, suggested crews wait indefinitely for your click with no countdown.
One approval (default)onceOne approval card at kickoff covers plan, crew, and limits; after that only actions outside your computer’s rules ask.
Within the rulesrulesThe lead’s project plan and suggested crews start automatically whenever they stay inside your computer’s rules.
Set the default level for new projects in Settings › Computers › Rules › Starting work › New projects here start with.
  • Starting work rules: Control Start the lead’s project plan (on by default), Largest crew that starts on its own (default 4, 0–16; 0 means every crew asks), Core seats start on their own (off by default), and Accept a suggested crew by itself after (Off, 1 min, 2 min default, or 5 min).
  • Auto-starting suggested crews: Under One approval or Within the rules, an unanswered crew proposal shows a countdown (Starts by itself in 1:42) and accepts automatically when the timer expires. Any edit on the proposal card, Stop timer, or Stop all cancels the timer immediately; seat caps and exhausted-provider checks still apply.
  • While it works rules: Configure Allow file edits in the project folder (on by default, excluding .git), Commands it may run (prefix list, one per line—shell chains ;, &&, ||, |, and $( ) still ask), Push to the project’s own branches (on by default), Hold new crew members at the lead’s 5-hour limit (default 75%; Off, 50%, 75%, or 90%), and Report each finished milestone (on by default; pairs with Grok Bot remote control push webhooks).
  • Always asks you (enforced regardless of rules): Signing in to anything, work outside the project folder, pushing main, commands not in your allowlist, and the lead’s own questions.

Check it worked

  • Settings › Computers › RulesReview Starting work, While it works, and Always asks you, then saveEvery automated action taken under your rules records an “On its own” entry in the computer’s Activity log.

If it fails

  • A routine shows “Lead gone” or “Skipped” in its run history

    Lead gone means that pane no longer leads its workspace—delete the routine or add it on the current lead. Skipped means the previous routine turn has not finished yet.

  • cmdbrief routines add refuses a write command on Linux

    You do this

    Run it from your own terminal or SSH session, not from inside a CmdBrief pane or agent shell (which shares the app’s cgroup).

  • Goal mode paused with “Goal paused” notification

    Inspect the lead’s pane—either 3 consecutive check-ins produced no observable progress, or the goal reached 25 check-ins in one stretch. Give clearer direction or resume the goal from its line on Stage.

  • A suggested crew auto-started when you wanted to review it first

    You do this

    Set Accept a suggested crew by itself after to Off in Settings › Computers › Rules, or start new projects on Ask at each step (0.5.100+ waits indefinitely).

  • Another computer’s routines do not appear on the Routines page

    Both computers must run CmdBrief 0.5.72 or later, be paired with Full use access, and have an active direct line (LAN or Tailscale).

Questions

Do Routines fire when my laptop is closed?

A routine fires only on the computer where its lead lives. If a Mac sleeps through a scheduled run and wakes within 12 hours, the routine fires once; later than 12 hours it logs as missed. Put the lead on a paired Linux agent server with cmdbrief serve if routines must fire while your laptop is closed.

Can a routine or Autopilot push directly to main or edit files outside my repo?

No. CmdBrief enforces five hard boundaries under Always asks you regardless of Autopilot rules: signing in to anything, work outside the project folder, pushing main, commands outside your explicit prefix allowlist (or chained shell commands), and the lead’s own questions.

Does Goal mode restart agents automatically when I open CmdBrief?

No. Saved goals start in a Dormant state after an app launch and send nothing until the agent finishes a turn or you explicitly resume the goal.

What happened to CmdBrief Playbooks?

Playbooks was retired in CmdBrief 0.5.88. Old reports and run logs stay readable on disk, while Routines continue to deliver scheduled prompts directly to your leads.

Still unsure? Write to [email protected] or use the contact form. Contact CmdBrief →

Primary sources

Provider terms and product behavior can change. Confirm plan, pricing, model, and permission details in the current official documentation.

We use cookies to analyze site usage.