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
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.
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...
kalil0321/reverse-api-engineer
Claude engineer that captures traffic, writes documentation and automatically generates API...
nicksp/dotfiles
My personal dotfiles: Zsh, Git, VSCode, Cursor, Obsidian, Ghostty, etc.
K-Dense-AI/claude-scientific-writer
A general purpose scientific writer