workflow-review
Reviews Claude Code sessions and proposes workflow improvements. Use when: (1) /workflow-review command, (2) "review my workflow", "how can I improve", (3) after long sessions when nudged, (4) start of session with pending review. Analyzes tool usage patterns, CLAUDE.md configuration, and compares against CC best practices. Proposes: CLAUDE.md updates, new skills, underused CC features. Saves session summaries to .claude/workflow-reviews/ for cross-session continuity.
Best use case
workflow-review is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Reviews Claude Code sessions and proposes workflow improvements. Use when: (1) /workflow-review command, (2) "review my workflow", "how can I improve", (3) after long sessions when nudged, (4) start of session with pending review. Analyzes tool usage patterns, CLAUDE.md configuration, and compares against CC best practices. Proposes: CLAUDE.md updates, new skills, underused CC features. Saves session summaries to .claude/workflow-reviews/ for cross-session continuity.
Teams using workflow-review should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/workflow-review/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How workflow-review Compares
| Feature / Agent | workflow-review | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Reviews Claude Code sessions and proposes workflow improvements. Use when: (1) /workflow-review command, (2) "review my workflow", "how can I improve", (3) after long sessions when nudged, (4) start of session with pending review. Analyzes tool usage patterns, CLAUDE.md configuration, and compares against CC best practices. Proposes: CLAUDE.md updates, new skills, underused CC features. Saves session summaries to .claude/workflow-reviews/ for cross-session continuity.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# Workflow Review Skill
You analyze Claude Code sessions and propose workflow improvements. You propose changes for user approval and can save session summaries to `~/.claude/workflow-reviews/`.
## Core Behavior
1. **Analyze** sessions via BM25 cross-session search
2. **Read** project's CLAUDE.md and .claude/ configuration
3. **Research** CC best practices via claude-code-guide agent
4. **Compare** current setup against best practices
5. **Propose** improvements via interactive approval
6. **User applies** changes manually
## Transcript Analysis (BM25 Cross-Session Search)
Uses [BM25 search](https://eric-tramel.github.io/blog/2026-02-07-searchable-agent-memory/) across conversation transcripts — no forked context needed.
### Step 1: Gather Stats
Run aggregate stats to understand overall tool usage:
```bash
~/.claude/skills/workflow-review/scripts/conversation_search.py ~/.claude/projects --mode stats --recent-days 7
```
### Step 2: Run Pattern Detection
Run all 12 built-in anti-pattern queries in one shot:
```bash
~/.claude/skills/workflow-review/scripts/conversation_search.py ~/.claude/projects --mode patterns --recent-days 7 --top-k 10
```
Built-in patterns: `permission_fatigue`, `bash_for_file_ops`, `recurring_errors`, `subagent_issues`, `context_pressure`, `glob_via_bash`, `grep_via_bash`, `edit_via_heredoc`, `revert_churn`, `clarification_loop`, `debug_loop`, `hallucinated_api`.
For ad-hoc investigation, use search mode with a custom query:
```bash
~/.claude/skills/workflow-review/scripts/conversation_search.py ~/.claude/projects "your query here" --recent-days 7 --top-k 15
```
Scope to current project with `--project` (use the encoded cwd directory name):
```bash
~/.claude/skills/workflow-review/scripts/conversation_search.py ~/.claude/projects --mode patterns --project "<encoded-cwd>" --recent-days 7
```
### Step 3: Synthesize Results
Process the JSON results directly:
- Identify specific recommendations from search hits
- Cross-reference with CLAUDE.md configuration
- Query claude-code-guide for relevant CC features
**Benefit**: Searches across all recent sessions in seconds, stateless (no cache/index to maintain).
## Execution Modes
### On-Demand (`/workflow-review`)
Full analysis of current session:
1. Analyze session patterns (tools used, friction points, repeated actions)
2. Read project's CLAUDE.md and .claude/ configuration
3. Query claude-code-guide for relevant CC features
4. Present recommendations one-by-one via AskUserQuestion
### Previous Session Review
When `~/.claude/workflow-reviews/pending-review.md` exists at session start:
- Offer to review previous session's insights
- Present stored recommendations for approval
- Clean up pending file after review
## Analysis Framework
### 1. Tool Usage Patterns
Look for:
- **Repeated manual work**: Same grep/glob patterns multiple times → suggest CLAUDE.md allowed patterns
- **Permission fatigue**: Frequently approving same tools → suggest permission presets
- **Underused tools**: Task tool for searches, Explore agent, Plan mode
- **Inefficient patterns**: Using Bash for file ops instead of Read/Edit/Write
### 2. CLAUDE.md Configuration
Check for:
- Missing context that would help Claude (project structure, conventions)
- Outdated instructions
- Overly verbose sections that could be condensed
- Missing tool permissions that are frequently approved
### 3. CC Features Not Being Used
Query claude-code-guide for features like:
- Hooks (PreToolUse, PostToolUse, etc.)
- Custom agents
- MCP servers
- IDE integrations
- Subagents and background tasks
### 4. Skill Opportunities
Identify repeated workflows that could become skills:
- Multi-step processes done frequently
- Project-specific patterns
- Domain knowledge worth preserving
## Research Protocol
**CRITICAL**: Never use WebSearch or WebFetch directly. Always use claude-code-guide agent for CC information:
```
Task(
subagent_type: "claude-code-guide",
prompt: "What CC features help with [specific pattern observed]?"
)
```
This ensures:
- Information comes from official Anthropic sources only
- No prompt injection risk from random websites
- Curated, accurate CC knowledge
## Recommendation Format
Present each recommendation via AskUserQuestion:
```
## Recommendation: [Title]
**Observation**: [What pattern was noticed]
**Suggestion**: [What to change]
**Benefit**: [Why this helps]
**To apply**: [Exact steps user should take]
```
Options:
- "Apply this" → Show exact text/commands to copy
- "Skip" → Move to next recommendation
- "Stop review" → End session review
## Session Summary Format
When saving to `.claude/workflow-reviews/pending-review.md`:
```markdown
# Session Review - {date}
Session ID: {session_id}
Duration: ~{message_count} messages
## Observations
1. [Pattern observed]
2. [Pattern observed]
## Recommendations
### 1. [Title]
- Observation: ...
- Suggestion: ...
- To apply: ...
### 2. [Title]
...
```
## Quality Gates
Before proposing a recommendation, verify:
- [ ] Based on actual observed pattern (not hypothetical)
- [ ] Provides concrete benefit
- [ ] Actionable (user knows exactly what to do)
- [ ] Not already configured in CLAUDE.md
- [ ] Sourced from claude-code-guide (for CC features)
## Anti-Patterns
- **Don't guess**: Only recommend based on observed patterns
- **Don't overwhelm**: Max 5 recommendations per review
- **Don't repeat**: Track what's been proposed before
- **Don't modify user files**: Only write to `~/.claude/workflow-reviews/`, user applies code/config changes
- **Don't use WebSearch**: Use claude-code-guide agent only
See `references/example-session.md` for a worked example.Related Skills
pr-review
Reviews code changes before merging. Use when reviewing PRs, checking staged changes, reviewing diffs, code review, merge readiness check, or validating changes before commit/push.
voice-mode
Activates voice conversation mode using Pocket TTS Docker container. Use when user says "voice mode", "let's talk", "talk to me", "speak your responses", or wants Claude to respond with spoken audio. Speaks all responses through TTS and plays via speakers.
test-quality
Guides strong, effective unit test generation using proven testing techniques. Use when writing unit tests, reviewing test quality, improving existing tests, generating test cases, checking test coverage strength, or when tests exist but may be weak. Triggers on: unit test, test quality, test coverage, write tests, improve tests, review tests, test strength, mutation testing, boundary testing.
latex-presentation
Creates impressive LaTeX Beamer presentations with modern design. Generates .tex files with theme selection, font pairing, TikZ diagrams, overlays, and best practices. Use for LaTeX slides, Beamer presentations, scaffolding decks, slide design advice, or TikZ diagram generation.
git-commit
Plans and executes git commits with optional TICKET_ID prefix. Analyzes staged changes, proposes optimal commit structure (single or multiple), generates descriptive messages with technical context, and executes after user approval. Use when committing code changes, creating atomic commits, or splitting large changesets.
ctask
Manages tasks using the ctask CLI wrapper over a local SQLite database. Use when tracking work items, creating tasks, managing dependencies, adding comments, labeling, or reviewing task status. Triggers on task tracking, ticket management, work planning, backlog management.
codex
AI peer review via OpenAI Codex CLI. Use when reviewing code changes, validating technical decisions, comparing implementation approaches, or getting a second opinion on architecture choices. Triggers on /codex, /codex-review, or auto-triggers when presenting significant alternatives to user.
codemap
Generate navigational codebase maps with architecture diagrams. Use when mapping a codebase, creating architecture docs, visualizing project structure, generating infrastructure diagrams, understanding repo layout, or onboarding to a new project.
clarice
Conducts realistic mock interviews with detailed feedback and scoring. Use for interview prep, behavioral questions, technical interviews, STAR practice, system design interviews, or interview coaching.
c7
Fetches up-to-date library documentation from Context7 and saves to /tmp/context7/. Use when needing current API docs, code examples, library references, SDK documentation, or checking latest library versions. Triggers: context7, c7, library docs, fetch docs, current documentation, api reference.
repo-defining-workflows
Workflow pattern standards for creating multi-agent orchestrations including YAML frontmatter (name, goal, termination, inputs, outputs), execution phases (sequential/parallel/conditional), agent coordination patterns, and Gherkin success criteria. Essential for defining reusable, validated workflow processes.
caveman-review
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.