/nlsmdn:review-logs [--days N] [--project <name>] [--verbose]from nlsmdn
Analyze Claude Code session transcripts for failure patterns and suggest fixes. Triggers "review logs", "session analysis", "failure patterns".
Ships in nlsmdn. 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.
Scan recent Claude Code session transcripts for recurring failure patterns and generate actionable recommendations.
Use only these finding priorities, in descending order:
Grade the demonstrated consequence, realistic reachability, and available recovery against project priorities. A category, missing convention, hypothetical future problem, or confidence that a claim is true does not set its priority. Do not assign automatic severity floors or ceilings. Keep unverified claims in validation gaps, outside the graded finding count; distinguish suggestions from defects. For plans, trace the consequence if implemented and state the assumptions.
Use the short labels Must Fix, Should Fix, and Nice to Have in summaries and ledgers.
Keep effort, verification status, user-facing change size, and tool/vendor diagnostic ratings
separate. When called by code-review, return its requested evidence and impact fields; the parent
owns scoring and final triage. Otherwise apply this rubric directly. Omit empty priority sections.
/review-logs
/review-logs --days 7
/review-logs --project juggler
/review-logs --days 30 --verbose
--project filter is case-sensitive and must exactly match the directory name. --project MyApp vs my-app gives zero results with no indication of the mismatch.git add/git commit appears as a failure, dominating results and obscuring real problems. Filter known-policy denials from the output.Extract from $ARGUMENTS:
--days N — lookback window (default: 14)--project <name> — filter to a specific project--verbose — include problematic session IDs for manual reviewFind the script using Glob:
Glob pattern: **/review-logs/scripts/extract_signals.py
Path: ~/.claude
Run the extraction with the discovered path:
python3 <discovered-path>/extract_signals.py --days <N> [--project <name>] --output /tmp/review-logs-output.json
Read /tmp/review-logs-output.json and present findings in severity order:
| Category | What to Present |
|---|---|
| High-frequency retry loops | What's making the model stuck; suggest CLAUDE.md guidance to prevent it |
| Permission denials (unexpected) | Suggest specific settings.json allowlist additions with exact JSON |
| Top failing commands | Distinguish fixable patterns from expected failures |
| Misbehavior patterns | Suggest CLAUDE.md rules or hook scripts |
| Error distribution by project | Where problems concentrate |
| Problematic sessions | Only with --verbose; session IDs for manual review |
Grade verified recommendations using Review grading; frequency alone is not severity. Keep distribution statistics and session listings separate from findings.
For each finding, produce a concrete fix — not vague advice. Examples:
Permission denial fix:
Add to
settings.jsonallowlist:"Bash(npm run build:*)"
Retry loop fix:
Add to
CLAUDE.md:When X fails, do not retry. Instead, check Y first.
Misbehavior fix:
Add to
CLAUDE.md:Do not use `gh api` for issue comments. Use `gh issue view <num> --comments` instead.
End with a quick stats line:
Scanned {N} sessions across {M} projects ({date_range}). Found {errors} errors, {retries} retry loops, {denials} permission denials.
Basic 14-day scan:
/review-logs
Typical output:
## Improvements (Should Fix)
### Repeated build retries
1. `npm run build` retried 4+ times in 6 sessions — model keeps re-running after TypeScript errors instead of fixing them
→ Add to CLAUDE.md: "When `npm run build` fails with type errors, fix the type errors before re-running."
### Permission denials blocking the normal workflow
1. `Bash(docker compose up)` denied 12 times across 4 sessions
→ Add to settings.json allowlist: "Bash(docker compose *)"
Scanned 47 sessions across 3 projects (2026-02-05 to 2026-02-19). Found 31 errors, 3 retry loops, 14 permission denials.
Project-filtered scan with longer window:
/review-logs --days 30 --project my-app --verbose
No sessions found:
--days value — default is 14, increase if sessions are older--project filter — must match the project directory name exactly (case-sensitive)~/.claude/projects/Script not found:
<skill-dir>/scripts/extract_signals.pyreview-logs skill folder into ~/.claude/*/claude/skills/Output too noisy:
--project to narrow scope to the project you care about~/.claude/projects/*/UUID.jsonlCLAUDE_DIR constant in extract_signals.py at a different root to scan an archived copy.What SKILL.md sets; muted values are Claude Code's defaults
mediumOther plugins' skills for the same job
65 skills in this plugin
/blind-spotsSurface consequential decisions a plan, design, or research brief left silently assumed, by interviewing the user in dependency order. Use when the user says "blind spots", "grill me", "stress-test this plan", "poke holes in this", "what am I missing", "interrogate this design", "what haven't I decided", or needs a loose idea or research brief clarified before work begins. Do NOT use for a clear factual lookup, to explain a previous reply in more detail (use `huh`), to generate ideas when it is unclear what to build (use `ideation`), or to review an already-written plan with agents (use `review-plan`)./brainstormWork out how to solve a problem the user can already name — interview them with `blind-spots` to understand it, generate structurally different approaches, validate each with an independent critic, then present the survivors with trade-offs and a recommendation. Use when the user says "brainstorm", "brainstorm approaches", "how should we solve/approach/tackle X", "what are our options", "compare approaches", "think this through with me", or wants solutions weighed before committing. Works on any topic, with codebase recon when a repo is involved; `--debate` adds external advisors for high-stakes calls. Do NOT use when stuck on what to build or what the problem is (use `ideation`), to probe an already-chosen plan (use `blind-spots`), or to pick a library or service (use `evaluate-tech`).npx claudepluginhub nielsmadan/skills --plugin nlsmdn