Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Eliminate context rot in Claude Code with intelligent memory hierarchy, auto-learning hooks, and specialized subagents. 8-layer architecture with SessionStart/End hooks and MCP knowledge base.
npx claudepluginhub theglitchking/mind-glaiveCustom commands for context preservation system.
Run context cleaner to identify and suggest cleanup for stale, duplicate, or oversized content
Clear all project context and reinitialize with default template
Display current context health metrics and memory usage statistics
Discover patterns from codebase and suggest new rules
Specialized Claude Code subagents that handle isolated tasks, keeping main conversation focused.
Analyzes project memory for outdated, redundant, or bloated information and recommends cleanup actions
Discovers undocumented patterns and conventions from codebase, suggests new rules
Executes tests and build commands, capturing detailed output while summarizing results for main context
Weekly cleanup and optimization of project memory - archives old decisions, consolidates rules, removes stale sections
Initialize mind-glaive for a project with one command
Auto-learns from correction patterns - generates rules after 3+ occurrences of same correction
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Persistent memory system for Claude Code with enforced context
Persistent local memory for Claude Code. Cross-session recall with vector search, automatic archiving, zero cloud dependencies.
Auto-capture high-signal coding context into memctl memory
Persistent memory across Claude Code sessions using Cognis
A subconscious for Claude Code. A Letta agent watches your sessions, accumulates context, and whispers guidance back.
Long-term memory for Claude Code. Recalls architecture, conventions, and decisions across sessions — so Claude explains your codebase without file traversal, follows your patterns, and never re-asks what it already learned.
Generate production-quality SVG technical diagrams (architecture, flowchart, UML, ER, sequence, etc.) with 7 built-in styles. Export as SVG+PNG via @resvg/resvg-js.
Bash Loop operating mode for Claude Code - action over explanation, tight feedback loops, intelligent context preservation, and graceful subagent control
Autonomous loop engine with orchestrated subagents, DAG-based task execution, context persistence across iterations, and intelligent failure recovery with circuit breaker
Persistent markdown-based planning with task directories, progress tracking, and context engineering for multi-step Claude Code workflows
Polyglot progressive linting for monorepos — adapter-driven baselines, per-app drift detection, and idempotent skips. Supports JavaScript/TypeScript (ESLint, Biome), Python (Ruff), Go (golangci-lint), Rust (Clippy), Terraform/OpenTofu (tflint), and Ansible (ansible-lint).
Eliminate context rot in Claude Code with intelligent memory, auto-learning hooks, and specialized subagents.
mind-glaive is a production-ready Claude Code plugin that solves the context rot problem through an intelligent, multi-layered architecture that:
Context rot occurs when:
Result: Wasted tokens, slower development, repeated mistakes.
.claude/CLAUDE.md) - Auto-updated with session learnings.claude/rules/) - Domain-specific, glob-activated guidelines/context/status - Show context health metrics/context/optimize - Run maintenance and cleanup/learn/from-session - Extract patterns from current session/resume/last-task - Continue from previous session.claude/rules/ from patterns./install.sh --scope userAdd the marketplace - run this command OUTSIDE of claude code
claude plugin marketplace add TheGlitchKing/mind-glaive
For each collaborator (once from within a claude session):
claude plugin install mind-glaive@mind-glaive-marketplace
For each project (once):
/mind-glaive/setup
That's it! 🎉 Hooks are now active. Run:
/context/status
v1 → v2 breaking change: the
mind-glaive install --scope userflow was removed. Installation is now handled automatically by either the Claude Code plugin marketplace or npm's postinstall. See CHANGELOG.md for migration details.
npm install --save-dev @theglitchking/mind-glaive
Postinstall writes .claude/mind-glaive.json (update policy: nudge) and registers a SessionStart update-check hook in .claude/settings.json (skipped if the marketplace plugin is already enabled in ~/.claude/settings.json).
Every install ships with an update policy. Default is nudge — one-liner notification at session start when a newer version is available, no automatic changes.
mind-glaive status # installed / latest / policy / hook state
mind-glaive policy auto # auto-update on session start
mind-glaive policy nudge # one-liner nudge only (default)
mind-glaive policy off # silent
mind-glaive update # update now
Slash-command parity: /mind-glaive:status, /mind-glaive:policy <mode>, /mind-glaive:update, /mind-glaive:relink.