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

38
/ 100
Emerging

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.

AI-assisted-development software-development code-generation developer-productivity AI-configuration
No Package No Dependents
Maintenance 10 / 25
Adoption 7 / 25
Maturity 11 / 25
Community 10 / 25

How are scores calculated?

Stars

26

Forks

3

Language

Shell

License

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.