Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Agent Context Budget Doctor

    by PubsProToolkit

    1

    Diagnose and fix context-window problems in your agent setup. Inventories everything that loads — memory files, skills, MCP tool definitions, hooks — estimates where the budget goes, maps your symptoms to causes, and prescribes concrete trims, restructures, and session habits, rewriting the files where that's the fix.

    $14

    · or 70 credits

    30-day refund guarantee

    Secure checkout via Stripe

    0 installsNo reviews yet

    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.

    Details

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Read Files
    Write Files

    File Scopes

    references/**

    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).

    Creator

    PubsProToolkit builds rigor-first skills for AI agents — they write your docs and content properly, then adversarially review them to catch what's wrong before it ships. The result: cleaner output and a hard quality gate in one toolkit. Built by a CMPP-certified, PhD medical writer who brings regulated-industry standards to developer docs, content, compliance, and research integrity.

    Frequently Asked Questions

    Browse More Skills