Dicklesworthstone/post_compact_reminder
Claude Code hook that detects context compaction and injects a reminder to re-read AGENTS.md, preventing post-compaction rule amnesia in long sessions
When working on long coding projects with Claude Code, the AI assistant can forget your project's rules and conventions after its context compacts. This tool automatically detects when Claude's memory is compacted and injects a reminder for it to re-read your project's `AGENTS.md` file. It's for developers using Claude Code who want to ensure the AI consistently follows project-specific guidelines, preventing it from making mistakes due to memory loss.
Use this if you are a developer relying on Claude Code for long coding sessions and find it frequently "forgets" project rules or coding conventions defined in your `AGENTS.md` file after extended use.
Not ideal if you don't use Claude Code, don't define project rules in an `AGENTS.md` file, or if your AI-assisted coding sessions are typically short and don't involve context compaction.
Stars
26
Forks
3
Language
Shell
License
—
Category
Last pushed
Mar 12, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/Dicklesworthstone/post_compact_reminder"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
shareAI-lab/learn-claude-code
Bash is all you need - A nano Claude Codeālike agent, built from 0 to 1
zebbern/claude-code-guide
Claude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks go from beginner...
nicksp/dotfiles
My personal dotfiles: Zsh, Git, VSCode, Cursor, Obsidian, Ghostty, etc.
kalil0321/reverse-api-engineer
Claude engineer that captures traffic, writes documentation and automatically generates API...
CloudAI-X/claude-workflow-v2
Universal Claude Code workflow plugin with agents, skills, hooks, and commands