418 P0 Reduce Session Start Context Load Via Rules Path Scoping And A0cd61f8
ASecuritySession 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
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add tools-only/X-Skills --skill 418-p0-reduce-session-start-context-load-via-rules-path-scoping-and_a0cd61f8 --agent claude-codeAre you the author of 418 P0 Reduce Session Start Context Load Via Rules Path Scoping And A0cd61f8?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-418-p0-reduce-session-start-context-load-via-rules-x-skills)---
name: Reduce session-start context load via rules path-scoping and disable-model-invocation
description: "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"
metadata:
topic: reduce-session-start-context-load-via-rules-path-scoping-and
source: Session observation — context at 50% before any work starts
added: '2026-02-24'
priority: P0
type: Chore
status: open
issue: '#198'
---
**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
Files in this skill
- README.md
- skill.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.