Claude Code never makes the same mistake twice
Auto-detect recurring mistakes across sessions, generate enforced CLAUDE.md directives automatically.
Free forever for solo developers.

From mistake to enforced rule — automatically
Install
One command: npx auto-sop install
Capture
Every Claude Code turn captured locally (<50ms)
Learn
Automatic AI analysis detects patterns (3+ evidence)
Enforce
Directives written to CLAUDE.md — Claude sees them next session
Built it, then dogfooded it
Live numbers from the auto-sop platform. Updated every 5 minutes.
errors prevented
in real-time
tokens saved
across all projects
hours saved
developer time reclaimed
projects monitored
and counting
active directives
auto-generated
Everything your CLAUDE.md needs
Pattern Detection
Detects mistakes only when 3+ sessions show the same pattern. No false positives.
LLM-Powered Analysis
Uses your Claude Max login — $0 extra cost. No API key needed.
Privacy-First
Raw captures never leave your machine. Scrubber redacts secrets at >95% recall.
Zero Overhead
Hook fires in <50ms. Fail-open — never blocks your Claude Code session.
Self-Healing Editor
Atomic writes, hash-checked, git-aware (skips during rebase), always revertible.
Cross-Platform
Native macOS (launchd), Linux (systemd), and Windows (Task Scheduler) support.
Stop repeating mistakes
auto-sop watches your Claude Code sessions, detects recurring mistakes, and writes enforced directives so they never happen again.
- Automatic pattern detection across sessions
- Evidence-backed directives (3+ occurrences required)
- Zero manual CLAUDE.md maintenance
- Revertible — always undo with one command
**Learnings** (auto-generated)
- **[warning]** Always run npm ci before npm test
when node_modules may be stale. [sop:sop-a1b2]
_(evidence: 3 sessions)_
Claude repeats the same mistake
Claude runs npm test without npm ci first — node_modules are stale. The task fails. Again.
Pattern detected
auto-sop's learner detects the recurring pattern: 3 occurrences of the same mistake across sessions.
Directive written
A new directive is auto-generated and written to CLAUDE.md — no manual editing required.
Mistake avoided automatically
Claude reads the directive, runs npm ci first. Tests pass on the first try.
sop:applied:sop-a1b2Simple, honest pricing
Free
Perfect for solo developers — includes 14-day trial with Pro features
- 1 project
- Unlimited directives
- Full local capture + LLM
- All CLI verbs
- Automatic learning
- Cross-platform
Pro
For teams and power users
- Unlimited projects
- Everything in Free
- Encrypted cloud sync
- Web dashboard + metrics
- Curated directive packs
- Cross-project detection
No credit card required
Frequently Asked Questions
Free Plan
Pro Plan
Ready to stop repeating mistakes?
Join developers who ship better code with auto-sop.
One command to install, free forever.