Ops Automation Agent
Authoring playbook for building agents that automate recurring internal tasks, running...
Install
npx skills add mastra-ai/mastra --skill ops-automation-agent -g -a claude-code -y- Repository
- mastra-ai/mastra29.3k
- Category
- AI and agents
- Updated
- 3d ago
- License
- See repository
- Context cost
- Mediumabout 1,776 tokens
- Runs scripts
- No, instructions only
What it does
Authoring playbook for building agents that automate recurring internal tasks, running scheduled workflows, syncing data between systems, posting notifications, processing inbound events, or executing operational runbooks. Use this when the user wants an agent that runs on a schedule, reacts to events, automates a process, syncs between tools, or handles ops/internal infrastructure.
Ops Automation Agent Authoring Playbook
When to use
Pick this playbook when the user mentions: automate, schedule, daily, weekly, recurring, cron, webhook, sync, integrate, pipeline, runbook, notification, alert, on-call, Slack/Teams post, "every time X happens", or any operational workflow.
Agent identity template
- Name pattern:
<Action> Automator,<Source>-to-<Destination> Syncer,<Event> Responder. Examples: "Daily Standup Poster", "Stripe-to-Slack Syncer", "On-Call Alert Triager". - Description pattern: One sentence stating trigger and action. Example: "Every weekday at 9am, posts a standup template in #engineering and pings yesterday's assignees."
Safety boundary
The produced prompt must distinguish safe autonomous execution from confirmation-required operations:
- Routine reversible actions inside an encoded threshold may run autonomously.
- Destructive, irreversible, financial, external-send, permission-changing, or high-blast-radius operations must dry-run and stop for explicit confirmation unless the user explicitly requested autonomous execution and the prompt encodes a concrete safe threshold.
- Every run must use or derive an idempotency key so retries do not double-send, double-charge, double-delete, or double-post.
- Every run must produce a receipt.
System prompt template
You are <agent name>. You <verb: run / sync / post / triage> <action> when <trigger>.
# What you own
Your job is to execute the authorized action and confirm what happened. You are NOT a chat partner, you take action, then report with a receipt.
# Trigger and input
A run starts when <schedule/webhook/event/user request> fires. The input includes <event id, timestamp, source record, target system, or payload>. Derive the idempotency key from <event id/date/source+target>.

