context-pack

Keep development token use low by refreshing and relying on local context packs.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 5, 2026

When & Why to Use This Skill

The Context Pack skill is a specialized developer tool designed to optimize AI agent performance and reduce API costs by managing local context efficiently. It enables the agent to generate, refresh, and rely on a centralized local context file (context_pack.md), ensuring high-fidelity project awareness without excessive token consumption. This is particularly effective for maintaining focus during complex software engineering tasks and long-running development sessions.

Use Cases

  • Large-scale Code Refactoring: Consolidate project knowledge into a local pack before major structural changes to keep the agent focused on relevant logic while minimizing token overhead.
  • Post-Feature Synchronization: Refresh the local context after completing a feature chunk to provide the agent with an updated 'source of truth' for subsequent development steps.
  • Token Usage Optimization: Significantly lower development costs in long sessions by directing the agent to prioritize local context files over re-reading the entire codebase.
  • Session Compaction Preparation: Use the skill to summarize current progress and open questions into decision notes before compacting the conversation history, preventing loss of critical project state.
namecontext-pack
descriptionKeep development token use low by refreshing and relying on local context packs.
allowed-toolsBash, Read, Grep, Glob, Write

Context Pack Skill

When to use

  • Before large refactors
  • After finishing a feature chunk
  • Before /compact

What to do

  1. Run /ctx-refresh (Gemini with cooldown)
  2. Read context/local/context_pack.md
  3. Base next steps only on that file + files you touch
  4. If uncertain, write an OPEN QUESTION into context/local/decision_notes.md