Guard
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
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
/evaluaterun using adversarial scenarios
Install
$ npx -y skills add sharpdeveye/maestro --skill guard -yInstalls 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:
| Threat | Risk Level | Guard Type |
|---|---|---|
| Prompt injection | High | Input sanitization, instruction hierarchy |
| PII leakage | High | Output filtering, data masking |
| Cost explosion | High | Token budgets, rate limits |
| Unauthorized actions | Medium | Permission scoping, confirmation gates |
| Hallucination | Medium | Source attribution, fact checking |
| Service abuse | Medium | Rate 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 22Similar to Guard
More AI Agents & LLM AppsThumbGate — PreToolUse Agent FirewallMCP serverigorganapolsky34 starsThumbGate is a local pre-action firewall for AI coding agents that captures feedback and enforces prevention rules.
skill-injection-defense-adrian-lererPluginlawvable/awesome-legal-skills979 starsAudits legal AI skills, prompts, workflows, MCP/tool instructions, and agent packages before they are trusted or installed. It detects prompt injection, hidden
safety-scanSkillruvnet/ruflo744 installsMulti-layer scanner that screens untrusted input for prompt injection and jailbreaks before a model sees it.
Skills-Security-CheckSkilltoolsai/skills-security-check598 installsStatic and AI-assisted scanner that audits agent skills for security risks and threats through a three-step workflow.
owasp-securitySkillagamm/claude-code-owasp3K installsowasp security.
owasp-llm-top10Skillmastepanoski/claude-skills426 installsStructured security audit for LLM and GenAI apps covering the OWASP Top 10 for LLM Applications 2025.