Setup & Teardown
install
Install auto-sop into the current project. Sets up Claude Code hooks, the event-driven learner with a daily sweep, and the managed section inCLAUDE.md.
Options
Examples
What Install Does
- Hooks — Registers
PreToolUse,PostToolUse, andStophooks in.claude/settings.local.json - Scheduler — Creates a launchd plist (macOS) or systemd timer (Linux) for the daily background sweep
- CLAUDE.md — Adds a managed section to your project’s
CLAUDE.md(creates the file if needed) - Restore — If a previous install had directives, restores them (unless
--no-restore)
uninstall
Remove auto-sop hooks, scheduler, and the managed section fromCLAUDE.md.
Options
Examples
migrate
Migrate from the oldclaude-sop package name to auto-sop. Updates directory paths, launchd plists, and hook references.
Options
Examples
Only needed if you previously installed the
claude-sop package (pre-rename). New users can skip this command entirely.
