Rca

Rca is a skill for Claude Code from rsts-dev/claude-buddy-marketplace. It costs 92 tokens per session (468 once invoked), scanned A, original, MIT.

A bug-investigation workflow that finds the underlying cause of a failure and suggests a rule or project context that could prevent it from happening again. RCA means root-cause analysis.

In plain words
What is it for?
Use it for post-mortems, root-cause investigations, or proposing changes to CLAUDE.md and .claude/context/ after a failure.
Why use it?
It turns a one-time bug fix into a reviewed improvement to the instructions used by the coding agent.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the sdlc plugin — 7 skills, 5 commands shipped together

Good fit Use it for post-mortems, root-cause investigations, or proposing changes to CLAUDE.md and .claude/context/ after a failure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rsts-dev/claude-buddy-marketplace/rca
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 rsts-dev/claude-buddy-marketplace --skill rca
Clone the repo
git clone --depth 1 https://github.com/rsts-dev/claude-buddy-marketplace

Made for: Claude Code.

Or install sdlc, the plugin that ships this one along with the rest of its 7 skills, 5 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rsts-dev/claude-buddy-marketplace/rca/github.svg)](https://agentmods.dev/skills/rsts-dev/claude-buddy-marketplace/rca)
Your own site
<a href="https://agentmods.dev/skills/rsts-dev/claude-buddy-marketplace/rca"><img src="https://agentmods.dev/badge/skills/rsts-dev/claude-buddy-marketplace/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 Rca

Your own site · 80×15
<a href="https://agentmods.dev/skills/rsts-dev/claude-buddy-marketplace/rca"><img src="https://agentmods.dev/badge/skills/rsts-dev/claude-buddy-marketplace/rca.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 468 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 pass 7 Sept 2026
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.00092 $0.00468
Opus 5.5 $0.00037 $0.00187
Sonnet 5.5 $0.00018 $0.00094
Haiku 4.5 $0.00009 $0.00047

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

Security

Grade A, and why

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 3mo 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.

plugins/sdlc/skills/Rca/SKILL.md · 42 lines

What it actually says

Rca

When the agent (or the code) produces something off, don't just fix it and move on — ask what in the AI layer let it happen. The output is a root-cause analysis and a proposed change to the rules/context so the system compounds instead of repeating mistakes. Improvements ship as PRs, the same review process as code.

Customization

Before executing, check ~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Rca/PREFERENCES.md. If present, load and apply it; otherwise use defaults.

Prerequisites

  1. buddy + LifeOS installed (test -f ~/.claude/LIFEOS/VERSION).
  2. An AI layer to improve: CLAUDE.md and/or .claude/context/ (run /sdlc:init if absent).

Workflow Routing

Workflow Trigger File
RootCauseToRule Any /sdlc:rca invocation Workflows/RootCauseToRule.md

Template

Templates/RcaReport.md — the RCA report shape.

Output

  • docs/rca/<slug>.md — the analysis
  • A proposed edit (diff) to CLAUDE.md or a .claude/context/ module — presented for review, not auto-applied

Examples

User: "/sdlc:rca the migration ran twice and duplicated rows"
→ Traces the root cause (idempotency assumption not enforced)
→ Writes docs/rca/duplicate-migration.md
→ Proposes a CLAUDE.md hard rule + a .claude/context/migrations.md note, for review
Files

What ships with it

2 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. 3mo ago First seen · 42 lines · 92 tokens per session scan A d432625cf5c7

Subscribe to this mod's changes

Rca is a skill published in the GitHub repository rsts-dev/claude-buddy-marketplace (17 stars, last pushed 3mo ago), licensed MIT. It adds 92 tokens to every session and 468 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-30.

Related

Rca compared with skills from other repositories

Rca next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Rcarsts-dev/claude-buddy-marketplaceSkill173mo agoMITA92Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k3d agoApache-2.0A45Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6kyesterdayMITA63Claude Code