Before you ship an agent workflow to production, this skill helps you add the safety rails you'll actually need: input validation, PII filtering, cost budgets, and permission checks. It walks through threat assessment (prompt injection, data leakage, cost explosion), then gives you concrete guard patterns for inputs, outputs, costs, and permissions. The checklist is practical: validate everything, scan for sensitive data, set spending limits, require confirmation for destructive actions. If you're deploying anything that touches real data or makes real API calls, you want these guardrails in place before things go sideways.

skills.sh installs
351
GitHub stars
602
last updated
Aug 21, 2026

Install

$ npx -y skills add sharpdeveye/maestro --skill guard --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/sharpdeveye/maestro
Categories
Security, Automation & Workflows
First seen
Jun 3, 2026

More from sharpdeveye/maestro

All 22

Recommended

More Security
1casper-studios avatargoogle-workspacecasper-studios/casper-marketplaceGoogle Drive, Gmail, Calendar, and Docs operations via OAuth. Use this skill when uploading files to Drive, searching Drive folders, searching Gmail, finding ca348skills.sh installs
2dhruvanbhalara avatarflutter-firebasedhruvanbhalara/skillsIntegrate Firebase services including Authentication, Firestore, Cloud Messaging, Crashlytics, and Analytics. Use when adding backend capabilities, push notific341skills.sh installs
3onewave-ai avatargit-pr-revieweronewave-ai/claude-skillsReview pull requests for code quality, security issues, and best practices. Use when reviewing PRs, checking code changes, or analyzing diffs before merge.334skills.sh installs
4wsimmonds avatarnextjs-client-cookie-patternwsimmonds/claude-nextjs-skillsPattern for client components calling server actions to set cookies in Next.js. Covers the two-file pattern of a client component with user interaction (onClick325skills.sh installs
5levnikolaevich avatarln-625-dependencies-auditorlevnikolaevich/claude-code-skillsChecks outdated packages, unused deps, reinvented wheels, CVE/CVSS vulnerability scan. Use when auditing dependencies.324skills.sh installs
6jezweb avatarstreamlit-snowflakejezweb/claude-skillsBuild and deploy Streamlit apps natively in Snowflake. Covers snowflake.yml scaffolding, Snowpark sessions, multi-page structure, Marketplace publishing as Nati320skills.sh installs