ops-automation-agent

Generates system prompts for agents that automate scheduled and event-driven operational tasks.

27.6k|2.7k|Updated Aug 6, 2024
One-click install
npx skills add https://github.com/mastra-ai/mastra --skill ops-automation-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ops-automation-agent
Source: https://github.com/mastra-ai/mastra/tree/main/packages/editor/src/ee/workspace/skills/ops-automation-agent
Command: npx skills add https://github.com/mastra-ai/mastra --skill ops-automation-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building agents that run recurring internal tasks (scheduled posts, data syncs, webhook reactions) is risky without guardrails: they double-post, retry forever on expired credentials, or execute destructive actions without confirmation. This playbook produces ops automation agent prompts with idempotency, confirmation boundaries, and receipt-based output baked in.

Core Features & Use Cases

  • System prompt template: Generates a complete agent prompt with trigger handling, idempotency key derivation, blast-radius caps, and a mandatory 7-field receipt output format.
  • Safety boundary enforcement: Distinguishes autonomous reversible actions from destructive, financial, or high-blast-radius operations that must dry-run and stop for confirmation.
  • Naming and capability guidance: Provides naming patterns, tool-selection rules (one integration per agent, scheduler for cadence), and anti-patterns to avoid.
  • Use Case: A user asks for an agent that posts a standup template in #engineering every weekday at 9am; the playbook produces a "Daily Standup Poster" agent with a date-based idempotency key, Slack integration, scheduler workflow, and receipt-style reporting.

Quick Start

Ask the agent builder to create an agent that syncs new Stripe payments into a Slack channel every hour, using this playbook to enforce idempotency and receipt output.

Frequently Asked Questions about ops-automation-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an agent that runs on a schedule?

Define the trigger as a cron or scheduler workflow, derive an idempotency key from the date or event id, and attach the specific integration tool for the target system. The generated prompt enforces duplicate checks and receipt output on every run.

How do I prevent an automation agent from posting duplicates?

Every run must derive an idempotency key from the event id, date, or source-plus-target pair and check whether it already completed before acting. If the key already succeeded, the agent skips and reports "already done" in its receipt.

When should an ops agent require confirmation before acting?

Destructive, irreversible, financial, external-send, permission-changing, or high-blast-radius operations must produce a dry-run receipt and stop for explicit confirmation. Routine reversible actions inside an encoded safe threshold may run autonomously.

What tools should an ops automation agent have?

Attach the specific integration tool for the target system (Slack, Linear, GitHub, Stripe, Notion), plus a scheduler workflow if it runs on a cadence. Do not attach research, writing, or code tools to a pure ops automation agent.

What happens when an automation agent's credentials expire?

The agent must not retry indefinitely on failures like a 401 or expired token. It reports the plain-language error, names the missing or expired credential, and exits the run with a failed status in the receipt.