automations
FeaturedCreate and manage bb automations from the first-party automations plugin. Use when scheduling recurring or one-shot agent/script work with bb automation commands.
AI & Automation 3,526 stars
455 forks Updated today MIT
Install
Quality Score: 87/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Automations
An automation is a scheduled task. When due it runs in one of two modes:
agent Spawn a thread or re-prompt a target thread with a configured prompt.
script Run a stored server-side script and capture stdout/stderr/exit.
Use the top-level `bb automation` command. The CLI routes it to this plugin.
Pass `--project` explicitly for every automation command. Inside a thread, automations are stamped origin `agent` and record the creating thread automatically. Automation-spawned threads cannot create automations.
Choosing a mode:
Use `script` when the output is fully determined by code: watchdogs, threshold alerts, health checks, heartbeats, and API pollers with a fixed output shape. Scripts run on the bb server, with cwd inside the plugin data directory's `scripts/` area. Script automations do not have an environment field and do not accept environment flags.
Design the script to print nothing when there is nothing to report: an exit-0 run with empty stdout/stderr, or a last non-empty line of `{"wakeAgent": false}`, is recorded as a skipped silent tick. Any other output is captured; non-zero exit or timeout is recorded as a failed run.
Use `agent` when the run needs reasoning: summarize a feed, pick interesting items, draft a human-friendly message, or branch on content.
Creating:
```bash
bb automation create --project <id> --name "..." [schedule flags] [mode flags]
```
Schedule flags:
```text
--cron <expr> Recurring 5-field cron expression...
Details
- Author
- get-bb
- Repository
- get-bb/bb
- Created
- 6 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
automations
Create and manage Patcher automations from the first-party automations plugin. Use when scheduling recurring or one-shot agent/script work with patcher automation commands.
0 Updated today
laruss AI & Automation Listed
ha-automation
Create or modify Home Assistant automations and scripts. Use when the user wants to automate behavior ("when X happens, do Y"), schedule something, or edit/fix an existing automation or script.
1 Updated today
LayerTM AI & Automation Listed
automation
Collects the details needed to create or update a bigbud automation and emits a machine-readable automation request block.
31 Updated 2 days ago
youpele52