critical

critical is a skill for Claude Code from mthines/agent-skills. It costs 98 tokens per session (2,234 once invoked), scanned A, original, MIT.

A structured review that challenges a plan, code change, or bug diagnosis by looking for specific ways it could fail.

In plain words
What is it for?
Use it before approving a plan, starting autonomous work, or accepting a diagnosis. It checks failure modes, affected areas, rollback options, hidden dependencies, and long-term upkeep.
Why use it?
It reduces the chance that an assistant simply agrees with a weak idea or misses hidden risks. Findings are tied to files, lines, or stated assumptions, with an alternative approach considered.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Part of the mthines-agent-skills plugin — 54 skills, 3 agents, 2 hooks shipped together

Good fit Use it before approving a plan, starting autonomous work, or accepting a diagnosis. It checks failure modes, affected areas, rollback options, hidden dependencies, and long-term upkeep.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mthines/agent-skills/critical
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 mthines/agent-skills --skill critical
Clone the repo
git clone --depth 1 https://github.com/mthines/agent-skills

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 3 agents, 2 hooks.

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 critical

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/critical"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/critical.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,234 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 119
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 139
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 156
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 243
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00098 $0.02234
Opus 5.5 $0.00039 $0.00894
Sonnet 5.5 $0.00020 $0.00447
Haiku 4.5 $0.00010 $0.00223

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

Security

Grade A, and why

critical 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 1mo 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/quality/critical/SKILL.md · 181 lines

How it starts

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

Critical — Adversarial Pre-Mortem

Challenge the proposed work as a hostile staff engineer would. Surface specific, grounded failure modes; force at least one steelmanned alternative; hand scoring to /confidence. Why one pass, a fixed taxonomy, and no scores: references/why-single-pass.md.

Contents

When to use

Use it before locking a plan or handing off to autonomous execution, before a high-stakes PR (migrations, auth, billing, shared infra), when a proposed root cause feels off, or at the end of a feature (/critical deep code). Skip it on routine, low-stakes edits, after /confidence already passed at ≥ 90% with zero concerns, and for syntactic or style checks (/polish simplify and pr-reviewer cover those); deep costs ~5 sub-agent dispatches, so not on routine changes.

Mode detection

Parse $ARGUMENTS; default to plan if no argument.

Argument Default Target Typical caller
plan yes A plan.md or proposed approach Planning phase, before autonomous execution
code A diff or set of changed files Reviewer agent (--critical), pre-PR
analysis A root-cause + fix proposal /implement-suggestion Phase 4 (per review comment, before the /confidence gate)

A deep first token is a depth modifier, not a target: strip it, detect the target from the next token, and follow Deep mode.

State the detected mode in one line before running: Mode: critical/<mode>. Target: <one-line summary>. (deep: Mode: critical/deep/<mode>. Lenses: <n>.)

Read the full file on GitHub · 181 lines

Files

What ships with it

5 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. 1mo ago Changed · -2 lines 35a24c70405f
  2. 1mo ago Changed · -105 lines · -121 tokens per session bedb83cc05e8
  3. 2mo ago Changed · +22 lines · +54 tokens per session c53c673a5091
  4. 3mo ago First seen · 266 lines · 165 tokens per session scan A c0b037b3558c

Subscribe to this mod's changes

critical is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 98 tokens to every session and 2,234 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-31.

Related

critical compared with skills from other repositories

critical next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
criticalmthines/agent-skillsSkill22yesterdayMITA98Claude Code
ego-lite-simplifycitrolabs/ego-liteSkill26kyesterdayMITA68Codex
create-pull-requestCodelyTV/agent-harnessSkill36310d agononeA64Claude Code
code-review-and-qualityshennawardana23/skillmeSkill41mo agoApache-2.0A86Claude Code
coding-standardsshennawardana23/skillmeSkill41mo agoApache-2.0A106Claude Code
doubt-driven-developmentshennawardana23/skillmeSkill41mo agoApache-2.0A81Claude Code
best-practicesshennawardana23/skillmeSkill41mo agoApache-2.0A49Claude Code