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

ClawsifyAI Agent Handles Email, Research, and Brainstorming Tasks
A developer tested ClawsifyAI, an AI agent-style claw bot, for a week and found it handled emails, research, repetitive work, and brainstorming. The agent provides clear feedback, practical solutions, and sometimes better ideas than originally planned.

Knowledge Raven: A Model-Agnostic Knowledge Base Platform Built with Claude Code
Knowledge Raven is a knowledge base platform that lets any MCP-compatible LLM search and cite company documents. The entire platform was built with Claude Code by a solo founder, featuring Python/FastAPI backend, MCP tool layer, and agentic RAG pipeline.

Nit: A Git Replacement in Zig Optimized for AI Agent Token Efficiency
Nit is a native Git replacement written in Zig that reduces token usage by 35-87% on common commands like status, diff, log, and show. It achieves this through compact output defaults and direct libgit2 integration, eliminating subprocess overhead.

Legal MCP Server for Claude Provides Access to 4M+ US Court Opinions
A free, open-source MCP server built with Claude Code gives Claude AI access to 4M+ real US court opinions, providing 18 tools for case law search, citation tracing, Bluebook parsing, Clio practice management, and PACER federal filings without hallucinations.