Skip to content

Resilience guidance that adds retry backoff, fallbacks, circuit breakers, and timeouts to failing agent workflows.

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

Own this skill? Claim it

What it does

  • Covers five fortification layers: input validation, retry with backoff, fallback responses, circuit breakers, and timeout controls
  • Specifies a retry policy with 3 retries, exponential backoff capped at 30s, and explicit retryable and non-retryable status codes
  • Defines a circuit breaker that opens after 5 consecutive failures and allows a single half-open probe after a 60-second cooldown
  • Enforces per-call timeouts for model APIs, tools, databases, and third-party services, plus a checklist audit that ends with /evaluate

Install

$ npx -y skills add sharpdeveye/maestro --skill fortify -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 defense-in-depth patterns and error boundary design.


Make the workflow resilient. Every external call will fail eventually — model APIs, tools, databases, third-party services. Fortify ensures the workflow handles failure gracefully.

Fortification Layers

Layer 1: Input Validation

  • Validate all inputs before processing
  • Return clear error messages for invalid input
  • Set size limits on all input fields

Layer 2: Retry with Backoff For transient failures (network errors, rate limits, timeouts):

Retry strategy:
  max_retries: 3
  initial_delay: 1s
  backoff_multiplier: 2
  max_delay: 30s
  retryable_errors: [429, 500, 502, 503, 504, TIMEOUT, CONNECTION_ERROR]
  non_retryable_errors: [400, 401, 403, 404]

Layer 3: Fallback Responses When retries are exhausted:

Details

Repository
github.com/sharpdeveye/maestro
Categories
AI Agents & LLM Apps, Agent Workflow & Planning, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the fortify skill do?

fortify makes an agent workflow resilient to failure by adding input validation, retry with backoff, fallback responses, circuit breakers and timeout controls. It is meant for workflows that lack error handling or have been failing in production.

When should I use the fortify skill?

Use fortify when a workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies and circuit breakers. Its audit checks each component for input validation, retries, fallbacks, timeouts and meaningful user errors.

How do I install the fortify skill?

Run npx -y skills add sharpdeveye/maestro --skill fortify -y in a project to install it. After installation, fortify lets your agent harden each external call against model API, tool and database failures.

Where does fortify stand in the AI Agents & LLM Apps category?

fortify is listed in the AI Agents & LLM Apps category on Claude Marketplaces, alongside microsoft-foundry, azure-ai and several google-agents-cli skills. Its focus on failure handling sets it apart from skills that build or publish agents.

More from sharpdeveye/maestro

All 22

Similar to Fortify

More AI Agents & LLM Apps