chore: reduce context burn from skill listing — adopt lazy skill-index pattern #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
87 skills are currently injected into every conversation's system-reminder as a flat name list. This costs tokens on every turn regardless of whether any skill is relevant.
Observed in session-start hook: the
available-skillsblock enumerates all skills alphabetically — ~60+ GSD skills plus ~20 engineering skills — every time.Proposed solution
Replace the full skill dump with a lazy skill-index pattern:
SKILLS_INDEX.md(already exists at~/dev/.skills/SKILLS_INDEX.mdfor the engineering skills) that the agent can query on demand."87 skills available — query SKILLS_INDEX or use Skill tool".This mirrors the pattern used in some published Claude Code skill setups (e.g. video tutorials showing a single index file instead of injected lists).
Impact
Skilltool.Open questions
~/.claude/hooks/andsettings.json.~/.claude/skills/by the GSD plugin; the index approach may need a GSD-side change too.SKILLS_INDEX.md) — reuse as the single source, extend to cover GSD skills?Acceptance criteria