Skip to content

Threat-aware safety guards for workflows covering input, output, cost, and permission checks.

CCM score
40 of 100
skills.sh installs
370
GitHub stars
602
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers input, output, cost, and permission guards for autonomous workflows, plus a threat assessment table ranking risks by level
  • Includes a pre-deployment checklist: input validation, PII scanning, cost ceilings, injection defenses, confirmation gates, and audit logging
  • Enforces schema validation, size limits, rate limits, and circuit breakers before any model or API call is processed
  • Designed for workflows that touch production systems or sensitive data, with a follow-up /evaluate run using adversarial scenarios

Install

$ npx -y skills add sharpdeveye/maestro --skill guard -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

MANDATORY PREPARATION

Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.

Consult the guardrails-safety reference in the agent-workflow skill for the full defense-in-depth framework.


Add safety boundaries to a workflow. Guards protect against malicious inputs, unintended outputs, data leakage, cost explosion, and all the ways an autonomous system can go wrong in the real world.

Threat Assessment

Before adding guards, understand what you're protecting against:

ThreatRisk LevelGuard Type
Prompt injectionHighInput sanitization, instruction hierarchy
PII leakageHighOutput filtering, data masking
Cost explosionHighToken budgets, rate limits
Unauthorized actionsMediumPermission scoping, confirmation gates
HallucinationMediumSource attribution, fact checking
Service abuseMediumRate limiting, authentication

Guard Implementation

Input Guards

Details

Repository
github.com/sharpdeveye/maestro
Categories
AI Agents & LLM Apps, Security
First seen
Jun 3, 2026

Questions

What does the guard skill do for an AI agent workflow?

The guard skill adds safety boundaries to a workflow, protecting against prompt injection, PII leakage, cost explosion, unauthorized actions, hallucination, and service abuse. It adds input, output, cost, and permission guards plus a checklist for audit logging and circuit breakers.

When should I use the guard skill?

Use guard when deploying to production, handling sensitive data, or when a workflow needs safety constraints, input validation, and security boundaries. The skill runs /agent-workflow first and follows its context gathering protocol before adding guards.

How do I install the guard skill?

Run npx -y skills add sharpdeveye/maestro --skill guard -y in your project. Once installed, the skill lets your agent validate inputs, filter outputs for PII, enforce cost ceilings, and require confirmation for destructive operations.

Where does guard stand in the AI Agents and LLM Apps category?

Guard is listed in the AI Agents and LLM Apps category on Claude Marketplaces, alongside skills such as microsoft-foundry, azure-ai, and the google-agents-cli skills. Its specific focus is safety boundaries and defense in depth rather than building agents themselves.

More from sharpdeveye/maestro

All 22