AutoDream: 11-hook memory system for Claude Code with safety features

What AutoDream does
AutoDream is a memory system built for Claude Code (Anthropic's CLI) that has been running for several months. The tool injects project memory into every prompt, eliminating the need to repeat information. It blocks dangerous Bash commands before execution using a dual-layer danger scoring system. The system saves context before the /compact command and re-injects it afterward, automatically captures decisions and learnings, and includes an AFK mode where tasks can be dropped in a queue and returned to later for a report.
Hook architecture details
The system uses 11 hooks across 6 specific events:
- PreToolUse: Guardian + critic-evaluator (danger scoring 0-10) + circuit-breaker
- UserPromptSubmit: Context injection (project + global memory)
- PostToolUse: Learn + verification + circuit-breaker + microcompact (token warnings)
- PreCompact: State saver
- PostCompact: Selective re-injection
- Stop: Memory extractor + dream consolidation
The tool requires zero configuration after initial setup, with all hooks firing automatically. It's available as open source on GitHub at github.com/JaWaMi73/AutoDream.
📖 Read the full source: r/ClaudeAI
👀 See Also

Solo developer builds cross-platform desktop AI agent with mobile remote control in 3 weeks, ships to 40+ countries
A solo developer built Skales, a native desktop AI agent with 139+ tools and a mobile companion app for remote control — all in 3 weeks using Claude. The app runs on macOS, Windows, and Linux, is local-first and free, and already has active users in 40+ countries.

Open Source Claude Code Skills for Personalized Social Media Content
A developer has open sourced 13 Claude Code skills that help Claude write social media content in your own voice. The skills include context definition, strategy, creation, and analysis tools for LinkedIn, Twitter/X, Threads, and Bluesky.

A/B Test Results: oh-my-claudecode Hooks Show Minimal Impact on Claude Code Performance
A developer spent 7% of their weekly Max20 tokens testing oh-my-claudecode hooks with Claude Sonnet 4.6, finding no meaningful improvement in code quality or cost for a single-session coding task.

Claude skill for Devvit improves code generation accuracy from 73% to 100%
A developer created a structured SKILL.md prompt layer for Claude that provides context for Reddit's Devvit platform, improving evaluation results from 7/10 to 10/10 on common Devvit tasks by preventing specific runtime bugs.