AI Dev Impact Lab JA
← Rankings · AI-RELATED REPO

hinanohart/claude-memory-router

Claude Code UserPromptSubmit hook that routes prompts to the right memory files instead of carpet-bombing context. Stops the 'Claude got dumb' failure mode caused by promiscuous keyword matching.

Shell MIT GitHub ↗
★ 0
stars
100
AI relevance
50
solo dev
0
tool sigs

SUMMARY AI summary by gpt-5-mini

claude-memory-router is a third‑party UserPromptSubmit hook for Claude Code that routes prompts to the most relevant memory markdown files instead of loading everything that loosely matches. It’s intended for Claude Code users whose ~/.claude/projects/<id>/memory/ grows large and causes context bloat and degraded model behavior. Key features: - Weighted selection rules using frontmatter aliases/triggers, inferred tokens, and filename boosts so single generic hits are rejected. - Pin list for always-included files and a global auxiliary-context cap (default 200 KiB). - Tools: manifest builder, orphan migrator, size monitor, and tests (bats). - Configurable via environment variables, secure logging, YAML-lite frontmatter parsing, and compatibility with bash/Python/jq. Pairs with claude-memory-lint for static checks. Not affiliated with Anthropic.

DETECTED Detected AI stack

AI-related keywords found in this repo's description, topics, or README summary — grouped by category. Each badge links to the corresponding ranking detail page.

🧠 LLM providers (1)
Anthropic
🤖 LLM models (1)
Claude

GitHub Topics

#claude-code #claude-code-hooks #memory-routing #prompt-engineering #shell #context-pollution

Language breakdown (by bytes)

Shell
100%

Owner

Account
hinanohart
Type
User
Followers
2

I prefer anmitsu with ice cream on top, preferably vanilla flavor.

Dates

Created on GitHub 2026-05-07
Last push 2026-05-09
First seen here 2026-05-09
Last fetched 2026-05-09 18:13

Similar repos (same language)

fashton28/mux

A Claude Code session manager right inside your terminal

Shell 10 AI 45
innogrators/AI-Engineering-Framework

Spec-first AI-engineering framework for Claude Code: lifecycle skills, reviewer subagents, and CI-enforced quality gates. Prompts ask, enforcement decides.

Shell 2 AI 100
stephanechery/mac-migration-operator-skill

Agent Skill for safer Mac-to-Mac migrations with rollback and validation

Shell 0 AI 70
wulusai2333/agent-team
Shell 0 AI 50
VM-development/ai-dev-kit

Bootstrap any project for AI-assisted development across Claude Code (Claude), OpenAI Codex (GPT), and the GitHub Copilot cloud agent — from one AGENTS.md.

Shell 0 AI 55
shinulearning/Shinu-hermes-ai-agent-setup

AI Agent Infrastructure Platform using Hermes, Discord, DeepSeek, and WSL2 with architecture generation, research automation, and coding assistant capabilities.

Shell 0 AI 100
Alexander-Sorrell-IT/fleetcode

Launch multiple Claude Code agent teams in parallel terminal windows with a shared filesystem mailbox for cross-team coordination

Shell 0 AI 45
rboch-om1/dotfiles

Personal dotfiles for the OM1 devenv (bash, docker/ECR, git, tmux, Claude Code). Run by the devenv provisioner via ./setup.

Shell 0 AI 45