LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

optimize-claude-md - Audit and optimize project instruction files

Audits CLAUDE.md and related project instruction files, measures context size, identifies anti-patterns, and proposes or applies targeted refactoring.

Tags

Updated: 2026-10-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Measure instruction file size
  • Audit document sections
  • Evaluate instruction relevance
  • Detect instruction anti-patterns
  • Analyze imported context size
  • Propose document refactoring
  • Apply validated file changes

Inputs

  • CLAUDE.md
  • Related instruction files
  • Target line count
  • Dry-run or apply flag
  • Project repository

Outputs

  • Size measurements
  • Section audit table
  • Anti-pattern findings
  • Refactoring plan
  • Modified CLAUDE.md

Requirements

  • Shell command environment
  • Access to project files
  • User validation before applying changes

Source

  • Spec: SKILL.md
instruction files
CLAUDE.md
context optimization
document audit
refactoring
Measure instruction file size
Audit document sections
Evaluate instruction relevance
Detect instruction anti-patterns
CLAUDE.md
Related instruction files
Target line count
Size measurements
Section audit table
Anti-pattern findings