Two Claude Code Skills for Managing CLAUDE.md Configuration

A developer has created two Claude Code skills to address the growing complexity of CLAUDE.md configuration files. The tools aim to replace manual tweaking with automated, research-backed approaches.
The Problem with Long CLAUDE.md Files
The source notes that CLAUDE.md files are loaded into context on every single message. Since frontier models reliably follow about 150–200 total instruction slots, and the system prompt already uses approximately 50, a 300-line CLAUDE.md in a project actively degrades how well Claude follows all rules.
The Solution: Two Reusable Skills
The developer distilled research from official Anthropic docs, engineering blogs, community configs, and academic papers on agent instruction design into two skills:
/cc-init for New/Empty Projects
- Creates a lean CLAUDE.md (typically 20–40 lines)
- Generates
permissions.denyfor.env, secrets, and destructive commands - Adds a formatter hook if it detects one in the project
- Sets cost-optimization defaults (auto-compact at 50% instead of the default 83%)
- Configures Claude to ask questions instead of guessing and use TODOs where it can't verify
This functions as an opinionated /init command.
/cc-optimize for Existing Projects
- Inventories every config file (CLAUDE.md, settings.json, hooks, MCP, skills)
- Checks for bloat, missing hooks, hardcoded secrets, and deprecated settings
- Catches instructions that should be deterministic hooks instead
- Groups findings as must fix / should fix / nice to have
- Asks before changing anything
The skills have no plugin marketplace or dependencies. The developer notes they don't try to cover everything and welcomes issues and PRs for missing functionality.
The repository is available at: https://github.com/MichaelvanLaar/claude-code-config-skills
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code Verification Bottleneck and Browser Automation Plugin Solution
A developer reports that verification remains the slowest part of using Claude Code, requiring manual testing of features. They found a browser automation plugin that lets the agent verify real product flows before marking tasks complete.

Claude Code v2.1.76 System Prompt Updates: Security Monitor Refinements and New Hook Event
Claude Code v2.1.76 includes updates to system prompts with 43 new tokens, featuring refinements to the security monitor for autonomous agents and the addition of a PostCompact hook event. Changes include clarified sensitive data detection, expanded code deserialization examples, and improved formatting for irreversible local destruction guidance.

antirez's DS4: Running DeepSeek V4 Flash with 1M Context on Mac Metal and DGX
Redis creator Salvatore Sanfilippo released DS4, a project to run DeepSeek V4 Flash with a 1M context window on Mac Metal hardware and DGX, with OpenAI/Anthropic endpoints for agentic coding tools.

PocketBot: A Local AI Autopilot for iOS Using App Intents and On-Device Inference
PocketBot is an iOS app that runs a quantized 3B Llama model locally on iPhone's Neural Engine via Metal, using Apple's AppIntents and CoreLocation frameworks to create event-driven automations without cloud data transmission.