Context Window Pruner
CommunityTrim noise, keep only relevant files.
AuthorSounder25
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Large repositories flood the agent's context window with noise. This skill prunes workspace files to a focused set of relevant items for a given Focus, reducing context size and accelerating analysis.
Core Features & Use Cases
- Generates RELEVANT_FILES.txt by pruning irrelevant directories and prioritizing files matching the Focus term.
- Respects .gitignore and excludes typically noisy assets to improve signal over noise.
- Use Case: when preparing to analyze a specific module in a large codebase, run the pruner to obtain a focused file list for context loading.
Quick Start
- Run in PowerShell: .\prune_context.ps1 -Focus "EVM opcode" -MaxFiles 50
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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 Window Pruner Download link: https://github.com/Sounder25/Google-Antigravity-Skills-Library/archive/main.zip#context-window-pruner 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 223,000+ vetted skills library on demand.