root-cause-review

root-cause-review is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 34 tokens per session (808 once invoked), scanned A, original, Apache-2.0.

A root-cause review is a follow-up review for work that was sent back for changes. It checks whether each earlier problem was fixed at its source rather than hidden by a symptom-level patch.

In plain words
What is it for?
Use it to read the previous feedback, match every point to the new code, and reject fixes that only special-case inputs, ignore errors, or remove useful checks.
Why use it?
A change can make a failing case look better while leaving the underlying bug in place. This review helps prevent the same issue from returning in testing or production.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to read the previous feedback, match every point to the new code, and reject fixes that only special-case inputs, ignore errors, or remove useful checks.

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

Made for: Claude Code, Codex.

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 root-cause-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/root-cause-review"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/root-cause-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 808 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.
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.00034 $0.00808
Opus 5.5 $0.00014 $0.00323
Sonnet 5.5 $0.00007 $0.00162
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

root-cause-review 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 8d 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.

catalog/agents/system-architect/skills/root-cause-review/SKILL.md · 43 lines

How it starts

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

Root-Cause Review

Overview

When a task returns to code_review after a need_revision cycle, the question is not "did something change" but "was the ROOT CAUSE addressed". Symptom patches come back as bugs; catching them here is cheaper than in QA or production.

The Process

  1. Find the prior feedback first. A re-submission enters code_review from in_progress, so the earlier need_revision comment is NOT injected into this run automatically — list_task_comments on this task is how you find it (also check get_task_pull_request for human reviewer comments on the PR itself).
  2. Re-read the prior feedback: your previous need_revision comment, the QA failure report, or the pipeline failure — list every numbered point.
  3. Map each point to the new diff: for every point, find the exact change that addresses it. A point with no matching change means the revision is incomplete → back to need_revision citing the unaddressed point.
  4. Judge root cause vs symptom for each fix:
    • Symptom patch: special-casing the failing input, catching-and-ignoring the error, widening a timeout, deleting the failing assertion.
    • Root-cause fix: the change explains WHY the failure happened and removes that mechanism at its source.
  5. Check the guard test: a test now exists that reproduces the original failure and passes with the fix. No guard test → Important finding.
  6. Watch for regressions: revision diffs are written under pressure — re-check the surrounding code paths the fix touches.

Worked Example (symptom vs root cause)

Prior finding: "export returns empty CSV on DB error (swallowed error)."

  • Resubmission A (symptom patch): the diff wraps the export call in the handler with if len(csv)==0 { return 500 }. Rejected → back to need_revision: "Point 1: the swallowed error at service.go:24 is still there; you inferred failure from an empty result instead of propagating the error. An empty project also returns empty CSV, so this now 500s a valid empty project. Fix the source."
  • Resubmission B (root cause): ListByProject's error is propagated and mapped to 500; a test injects a repo error and asserts 500; the empty-project test still asserts 200 + header-only CSV. Approved → ready_for_qa.

Read the full file on GitHub · 43 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. 8d ago First seen · 43 lines · 34 tokens per session scan A ceea41b53008

Subscribe to this mod's changes

root-cause-review is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 34 tokens to every session and 808 once invoked, about $0.0001 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-10-05.