Reduce session-start context load via rules path-scoping and disable-model-invocation

Session context is at 50% before any work begins. Root causes identified: (1) All custom agent descriptions load at session start (~5k tokens for 50+ agents) with no lazy loading mechanism. (2) CLAUDE.md files load unconditionally and in full (~18k tokens for memory files). (3) All plugin skills load descriptions at startup. Research confirmed these optimization primitives exist but are unused: 'paths' frontmatter in .claude/rules/*.md loads rule only when working with matching file patterns; 'd

tools-only Updated 7 repo stars

File contents

Research first: Which .claude/rules/*.md files lack paths scoping? Which skills are candidates for disable-model-invocation? Can domain-router subagents with skills field replace always-on orchestrator skill loading? See .planning/research/context-optimization-research.md

tools-only/X-Skills/tree/main/automation/scripting/418-p0-reduce-session-start-context-load-via-rules-path-scoping-and_02072592 commit 81dedde490

Frequently asked questions

npx skillmds@latest add tools-only/reduce-session-start-context-load-via-rules-path-scoping-and