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

39
/ 100
Emerging

Integrates with Claude Code's SessionStart hook system using a `compact` matcher to detect context compaction events and inject reminders directly into the conversation context. Provides four built-in message templates (minimal, detailed, checklist, default) plus custom message support, with atomic file operations and automatic backups to ensure `settings.json` integrity. Installs globally via a single self-updating bash script that handles dependency detection, validation, and diagnostics without requiring frameworks or build steps.

No Package No Dependents
Maintenance 13 / 25
Adoption 7 / 25
Maturity 9 / 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.