Cascading Failure Detection
100TrustedPre-approves toolsIdentification of error propagation and retry loops in multi-step agent architectures.
What it does
Cascading Failure Detection modifies your assistant's behavioral profile to prioritize system stability during multi-stage processes. When this skill is active, the assistant shifts from simple task execution to evaluating how individual errors might ripple through a sequence of dependencies. It treats complex workflows as fragile systems rather than linear checklists.
This diagnostic skill focuses on uncovering weaknesses in error handling, such as unbounded retry loops or the failure to isolate downstream tasks after an upstream interruption. By identifying these gaps, it forces the assistant to simulate outages and validate input integrity before proceeding, preventing minor glitches from escalating into total system instability.
When it earns its place
Reach for it when…
Use this skill when designing complex agent workflows that rely on multiple external tools or chained API calls. It is most valuable during the development of systems involving high-stakes data processing or long-running automated tasks where a single point of failure could render the entire operation non-functional.
Look elsewhere when…
Do not use this for simple, single-step tasks or workflows that lack external dependencies or logical branching. It is also not suitable for performance monitoring or real-time logging, as this skill is designed for proactive risk assessment rather than operational observability.
What to say to use it
You never invoke a skill directly — the assistant picks it up when your request matches what it covers. These are the kinds of things that do that.
- Test this workflow for potential cascading failures
- Identify if this chain of operations has critical dependencies
- Find out if an upstream error stops the entire process
- Check for infinite retry loops in these instructions
Install it
Install for all your projects
Copy the skill directory into your personal skills folder. Claude picks it up on its own the next time your request matches what it does — there is nothing to enable.
git clone --depth 1 --branch main https://github.com/Tencent/AI-Infra-Guard.git /tmp/AI-Infra-Guard
mkdir -p ~/.claude/skills
cp -r /tmp/AI-Infra-Guard/agent-scan/agent_scan/prompt/skills/cascading-failure-detection ~/.claude/skills/cascading-failure-detectionInstall for one project only
Put it in the project's own skills folder instead, so it can be committed and shared with everyone working on that repository.
cp -r /tmp/AI-Infra-Guard/agent-scan/agent_scan/prompt/skills/cascading-failure-detection .claude/skills/cascading-failure-detectionIf a skill of the same name exists in both places, the personal one wins.
Installing on Claude.ai or through the API instead? The full guide covers every surface.
Pair it with an MCP server
Cascading Failure Detection changes how the work is done. These servers change what Claude can reach while doing it.
- PortSwigger MCP Server73The skill supplies the review method; PortSwigger MCP Server supplies the findings to run that method against.
- GitHub MCP Server53With GitHub MCP Server, a security review reads the code as it is committed rather than as it is described.
- Bitwarden MCP Server36Bitwarden MCP Server shows how credentials are actually held, which is usually where a compliance check finds its answer.