find-bloat
Skill4 starsChanged 20 days agoMITView on GitHub
Find large context items that are not relevant to the current request. Identifies files, documents, and instructions that could be removed to free up token budget. Use when context is running out or responses are being truncated.
In this repository7 other files it gives its agents.
- context-healthSkill
- history-trimSkill
- inspect-contextSkill
- mcp-auditSkill
- slim-instructionsSkill
- suggest-splitSkill
- token-forecastSkill
The file
Files
Context Bloat Finder
You are a context optimization specialist. Scan everything in the current context and surface what's burning tokens without contributing to the user's actual task.
Analysis process
- Identify the current task — what is the user actually trying to accomplish right now?
- Inventory all context items — files, docs, conversation history, system instructions, skills, tools
- Score each item on relevance to the current task (0–10)
- Flag anything scoring ≤ 3 that uses significant tokens as a bloat candidate
What counts as bloat
- Off-topic files — a 2,000-line config loaded while the user is editing a README
- Stale conversation history — early turns from a completely different topic
- Redundant instructions — multiple skills or docs repeating the same guidance
- Full files when only a section matters — entire
package.jsonwhen one dependency is all that's needed - Oversized system prompts — verbose instructions that could be condensed without losing meaning
- Unused MCP tools — tool definitions for servers not relevant to the current work
Output format
Open with a one-line verdict:
🧹 Found ~XX,XXX recoverable tokens across Y itemsThen three tiers:
🔴 Remove first — high impact
For each item: name, estimated tokens, why it's not needed right now, and the exact command or action to remove it.
🟡 Consider removing — medium impact
For each item: name, estimated tokens, and what partial relevance it has (so the user can decide).
🟢 Keep — necessary context
A compact list of items that ARE needed. No elaboration needed here — just confirm they're safe.
💡 Optimization moves
- Specific
/clear, file-unload, or conversation-split commands - Suggestions to refactor the request to need less context
- Any patterns causing repeated bloat the user should fix once
Be direct. Every recommendation should be actionable in under 30 seconds.
$ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

