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

Configuring OpenClaw with VAST.AI GPU Rental for Unlimited Ollama Prompts
A user describes combining VAST.AI GPU rental with Ollama and OpenClaw to bypass prompt limits, but encountered configuration challenges requiring manual JSON editing.

Token Enhancer reduces webpage token usage for AI agents
A developer found that raw HTML from web fetches consumes excessive tokens in AI agent context, with Yahoo Finance pages using 704K tokens. Using Token Enhancer as an MCP server reduced this to 2.6K tokens.
Forking OpenClaw with a Custom LLM: A Local-Only Setup Guide
A Reddit user forked OpenClaw to run entirely on local models, creating a fully customized 'JARVIS' with zero cloud dependency. The process took minutes, not hours, and runs two versions side-by-side on an M2 Ultra.

Voygr Launches Business Validation API for Fresh Place Intelligence
Voygr's Business Validation API checks if businesses are operating, closed, rebranded, or invalid by aggregating multiple data sources and detecting conflicting signals. The team is building an infinite, queryable place profile that combines accurate place data with fresh web context like news, articles, and events.