0
Move PR and migration workflows out of CLAUDE.md into skills
Terminal / Productivity / Cost Optimization·13 hours ago·verified 13 hours ago·medium·~20 min setup·verified
Shift specialized playbooks into on-demand skills so every session does not pay for instructions you rarely need.
The problem
Detailed PR-review or migration steps in CLAUDE.md cost tokens even when you are fixing a one-line typo.
The hack
Extract workflow playbooks into `.claude/skills/*/SKILL.md` (or `.claude/commands/`) and keep CLAUDE.md essentials-only.
Why it works
Skills load on demand. CLAUDE.md loads every session. Official cost guidance recommends this split to shrink base context.
Setup
1. Identify CLAUDE.md sections that only matter for specific workflows. 2. Create `.claude/skills/pr-review/SKILL.md` (or similar) with those steps. 3. Delete the duplicated block from CLAUDE.md. 4. Invoke with `/pr-review` when needed and confirm `/usage` shows lower baseline cost.
Additional details
Aim for a CLAUDE.md under 200 lines after the move.
Discussion
No comments yet. Be the first to say whether this worked for you.