context-discipline
OfficialManage token budgets to keep Claude responsive
Authorcodewithmukesh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Long interactive Claude Code sessions and large codebases quickly consume the token window, causing sluggish responses, forgotten context, and costly file reads; this Skill teaches patterns to treat the token window as a budget and preserve meaningful context for ongoing work.
Core Features & Use Cases
- MCP-first navigation: Prefer Roslyn/MCP queries for structure and references instead of full file reads to save tokens.
- Lazy loading & prioritized reads: Read only files you will modify and prefer API surface queries for reference.
- Subagent offloading and summarization: Delegate verbose exploration to subagents and keep only concise summaries in the main context.
- Use Case: When refactoring a service in a 50-project .NET solution, use get_project_graph and find_symbol first, spawn a subagent to explore related modules, and read only the files you will change.
Quick Start
Ask Claude to switch to MCP-first navigation, estimate a token budget for the task, offload broad exploration to a subagent, and return a two-line summary of findings.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: context-discipline Download link: https://github.com/codewithmukesh/dotnet-claude-kit/archive/main.zip#context-discipline Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.