review-session
Analyze agent session logs for knowledge, guideline, and capability gaps.
Skill by cederberg
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cederberg-review-session
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/review-session
Tools it pre-approves 6
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Agent,Read,Grep,Glob,Bash(python*)
What's inside
- Skill name
review-session- Description
- Analyze agent session logs for knowledge, guideline, and capability gaps. Produces a findings report with remedies.
- License
- MIT
- Allowed tools
- Agent,, Read,, Grep,, Glob,, Bash(python, *)
- Instructions
- 152 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (6)
- SKILL.md
- claude-sessions · scripts/
- codex-sessions · scripts/
- copilot-sessions · scripts/
- opencode-sessions · scripts/
- vibe-sessions · scripts/
SKILL.md (first lines)
## Goal
Agent sessions accumulate corrections, dead ends, random mistakes, and
occasional insights. These are gaps in knowledge, guidelines, or tools. Your job
is to review a session log, identify gaps, and provide remedies.
## Step 1: Tool Selection
Select the command for your identity and define it as `$TOOL`.
| Agent | Command |
| -------------- | ----------------------------------------------------- |
| Claude Code | `python {{skill-base-dir}}/scripts/claude-sessions` |
| Codex | `python {{skill-base-dir}}/scripts/codex-sessions` |
| GitHub Copilot | `python {{skill-base-dir}}/scripts/copilot-sessions` |
| Mistral Vibe | `python {{skill-base-dir}}/scripts/vibe-sessions` |
| OpenCode | `python {{skill-base-dir}}/scripts/opencode-sessions` |
Use the full path to the script. Key usage:
```bash
$TOOL # list sessions for current dir
$TOOL -d <dir> # list sessions for a directory
$TOOL --list-dirs # list directories with sessions
$TOOL -n 10 # limit number of listed sessions
$TOOL <id> # summarize a session by id
$TOOL <id> --raw # full raw transcript for session
$TOOL <id> --turn <range> # transcript for specific turns (implies --raw)
$TOOL --help # show full options
```
## Step 2: Session Selection
Resolve `$ARGUMENTS` to a session ID:
| `$ARGUMENTS` | Action |
| ------------ | ----------------------------------------- |
| id or prefix | Use directly |
| `latest` | Run `$TOOL -n 1`, take the first result |
| empty | Run `$TOOL -n 20`, then spawn a sub-agent |
When listing, filter the session list to 2+ turns, then spawn a sub-agent with
the filtered list:
> - Fetch session summaries in list order and scan for these signals:
> - **Corrections** — user restates or reverses an agent action
> - **Repeated requests** — same ask appears more than once
> - **Short dismissive messages** — terse rejections
> - **User takeover** — user edits files or runs commands directly
> - **Tool denials** — agent attempted a disallowed tool
> - **Tool errors** — more than one failure on a tool
> - **Reflection signals** — user asks to remember or note something
> - Use `$TOOL <session-id>` to fetch a session summary
> - Stop after 3 interesting candidates (enough to surface patterns without overloading)
> - Return session ID and one line of quoted evidence per candidate
Present a table of at most 10 sessions (by timestamp — enough to
surface trends without overwhelming; cap prevents information loss
from too many rows). For the 3 interesting sessions use the
sub-agent's quoted evidence as the note; for the rest use the first prompt from
the tool output. Mark the 3 interesting session IDs in bold. Ask the user which
to review — or whether to search a different directory.
## Step 3: Session Analysis
Spawn a sub-agent with the session ID and `$TOOL` command:
> Get the session summary. Note the tool usage table — flag tools with more than
> one error, or call counts that stand out. Then use the turns table to identify
> interesting segments and pull selectively using `--turn <range>`. Do not read
> the full transcript upfront.
>
> Prioritize:
>
> - Turns with corrections or reversals (and the turns immediately before them)
> - Turns with unusually long response times
> - Turns where the user edited files themselves
> - Tool calls with errors, retries, or roundabout use (bash where a dedicated
> tool exists)
> - Dead ends — wrong file, wrong approach, wrong assumption — before the agent
> backtracked
> - Sub-agent turns — what was the task, did the result land correctly?
> - Any turn where the user signals something is worth remembering
>
> Return all findings with turn numbers and direct quotes.
## Step 4: Findings
Write the report directly in your response to the user.
```markdown
# Session Review
**Session:** {{id (first 12 chars)}} \
**Date:** {{date}} \
**Duration:** {{duration}} \
**Model:** {{model}} \
**Turns:** {{count}} \
**Summary:** {{one sentence: what was the user trying to accomplish?}}
## Knowledge Gaps
Facts the agent didn't know about the project, domain, or environment — had to
be told mid-session or got wrong. Top 3, prioritized by impact.
- **Turn N:** {{quoted evidence}} \
**Pattern:** agent lacked knowledge of X \
**Remedy:** {{AGENTS.md / doc entry}}
## Guideline Gaps
Behaviors the agent should have followed but didn't — wrong tool choice, skipped
workflow steps, violated project conventions. Observable as corrections,
reversals, repeated requests, tool denials, or user takeovers. Top 3,
prioritized by impact.
- **Turn N:** {{quoted evidence}} \
**Pattern:** agent should have done X but did Y \
**Remedy:** {{AGENTS.md / skill update}}From cederberg/incubator, MIT.
More from cederberg/incubator
- 0.570score
refactor
cederberg
Multi-pass convergent refactoring of a specific piece of code.
SkillAFreshness: AClaude Code +9 - 0.565score
review-instructions
cederberg
Review a prompt, skill, or other instructions for problems.
SkillAFreshness: AClaude Code +9 - 0.564score
technical-writer
cederberg
Write or review technical documents, including READMEs, system overviews, and skill files.
SkillAFreshness: AClaude Code +9 - 0.558score
bump-deps
cederberg
Update each outdated dependency in a separate, minimal commit.
SkillAFreshness: AClaude Code +9 - 0.524score
investigate
cederberg
Guide a structured, iterative technical investigation using hypothesis tree reasoning.
SkillBFreshness: BClaude Code +9 - 0.518score
review-doc
cederberg
Review a document for internal consistency, brevity, clarity, and usefulness.
SkillBFreshness: BClaude Code +9 - 0.471score
discuss
cederberg
Facilitate a focused, structured discussion on a topic.
SkillCFreshness: CClaude Code +9 - 0.470score
agent-init
cederberg
Analyze a project and produce AGENTS.md and Makefile.
SkillCFreshness: CClaude Code +9 - 0.469score
interview-me
cederberg
Conduct a deep, structured interview to reach shared understanding of a plan or topic, then document the outcome.
SkillCFreshness: CClaude Code +9 - 0.467score
brainstorm
cederberg
Open-ended idea generation without filtering for validity.
SkillCFreshness: CClaude Code +9 - 0.464score
what-we-forgot
cederberg
Scans the current conversation from the beginning for missed instructions, unresolved work items, and forgotten ideas.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 5, 2026 (23 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/cederberg/incubator
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from cederberg
- 0.570score
refactor
cederberg
Multi-pass convergent refactoring of a specific piece of code.
SkillAFreshness: AClaude Code +9 - 0.565score
review-instructions
cederberg
Review a prompt, skill, or other instructions for problems.
SkillAFreshness: AClaude Code +9 - 0.564score
technical-writer
cederberg
Write or review technical documents, including READMEs, system overviews, and skill files.
SkillAFreshness: AClaude Code +9 - 0.558score
bump-deps
cederberg
Update each outdated dependency in a separate, minimal commit.
SkillAFreshness: AClaude Code +9 - 0.524score
investigate
cederberg
Guide a structured, iterative technical investigation using hypothesis tree reasoning.
SkillBFreshness: BClaude Code +9 - 0.518score
review-doc
cederberg
Review a document for internal consistency, brevity, clarity, and usefulness.
SkillBFreshness: BClaude Code +9
Cite this page
review-session skill. Agent Mart. https://agentmart.dev/skills/cederberg-review-session (last updated 2026-10-24)