store: CLAUDE.md optimization: reference docs belong in skill files

This commit is contained in:
Cal Corum 2026-02-14 08:10:14 -06:00
parent 82aa15be5d
commit b6db074e87

View File

@ -0,0 +1,12 @@
---
id: 390d4040-d71e-4c1e-a742-afc3574fb178
type: insight
title: "CLAUDE.md optimization: reference docs belong in skill files"
tags: [claude-code, claude-md, optimization, pattern]
importance: 0.7
confidence: 0.8
created: "2026-02-14T14:10:14.508157+00:00"
updated: "2026-02-14T14:10:14.508157+00:00"
---
Optimized ~/.claude/CLAUDE.md from 161 to 32 lines (80% reduction). Key pattern: move CLI reference docs, enum lists, importance scales, and relationship types to skill SKILL.md files. Global CLAUDE.md should only contain behavioral triggers and pointers to full docs. The Memory Protocol section was 88 lines of CLI examples that burned tokens every session — replaced with 6 lines of behavioral rules plus a pointer to the skill docs.