Mark Pitt
claude-skills
  1. claude-skills
  2. AI engineering
  3. instruction-context-budget
  4. README.md

A file in instruction-context-budget

README.md

Markdown 1.8 KB
README.mdMarkdown, rendered

<!-- Generated by scripts/sync_skill_packaging.py. Edit SKILL.md instead; this file is rebuilt from it. -->

instruction-context-budget

Measures what a coding-agent harness always loads (CLAUDE.md and AGENTS.md chains, unscoped rules, memory indexes and skill descriptions) in bytes and estimated tokens per file, then trims rationale and history out of those files into companion files while keeping the imperatives. Tags the repository first, verifies that no removed line was lost, and re-checks the result with agent-instruction-load-audit. Use when a session starts with too much instruction text loaded, a memory index is over its cap, skill descriptions crowd the context, or asked to slim CLAUDE.md, rules or memory. Do NOT use to prove which files a session actually loaded (use agent-instruction-load-audit), to write new instruction content (use ai-coding-agent-setup), or to change what a skill does (use skill-creator).

Install

Copy this directory into either skills location, then start a new session:

cp -r instruction-context-budget ~/.claude/skills/       # personal, all projects
cp -r instruction-context-budget .claude/skills/         # this project only

For Claude Desktop, zip the directory and upload it under Settings, Capabilities, Skills. Released builds attach a ready-made zip.

Bundled files

Loaded on demand, not up front. SKILL.md routes to them.

Part of a larger set

One of the AI engineering skills (claude-skills-ai-engineering). See the group's list, or every group in claude-skills.