More screenshots
Works with the AI Agents you already use
Token Bloat Reducer
Audit and reduce AI context bloat to lower token usage and improve agent instruction following.
$7
Token Bloat Reducer
Example session with this skill installed
My Cursor agent is getting slow and forgetting things. Can you check my .cursorrules and project context for bloat?
- Read your context and instructions
- Compiled the token bloat reducer
- Generated the document
I have completed the audit of your project's AI context. You are currently sending 2,450 tokens of instructions with every single prompt. My analysis shows we can reduce this by 42% by moving environment-specific rules to scoped files and removing redundant style instructions.
Token Bloat Audit Results
| Agent / Context File | Current Tokens | Proposed Tokens | Savings |
|---|---|---|---|
.cursorrules | 1,850 | 820 | -55% |
CLAUDE.md | 420 | 310 | -26% |
| Repo Map (Pasted Tree) | 180 | 0 | -100% |
| Total Always-Loaded | 2,450 | 1,130 | -53% |
Top Findings
- Redundant Rules: Found 12 style rules (e.g., "use trailing commas") already enforced by your
.prettierrc. - Stale Paths: Identified 4 paths in your instructions that no longer exist in the current file tree.
- Context Leak: Your
package-lock.jsonis not in.cursorignore, adding unnecessary noise to the model's retrieval.
Proposed Changes
I have generated a leaner configuration in ./.context-slim/.
- Moved project-specific logic to
.cursor/rules/api.mdcusing glob patterns. - Created a high-level
AGENTS.mdfor shared behavior. - Added a
.cursorignoreto filter out build artifacts.
Next steps
- Review the full report at
BLOAT_REPORT.html. - Inspect the proposed files in
.context-slim/. - Give me the go-ahead to apply these changes and back up your current files.
BLOAT_REPORT.html
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop burning tokens on every message due to bloated context files and unoptimized repository structures. This skill audits your AI instructions and project configuration to identify redundant rules, stale paths, and massive files that drain your token budget and confuse the model.
What it does
- Measure token usage by calculating the exact count of always-loaded tokens per agent across different tools.
- Audit rule quality by finding duplicate instructions, filler text, and style rules already covered by your formatters.
- Identify repo clutter such as unexcluded lockfiles, build artifacts, and deep folder trees pasted into context files.
- Propose slimmed configurations that reorganize rules into shared files or scoped globals to reduce per-prompt overhead.
- Estimate savings with a before and after comparison of token counts to validate the efficiency of the proposed changes.
How it works
- Scan and measure the current project using the included Python scripts to generate a factual baseline of token consumption.
- Review findings against the actual content of your
.cursorrules,CLAUDE.md, orAGENTS.mdto identify false positives. - Generate proposals in a isolated
.context-slim/directory, separating global rules from task-specific instructions. - Produce an audit report in Markdown and HTML formats featuring a visualization of potential savings.
- Apply changes by backing up originals to
.context-backup/and overwriting files only after your explicit approval.
Frameworks & tools
This skill utilizes Python 3.9+ scripts for deterministic measurement. It supports projects using Cursor, Claude Code, Windsurf, Copilot, and Gemini, specifically targeting files like CLAUDE.md, .cursorrules, and .claude/settings.json.
Why this beats prompting it yourself
Generic prompts often result in the AI accidentally deleting critical project-specific logic or hallucinating token counts. This skill uses local Python scripts to provide deterministic measurements and follows a structured slimming guide to ensure rules are moved to the correct hierarchy without loss of function.
Use cases
- Reduce the "always-loaded" token count for a project that has hit context limits.
- Clean up a messy
.cursorrulesfile that has grown too large over time. - Organize agent instructions for a team using multiple different AI coding tools.
- Fix issues where the AI is distracted by irrelevant history logs or large data files.
Known limitations
Does not automatically refactor giant source code files unless requested. Requires a local Python 3.9+ environment. Token counts are estimates with a +/- 15% variance.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
Python 3.9+
- Optional
- Internet (only to view the audit text in the HTML report)
On Windows, install Python from python.org and tick "Add python.exe to PATH". Commit your work first: the skill only writes proposals until you say "apply".
Permissions
File Scopes
Reads the project's AI context files (CLAUDE.md, AGENTS.md, .cursorrules, .cursor/rules, etc.), ignore files, package.json and code files to measure size and imports, skipping node_modules, .git and build folders. Writes its own report files and proposals in .context-slim/. It changes context files only after the user says "apply", backing up originals to .context-backup/ first. It makes no network requests. The optional BLOAT_REPORT.html loads the marked library from cdn.jsdelivr.net when opened in a browser.
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.