by rohitg00
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
# Add to your Claude Code skills
git clone https://github.com/rohitg00/pro-workflowLast scanned: 4/25/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-04-25T05:50:32.521Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}No comments yet. Be the first to share your thoughts!
You correct Claude the same way 50 times. You explain conventions every new session. Context compacts, learnings vanish, mistakes repeat. You research the same topic in three different sessions because there is nowhere durable for the answers to land.
Every Claude Code user hits this wall.
Pro Workflow puts a single SQLite store underneath every session.
After 50 sessions you barely correct anything. After a week of auto-research, your wiki on a topic is denser than the curated lists you started from.
Session 1: You → "Don't mock the database in tests"
Claude → Proposes rule → You approve → Saved to SQLite
Session 2: SessionStart loads all learnings + lists your wikis
UserPromptSubmit auto-injects top wiki hits when relevant
Claude writes integration tests, cites the right wiki page
Session 50: Correction rate near zero. Wiki has 200 cited claims.
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow
# Cursor
/add-plugin pro-workflow
# Any agent via SkillKit
npx skillkit install pro-workflow
# Manual
git clone https://github.com/rohitg00/pro-workflow.git /tmp/pw
cp -r /tmp/pw/templates/split-claude-md/* ./.claude/
# Build SQLite-backed components
cd ~/.claude/plugins/*/pro-workflow && npm install && npm run build
# 1. Self-correction (existing)
/learn-rule # capture a correction
/wrap-up # end session, persist learnings, audit changes
/insights # heatmaps, trends, productivity
# 2. Knowledge plane (v3.3, new)
/wiki init agent-memory --title "Agent Memory" --flavor research
/wiki page agent-memory wiki/concepts/episodic-memory.md --type concept
/wiki ask "what is episodic memory" --wiki agent-memory
# 3. Auto-research (budget-capped, opt-in)
/wiki seed agent-memory "memory consolidation in agents"
/wiki research agent-memory --max-pages 5 --budget-usd 0.50
# 4. Hybrid retrieval (BM25 + vector RRF, optional)
/wiki embed agent-memory # OPENAI_API_KEY or VOYAGE_API_KEY
/wiki hybrid "consolidation patterns" --wiki agent-memory
# 5. Multi-LLM deliberation (transcript persists as a wiki page)
/wiki council "should we adopt episodic memory?" --wiki agent-memory
# 6. Browse the wiki visually (single-file HTML, S3-shareable)
/wiki view agent-memory
open ~/.pro-workflow/wikis/agent-memory/derived/viewer.html
# Kill switch for any auto loop
touch ~/.pro-workflow/STOP
UserPromptSubmit auto-loads top-3 wiki hits when prompts mention indexed topics. SessionStart lists registered wikis and recent learnings.
Persistent knowledge plane on top of self-correction memory.
| Skill | Purpose |
|-------|---------|
| wiki-builder | Persistent FTS5-indexed research wikis. 9 flavors: research, paper, domain, product, person, organization, project, codebase, incident. Path-traversal-guarded. |
| wiki-query | BM25 retrieval with snippets. ask, related, show. Auto-injects on UserPromptSubmit. |
| wiki-research-loop | Budget-capped BFS. Pluggable source fetchers (web/arXiv/GitHub + custom). Convergence detection, kill-switch, atomic seed claim, try/finally state guards. |
| llm-council | Provider-agnostic 3-phase deliberation (Anthropic/OpenAI/OpenRouter/Fireworks/custom). Promise.allSettled so one provider failure doesn't abort the run. Transcript persists as a wiki page. |
| survey-generator | Provider-agnostic literature survey. Output target = wiki markdown page. Bibliography validation (uniqueness + section-paper refs), citation IDs aligned with sources.md rows. |
| wiki-viewer | Single-file HTML viewer for any wiki: pages + sources + seeds + link graph + in-browser search + "copy as seed" CTAs. S3-shareable. Applied lessons from Thariq Shihipar's HTML-as-output thesis. |
Plus: /wiki command (now with view), learn-rule Wiki: <slug> scoping, schema additions (wikis, wiki_pages + FTS5, wiki_sources, wiki_claims, wiki_seeds, wiki_embeddings, learnings_wiki), reactive file-watcher seed enqueue, cron-tick driver, /doctor extended with KB + provider sections.
| Feature | Pro Workflow | Superpowers | ECC | gstack | GSD |
|---------|:-----------:|:-----------:|:---:|:------:|:---:|
| Self-correcting memory (SQLite + FTS5) | Yes | No | No | No | No |
| Persistent research wikis (FTS5) | Yes | No | No | No | No |
| Auto-research loop (budget-capped BFS) | Yes | No | No | No | No |
| Hybrid retrieval (BM25 + vector + RRF) | Yes | No | No | No | No |
| Multi-provider LLM council | Yes | No | No | No | No |
| LLM-powered hooks (type: "prompt") | Yes | No | No | No | No |
| Permission denial analysis | Yes | No | No | No | No |
| Compaction-aware state preservation | Yes | No | No | No | No |
| Cost tracking and budget alerts | Yes | No | No | No | No |
| MCP overhead auditing | Yes | No | No | No | No |
| Cross-agent (32+ agents via SkillKit) | Yes | No | Some | No | No |
| Skills | 34 | 14 | 140+ | 18+ | 0 |
| Agents | 8 | 5 | 36 | 0 | 18 |
| Commands | 22 | 3 | 60+ | 5+ | 57 |
| Hook events | 24 | 8 | 18 | 0 | 0 |
Knowledge plane (new in v3.3)
| Skill | What it does | |-------|--------------| | wiki-builder | Scaffold + register FTS5-indexed research wikis | | wiki-query | BM25 retrieval, snippets, related, show | | wiki-research-loop | Budget-capped BFS over web/arXiv/GitHub fetchers | | llm-council | Provider-agnostic 3-phase multi-LLM deliberation | | survey-generator | Literature survey artifact, output to a wiki page | | wiki-viewer | Single-file HTML viewer (pages, sources, seeds, link graph, search) |
Quality gates and observability
| Skill | What it does |
|-------|--------------|
| smart-commit | Quality gates, staged review, conventional commits |
| llm-gate | AI-powered commit and secret hooks (type: "prompt") |
| permission-tuner | Analyze denials, generate allow/deny rules |
| compact-guard | State preservation through compaction cycles |
| cost-tracker | Session cost awareness with budget benchmarks |
| mcp-audit | MCP server token-overhead analysis |
| token-efficiency | Anti-sycophancy + tool-call budgets + read-before-write |
| safe-mode | Guardrails for destructive operations |
| insights | Session analytics, correction trends, productivity |
| thoroughness-scoring | Rate completeness of implementations |
| deslop | Remove AI-generated code slop from a diff |
Memory and learning
| Skill | What it does | |-------|--------------| | pro-workflow | Core 8 patterns | | learn-rule | Capture corrections (now wiki-scopeable) | | replay-learnings | Surface past learnings for the current task | | wrap-up | End-of-session ritual | | session-handoff | Resume documents for the next session |
Orchestration and engineering loop
| Skill | What it does | |-------|--------------| | orchestrate | Multi-phase Research → Plan → Implement → Review | | agent-teams | Multi-instance coordination, shared task list | | batch-orchestration | Parallel worktree agents for large changes | | parallel-worktrees | Git worktree setup for zero dead time | | context-engineering | Write/Select/Compress/Isolate framework | | context-optimizer | Token management, context budget, MCP audit | | auto-setup | Auto-detect project type