Suggests optimal files to preload based on task description, historical patterns, and templates. Activates on new tasks, file reading mentions, or session setup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-context-optimizer:smart-loaderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When a user starts a new task or asks to work on something, check if there are historical patterns that suggest which files they'll need.
When a user starts a new task or asks to work on something, check if there are historical patterns that suggest which files they'll need.
ls ~/.claude-context-optimizer/templates/ 2>/dev/null
node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js suggest "$(pwd)"
When you detect patterns that waste tokens, proactively suggest improvements:
npx claudepluginhub egorfedorov/claude-context-optimizerRanks files by relevance to the user's task — based on git state, mentioned paths, and historical patterns — with token-budget-aware offset/limit suggestions.
Hierarchical context loading strategy for AI coding agents. Loads rules, architecture, source, errors, and conversation in priority order to maximize signal per token.
Optimizes Claude Code session context by explaining major consumers like metadata, images, file reads, and bash output, with strategies including screenshot compression, /compact usage, and reduced re-reads.