Agent Failure Preflight

Pre-deployment failure-mode gate for agentic AI systems, distilled from Microsoft AI Red Team's Taxonomy of Failure Modes in Agentic AI Systems v2.0 (grounded in 12 months of red-team engagements). Run it before shipping or materially changing an agent — adding tools/MCP servers/plugins, enabling persistent memory, adding sub-agents or orchestration, enabling computer use, or expanding permissions — to verify concrete controls against memory poisoning, HitL bypass, goal hijacking, supply-chain compromise, session context contamination, capability disclosure, and multi-agent cascade failures.

10 stars 2 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Archive228/lab-skills --skill agent-failure-preflight
Manual install
git clone --depth 1 https://github.com/Archive228/lab-skills.git /tmp/lab-skills
mkdir -p ~/.claude/skills
cp -r /tmp/lab-skills/skills/agent-failure-preflight ~/.claude/skills/agent-failure-preflight

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Agent Failure-Mode Preflight

This skill turns Microsoft AI Red Team's Taxonomy of Failure Modes in Agentic AI Systems v2.0 — built from twelve months of red-team engagements against deployed agentic systems — into a pre-ship gate. It gives you the two-axis failure-mode map (novel vs. existing, safety vs. security), the seven failure modes added in v2.0, the five new mitigation families, and a copy-paste checklist to run before any agent deployment or material change. The taxonomy's own framing: it is a threat-modeling tool, not a compliance checklist — for each failure mode, ask whether it can occur in your system and whether a control would detect or prevent it.

## When to use

Run this preflight when any of the following is about to ship:

- A new agentic system (anything that observes, plans, reasons, and acts against an environment).
- A new tool, plugin, MCP server, prompt template, or skill added to an existing agent — each is a supply-chain ingestion point.
- Persistent memory or RAG enabled, or memory scope expanded.
- A sub-agent, orchestrator, or any inter-agent messaging added.
- Computer-use (screenshot/click/type) capability enabled.
- Permission, tool, or network scope expanded; human-in-the-loop (HitL) flow changed.
Read the full skill on GitHub

Details

Skill name
agent-failure-preflight
Path
skills/agent-failure-preflight/SKILL.md
License
MIT
Repo updated
12 August 2026

FAQ

What does the Agent Failure Preflight skill do?

Pre-deployment failure-mode gate for agentic AI systems, distilled from Microsoft AI Red Team's Taxonomy of Failure Modes in Agentic AI Systems v2.0 (grounded in 12 months of red-team engagements). Run it before shipping or materially changing an agent — adding tools/MCP servers/plugins, enabling persistent memory, adding sub-agents or orchestration, enabling computer use, or expanding permissions — to verify concrete controls against memory poisoning, HitL bypass, goal hijacking, supply-chain compromise, session context contamination, capability disclosure, and multi-agent cascade failures.

How do I install the Agent Failure Preflight skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Archive228/lab-skills --skill agent-failure-preflight. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Agent Failure Preflight popular?

It lives in Archive228/lab-skills, which has 10 GitHub stars and 2 forks.

Related skills

Agent Design Fundamentals

10

Archive228/lab-skills

Decision rules for whether to build an LLM agent and how to architect it, distilled from OpenAI's "A Practical Guide to Building Agents": build/no-build criteria, model selection, tool design, single-agent vs multi-agent orchestration (manager pattern vs decentralized handoffs), layered guardrails, and human-in-the-loop triggers. Use when designing, reviewing, or refactoring an agent system — before choosing an architecture, adding more agents, defining tools, or shipping an agent to production without guardrails.

AI, LLMs & Agents

Agent Evals

10

Archive228/lab-skills

Build and maintain evaluation suites for AI agents: bootstrap 20-50 tasks from real failures, pick code-based vs model-based vs human graders by agent architecture (coding, conversational, research, computer-use), write unambiguous tasks with reference solutions, and keep suites alive via ownership and transcript reading. Use when creating evals from zero, adding graders or eval cases, debugging suspicious eval scores, or deciding pass@k vs pass^k metrics for an agent product.

AI, LLMs & Agents

Agent Improvement Loop

10

Archive228/lab-skills

Operate a trace-driven improvement loop for a deployed agent: capture execution traces, convert human and model feedback into Promptfoo evals, gate the current harness against them, rank harness changes with HALO, and hand off a Codex-ready change set. Use when an agent is live and you need a repeatable cadence for diagnosing failures and shipping harness fixes — not for pre-launch prompt tinkering without traces.

AI, LLMs & Agents

Agent Sandboxing

10

Archive228/lab-skills

Containment architecture for agent products that execute code, browse, or call tools, distilled from Anthropic's "How we contain Claude across products". Use when designing or reviewing sandboxing, isolation, permission systems, egress controls, or untrusted-content handling for an agent, or when choosing between container, OS-sandbox, and VM isolation patterns; provides a threat-model checklist covering user misuse, model misbehavior, and external attacks.

AI, LLMs & Agents

Agent Sessions

9

vladmdgolam/agent-skills

Search, list, and resume AI agent sessions across Claude Code, Codex CLI, Gemini CLI, opencode, Hermes Agent, and Cline CLI. Use when the user asks to find a past conversation, search session history, resume a previous session, list recent agent activity, or check what was discussed in a prior session. Also use when asked to "find that conversation where I...", "resume my last codex session", "read latest convo", "read last messages", "what did I work on yesterday", "search my claude history for X", or gives an agent session id such as `ses_...`, a UUID, or a Cline id like `1782988565588_qqrxi

AI, LLMs & Agents

Agent Builder

5

NikolasMarkou/agent-builder

Build, review, troubleshoot, optimize, and extend AI agents — single-agent, multi-agent, RAG, and production systems. Covers framework selection, pattern selection (topology, behavioral, data flow), agent orchestration, state design, and tool design. Defaults to Python with LangChain/LangGraph; also supports CrewAI, Strands, OpenAI Agents SDK, Google ADK, and Mastra. Use whenever the user wants to build, design, scaffold, review, debug, optimize, extend, or migrate an agent or agentic system.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.