/harny:reviewfrom harny
Analyzes Harny 0.5 run logs, transcripts, and audit events to identify failure patterns, performance issues, and anomalies. Use after failed, retried, slow, or surprising runs.
Ships in harny. 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.
Turn a finished Harny run into structured learnings. Walk bottom-up: attempt transcripts → node summaries → cross-run narrative → architect proposals.
Sister of /release (release orchestration) and /learn + /drain (learnings inbox).
/release's per-run loop.command-actor) or run_id prefix (≥8 chars).<cwd>/.harny/<slug>/ must still exist.Use sub-agents for large independent transcripts when available. Transcripts can be tens of thousands of lines.
Read in main context:
<cwd>/.harny/<slug>/run.json — authoritative nodes, attempts, artifacts, ChangeSets and outcome.<cwd>/.harny/<slug>/events.jsonl — append-only audit trail.<cwd>/.harny/<slug>/transcripts/ — normalized event streams scoped to agent attempts.Record: workflow, total wall-clock, attempt counts per node, terminal status, pending human state, ChangeSets, provider/model usage and reported-cost coverage.
For each agent node attempt in run.json, locate its local transcript:
.harny/<slug>/transcripts/<node>/attempt-<n>.jsonl
.harny/<slug>/transcripts/<foreach>/<index>/<step>/attempt-<n>.jsonl
Each line is a normalized record with seq, at, provider, and a typed event. A cleaned run has no remaining local transcript; review before cleanup.
For large runs, launch one Explore-type sub-agent per transcript with this brief. For small runs, analyze directly:
Read
<jsonl_path>. The file is JSONL — one normalized event per line, including messages, reasoning, tools, file changes, plans, usage, lifecycle, status, and errors. Report:
- Tool call inventory: count calls by normalized tool name/kind. List shell commands invoked (deduplicated, with frequency).
- Confusion moments: any sequence where the agent retried the same operation 2+ times, backtracked, or expressed uncertainty.
- Errors: every event with
type: errorand every tool event withstatus: failedor a non-emptyerror. Quote verbatim.- Requirements slippage: the prompt's acceptance criteria are . Did the agent address each? Did it drift outside scope?
- Wall-clock anomalies: gaps >2min between consecutive events. What was happening?
- Notable choices: non-obvious technical decisions — what and why (quote the justifying message).
Reply in <300 words, bullets only. Cite line numbers when helpful.
Run independent analyses in parallel when the host supports it.
In main context, weave per-attempt reports into a story:
For every "this would have been smoother if X" observation:
Would a fresh dev tomorrow, reading only AGENTS.md + the codebase, hit the same friction?
/learn <text> — capture into inbox when the right destination isn't immediately clear, for later drain.Reject "improve the prompt" as a default — that just hides the gap.
Output structure:
## Review — <slug> (<date>)
### Headline
<one sentence: what happened, what mattered>
### Per-node summary
- <node> (<provider/model>, <duration>, <attempts>, <usage>): <one line>
### Confusion / errors / slippage
<bullets with evidence — JSONL line refs or quoted snippets>
### Architect proposals (counterfactual-tested + triaged)
Each proposal carries a triage tag so /release can route it without re-classifying:
- **[NOW-blocks]** — prejudices the current release. Must fix before next harness run.
- **[NOW-quick]** — quick fixer that rounds out the system; no blocking but compounds (a small infra hardening, a one-line docs gotcha that prevents a recurring bug class). Apply now if cheap.
- **[BACKLOG]** — file as `gh issue`; doesn't prejudice the release.
Format:
1. **<Name>** [NOW-blocks | NOW-quick | BACKLOG] — <pattern observed> → <counterfactual verdict> → <action with specific location>
2. ...
### Inbox captures
<one-line entries, copy-paste-ready for `/learn <text>`. One per finding that didn't land immediately. The architect can drain them later via /drain.>
### Backlog candidates for future harness runs
<one-line prompt seeds, e.g. "fix dedup of task=N trailer in commit composer">
Write the full review markdown to <cwd>/.harny/<slug>/review.md. Automatic — do not wait for confirmation. Reasons:
<!-- re-reviewed YYYY-MM-DD --> marker..harny/<slug>/.gitignore = * + !.gitignore). Per-clone, not committed.After confirmation, invite the architect to append each "Inbox captures" line via /learn <text>. Do NOT auto-invoke /learn — the architect may want to edit or skip entries.
/release GUIDES release orchestration; the triage tags here feed directly into /release's per-run loop.harny clean was run) — state, audit events, and local transcripts were removed together. Tell the architect the run is no longer reviewable from Harny's evidence.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
harny, run-analysis, post-mortem, debugging, transcript-analysis, workflow-audit
npx claudepluginhub lfnovo/harny --plugin harny6 skills in this plugin
/check-repoWalk a repo through the harny readiness checklist. Score 10 dimensions Red/Yellow/Green, surface anti-signals, output a scorecard + prep checklist. Use when adopting harny in a new repo, or troubleshooting why it struggles in a familiar one./drainTriage accumulated learnings from the local harny inbox into GitHub Issues, AGENTS.md edits, or discards. Walks one entry at a time, verifies claims against current code, opens issues with provenance. Sister of /learn./harnyOnboard and route users through Harny's declarative Claude/Codex workflows, local run state, provider configuration, human review, PR delivery, inspection, and cleanup. Use when someone is new to Harny, asks how it works, or needs help choosing the right Harny skill or workflow.Other plugins' skills for the same job