review-session
Review a session log, not the code. Rank findings that each point to one step, and apply the ones you pick as a check, a rule, or a pointer. Usage…
by ArmaOverthrow★ 95 GitHub stars
Install review-session in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
This command reviews the log of one session, not the code, and /review-feature and /review-pr review the code.
Session id: $ARGUMENTS
Harness
This command runs on any agent harness. Read .beast-mode/harness.md first.
It maps the neutral terms in this command to the tools of this harness.
Terms include: ask the user to choose, delegate to an agent, search the web,
and the harness skills directory. Use the mapped tool. Do not use a tool name
from another harness.
Epic awareness
This command is epic-aware. It takes a session id, not a feature name, so it
needs no epic-reference resolution for $ARGUMENTS. Detect epics byepic-overview.md only to resolve a feature path that the log names, as<epic>/<feature>.
If no epics exist in docs/features/, behave exactly as before.
.beast-mode/epic-resolution.md is the single source of truth for epic detection and resolution. This command's body is the review-session workflow; it does not re-specify those rules.
Process
1. Write the transcript
Run a shell command: run beast-mode transcript <id> --out .beast-mode/briefs/review-session. The id is the first word of $ARGUMENTS. When $ARGUMENTS is empty, leave out the id. The CLI then reads the current session. That is the session that the harness names, else the newest parent log of this project.
When the shell does not find the command, read the ## Notes section of .beast-mode/harness.md. It gives the absolute path form of the CLI. Run that form, as /token-report does.
Show the summary lines with no change. When the output holds no Transcript: line, show the note or the error. Name /token-report as the command that lists the session ids. Then stop.
When $ARGUMENTS is empty and the Steps: line shows 1 user messages, the current session holds only this command. Tell the user to run /review-session <session-id>. Name /token-report as the command that lists the session ids. Then stop.
2. Delegate the review
Read .beast-mode/tool-rules.md one time. Delegate the review to a fresh agent. When the harness can set the model of the delegate, run the agent on opus at the preset effort. Read no line of the transcript in this step.
Write the prompt from the block below. Paste the ## Tool rules section into the first slot, word for word. Put the transcript path and the summary lines of step 1 into their slots. Send the rest of the block word for word.
<the ## Tool rules section of .beast-mode/tool-rules.md, word for word>
(Source of the block above: `.beast-mode/tool-rules.md`.)
You review one session log of this project. You do not review the code. You change no file. You cannot ask the user a question.
Transcript: <the path of the Transcript: line>
<the summary lines of step 1>
Read the transcript in ranges of 300 lines or fewer. Read the project instruction file.
Read the check files of the project: the package manifest, the lint, test, and type-check configs, and the hook files. Read no source file for review.
Read `.beast-mode/tool-rules.md` and `.beast-mode/phase-handoff.md`.
For each path of the Features line, read `docs/features/<path>/inbox.md` and `context.md` when they exist.
Ignore the steps from the last `/review-session` user message on.
Ask these questions of the log.
1. **Navigation.** How easily did the agent find the right files? Look for searches and reads before the first read of the file that the task needed. Route: pointer.
2. **Checks.** Which error would a lint, a type-check, a test, or a pre-commit hook catch? Route: check. A project with no check at all is a finding. It points to the first step that changed a file.
3. **Steering.** Which line of the project instruction file is a navigation pointer, and which line belongs in a check? A line that a check can hold is a finding when a step shows it. Route: check, then delete the line.
4. **Rules.** Which judgement call belongs in `.beast-mode/tool-rules.md` or `.beast-mode/phase-handoff.md`? Route: rule.
A finding follows these rules.
- It points to one step. Quote the step line word for word, with its number.
- A generic best practice is not a finding.
- HIGH: the mistake repeats at two or more steps, breaks the gate, or loses work. The no-check finding is HIGH.
- MEDIUM: one moment that costs five or more steps.
- LOW: one moment that costs fewer than five steps.
- Rank by severity, then by the steps that the moment cost, then by the step number.
- Return at most 8 findings. Return `No finding.` when the log shows none.
- An inbox line of the session ties to the user step with the same text. Add it as the `Inbox:` line.
- An inbox line reads `- [ ] <kind> <YYYY-MM-DD HH:MM> | <the text>`. A done line starts with `- [x]` and ends with `| done: <the outcome>`. Its time shows the moment of the session.
Return each finding in this shape, and no other text.
F<n> | <HIGH, MEDIUM, or LOW> | <navigation, checks, steering, or rules> | <pointer, check, or rule> | <the targe
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the review-session skill do?
Review a session log, not the code. Rank findings that each point to one step, and apply the ones you pick as a check, a rule, or a pointer. Usage: /review-session [session-id]
How do I install the review-session skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the review-session skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…