By b17z
Persistent semantic memory system for Claude Code with automatic checkpoints, knowledge persistence, and failure recovery across sessions.
Evaluate and maintain knowledge freshness - detect and fix stale knowledge
Recall and save insights using sage_recall_knowledge and sage_save_knowledge MCP tools
Background save pattern for Sage operations - prevents blocking
Research methodology - when and how to checkpoint with Sage
Session start ritual - continuity and context injection
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Memory for Claude Code. Research → checkpoint → compaction → auto-restore.
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Research │───▶│ Checkpoint │───▶│ Compaction │
│ with Claude│ │ (auto) │ │ happens │
└─────────────┘ └─────────────┘ └──────┬──────┘
│
┌─────────────┐ ┌─────────────┐ │
│ Continue │◀───│ Auto-inject │◀──────────┘
│ seamlessly │ │ context │
└─────────────┘ └─────────────┘
v4.0 — Invisible Context Hydration: System folders, failure memory, MCP resources, knowledge linking.
# 1. Add the marketplace (one-time)
/plugin marketplace add b17z/sage
# 2. Install the plugin
/plugin install sage@sage
Or run /plugin and use the interactive UI to browse and install.
# 1. Install
pip install claude-sage[mcp]
# 2. Setup (adds MCP server + installs methodology skills)
sage mcp install
sage skills install
# 3. Use Claude - Sage handles the rest
claude
That's it. Claude now has memory across sessions.
The problem: You're 2 hours into research. Context fills up, auto-compacts, nuanced findings gone. Tomorrow you start from scratch.
The solution: Sage checkpoints at meaningful moments—not when tokens run out, but when something worth remembering happens:
| Trigger | Example |
|---|---|
| Synthesis | "Therefore, the answer is..." |
| Branch point | "We could either X or Y..." |
| Constraint | "This won't work because..." |
| Topic shift | Conversation changes direction |
| Manual | You say "checkpoint this" |
Each checkpoint captures your thesis, confidence, open questions, sources, and tensions (where experts disagree).
# Where do stablecoins win vs traditional rails?
## Thesis (75% confidence)
Integrate, don't replace. Stablecoins win middle-mile,
not POS checkout.
## Open Questions
- Timeline for Stripe's full stack?
## Tensions
- sheel_mohnot vs sam_broner: merchant profitability — unresolved
Checkpoints are Markdown files (Obsidian-compatible) in ~/.sage/checkpoints/ or .sage/checkpoints/ (project-local).
┌────────────────────────────────────────────────┐
│ Skills (methodology) │
│ sage-memory, sage-research, sage-session │
│ Load on-demand when context matches │
├────────────────────────────────────────────────┤
│ MCP Server (tools + resources) │
│ sage_save_checkpoint, sage_recall_knowledge │
│ @sage://system/objective.md (v4.0) │
├────────────────────────────────────────────────┤
│ Storage │
│ ~/.sage/checkpoints/, ~/.sage/knowledge/ │
│ .sage/system/, .sage/failures/ (v4.0) │
└────────────────────────────────────────────────┘
sage checkpoint list # See your checkpoints
sage checkpoint show <id> # View one
sage knowledge list # See stored knowledge
sage knowledge match "query" # Test what would recall
sage skills list # Check installed skills
sage watcher start # Auto-detect compaction
# Configuration
sage config list # View current settings
sage config set checkpoint_max_age_days 30 # Customize storage
sage config set failure_memory_enabled true # Enable failure memory (v4.0)
sage ui # Local web UI at localhost:5555
sage ui --api-only # REST API for custom frontends
Or use any of these:
~/.sage/ as vault (it's just Markdown)See docs/ui.md for details.
When installed as a Claude Code plugin, MCP tools follow the format mcp__plugin_<plugin>_<server>__<tool>. Since both the plugin and MCP server are named "sage", tools appear as mcp__plugin_sage_sage__save_checkpoint rather than the expected mcp__plugin_sage__save_checkpoint.
npx claudepluginhub joshuarweaver/cascade-featured --plugin b17z-sageSemantic memory for Claude - checkpoint research, persist knowledge, never lose context
Ultra-compressed communication mode. Cuts 65% of output tokens (measured) while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Unified capability management center for Skills, Agents, and Commands.