/cc-skills-meta:rnsfrom cc-skills-meta
Dynamic actions from findings w/ recover/prevent/realize tags, priority, file:line. Converts unstructured LLM output to selectable RNS actions.
Ships in cc-skills-meta. 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.
Read when SKILL.md points to them; scripts run unread.
Convert any LLM output into a structured Recommended Next Steps (RNS) format with selectable actions. When you get output you don't like — or that has implicit actions buried in it — use /rns to extract and enumerate them.
/rns {optional pasted text or @reference}
If no text is provided, RNS will analyze the full session transcript (current session plus any carryover items from the session chain).
Implementation note:
/rnsis LLM-executed only — it has no CLI or standalone Python script. The skill reads the session transcript vialib/chain.pyand renders RNS output directly.
RNS outputs a dynamic-domain, flat-numbered action list:
1 🔧 QUALITY (2)
1a [recover/high] Fix concurrent save registry integrity test @ test_critique_io_concurrent.py:89
1b [prevent/med] Add Phase 2/3 filename round-trip tests @ test_critique_io.py
2 📄 DOCS (1)
2a [realize/low] Update SKILL.md with Phase 1 completion gate @ SKILL.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
0 — Do ALL Recommended Next Actions (N items)
| Aspect | Rule |
|---|---|
| Domain grouping | Dynamic — only domains with findings appear |
| Section headers | Emoji + domain name + domain number (e.g. "🔧 QUALITY (1)") — rendered as text, no fences |
| Item numbering | Domain-numbered — 1a, 1b, 2a, 3a within domain groups |
| Item format | {domain-num}{sub-letter} [effort] [R:reversibility] Description @ file:line (e.g. 1a, 1b, 2a) |
| File references | @ file:line suffix when available |
| Do All directive | 0 — Do ALL Recommended Next Actions (N items) |
When processing structured inputs (skill-audit gap tables, pre-mortem findings), each row must receive an explicit disposition:
| Disposition | Meaning | When to Use |
|---|---|---|
| MAPPED | Gap has a corresponding RNS action item | 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 |
Render gap coverage as a 📋 GAP COVERAGE section after domain groups and before the do-all footer:
📋 GAP COVERAGE (7 items)
5 MAPPED → see actions above
1 REJECTED — "MECHANISM_LEAKAGE: hardcoded @gitready is low-risk branding, not a functional issue"
1 DEFERRED — "ASSURANCE: AGENTS.template.md deferred to /skill-ship (owns skill wiring)"
Rule: Severity alone is NOT a valid exclusion. MEDIUM/LOW items require explicit REJECTED or DEFERRED disposition, not silence.
| Domain | Emoji |
|---|---|
| quality / code_quality | 🔧 |
| tests / testing | 🧪 |
| docs / documentation | 📄 |
| security | 🔒 |
| performance | ⚡ |
| git | 🐙 |
| deps / dependencies | 📦 |
| other | 📌 |
RNS tries three sources in order, stopping at the first that yields content:
If /rns {text} was called with inline text, use that directly.
If called alone (/rns), extract action items from the current conversation context (the LLM already has all user/assistant messages in context). Process the full conversation for action items — do not limit to the last message only.
Only fall back to transcript file reading when the conversation context is insufficient (e.g., session restored from compact with limited context).
Transcript fallback (lib/chain.py):
import sys
from pathlib import Path
# Resolve skill-root-relative to avoid CWD-dependency import failures
sys.path.insert(0, str(Path(__file__).parent))
from lib.chain import get_session_transcript_text
text = get_session_transcript_text() # Use only when context-first approach fails
If the transcript is unavailable or empty, log a warning and proceed to Source C.
If both inline text and transcript are empty, read the compact-restore context directly:
compact_restore in the session environmentDo not ask the user to re-run commands or paste content — if you can read it, read it.
If a file path is provided (e.g., @p3.md), read that file.
When no inline text is provided, also walk the session handoff chain to extract RNS-formatted action items from prior sessions:
from lib.chain import get_current_rns_items
current_items, carryover_items = get_current_rns_items()
current_items = action items extracted from the current session's transcriptcarryover_items = action items from prior sessions in the handoff chainInput signals to extract actions from:
Every action item must pass these gates before it appears in RNS output. An item that fails a gate is either: (a) verified and emitted, (b) marked [UNVERIFIED] and emitted, or (c) dropped. It is never emitted as a verified-sounding item without passing a gate.
For every action item, one of:
[UNVERIFIED] in the action line. The [UNVERIFIED] tag is a safety net, not a license to skip Gate B.Required verification for gap claims: Any item that claims 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 in this session. If you cite a line number, the 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.
[COMPLETENESS] Have all input rows/items been accounted for? Each must have exactly one disposition: MAPPED (has an action above), REJECTED (explicit rationale), or DEFERRED (named owner + trigger). Severity alone is NOT a valid exclusion criterion.
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 prompts inform the gates above — use them to pressure-test each item:
Some findings may be related. Look for:
[caused-by: ID] — finding is a consequence of another (use singular form)[blocks: ID] — finding prevents another from being resolvedWhen dependencies exist, order them so cause-before-effect.
Group findings by domain. Sort each domain by action (recover → prevent → realize), then by priority (critical → high → medium → low).
If a finding has dependencies, render dependency annotation on the line after the finding.
Carryover items from prior sessions: If carryover_items is non-empty, render them under a 📌 CARRYOVER section grouped by domain. These are action items extracted from the handoff chain's prior sessions that may need to be re-acknowledged in the current session.
Example carryover rendering:
2 📌 CARRYOVER (2 sessions in chain)
2a [recover/high] QUAL-003 Fix auth token expiry @ auth.py:45 (from session a1b2c...)
Selection is handled by the renderer (lib/render.py). The output ends with 0 — Do ALL Recommended Next Actions (N items) — nothing follows after that line.
After all selected actions are executed, check whether documentation needs updating:
For DOCS domain items: Already self-documenting — no further action needed.
For implementation items (🔧 QUALITY, 🧪 TESTS, etc.): Before marking complete, ask:
If any documentation gaps exist and they would not be addressed in the current session, emit a follow-up DOCS item:
📄 DOCS
[realize/low] DOC-N Update {doc file} with {change description}
Rule: Documentation updates done in the same session as implementation are strongly preferred. If implementation and docs are split across sessions, flag the doc gap explicitly.
For downstream skill chaining, append <!-- format: machine --> to the output to render pipe-delimited records:
RNS|D|1|domain-label|emoji
RNS|A|1a|domain|E:5|recover/high|action description|file:line
RNS|Z|0|NONE
Where: RNS|D| = domain header, RNS|A| = action item, RNS|Z| = terminator. Fields: domain-num|action-num|[domain|E:effort|action/priority|description|file:line].
| Scenario | Behavior |
|---|---|
| Empty input (no text, no file, transcript empty, no compact-restore) | 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." |
| No RNS tags but substantive text (signal keywords or >200 chars) | Path B heuristic extraction activates — items marked [UNVERIFIED] since inferred, not confirmed |
| Referenced file does not exist | Log as warning, skip item, include in RNS as orphaned with warning tag |
| Unresolved dependency ID | Report as orphaned dependency note below the affected item |
| 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. |
@ file:line without personal tool confirmation is a gate violation.[UNVERIFIED] or drop — never emit as verified.[UNVERIFIED].Known Issue: When RNS generates output while a background command is running, Claude Code may re-display the assistant's message when the background command completes. This can cause the RNS output to appear twice.
Avoidance Pattern: To prevent double-display:
run_in_background=true for commands that analyze the current session's transcriptExample pattern:
# BAD - causes double display
background_cmd = Bash(..., run_in_background=True)
render_rns_output() # Generates output while background runs
# Background completion → re-displays output
# GOOD - no double display
result = Bash(...) # Run synchronously
render_rns_output() # Output after everything completes
CHANGELOG.md (opens in a new tab)LICENSE (opens in a new tab)README.md (opens in a new tab)references/self-rns-example.md (opens in a new tab)scripts/core/__init__.py (opens in a new tab)scripts/core/chain.py (opens in a new tab)scripts/core/render.py (opens in a new tab)tests/test_chain.py (opens in a new tab)tests/test_render.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
51 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)/cksConstitutional Knowledge System - unified command for search, add, and session extraction/concept-mapperUnified concept mapping for learning, system architecture, and text analysis. Creates Mermaid diagrams for mind maps, concept maps, system diagrams, and knowledge structures. Use for studying, documentation, architecture visualization, or converting articles/text into visual maps./config-auditAudit Claude Code configuration artifacts (hooks, skills, CLAUDE.md, agents) for over-engineering, redundancy, and token waste. Uses model routing (haiku for research, sonnet for analysis) with decision memory./constitutional-patternsStandards for constitutional compliance and pattern enforcement./constraintsShow active project constraints from CLAUDE.mdGenerated from the plugin's indexed repository (enduser123/cc-skills-meta) — no native marketplace selected
npx claudepluginhub p/enduser123-cc-skills-meta