Skip to content
Skills Library
AI & agents · Review & audit

workflow-review

/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.

Licence
AGPL-3.0
Last repository change
26.07.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
1
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 26.07.2026, without references to retired models or APIs.

Licence

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/conversation_search.py

What it does and when to use it

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.

Triggers from the description

review my workflowhow can I improve
Original author description

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.

How it works

  1. Core Behavior
  2. Transcript Analysis (BM25 Cross-Session Search)
  3. Execution Modes
  4. Analysis Framework
  5. Research Protocol
  6. Recommendation Format
  7. Session Summary Format
  8. Quality Gates
  9. Anti-Patterns
Original SKILL.md headings · 186 lines, 714 words
SKILL.md preview
---
name: workflow-review
description: |
  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.
disable-model-invocation: true
allowed-tools:
  - Read
  - Write
  - Glob
  - Grep
  - Bash(~/.claude/skills/workflow-review/scripts/*:*)
  - Task
  - AskUserQuestion
---

# 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.
Files in this package (4)
  • SKILL.md 6 KB
  • references/example-session.md 1 KB
  • references/transcript-format.md 2 KB
  • scripts/conversation_search.py 11 KB

Versions

RepositoryScoreLicence
This page · antoniocascais/claude-code-toolkit100AGPL-3.0
stencila/stencila100Apache-2.0

Database snapshot: 13.11.2026 · package version 23cb22670f2e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100workflow-advisor
    Analyzes recent Claude Code conversations and local Claude state (skills, settings, memory files, CLAUDE.md), researches the latest Claude Code features and best practices online, and suggests one workflow improvement at a time with reasoning and a concrete action item. Can save…
  • 100skill-forge
    Creates new Claude Code skills with proper structure and best practices. Use when user wants to create a skill, update an existing skill, add a new command, scaffold a workflow, define skill hooks, or asks "how do I make a skill".
  • 95learn-from-session
    Analyze Claude Code sessions to learn what went right/wrong and suggest high-confidence improvements to skills. Use when asked to analyze a session, learn from a session, or review workflow effectiveness.
  • 90mining-claude-sessions
    Use when asked to find or resume a past Claude Code session ("find the session where we...", "resume the one that built X"), to say what a session did, or to audit Claude Code usage (which tools, skills, commands, agents or prompts recur), and before you parse ~/.claude/projects transcripts by hand.
  • 98introspect
    Analyze Claude Code session logs and surface productivity improvements. Extracts thinking blocks, tool usage stats, error patterns, debug trajectories - then generates friendly, actionable recommendations. Triggers on: introspect, session logs, trajectory, analyze sessions, what…
  • 100session-review
    Mine real Claude Code session transcripts to suggest plugin improvements that cut token spend, reduce re-work, and improve accuracy. Use when the user asks to "review my sessions", "where am I wasting tokens", "why does this keep re-doing work", or "/session-review".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.