aits-critical-validator

aits-critical-validator is an agent for Claude Code from fabiolalli/aits-agents. It costs 76 tokens per session (3,147 once invoked), scanned B, original, MIT.

A decision-review agent that challenges hypotheses, plans, business cases, and decisions by examining risks, reasoning errors, and safeguards.

In plain words
What is it for?
It is for running premortems, rating risks by likelihood and impact, finding logical fallacies, and defining guardrails.
Why use it?
It helps reveal how a proposal could fail and separates serious risks from weaker arguments.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aits plugin — 4 commands, 12 agents, 3 hooks, 1 MCP server shipped together

Good fit It is for running premortems, rating risks by likelihood and impact, finding logical fallacies, and defining guardrails.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add fabiolalli/aits-agents
Claude Code
/plugin install aits

Made for: Claude Code.

Or install aits, the plugin that ships this one along with the rest of its 4 commands, 12 agents, 3 hooks, 1 MCP server.

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 aits-critical-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/fabiolalli/aits-agents/aits-critical-validator/github.svg)](https://agentmods.dev/agents/fabiolalli/aits-agents/aits-critical-validator)
Your own site
<a href="https://agentmods.dev/agents/fabiolalli/aits-agents/aits-critical-validator"><img src="https://agentmods.dev/badge/agents/fabiolalli/aits-agents/aits-critical-validator/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 aits-critical-validator

Your own site · 80×15
<a href="https://agentmods.dev/agents/fabiolalli/aits-agents/aits-critical-validator"><img src="https://agentmods.dev/badge/agents/fabiolalli/aits-agents/aits-critical-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,147 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00076 $0.03147
Opus 5.5 $0.00030 $0.01259
Sonnet 5.5 $0.00015 $0.00629
Haiku 4.5 $0.00008 $0.00315

Measured 3d ago against content hash a6a0ae5448aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

aits-critical-validator scanned grade B with 1 finding 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 3d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

3. If both are empty, look for the folder once with `ls -d ~/.claude/plugins/cache/*/aits/*/ ~/.claude/plugins/marketplaces/*/plugins/aits/ 2>/dev/null | head -1`, and use `$HOME/.claude/` only if nothing is found (files
plugins/aits/agents/aits-critical-validator.md · 254 lines

How it starts

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

Path Resolution (plugin install)

Files referenced as references/..., playbooks/..., graphs/... or schemas/... are relative to the plugin root, not to the current project.

  1. At the start of your work, run once echo "${AITS_PLUGIN_ROOT:-$CLAUDE_PLUGIN_ROOT}" and cache the value. The plugin sets AITS_PLUGIN_ROOT when the session starts.
  2. Prepend that root to any references/..., playbooks/..., graphs/... or schemas/... path before reading it.
  3. If both are empty, look for the folder once with ls -d ~/.claude/plugins/cache/*/aits/*/ ~/.claude/plugins/marketplaces/*/plugins/aits/ 2>/dev/null | head -1, and use $HOME/.claude/ only if nothing is found (files copied by hand). Do not search the whole disk.

Project-local paths such as .aits/ stay relative to the current project. The AITS engine is available as MCP tools with the aits_ prefix.

Critical-Validator Agent (Black) — AITS

You are the Critical-Validator Agent of AITS, evolved from De Bono's Black Hat. You are the firewall of the decision-making process. Your task is to find the flaws before reality finds them for us — rigorously, specifically, and constructively.

Cognitive Mission

Test the robustness of hypotheses and options. Reduce decision risk via formal premortem, structured risk mapping across 6 categories, fallacy detection, and guardrail design. Flag overall risk level so the Meta-Orchestrator can enforce inviolable rule #3.

Role in the System

  • After Green — to filter fragile ideas
  • After Yellow — to stress-test the business case
  • Before Blue synthesis — as the final robustness check
  • On re-invocation — when new information emerges that requires re-assessment
  • Conflict with Yellow — arbitrated by Ethical per conflict matrix
  • Severity ≥ 10 triggers inviolable rule #3 — Ethical or Predictive must activate before synthesis

Handoff Protocol

Receives from

  • Analytical → facts_for_stress_test (claims to be tested)
  • Emotional-Intuitive → resistance_points (people risks as candidate risks)
  • Creative-Generative → option set to test
  • Optimizer → business case assumptions to stress-test
  • Systemic → feedback loops and cascade paths
  • Meta-Orchestrator → accumulated context, specific questions, playbook's bias checklist

Read the full file on GitHub · 254 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. 3d ago Changed · +56 lines · +6 tokens per session scan A → B a6a0ae5448aa
  2. 2mo ago First seen · 198 lines · 70 tokens per session scan A 4c9ffc927d79

Subscribe to this mod's changes

aits-critical-validator is an agent published in the GitHub repository fabiolalli/aits-agents (10 stars, last pushed 3d ago), licensed MIT. It adds 76 tokens to every session and 3,147 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

aits-critical-validator compared with agents from other repositories

aits-critical-validator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aits-critical-validatorfabiolalli/aits-agentsAgent103d agoMITB76Claude Code
context-architectfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA21Claude Code
systematic-debuggingfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA28Claude Code
domain_reviewer_agentfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA22Claude Code
methodology_reviewer_agentfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA23Claude Code
editorial_synthesizer_agentfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA23Claude Code
perspective_reviewer_agentfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA22Claude Code