slim

Maintain CLAUDE.md within a 200-line budget via content extraction and compression.

2|Updated May 11, 2026
One-click install
npx skills add https://github.com/lozit/groundrules --skill slim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slim
Source: https://github.com/lozit/groundrules/tree/main/skills/slim
Command: npx skills add https://github.com/lozit/groundrules --skill slim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps maintain the 'CLAUDE.md' file under the 200-line budget, ensuring it remains concise and efficient for optimal AI performance.

Core Features & Use Cases

  • Measure CLAUDE.md Size: Determines the current size of 'CLAUDE.md' and reports its status.
  • Propose Optimizations: Suggests concrete ways to slim down 'CLAUDE.md' without losing content.
  • Apply Optimizations: Executes user-approved optimizations, such as extracting content to separate files or compressing prose.
  • Recap: Summarizes the changes made and their impact on 'CLAUDE.md' size.

Quick Start

Run the slim skill to analyze and optimize your CLAUDE.md file.

Frequently Asked Questions about slim

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep my CLAUDE.md file under the 200-line limit?

Measure the current line count, then apply content extraction, deduplication, and prose compression to slim CLAUDE.md below the 200-line budget without losing critical context.

What is context economy and why does CLAUDE.md size matter for AI performance?

Context economy optimizes token usage by constraining CLAUDE.md size, which enhances AI performance by ensuring the model processes essential instructions efficiently within budget limits.

How do I optimize a large CLAUDE.md file without losing important rules?

Optimize a large CLAUDE.md by proposing targeted extractions to separate files, deduplicating rules, and compressing prose, then applying only user-approved modifications to preserve critical project context.

Can I compress prose and extract content from CLAUDE.md automatically?

Yes, automated scripts measure CLAUDE.md size, propose concrete optimizations like content extraction and prose compression, and apply approved changes to achieve context economy.

What is the best way to reduce CLAUDE.md line count for a Claude AI project?

The best way to reduce CLAUDE.md line count is to run a dedicated optimization process that proposes deduplication, rule movement, and prose compression, keeping the file within the 200-line budget.

What are the limitations of automating CLAUDE.md document management?

Automating CLAUDE.md document management requires user approval for each optimization, meaning highly interdependent rules may need manual review during extraction or compression to avoid losing critical context.