/cc-skills-analysis:rnsfrom cc-skills-analysis
Strategic thought partner — turns any output into ranked, red-teamed next steps with a <selection> contract. Accepts inline text, session context, or file references. Absorbs the old extractor's /rns {text} affordance.
Ships in cc-skills-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Act as an aggressive strategic thought partner. Challenge assumptions, prioritize leverage, perform root-cause reconciliation, and output ranked, red-teamed next steps with a parseable <selection> contract.
Do not implement changes. The user bridges to /go or acts manually after reviewing your output.
/rns {optional pasted text or @reference}
If no text is provided, analyze the current session context — the full conversation, not just the last message.
Input sources (in priority order):
/rns {text} was called with pasted text, use that directly.@debrief-session.md), read that file.Prior-session carryover: /rns operates on the current session only. For cross-session carryover (unresolved actions from prior sessions), use /recap — it owns the session-chain walker and surfaces carryover in its handoff template.
Do not ask the user to re-run commands or paste content — if you can read it, read it.
Dynamically scale response depth to task complexity.
| Complexity | Behavior |
|---|---|
| Trivial fix / clean workspace | Be exceptionally brief. 1-2 actions max. Skip verbose Diagnosis. |
| Moderate complexity | Standard depth. 2-4 actions. Full Evidence Audit + Diagnosis. |
| Systemic / architectural | Deep analysis. Up to 4 actions with full Red Team per action. |
If evidence is thin, explicitly say so. Never manufacture analysis to justify depth.
If the workspace is clean and fully verified with no meaningful symptoms, output EXIT immediately (skip to Section 4 — Final Selection with EXIT).
Formatting rule (terminal readability): Prefer compact one-line list items over markdown tables. Tables render as box-drawing ASCII that explodes horizontally when cells hold long strings (file paths, prose, multi-clause reasons) — which is most of what this skill outputs. Use tables ONLY for small fixed-vocabulary data (≤4 rows, short cells, like the Conditional Depth guide). Evidence Audit, Action Ranking, and GAP COVERAGE must be plain lists, never tables.
Section structure is fixed — exactly five numbered sections, no more, no preamble:
## 1. EVIDENCE AUDIT — no intro sentence, no "Running /rns on…" preamble. GAP COVERAGE is an inline block inside Section 3 (after the 0 footer), not a numbered section — do not label it ## 5. or similar.Render as a compact list — one item per line, status tag first, never a markdown table:
[CURRENT] path/or/source — short finding (one line)[STALE] path/or/source — short finding[NOT_VERIFIED] path/or/source — short findingStatuses: [CURRENT] (fresh this session), [STALE] (checked but may have changed), [NOT_VERIFIED] (inferred, not tool-confirmed). Keep each finding to a single line; truncate long paths with ….
Every item must cite a specific tool call from this session (Read, Grep, Glob, Bash). If no meaningful symptoms and everything is verified, skip to Section 5 and use EXIT.
Evidence provenance labeling (must-read.1):
[CURRENT] or [STALE] tag states its tool's provenance turn — e.g. (Bash turn-3), (Grep this turn).(this turn) is only valid when the tool actually ran in the audit turn itself. An evidence claim is [STALE] when its source tool ran in a prior turn, even if the facts feel recent — stale-tagged evidence is honest and actionable.grep, pytest -q, or Read) in the /rns turn itself, producing fresh evidence with a valid (this turn) tag.Evidence rules (codebase conventions):
Rank at most 4 actions by leverage (highest first). Each line carries compact inline metadata, with a Red Team note beneath. The list ends with a prominent 0 — Do ALL footer — this is the signature output element, rendered as a visible footer (separator + line), not a bullet.
1. [action + scope + prereqs] [Blast Radius: X] [domain/type/priority/effort]
Red Team: What could go wrong / edge cases / quirks?
2. [action + scope + prereqs] [Blast Radius: X] [domain/type/priority/effort]
Red Team: ...
3. ...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
0 — Do ALL Ranked Actions (N items) [default when all are Low/Med risk]
Inline metadata fields (compact, bracketed on the action line):
@ file:line (only if verified this session)The 0 footer is mandatory whenever ≥2 ranked actions exist and all are Low/Med blast radius. Omit it only if any action is High blast radius or the set isn't safe to batch — in that case <selection> must pick a single number.
Specific actions, paths, or optimizations to avoid right now and why.
<selection>
<option>CHOSEN_NUMBER_OR_EXIT</option>
<rationale>Sharp justification tied to evidence and Red Team analysis.</rationale>
<execution_plan>
Provide sequential micro-steps.
For option 0, include explicit verification checks for each step.
For EXIT, state "Workspace clean. No action required."
</execution_plan>
</selection>
<selection> contract:
<selection> block per response.```xml code fence. Raw <option>/<rationale>/<execution_plan> tags get stripped or mangled by the markdown renderer (<option> is a real HTML element) — fencing is mandatory so the output is both visible and machine-parseable.<option> must be one of: 0, 1, 2, 3, 4, or EXIT.0 when all ranked actions are Low/Med blast radius and the 0 footer is present. The model does not pre-narrow scope — present the full ranked set and let the user pick a single number only if they want surgical scope.1-4) only when: a High-risk action is present, the set isn't safe to batch, or one action clearly dominates and the others are no-ops/deferred.0 (batch): every step in <execution_plan> must include a named verification check.EXIT: <execution_plan> contains only "Workspace clean. No action required."When processing structured inputs (gap tables, pre-mortem findings, skill audits), each row must receive an explicit disposition:
| Disposition | Meaning | When to Use |
|---|---|---|
| MAPPED | Gap has a corresponding action item above | Default — if the gap needs action |
| REJECTED | Gap is valid but intentionally not acted on | Out of scope, already handled elsewhere, or risk accepted with rationale |
| DEFERRED | Gap is valid but deferred to future session | Named owner + trigger condition required |
Rule: severity alone is NOT a valid exclusion. MEDIUM/LOW items require explicit REJECTED or DEFERRED disposition, not silence.
Render gap coverage as an inline block at the end of Section 3, immediately after the 0 — Do ALL footer (and only when the input is structured — gap table, pre-mortem findings, skill audit). The GAP COVERAGE (N items) line is the block's only header — do NOT also emit a ## N. GAP COVERAGE section title (that produces a duplicate header). Use the plain indented list below verbatim — do NOT render it as a markdown table (long reasons in table cells explode the box-drawing layout):
GAP COVERAGE (N items)
N MAPPED — see actions above
N REJECTED — "reason"
N DEFERRED — "reason"
For every action item, one of:
[UNVERIFIED] in the action line.Required verification for gap claims: any item claiming something is "missing", "doesn't exist", "not implemented", or "no helper for X" requires a concrete existence check (grep, glob, or file read) before emission. A gap claim without a check is automatically [UNVERIFIED].
Required verification for file:line citations: if you cite @ file:line, you must have seen the relevant code this session. The line number must come from actual tool output, not from memory or assumption.
Ask: "What would a weaker model over-extract here and turn into noisy action spam?"
Before each item:
Drop any item that is primarily inferred rather than derived from the source material.
Do NOT emit an item that claims:
If a finding cannot be verified or made concrete, phrase it generically with [UNVERIFIED] rather than inventing specifics.
When all gates fail: if you cannot verify a finding and cannot phrase it safely, drop the item rather than emit it as verified noise.
These pressure-test each item before emission:
@ file:line without personal tool confirmation is a gate violation.[UNVERIFIED] or drop — never emit as verified.[UNVERIFIED].| Scenario | Behavior |
|---|---|
| Empty input (no text, no file, transcript empty) | Return: "Nothing to analyze. Pass inline text, a @file path, or ensure the session transcript is available." |
| No extractable findings | Return: "No actionable findings found. Try /rns {pasted text} with output that contains recommendations or gaps." |
| Workspace clean, all verified | Skip to Section 4, output EXIT in <selection> |
| Referenced file does not exist | Log as warning, skip item, include in output as orphaned with warning tag |
| Duplicate findings (same description, domain, action) | Deduplicate — keep the one with higher priority or severity |
| Transcript unreadable | Fall back to compact-restore state. If that also fails, return the empty-input error above. |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (enduser123/cc-skills-analysis) — no native marketplace selected
npx claudepluginhub p/enduser123-cc-skills-analysis14 skills in this plugin
/behaveStructured behavioral analysis for LLM performance debugging — hypothesis testing for session patterns (loops, context degradation, decision inefficiency, cognitive overload, attention drift)/claude-auditAudit and optimize Claude Code configuration (CLAUDE.md, .claude/rules/, skills, hooks, agents, MCP, plugins, MEMORY.md) for over-engineering, token waste, and rule-shape — whether each rule lives in the right mechanism. Consolidates claudit + config-audit. Self-contained; no external subagent fleet./debriefUnified analysis hub — mines transcripts for unfinished work + origin-anchored tasks. Modes: default (transcript → root-cause tasks), chain (multi-session retrospective: /recap→gaps→/friction→/red-team→/rns + SCORES), gaps (deterministic gap detectors + mandatory haiku gap reviewer + RNS + artifact contract), top (6-source problem scan → ranked tasks). Trigger phrases: 'debrief this transcript', 'mine the chat history', 'victim log', 'why is this broken', 'run a retro', 'top problems', 'what gaps remain'. Absorbs /retro and /top-problems; gap detection is debrief-owned.