.maestro/cue.yaml configurations for common workflows. Each example is self-contained — drop it into your project’s .maestro/ directory and adjust agent names to match your Left Bar.
Pipeline Grouping
Group related automations under a single pipeline — multiple trigger lines appear as one pipeline in the Pipeline Editor instead of cluttering the dropdown.- The
# Pipeline: Monitoring (color: #06b6d4)comment declares the pipeline name and UI color - The first subscription’s
namematches the pipeline name (Monitoring) - Additional subscriptions use
Name-chain-N(e.g.,Monitoring-chain-1) - The
labelfield gives each line a descriptive name in the UI
Workspace Initialization
Run setup tasks once when the Maestro application launches — install dependencies, verify environment, run health checks. Agents needed:setup-agent
CI-Style Pipeline
Lint, test, and deploy in sequence. Each step only runs if the previous one succeeded. Agents needed:linter, tester, deployer
The linter agent’s .maestro/cue.yaml:
tester agent’s .maestro/cue.yaml:
deployer agent’s .maestro/cue.yaml:
Scheduled Automation
Run prompts at specific times and days usingtime.scheduled. Unlike time.heartbeat (which fires every N minutes), scheduled triggers fire at exact clock times.
Agent needed: ops
Selective Chaining with triggeredBy
When an agent has multiple subscriptions but only one should chain to another agent, use thetriggeredBy filter. This field contains the subscription name that triggered the completing run.
Agents needed: worker (has multiple cue subscriptions), reviewer
The worker agent’s .maestro/cue.yaml:
reviewer agent’s .maestro/cue.yaml:
triggeredBy filter also supports glob patterns: triggeredBy: "implement-*" matches any subscription name starting with implement-.
Research Swarm
Fan out a question to multiple agents, then fan in to synthesize results. Agents needed:coordinator, researcher-a, researcher-b, researcher-c
The coordinator agent’s .maestro/cue.yaml:
PR Review with Targeted Follow-Up
Auto-review new PRs, then selectively notify a security reviewer only for PRs that touch auth code. Agents needed:pr-reviewer, security-reviewer
The pr-reviewer agent’s .maestro/cue.yaml:
security-reviewer agent’s .maestro/cue.yaml:
TODO Task Queue
Watch a markdown file for unchecked tasks and work through them sequentially. Agents needed:task-worker
Multi-Environment Deploy
Fan out deployments to staging, production, and docs after a build passes. Agents needed:builder, deploy-staging, deploy-prod, deploy-docs
The builder agent’s .maestro/cue.yaml:
builder (e.g., deploy-staging):
Issue Triage Bot
Auto-triage new GitHub issues by labeling and assigning them. Agents needed:triage-bot
Debate Pattern
Two agents analyze a problem independently, then a third synthesizes their perspectives. Agents needed:advocate, critic, judge
The config that triggers the debate (on any agent with visibility):
judge agent’s .maestro/cue.yaml:
Scheduled Report with Conditional Chain
Generate an hourly report, but only notify a summary agent when there’s meaningful activity. Agents needed:reporter, summarizer
The reporter agent’s .maestro/cue.yaml:
summarizer agent’s .maestro/cue.yaml: