By fyrsmithlabs
Persist and restore Claude Code sessions across resets, search past solutions and decisions via a ReasoningBank, and automatically diagnose and fix recurring errors using a local vector store.
Save a resumable context checkpoint of this session
Diagnose an error and find a known contextd fix
Record a learning from this session into contextd memory
List contextd checkpoints and resume from one
Search contextd memories, remediations, and code
This skill should be used to preserve or restore session state. It triggers when the user says "save my progress", "checkpoint this", "pick up where we left off", or "resume", before /clear, before a long-running task, or when context usage approaches ~70%. Covers checkpoint_save, checkpoint_list, and checkpoint_resume.
This skill should be used when starting a task to check for prior solutions, or when finishing one to record a learning. It triggers when the user says "have we solved this before", "remember this", "record what we learned", reuses a past approach, or captures a design decision worth surviving the session. Covers memory_search, memory_record, memory_feedback, and memory_outcome.
This skill should be used whenever an error, exception, failed build, failing test, stack trace, compiler/linter error, CI failure, or panic appears, or when the user asks "why is this failing" or "how do I fix this". Covers troubleshoot_diagnose, remediation_search, remediation_record, and remediation_feedback to match errors to past fixes and record new ones.
This skill should be used at the start of a coding or research session, or when the user says "what did we do before", "remember", "resume", mentions persistent or cross-session memory, or begins a non-trivial task that could reuse prior learnings. It establishes the contextd workflow — run semantic_search and memory_search before exploring code — and points to the cross-session-memory, checkpoint-workflow, and error-remediation skills.
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.
Cross-session memory and context management for AI agents.
ContextD helps AI coding assistants remember what works, learn from mistakes, and maintain context across sessions. It's designed for developers who want their AI tools to get smarter over time.
This project is in active alpha development. Features and APIs change frequently as we refine the product based on user feedback.
If you encounter issues, please report them on GitHub.
You need Claude Code installed first.
Claude Code is Anthropic's AI coding assistant. ContextD extends Claude Code with persistent memory via the MCP (Model Context Protocol) server integration.
Install Claude Code:
# macOS/Linux
curl -fsSL https://claude.ai/install.sh | bash
# Or visit: https://claude.ai/download
Verify installation:
claude --version
| Feature | Description |
|---|---|
| Cross-session Memory | Record and retrieve learnings across sessions with semantic search |
| Checkpoints | Save and resume context snapshots before hitting limits |
| Context-Folding | Isolate complex sub-tasks with dedicated token budgets |
| Error Remediation | Track error patterns and fixes - never solve the same bug twice |
| Repository Search | Semantic code search over your indexed codebase |
| Self-Reflection | Analyze behavior patterns and improve documentation |
| Secret Scrubbing | Automatic detection and removal via gitleaks |
All data stays local on your machine.
~/.config/contextd/Choose one of the following installation methods:
If you already have Claude Code installed:
# 1. Install the plugin (adds skills, commands, agents)
claude plugins add fyrsmithlabs/marketplace
# 2. Run auto-setup in Claude Code
/contextd-init
This automatically:
~/.claude/settings.jsonRestart Claude Code and verify:
# In Claude Code, type:
/mcp
# Should show "✓ contextd - connected"
That's it! See ONBOARDING.md for a guided tutorial.
# Add the tap and install
brew tap fyrsmithlabs/contextd https://github.com/fyrsmithlabs/contextd
brew install contextd
Then add the MCP configuration (see Configuration below).
choco install contextd
Then add the MCP configuration (see Configuration below).
Note: Windows builds use pure Go (no CGO). Local ONNX embeddings are not available; configure a remote embedding provider or use the default.
Download from GitHub Releases:
| Platform | Architecture | File |
|---|---|---|
| macOS | Apple Silicon | contextd_*_darwin_arm64.tar.gz |
| macOS | Intel | contextd_*_darwin_amd64.tar.gz |
| Linux | x64 | contextd_*_linux_amd64.tar.gz |
| Windows | x64 | contextd_*_windows_amd64.tar.gz |
Extract and install:
# Extract
tar xzf contextd_*.tar.gz
# Move to PATH (choose one)
mv contextd ~/.local/bin/ # User install
# OR
sudo mv contextd /usr/local/bin/ # System install
Then add the MCP configuration (see Configuration below).
Use the CLI tool for automatic configuration:
ctxd mcp install # Auto-configure MCP settings
ctxd mcp status # Verify configuration
ctxd mcp uninstall # Remove configuration
npx claudepluginhub fyrsmithlabs/contextd --plugin contextdClaude Code plugins for fyrsmithlabs project standards and workflows. Includes YAGNI/KISS enforcement, git-repo-standards, git-workflows with multi-agent consensus review, and GitHub planning integration.
Terminal Elegance design system compliance checking for FyrsmithLabs products. Audits CSS, templates, and documentation for hardcoded values, accessibility issues, and brand consistency.
Cross-session memory and learning for Claude Code. Provides semantic search, memory recording with category classification, session-level granularity, checkpoints, error remediation, conversation indexing, self-reflection, and multi-agent orchestration via the contextd MCP server (requires contextd v0.4.0+).
Memory compression system for Claude Code - persist context across sessions
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.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.
Ultra-compressed communication mode. Cuts ~75% of tokens 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