❯ pro-workflow v3.4.0 · September 2026
Claude Code plugin · open source

Claude Code that learns from your corrections and checks its own work.

pro-workflow is a set of hooks, skills, and agents distilled from how power users ship. This page follows one session from start to finish and shows where each part runs.

41 skills8 agents22 hook events23 commands37 scripts12 rules3 contexts14 guides

One session, start to finish

Observes and records Warns Claude or you Can block the action
SetupSessionStartSession opens

Load what you taught it last time

session-start loads recent learnings from the SQLite store and shows session stats. setup-hook detects the project type.

Split memory

CLAUDE.mdEntry point, imports the rest
AGENTS.mdWorkflow rules
SOUL.mdStyle preferences
LEARNED.mdFilled in from your corrections

Context modes

DevCode first, iterate quickly
ReviewSecurity focus, read-only audit
ResearchExplore broadly, summarize findings
UserPromptSubmitYou send a message

Notice a correction, pull in what it knows

prompt-submit spots corrections like “don’t do that again” and suggests /learn, and loads relevant wiki pages. drift-detector restates your original goal when, after 6 or more edits, a new prompt looks unrelated to it.

  1. CorrectYou fix a mistake
  2. ProposeClaude drafts a [LEARN] rule
  3. ApproveYou confirm it
  4. PersistSaved to LEARNED.md and the database

Optional: System 1 classifier

Turn on Laya (local) or Jev (hosted) to catch corrections the keyword check misses, in tens of milliseconds. Off by default. It only suggests /learn; it never allows or denies anything.

Knowledge plane

Research wikis in the same SQLite store with full-text search, built by wiki-builder and grown by a budget-capped research loop over web, arXiv, and GitHub.

PreToolUseBefore each tool call

Check the action before it runs

The only stop that can block. Every blocker in v3.4 parses the real command first, so heredocs and quoted text no longer trip it.

When Claude callsScriptWhat happensEffect
Bashgit-blast-radiusStops destructive git: force-pushes, hard resets, branch deletes, history rewritesblocks
Bashcommit-validateRequires a conventional commit message on a real git commitblocks
Edit Writesecret-scanRefuses to write keys, tokens, or secret-like filesblocks
Readreread-trackerTells Claude it already read an unchanged file. Blocking is opt-inwarns
Edit Writeread-before-writeFlags edits to files Claude has not readwarns
Edit Writequality-gateCalls a review checkpoint every few editswarns
Bashpre-commit-check pre-push-checkReminds Claude to lint, typecheck, and test firstwarns
any tooltool-call-budgetSuggests wrapping up as tool calls pile upwarns
PermissionRequestPermissionDeniedA prompt or a denial

Record why it asked

Each prompt and denial is logged. permission-analyst and /permission-tuner read those logs with the transcript’s toolDenialKind and suggest the smallest fix: a narrower ask rule, a hook repair, or an autoMode entry.

PostToolUsePostToolUseFailureAfter each tool call

Look at what just changed

post-edit-check flags leftover console.log calls and other issues in edited files. test-failure-check turns a failing test into a learning. reread-tracker records each completed read, and tool-failure tracks errors.

SubagentStartSubagentStopTaskCreatedTaskCompletedTeammateIdleWork is handed off

Eight agents, each with one job

Lifecycle hooks log each agent and task, check task quality, and flag idle teammates.

read-onlyPlanner

Breaks work into steps. Reads and proposes, never edits.

quality gateReviewer

Logic, edge cases, errors, security, performance, tests.

confidence gateScout

Scores readiness 0 to 100 in an isolated worktree.

multi-phaseOrchestrator

Research, plan, implement, review, with /develop.

hypothesis-drivenDebugger

Reproduces, finds the root cause, verifies the fix.

token-awareContext Engineer

Audits CLAUDE.md size, skill overhead, MCP tool count.

auto-mode awarePermission Analyst

Turns denials into narrow rules and autoMode entries.

spendCost Analyst

Token use, cache hits, model choice.

Scout scores five areas, 20 points each:

scope claritypattern familiaritydependenciesedge casestest strategyGO at 70+HOLD below 70
PreCompactPostCompactContext fills up

