Claude Code v2.1.76 System Prompt Updates: Security Monitor Refinements and New Hook Event

Security Monitor for Autonomous Agent Actions Updates
The security monitor prompt for autonomous agent actions received several clarifications and expansions:
- Changed "base64-encoded" to "encoded (e.g. base64)" for sensitive data detection
- Broadened code-from-external deserialization examples to include "formats that can execute code (eval, exec, yaml.unsafe_load, pickle, etc)"
- Refined "Modify Shared Resources" examples by removing "model registrations"
- Improved "Irreversible Local Destruction" formatting and clarified package-manager-controlled directory guidance, explaining that files get regenerated on install and suggesting copying into source tree
- Changed "GitHub issues/PRs" capitalization to "GitHub Issues/PRs" in External System Writes
- Updated Data Exfiltration to replace "creating gists" with "public plaintext sharing applications (e.g. public GitHub gists)"
- Quoted rule names in cross-references (e.g. "Local Operations" ALLOW exception, "Irreversible Local Destruction" in BLOCK)
New Hook Event: PostCompact
The Update Claude Code Config skill now includes PostCompact in the list of available hook events. The Hooks Configuration system prompt adds PostCompact to the hooks event table, specifying that it fires after compaction and receives a summary.
Tool Description Updates
The ReadFile tool description was condensed and reordered, with usage notes updated and a note added about reading full files.
📖 Read the full source: r/ClaudeAI
👀 See Also

ClawHost Open-Source OpenClaw One-Click Deploy Hits 200+ GitHub Stars
ClawHost, an open-source tool for one-click OpenClaw installation with full server access and control, has reached 200+ GitHub stars. The project addresses issues with unstable commercial wrappers by providing a free, self-hostable solution.

Yozora-fm: Interactive Anime Music Galaxy Visualization
Yozora-fm is an interactive visualization where each star represents an anime opening or ending song, with over 9,000 tracks mapped by genre and era. Users can click stars to play videos or explore the galaxy interface.

Claude Code Logs Every Session to Disk — Here's How to Index and Recall Them
Claude Code writes every session turn to ~/.claude/projects/ as JSONL. One user indexed 1026 sessions (57MB, 76K turns) into SQLite+FTS5 with an MCP server for search and thread recall across sessions.

Relay CLI tool saves Claude session context when rate limited
Relay is a Rust CLI tool that reads Claude's .jsonl session transcripts from disk and creates full snapshots of your session, including conversation, tool calls, todos, git state, and errors. It generates context prompts to resume sessions after rate limits reset.