af-skill-analyze-context
CommunityOptimize your context by analyzing token usage
Authorkorchasa
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you understand and optimize context usage by locating heavy token consumers, duplicates, and low-value files to keep prompts lean and efficient.
Core Features & Use Cases
- Identify context sources: currently open files, recently viewed files, and active terminals.
- Estimate tokens: use the provided Python script to get estimated token counts for selected files.
- Analyze findings: surface heavy files, duplicates, garbage/low-value content, and terminal outputs; apply to prompt-budget decisions.
- Quick wins and recommendations: prune non-essential files and organize context for more predictable AI responses.
Quick Start
Run the estimate_tokens.py script on your target files to generate a token usage report.
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: af-skill-analyze-context Download link: https://github.com/korchasa/ide-rules/archive/main.zip#af-skill-analyze-context 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.