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

Claude Code Limiter: Self-Hosted Rate Limiter for Shared Claude Code Subscriptions
claude-code-limiter is a self-hostable tool that adds per-user rate limits to shared Claude Code subscriptions, featuring per-model quotas, credit budgets, sliding 24h windows, time-of-day rules, and a real-time dashboard.

Claude Code's File-Based Memory System: A Pragmatic Alternative to Vector DBs
Claude Code implements a file-based memory system using .md files with frontmatter metadata and a MEMORY.md index, avoiding vector databases and embedding pipelines by scanning files, building manifests, and using a small model to select relevant memories.

Skill Scaffolder: Build OpenClaw Skills Without Writing Code
Skill Scaffolder is an open-source tool that lets users create OpenClaw skills by describing what they want in plain English. It handles the entire process—interviewing users, writing skill files, testing, and installation—without requiring YAML, Python, or config files.

Autonomous coding workflow ships 163K lines overnight using Claude Code
A developer built an autonomous workflow that completed 72 tasks overnight, generating 163,643 lines of code and 6,400+ passing tests with an 85% first-attempt success rate.