rca-annotator

rca-annotator is a skill for Claude Code, Codex from redhat-et/rhdp-rca-plugin. It costs 35 tokens per session (2,168 once invoked), scanned A, original, Apache-2.0.

A structured review tool for labeling the results of a root-cause analysis, which is an investigation into why a failure happened. It records whether a diagnosis is correct, how strong its evidence is, how difficult the case was, and possible alternatives.

In plain words
What is it for?
Use it after a root-cause-analysis run to annotate the diagnosis and save the review as structured annotation data.
Why use it?
It helps turn human review of failure investigations into consistent data for evaluation, benchmarking, or building datasets.

Skill for Claude CodeCodex

Part of the aiops-plugin plugin — 5 skills shipped together

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 skills/redhat-et/rhdp-rca-plugin/rca-annotator
Any agent
npx skills add redhat-et/rhdp-rca-plugin --skill rca-annotator
Clone the repo
git clone --depth 1 https://github.com/redhat-et/rhdp-rca-plugin

Made for: Claude Code, Codex.

Or install aiops-plugin, the plugin that ships this one along with the rest of its 5 skills.

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 rca-annotator

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhat-et/rhdp-rca-plugin/rca-annotator.svg)](https://agentmods.dev/skills/redhat-et/rhdp-rca-plugin/rca-annotator)
Your own site
<a href="https://agentmods.dev/skills/redhat-et/rhdp-rca-plugin/rca-annotator"><img src="https://agentmods.dev/badge/skills/redhat-et/rhdp-rca-plugin/rca-annotator.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,168 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.00035 $0.02168
Opus 5 $0.00017 $0.01084
Sonnet 5 $0.00007 $0.00434
Haiku 4.5 $0.00003 $0.00217

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

Security

Grade A, and why

rca-annotator 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cli.py, scripts/jumpbox_io.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/rca-annotator/SKILL.md · 253 lines

How it starts

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

RCA Annotator

A structured annotation tool that presents the root-cause-analysis agent's diagnosis to the user and guides them through labeling it — capturing whether the diagnosis is correct, evidence quality, difficulty, and alternative hypotheses.

root-cause-analysis (Agent) rca-annotator (Annotation tool)
Purpose Diagnose failures for users Capture human-labeled ground-truth data
Reads Logs, Splunk, GitHub (live) Step 1/3/4/5 output files (offline)
Output Human-readable diagnosis Structured annotation.json

Use when: a root-cause-analysis run is complete and you want to annotate its output as correct, incorrect, or partially correct — for evaluation, benchmarking, or dataset building.

Do NOT use to perform initial RCA (use root-cause-analysis).

Prerequisites

Verify root-cause-analysis has been completed.

  • JUMPBOX_URI (optional) — SSH connection string (e.g. "user@host -p 2222"). If unset, uses local .analysis/ only.
  • SSH keys configured in ~/.ssh/config if using jumpbox; ssh and rsync installed.
  • Required files in .analysis/<job_id>/:
    • step5_summary.json — Agent's final diagnosis (primary input)
    • step1_job_context.json — Job metadata, failed tasks
    • step3_correlation.json — Timeline with AAP + Splunk events
    • step4_github_fetch_history.json — Configuration and code context

If missing, run root-cause-analysis skill first.

Workflow

  1. Download from jumpbox (if JUMPBOX_URI set) or verify local files
  2. Read step5_summary.json — present the agent's diagnosis to the user
  3. Walk through annotation questions interactively — the user labels each section
  4. Write annotation.json with the user's labels
  5. Upload to jumpbox (if JUMPBOX_URI set)

Step 0: Download Analysis Files

cd skills/rca-annotator
python scripts/cli.py download --job-id <job_id>

Downloads from jumpbox /usr/local/mlflow/<job_id>/ to local .analysis/<job_id>/. If JUMPBOX_URI unset, validates local files only. Errors on missing remote directory, missing required files, or connection failure.

Read the full file on GitHub · 253 lines

Files

What ships with it

3 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. 4d ago First seen · 253 lines · 35 tokens per session scan A 91992ffe24d3

Subscribe to this mod's changes

rca-annotator is a skill published in the GitHub repository redhat-et/rhdp-rca-plugin (10 stars, last pushed 10d ago), licensed Apache-2.0. It adds 35 tokens to every session and 2,168 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens