Two Claude Code Skills for Managing CLAUDE.md Configuration

✍️ OpenClawRadar📅 Published: April 15, 2026🔗 Source
Two Claude Code Skills for Managing CLAUDE.md Configuration
Ad

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.

Ad

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.deny for .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

Ad

👀 See Also

Six open-source tools that address OpenClaw's security, cost, and complexity issues
Tools

Six open-source tools that address OpenClaw's security, cost, and complexity issues

A developer tested six community tools to solve OpenClaw's security gaps flagged by Cisco, spiraling costs, and complex setup. ClawSec provides security scanning and integrity verification, Antfarm enables deterministic multi-agent workflows, and LanceDB Pro improves memory retrieval with hybrid vector search.

OpenClawRadar
Agents Room: Desktop App for Visualizing Claude Code Agent Teams
Tools

Agents Room: Desktop App for Visualizing Claude Code Agent Teams

Agents Room is an Electron desktop application that scans for .claude/agents/ folders, reads frontmatter, and visualizes agent relationships on a canvas with automatic connection lines. It allows creating/editing agents, skills, and commands directly in the UI instead of editing markdown files.

OpenClawRadar
Rudel: Open-source analytics for Claude Code sessions
Tools

Rudel: Open-source analytics for Claude Code sessions

Rudel is an open-source analytics tool that analyzes Claude Code sessions, providing insights from 1,573 real sessions with 15M+ tokens and 270K+ interactions. It reveals patterns like 4% skills usage, 26% abandonment rates, and error cascade patterns.

OpenClawRadar
German Bureaucracy Assistant Prompt for Claude: Structured Legal Correspondence
Tools

German Bureaucracy Assistant Prompt for Claude: Structured Legal Correspondence

A detailed system prompt for Claude that turns the AI into a structured assistant for German bureaucracy, contracts, insurance disputes, and official letters, with strict fact-checking and DIN 5008 formatting.

OpenClawRadar