agent-resilience-testing

agent-resilience-testing is a skill for Codex from mnvsk97/agentbreak. It costs 97 tokens per session (1,089 once invoked), scanned A, original, MIT.

A workflow for testing whether an AI agent continues to behave safely when its language model, tools, instructions, safeguards, or supporting services fail or are attacked.

In plain words
What is it for?
It helps run fault-injection tests, inspect MCP connections, check guardrails, test skill supply-chain risks, and produce resilience scorecards and history.
Why use it?
It exposes failure modes that ordinary endpoint checks may miss, including prompt injection and failures in MCP servers or tools. MCP is a standard way for agents to connect to external tools and data.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps run fault-injection tests, inspect MCP connections, check guardrails, test skill supply-chain risks, and produce resilience scorecards and history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnvsk97/agentbreak/agent-resilience-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mnvsk97/agentbreak --skill agent-resilience-testing
Clone the repo
git clone --depth 1 https://github.com/mnvsk97/agentbreak

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-resilience-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/mnvsk97/agentbreak/agent-resilience-testing/github.svg)](https://agentmods.dev/skills/mnvsk97/agentbreak/agent-resilience-testing)
Your own site
<a href="https://agentmods.dev/skills/mnvsk97/agentbreak/agent-resilience-testing"><img src="https://agentmods.dev/badge/skills/mnvsk97/agentbreak/agent-resilience-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-resilience-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/mnvsk97/agentbreak/agent-resilience-testing"><img src="https://agentmods.dev/badge/skills/mnvsk97/agentbreak/agent-resilience-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,089 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01089
Opus 5.5 $0.00039 $0.00436
Sonnet 5.5 $0.00019 $0.00218
Haiku 4.5 $0.00010 $0.00109

Measured 2mo ago against content hash 2921f2844597, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-resilience-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agent-resilience-testing/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Resilience Testing

This skill is the orchestrator. AgentBreak is the deterministic engine for live fault injection; static checks and guardrail probes fill the gaps that a proxy cannot observe directly.

Core Rules

  • Run the real agentbreak CLI for initialization, validation, inspection, proxying, scorecards, and history.
  • Cover all four lanes: LLM failure modes, agent skill supply chain, guardrails, and MCP server/tool behavior.
  • Treat mock-mode direct requests as endpoint smoke tests, not full agent resilience evidence.
  • Treat proxy-mode traffic through the user's actual agent as the primary resilience signal.
  • If MCP is enabled, run agentbreak inspect before testing. If inspect fails, stop and ask whether to fix MCP config or disable MCP testing.
  • If proxy auth or connection validation fails, stop and fix that first. Do not run chaos tests against broken upstream auth.
  • Always clean up local processes and restore temporary .env changes after a run.
  • Ask before changing project config files unless the user has already explicitly asked you to perform setup.

Orchestrator Workflow

  1. Check AgentBreak

    • Run agentbreak --help.
    • If missing, detect uv or an active virtualenv and install with the least invasive command.
  2. Map The System

    • Inspect the repo for provider, framework, MCP usage, agent skills/capabilities, guardrails, tool calls, base URLs, retry logic, timeout handling, and error paths.
    • Read references/detection.md for scan patterns and what to report.
    • Present concise findings and choose mock or proxy mode.
  3. Build The Four-Lane Test Plan

    • Read references/coverage.md.
    • Lane 1: LLM failures: outages, brownouts, rate limits, context/token failures, malformed outputs, prompt injection, and streaming failures.
    • Lane 2: Agent skills: scan installed/local skills for unsafe instructions, secret access, network exfiltration, downloads, dangerous commands, and hidden prompt injection.
    • Lane 3: Guardrails: verify input, output, tool-argument, tool-result, PII/secrets, policy, and human-approval checks.
    • Lane 4: MCP: test server failures, tool failures, bad schemas, bad results, registry drift, rug pulls, poisoning, and cross-tool attacks.

Read the full file on GitHub · 78 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 78 lines · 97 tokens per session scan A 2921f2844597

Subscribe to this mod's changes

agent-resilience-testing is a skill published in the GitHub repository mnvsk97/agentbreak (20 stars, last pushed 5mo ago), licensed MIT. It adds 97 tokens to every session and 1,089 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Angry User Simulator

Simulate aggressive user behavior patterns including rapid clicking, random navigation, form abuse, tab spamming, and unexpected interaction sequences to find UI resilience issues.

PramodDutta/qaskills · 34 tokens

AI System Quality Engineer

Test LLM, RAG, MCP, and agentic systems end to end. Build golden datasets, run deterministic checks and LLM judges, score retrieval, probe prompt injection, verify tool use, and gate CI on thresholds. Orchestrates DeepEval, Ragas, promptfoo, and Langfuse.

PramodDutta/qaskills · 68 tokens

reticle

Reticle is the proof layer for AI coding agents. A dev-only SDK inside the user's running app gives you reticle MCP tools that read the DOM, network, routing, console and framework state. You act on the real app and get a verdict: yes, no, or unknown (could not tell), with evidence and the file:line to open. No…

reticlehq/reticle · 0 tokens

executing-distributed-system-tests

Use when running a previously designed distributed-systems test plan against a real or simulated cluster — driving fault injection, workload, chaos scenarios, linearizability / consistency runs, durability, partition, crash-recovery, upgrade, performance/SLO runs, tenant isolation runs, boundary or authz runs…

shenli/distributed-system-testing · 218 tokens

verify-unattended

Install, instrument and verify a web app end to end without pausing for a human. Use in an autonomous or goal-mode agent, in CI, or in any client that asks for approval on every command: it never says "restart your client" or "open a browser", because it takes a route that needs neither. Prefer the normal reticle…

reticlehq/reticle · 85 tokens

verify-language-switch

Prove a language switch translates what the user sees, keeps what they had already typed, and is still in force after a reload. Use when i18n, a locale picker, a language menu or translation files were added or changed, when a string is suspected of staying in the old language or showing a raw translation key, or when…

reticlehq/reticle · 87 tokens