nb automation
nb automation manages scheduled automation rules. Automations are agent tasks that run on a cron schedule, executing a prompt with optional tool access and skill matching.
nb automation <action> [name] [flags]Actions
Section titled “Actions”| Action | Description |
|---|---|
list | List all automations with status |
status <name> | Show automation details and run history |
run <name> | Trigger an immediate run |
pause <name> | Disable an automation |
resume <name> | Re-enable an automation |
Listing automations
Section titled “Listing automations”Show all configured automations with their current state:
nb automation listNAME ENABLED SCHEDULE SOURCE LAST RUN NEXT RUNdaily-summary yes 0 9 * * * config completed 2026-04-15T09:00:00Zweekly-report no 0 8 * * 1 config - -
2 automation(s)Pass --json for machine-readable output.
Checking status
Section titled “Checking status”View details about a specific automation, including its configuration and recent run history:
nb automation status daily-summaryName: daily-summaryID: auto_abc123Description: Generate a daily activity summaryEnabled: yesSchedule: 0 9 * * *Source: configRun count: 47Errors: 0 consecutiveLast run: 2026-04-14T09:00:03ZNext run: 2026-04-15T09:00:00ZModel: claude-sonnet-4-6Prompt: Summarize yesterday's workspace activity and highlight anything that needs...
Recent runs: ID STATUS STARTED ITERS TOOLS run_a1b2c3 completed 2026-04-14T09:00:03Z 3 5 run_d4e5f6 completed 2026-04-13T09:00:02Z 2 3Triggering a run
Section titled “Triggering a run”Execute an automation immediately, outside its normal schedule:
nb automation run daily-summaryRun run_x7y8z9: completed Started: 2026-04-14T15:30:01Z Completed: 2026-04-14T15:30:12Z Iterations: 3 Tool calls: 5 Result: Here is the daily summary for April 14...The run uses the automation’s configured model, skill, and tool access. It does not affect the next scheduled run.
Pausing and resuming
Section titled “Pausing and resuming”Disable an automation to stop it from running on schedule:
nb automation pause daily-summaryPaused "daily-summary".Re-enable it:
nb automation resume daily-summaryResumed "daily-summary".JSON output
Section titled “JSON output”All subcommands support --json for structured output:
nb automation list --jsonnb automation status daily-summary --jsonnb automation run daily-summary --json