Works with the AI Agents you already use
Agent Context Budget Doctor
The symptoms are familiar: instructions ignored mid-session, quality that degrades as the conversation grows, surprise costs, and compaction that eats the plan.
$14
Agent Context Budget Doctor
Example session with this skill installed
Audit my CLAUDE.md and list of active MCP servers. The agent is getting expensive and forgets the project roadmap after about 10 messages.
- Read your context and instructions
- Compiled the agent context budget
Analysis shows your 'startup rent' consumes 18k tokens. The 'aws-sdk' MCP server contributes 12k tokens via 40 unused tool definitions.
Prescription
- Move the 4-page roadmap from CLAUDE.md to roadmap.md; load it only when updating status.
- Disable the 'aws-sdk' server for this repo.
Connects securely to your tools. The creator never sees your data.
About this skill
An agent's context window is a fixed budget, and most setups spend it like they haven't looked at the bill: a memory file that grew by accretion, a dozen always-loaded skills, MCP servers whose tool definitions cost tens of thousands of tokens before the first request, hooks that log every event — and then the actual work arrives to find the room half full. The symptoms are familiar: instructions ignored mid-session, quality that degrades as the conversation grows, surprise costs, and compaction that eats the plan. Agent Context Budget Doctor treats it like a clinician. Give it your CLAUDE.md or AGENTS.md, your skill list, MCP config, and hooks, plus the symptoms, and it produces a token-budget breakdown with the hogs flagged, a diagnosis mapping each symptom to its cause, and prescriptions ordered by payoff — including the rewritten memory file when trimming is the fix, a durable-state pattern that makes compaction a non-event, and the relapse-prevention habits that keep the setup lean. The download includes three reference files: the context-budget worksheet, the symptom-to-diagnosis guide, and the trimming playbook. It audits what you provide; it does not execute your agent or measure live sessions, and token figures are estimates. Works with Claude Code, Cursor, Codex CLI, Gemini CLI, and any SKILL.md agent.
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.
Token figures are estimates derived from the files and config you provide, not exact billing metrics — real usage varies by model, tokenizer, and how a session unfolds. This skill audits what you give it; it does not execute your agent, attach to a running session, or measure live token spend, so its diagnosis is only as complete as the files and symptoms you supply. Compaction behavior and startup costs differ across harnesses (Claude Code, Cursor, and others), so some prescriptions may need adapting to your setup. The rewritten files and trims are recommendations to review and test — always confirm nothing essential was removed before relying on them. It reflects context-engineering practices as understood at the time of authoring and does not update itself or monitor changes to any platform.
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
4 uses
Times used to date
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 months ago
Permissions
This skill reads the config and files you provide — CLAUDE.md/AGENTS.md, skill list, MCP config, hooks — plus its own bundled reference templates, and writes a diagnosis report and rewritten/optimized files. It does not run shell commands, open a browser, make network calls, or read environment variables, it connects to no external hosts, and it does not attach to or measure a live agent session (token figures are estimates from the files you supply).