Claude Code hook
UnseveredMemory
Simple, organic, lightweight yet purposeful memory system for Claude Code.
Install
/plugin marketplace add blas0/UnseveredMemoryFound in the project README. Check it for setup steps after installing.
git clone https://github.com/blas0/UnseveredMemory.gitFrom the README
Unsevered Memory A markdown-based memory system for Claude Code with enforced persistence. Changelog - Added support for Claude plugins + npx packaging What Makes This Different Most memory systems inject context at session start and hope Claude remembers. This doesn't work because: 1. Context compaction loses early instructions 2. Claude has no obligation to follow suggestions 3. Long sessions forget the protocol Unsevered Memory solves this with enforcement: The UserPromptSubmit hook survives context compaction by being injected fresh on every message. Architecture Installation Choose your preferred method: Option A: Claude Plugin (Recommended) Then per-project: Option B: npx Option C: Manual Then per-project: What Gets Installed Global (~/.claude/): - CLAUDE.md - Global memory protocol - settings.json - Hook configuration (3 hooks) - hooks/ - memory-load, memory-remind, memory-save - skills/orchestrate/ - Workflow instructions - commands/orchestrate.md - Orchestrator command Per-Project: Workflow Session Start 1. Hook loads context.md and scratchpad.md 2. Claude sees current state and any unfinished work 3. Hook hints about .ai/ documentation During Session Every prompt shows: Claude writes to scratchpad.md as it works: Claude updates .ai/ when patterns emerge (3+ uses). Session End 1. Hook archives scratchpad to sessions/YYYY-MM-DD.md 2. Hook reminds to update context.md 3. Claude updates context with current state Orchestrator Mode For complex multi-step tasks: The orchestrator: 1. Reads all memory files 2. Breaks task into subtasks 3. Delegates to specialized agents 4. Updates memory after each step 5. Never loses context File Purposes Repository Structure Philosophy - Enforced - UserPromptSubmit hook survives context compaction -…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- blas0/UnseveredMemory
- Type
- Hooks
- Language
- Shell
- License
- MIT
- Last updated
- 3 January 2026
- Topics
- ai-codingclaudeclaude-codedeveloper-toolshooksmarkdownmemorypersistenceproductivity
FAQ
What is UnseveredMemory?
Simple, organic, lightweight yet purposeful memory system for Claude Code. It is a hook for Claude Code, from blas0/UnseveredMemory on GitHub.
How do I install UnseveredMemory?
Run /plugin marketplace add blas0/UnseveredMemory inside Claude Code, then follow the setup in the README.
Is UnseveredMemory popular?
blas0/UnseveredMemory has 49 GitHub stars and 3 forks. It was last updated on 3 January 2026.
More hooks
CC Best
49xiaobei930/cc-best
cc-best: Turn Claude Code into a full dev team — PM→Lead→Dev→QA autonomous workflow. 44 commands · 19 skills · 8 agents · 43 rules · 30 hooks · auto-learning pipeline. | 一个插件,完整开发团队。
Harmony Claude Code
43codelably/harmony-claude-code
完整的 Claude Code 配置集合(agents, skills, hooks, commands, rules, MCPs)。源自 Anthropic 黑客松获胜者的实战配置,助力中文工程师高效理解与使用 Claude Code。
claude-code-toast
18eyalzh/claude-code-toast
macOS Notification hook that shows a toast when Claude Code is waiting for you.
Autonomous Dev Team
40zxkane/autonomous-dev-team
Turns issues into merged PRs/MRs with zero human intervention — supports GitHub and GitLab, and Claude Code, Codex CLI, Kiro CLI, Antigravitiy CLI, opencode, and other agent CLIs.
Claude Code Prompt Optimizer
490-to-1-Labs/claude-code-prompt-optimizer
AI-powered prompt optimization hook for Claude Code. Transforms simple prompts into comprehensive, structured instructions using Claude Opus 4.6's advanced reasoning capabilities.
Pm AI Playbook
42fimoklei/pm-ai-playbook
A product manager's tested playbook for working with AI — skills, workflows, hooks, and rules from daily use of Claude Code
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.