AI-assisted feature memory system for development projects
Captures and summarizes Claude Code interactions to track project features, key points, and rules.
- ๐ค Automatic Claude Code Integration - Seamlessly captures AI conversations
- ๐ Smart Summarization - Uses OpenAI to extract features and key insights
- ๐ฏ Project Memory - Maintains up-to-date
MEMORY.mdwith project state - โก Real-time Processing - Processes messages as you work
- ๐ง Configurable - Customizable message thresholds and file paths
- ๐ Zero Friction - Set up once, works automatically
npm install -g memorizablememorizable server
# ๐ Server running on http://localhost:3001cd your-awesome-project
memorizable setup --project-name "my-app" --openai-key "sk-your-key-here"
# โ
Hooks configured! Start using Claude Code.Your conversations are now automatically captured and summarized! ๐
Start the Memorizable server (required for message capture)
memorizable server
# Options:
# --port Server port (default: 3001)
# --data-dir Data directory pathConfigure hooks for your project
memorizable setup --project-name "my-project" --openai-key "sk-..."
# ๐ Options:
# --project-name Unique name for your project (required)
# --openai-key OpenAI API key for summarization (required)
# --memory-path Path to memory file (default: ./MEMORY.md)
# --max-messages Messages before summarization (default: 10)Check current configuration and message count
memorizable status
# Shows:
# โ
Project: my-awesome-app
# ๐ Messages: 7/10 (3 until next summary)
# ๐ Memory file: ./MEMORY.md
# ๐ง Config: .memorizable/config.jsonManually trigger summarization
memorizable summarize
# ๐ค Analyzing 8 messages...
# โ
Memory updated: ./MEMORY.mdRemove hooks from your project
memorizable remove
# ๐งน Hooks removed from Claude Code configurationgraph TD
A[๐จโ๐ป You chat with Claude Code] --> B[๐ฃ Hooks capture messages]
B --> C[๐จ Send to Memorizable server]
C --> D{๐ Reached message limit?}
D -->|No| E[๐พ Store message]
D -->|Yes| F[๐ค AI Summarization]
F --> G[๐ Update MEMORY.md]
G --> H[๐๏ธ Clear message buffer]
- ๐ฃ Message Capture: Claude Code hooks automatically capture all conversations
- ๐งฎ Smart Counting: Only counts user messages (excludes tool calls) for clean summaries
- ๐ค AI Summarization: After N messages, OpenAI analyzes and extracts:
- ๐ฏ Project overview
- ๐๏ธ Technical architecture
- ๐ก Key insights
- โจ Feature requirements
- ๐ Memory Update: Intelligently updates your
MEMORY.mdfile
Your MEMORY.md maintains project knowledge in a clean format:
# ๐ฏ Project Overview
Brief description of your project and its goals
# ๐๏ธ Technical Architecture/Framework
Technical stack, architecture decisions, and implementation details
# ๐ก Key Items
- Important decisions and patterns
- Technical insights and learnings
- Development guidelines
# โจ Features (Product Requirements)
- ๐ User Authentication: Secure login system with JWT
- ๐ Dashboard: Real-time analytics and reporting
- ๐ Data Sync: Background synchronization with external APIsConfiguration lives in .memorizable/config.json:
{
"projectName": "my-awesome-app",
"openaiApiKey": "sk-...",
"userMemoryPath": "./MEMORY.md",
"maxMessagesBeforeSummary": 10
}# Clone the repository
git clone https://github.com/AlexKlim/memorizable.git
cd memorizable
# Install dependencies
npm install
# Build TypeScript
npm run build
# Run in development mode
npm run dev
# Link for local testing
npm link๐ซ Server not starting
- Check if port 3001 is available:
lsof -i :3001 - Ensure Node.js 16+ is installed:
node --version - Try a different port:
memorizable server --port 3002
๐ต Messages not being captured
- Verify server is running:
memorizable server - Check hooks installation:
memorizable status - Look at debug logs:
/tmp/memorizable-debug.log - Restart Claude Code after setup
๐ Summarization not triggering
- Only user messages count (tool calls are excluded)
- Check message count:
memorizable status - Verify OpenAI API key:
memorizable status - Manually trigger:
memorizable summarize
๐ Memory file not updating
- Verify file path in config:
memorizable status - Check write permissions on memory file
- Look for server errors in logs
- ๐ฅ๏ธ Server: Express.js server handling message storage and processing
- ๐ฃ Hooks: Claude Code integration for conversation capture
- ๐พ Storage: JSON-based message storage in
memorizable-data/ - ๐ค AI Engine: OpenAI GPT-4 for intelligent conversation analysis
- ๐ Memory Management: Smart Markdown file updates with conflict resolution
- Node.js 16 or higher
- npm or yarn package manager
- OpenAI API key for summarization features
- Claude Code for AI-assisted development
MIT ยฉ Alex Klim
Contributions welcome! Please read our contributing guidelines first.
Made with โค๏ธ for better AI-assisted development
Report Bug โข Request Feature โข Documentation