Skip to content
Back to skills

418 P0 Reduce Session Start Context Load Via Rules Path Scoping And A0cd61f8

ASecurity

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

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 418-p0-reduce-session-start-context-load-via-rules-path-scoping-and_a0cd61f8 --agent claude-code

Installs into .claude/skills of the current project.

Are 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.

Security grade badge for 418 P0 Reduce Session Start Context Load Via Rules Path Scoping And A0cd61f8
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-418-p0-reduce-session-start-context-load-via-rules-x-skills/badge)](https://www.skillsdirectory.com/skills/tools-only-418-p0-reduce-session-start-context-load-via-rules-x-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.4 KB
  • skill.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.