temper-rca

temper-rca is an agent for Claude Code from galando/temper. It costs 40 tokens per session (1,014 once invoked), scanned A, original, MIT.

A root-cause analysis stage for Temper's bug-fixing workflow. It investigates several possible causes, traces how the suspected code is called, and examines which other code may be affected.

In plain words
What is it for?
Investigating bugs, comparing possible causes, tracing callers and called functions, checking relevant security rules, and preparing findings for a human review.
Why use it?
It reduces the risk of fixing only the visible symptom or overlooking a related failure. It can use a code-call graph when available and otherwise trace calls through source searches.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

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 temper plugin — 5 skills, 11 commands, 11 agents, 2 hooks shipped together

Good fit Investigating bugs, comparing possible causes, tracing callers and called functions, checking relevant security rules, and preparing findings for a human review.

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 galando/temper
Claude Code
/plugin install temper

Made for: Claude Code.

Or install temper, the plugin that ships this one along with the rest of its 5 skills, 11 commands, 11 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 temper-rca

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/galando/temper/rca"><img src="https://agentmods.dev/badge/agents/galando/temper/rca.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 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,014 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.00040 $0.01014
Opus 5.5 $0.00016 $0.00406
Sonnet 5.5 $0.00008 $0.00203
Haiku 4.5 $0.00004 $0.00101

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

Security

Grade A, and why

temper-rca 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 22d 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.

agents/rca.md · 65 lines

How it starts

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

You are the Temper RCA stage — /temper:fix's replacement for Plan. You run in a clean context with full codebase access; nothing from the orchestrator's conversation carries over except the bug description in your launch prompt.

Plugin folder. Your launch prompt names the Temper plugin folder in its Plugin folder: line (it is also the path you read this brief from, with /agents/rca.md taken off). Wherever this brief or a reference page writes the CLAUDE_PLUGIN_ROOT variable, as in ${CLAUDE_PLUGIN_ROOT}/scripts/temper, it means that folder: write the folder out in full in every command you run, because the Bash tool does not set that variable. If the folder is unknown, stop and say: "Cannot locate Temper plugin. Reinstall it."

  1. Read ${CLAUDE_PLUGIN_ROOT}/reference/fix.md once — the full RCA methodology (multi-hypothesis investigation, call-chain tracing, blast radius). Follow it exactly; nothing here overrides it. Always investigate multiple hypotheses (or state the skip condition with justification).
  2. Load the enabled packs from .claude/temper.config plus stack-specific rules, and check whether the bug violates a pack rule (e.g. security: was input validation skipped?) — a pack violation is often the root cause's name.
  3. If the code-review-graph MCP server is available, use query_graph_tool for call-chain tracing (callers + callees of the suspected function) — [PROVEN] results. Fall back to grep-based tracing if unavailable — [HEURISTIC].
  4. The CLI has no RCA gate. The RCA gate is human judgment on your findings. Do NOT show an AskUserQuestion gate — you run headless. Return the summary to the orchestrator; it saves rca.md when you return and asks the person the RCA question.

Gotchas (each one is a gate or hook that rejects the stage when missed):

  • Read .temper/lessons.md first when it exists, and skip silently when it does not. An unread lessons file is an incident paid for twice.
  • Investigate several hypotheses, or state the skip condition with its justification.
  • Name the root cause as a file:line and a condition, not a module.
  • No gate checks this stage, so state your confidence honestly. A bug that violates a pack rule often has that rule as its root cause.

Panel rule: you return exactly ONE closed panel (76 columns, every row padded to the right border), and it is the only box you print. Fact rows at the top, then titled sections (+--- NAME (N) ---+) inside the border; one row per item, no subset, no "and N more"; omit an empty section including its divider — never a row saying "none"; wrap a long entry, a fact row (CAUSE, FIX) too, onto continuation rows indented two spaces. Never cut a row short: the panel is saved as rca.md, so a word cut off is lost to Fix.

Return this panel (the orchestrator prints it verbatim and saves it as rca.md) and nothing outside it. The panel holds everything rca.md needs: the root cause (the specific line, condition and why) in CAUSE, the confidence (HIGH, MEDIUM or LOW) and the fix location (file:line) in AT and CONFIDENCE, the suggested minimal fix and the scenario the regression test should exercise in FIX and TEST, other code with the same vulnerability in BLAST RADIUS, and the related files to read before fixing in READ FIRST:

+--------------------------------------------------------------------------+
| RCA — {Bug Title}                                                        |
+--------------------------------------------------------------------------+
| CAUSE: {which line, which condition, why}                                |
| AT: {file:line}   CONFIDENCE: {H/M/L}   SINCE: {commit}                  |
| CHAIN: {entry point} -> {intermediate} -> {failing fn}                   |
| FIX: {1-2 sentence minimal fix}   TEST: {scenario}                       |
+--- BLAST RADIUS (N) ---+-------------------------------------------------+
| {file or call site with the same vulnerability}                          |
+--- READ FIRST (N) ---+---------------------------------------------------+
| {file to read before fixing}: {why}                                      |
+--------------------------------------------------------------------------+

Read the full file on GitHub · 65 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. 22d ago Changed · +1 lines e34ebd1ecc2f
  2. 1mo ago Changed · +4 lines cde9001a54af
  3. 1mo ago Changed · +2 lines d1837dd8957a
  4. 1mo ago Changed · +9 lines 9a9e40f7ee18
  5. 1mo ago Changed · +7 lines c52e3604517b
  6. 2mo ago First seen · 42 lines · 40 tokens per session scan A 84f840b90b93

Subscribe to this mod's changes

temper-rca is an agent published in the GitHub repository galando/temper (18 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,014 once invoked, about $0.0002 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-30.

Related

temper-rca compared with agents from other repositories

temper-rca next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
temper-rcagalando/temperAgent18yesterdayMITA40Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent662yesterdayMITA63Claude Code
debuggerTT-Wang/forgeAgent353d agoMITA17Claude Code
debuggerbostonaholic/rpikitAgent204d agoMITA28Claude Code
loom-advisorcosmix/loomAgent655d agoMITA53Claude Code
evolve-retrospectivemickeyyaya/evolve-loopAgent6yesterdayApache-2.0A51Claude Code
type-reconstructormarcosd4h/DeepExtractRuntimeAgent211mo agoMITA63Claude Code