Dicklesworthstone/post_compact_reminder
43 stars · Last commit 2026-04-29
Claude Code hook that detects context compaction and injects a reminder to re-read AGENTS.md, preventing post-compaction rule amnesia in long sessions
README preview
# Post-Compact Reminder for Claude Code <div align="center"> <img src="pcr_illustration.webp" alt="Post-Compact Reminder - Stop Claude from forgetting your project rules after context compaction"> </div> <div align="center"> **Stop Claude from forgetting your project rules after context compaction.** [](./LICENSE) [](https://www.gnu.org/software/bash/) </div> <div align="center"> <h3>Quick Install</h3> ```bash curl -fsSL https://github.com/Dicklesworthstone/post_compact_reminder/raw/refs/heads/main/install-post-compact-reminder.sh | bash