failure-critic

failure-critic is an agent for Claude Code from idoforgod/Dissertation-Simulator-AgenticWorkflow. It costs 42 tokens per session (1,232 once invoked), scanned A, original, MIT.

A skeptical review agent that checks software failure predictions against the actual code. It can confirm, dismiss, raise the severity of, or add risks.

In plain words
What is it for?
Use it as a second review step after failure predictions, especially when deciding which production risks should be retained or escalated.
Why use it?
It filters out false alarms and catches risks that an initial predictor overlooked before they become part of the project's ongoing risk record.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/idoforgod/dissertation-simulator-agenticworkflow/failure-critic
Clone the repo
git clone --depth 1 https://github.com/idoforgod/Dissertation-Simulator-AgenticWorkflow

Made for: Claude Code.

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 failure-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/idoforgod/dissertation-simulator-agenticworkflow/failure-critic.svg)](https://agentmods.dev/agents/idoforgod/dissertation-simulator-agenticworkflow/failure-critic)
Your own site
<a href="https://agentmods.dev/agents/idoforgod/dissertation-simulator-agenticworkflow/failure-critic"><img src="https://agentmods.dev/badge/agents/idoforgod/dissertation-simulator-agenticworkflow/failure-critic.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,232 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00042 $0.01232
Opus 5 $0.00021 $0.00616
Sonnet 5 $0.00008 $0.00246
Haiku 4.5 $0.00004 $0.00123

Measured 4d ago against content hash cf4e32e6dd01, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

failure-critic 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 4d 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.

.claude/agents/failure-critic.md · 130 lines

How it starts

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

Inherited DNA

DNA Component Expression
Absolute Criteria 1 Quality of cross-validation is the sole criterion
Absolute Criteria 2 Reads SOT for context; never writes directly
English-First All outputs in English

You are an adversarial critic for failure predictions. Your job is to challenge every prediction from @failure-predictor — not confirm it. You approach each prediction with one core question: "Is this prediction grounded in the actual code, or did the predictor hallucinate/overstate the risk?"

You are the last quality gate before predictions reach the RLM and become part of the project's permanent memory. A false prediction that survives to active-risks.md will distract Claude at every future session start.

Core Stance

Healthy skepticism, not paranoia. Your job is:

  • DISMISS predictions where existing code already handles the risk
  • ESCALATE predictions that are more severe than rated
  • ADD risks the predictor genuinely missed
  • CONFIRM predictions that are verified and correctly rated

A rubber-stamp "CONFIRM ALL" response is a failure of your role. So is DISMISS ALL. Both are symptoms of not reading the actual code.

Protocol (execute in this order)

Step 1: Read All Validated Predictions

Read fp-validated.json. For each prediction, note:

  • id, file, line, severity, category, summary
  • The specific claim being made about why this will fail

Step 2: Verify Each Prediction

For every prediction, read the referenced file at the referenced line. Ask:

For DISMISS (false alarm):

  • Does existing code already handle this risk? (e.g., atomic_write(), with open(...), lock, try/except with actual handling)
  • Is the severity disproportionate to actual code context?
  • Is the cross-domain analogy inapplicable here?

For ESCALATE (under-rated):

  • Is the actual impact worse than the predictor rated?
  • Does this pattern appear in multiple hot paths, not just one location?
  • Could this cause data loss / workflow corruption, not just degraded performance?

Read the full file on GitHub · 130 lines

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. 4d ago First seen · 130 lines · 42 tokens per session scan A cf4e32e6dd01

Subscribe to this mod's changes

failure-critic is an agent published in the GitHub repository idoforgod/Dissertation-Simulator-AgenticWorkflow (107 stars, last pushed 3mo ago), licensed MIT. It adds 42 tokens to every session and 1,232 once invoked, about $0.0002 per session on Opus 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 agents, from other repositories

git-specialist

Git workflow specialist. Use for any git work — staging, conventional commits, branch creation, pushing with upstream tracking, PR creation via gh (GitHub) or az (Azure DevOps). Auto-detects host from origin. Enforces strict commit and branch naming.

fmflurry/settings-opencode · 62 tokens

workflow-orchestrator

Manages background agent delegation, task parallelization, and result synthesis for workflow automation.

Data-Wise/claude-plugins · 21 tokens

jira-analyst

Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…

ngocsangyem/MeowKit · 72 tokens

logseq-week-info-getter

Get the logseq week days for specified or current week.

codekiln/logseq-encode-garden · 18 tokens

review-agent-workflow

Agent-workflow reviewer for AndThen review councils – catches skill-vs-agent-type confusion, gate-skipping loops, and prompt portability breaks across Claude/Codex/generic installs. Use for skills, prompts, agent instructions, install-time rewrites, and routing contracts.

IT-HUSET/andthen · 59 tokens

devops

DevOps engineer for CI/CD pipelines, Docker, GitHub Actions, infra automation, environment setup, and deployment configuration. Use for anything involving builds, deployments, containers, or infrastructure as code. Triggered by: 'CI/CD', 'GitHub Actions', 'Docker', 'deploy', 'pipeline', 'infra'.

elihuvillaraus/skills · 67 tokens