Keep the thread through compaction

pre-compact saves edit and prompt counts and the current goal; post-compact restores them from the summary.

Context ruleWhy
Read before you editUnderstand the code first
Compact at task boundariesFree the token budget cleanly
Fewer than 10 MCP servers, 80 toolsLess noise in every request
Use subagents for reading-heavy workProtect the main context
Keep CLAUDE.md under 150 linesAvoid instruction drift
StopStopFailureClaude finishes a turn

Capture the lesson before it is lost

learn-capture saves any [LEARN] block Claude wrote to the database. session-check adds reminders based on what happened. stop-failure names the API error when a turn fails: rate limit, overload, auth, or server error.

SessionEndSession closes

Wrap up with intention

session-end saves the session’s stats. The /wrap-up ritual closes the loop:

  1. Auditgit status, uncommitted work, TODOs
  2. CheckLint, typecheck, tests
  3. LearnMistakes and patterns
  4. NextBlockers and what’s next
  5. Hand offA one-paragraph summary
ConfigChangeCwdChangedFileChangedNotificationAny time

Watch the surroundings

config-watcher
Spots settings drift
cwd-changed
Loads environment on cd
file-changed
Reacts to .env, package.json, and other config files
notification-handler
Logs prompts waiting for you

Between sessions

Skills you call on demand, and the habits the hooks reinforce.

Ship

smart-commit
Quality gates, then a conventional commit
deslop
Strip AI code slop before commit
llm-gate
AI-powered quality gates
auto-setup
Configure quality gates for the project
parallel-worktrees
Zero dead time with claude -w
orchestrate
Multi-phase feature workflow

Remember

learn-rule
Persist a correction, scoped to a wiki
replay-learnings
Surface relevant past patterns
wrap-up
Session ritual with learning capture
session-handoff
Resume notes for next time
insights
Analytics, heatmaps, trends
file-watcher
Workflows that react to file changes

Research

wiki-builder
Full-text research wikis, 9 flavors
wiki-query
BM25 retrieval, related pages, hybrid search
wiki-research-loop
Budget-capped research over web, arXiv, GitHub
wiki-viewer
Single-file HTML viewer with link graph
llm-council
Three-phase multi-LLM deliberation
survey-generator
Literature survey written to a wiki page

Budget

context-optimizer
Token management and MCP audit
compact-guard
Protect context through compaction
cost-tracker
Session cost awareness and budgets
mcp-audit
MCP overhead analysis
permission-tuner
Fewer prompts, safely

Pick the model for the task

TaskModelEffort
Quick fixes, read-only explorationHaiku 4.5low
FeaturesSonnet 5high
Refactors and architectureOpus 5.5xhigh
Long-horizon workFable 5.1high

Also in the library: skill-router, tdd, domain-modeling, design-engineering, writing-guidelines, improve-architecture, context-engineering, batch-orchestration, thoroughness-scoring, sprint-status, agent-teams, safe-mode, token-efficiency, skill-optimizer, bug-capture, module-map, and more. 41 skills in all.

The eight patterns

Self-correctionClaude learns from your corrections
Parallel worktreesNo waiting on builds or tests
Wrap-up ritualEnd each session with intention
Split memoryModular CLAUDE.md for big projects
80/20 reviewReview at checkpoints, not every change
Model selectionRoute by task and effort
Context disciplineSpend the context budget on purpose
Learning logWrite down what each session taught

Research, plan, implement

ResearchScout scores readiness and returns GO or HOLD.
PlanPlanner turns requirements into steps.
ImplementPhased commits; Reviewer checks each one.

Each phase has to pass its gate before the next starts. Commands, agents, and skills chain the same way: a command starts an agent, the agent runs skills, and agents hand off through Task, never directly.

“80% of my code is written by AI, 20% is spent reviewing and correcting it.”
Andrej Karpathy. pro-workflow is built for the 20%.
Install
# Claude Code/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow
# Cursor/add-plugin pro-workflow
# 32+ agents, including Codexnpx skills add rohitg00/pro-workflow