Files
Trevin Chow f2ac5cf51d feat(ce-plan): extract conditional blocks to references/ for token savings
Extract three large conditional/late-sequence blocks from ce:plan SKILL.md
into on-demand reference files, reducing the base skill from 1,023 lines
(~15,525 tokens) to 685 lines (~9,971 tokens) — a 36% reduction.

For orchestration-heavy skills like ce:plan with 20-40+ tool/agent calls
per session, unused content carried in every message exchange compounds
significantly. This saves ~130,000-167,000 context tokens per planning
session depending on which code paths execute.

Extracted files:
- references/deepening-workflow.md (5.3.3-5.3.7, ~3,808 tok) — loaded
  only when the deepening gate passes
- references/visual-communication.md (4.4, ~823 tok) — loaded only when
  plan has complex visual-worthy content patterns
- references/plan-handoff.md (5.3.8-5.4, ~1,304 tok) — loaded only at
  end of workflow for document review and post-generation options

Also adds a "Conditional and Late-Sequence Extraction" rule to the plugin
AGENTS.md to guide future skill optimization.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 01:28:54 -07:00
..