credit-budget
Get more tasks done from a small AI coding budget (GitHub Copilot premium requests or credits, or any plan billed per request or per token). Before a task, picks the cheapest model that can do it, turns the ask into one complete prompt, runs tests and linters in the terminal first so only the failing lines go to the model, keeps context to the exact files, and caps agent loops. After it, logs the task, the model and the cost. Use when someone is short on credits or premium requests, asks how to spend fewer, or wants a budget plan for a set of tasks.
Why it scored this
named +4 · described +6 · substantial +6 · right length +4 · subagents +5 · scripts +5 · numbered-steps +5 · code-fences +3 · active +5 · unseen-before +8 · specific-vocabulary +8
The file
--- name: credit-budget description: "Get more tasks done from a small AI coding budget (GitHub Copilot premium requests or credits, or any plan billed per request or per token). Before a task, picks the cheapest model that can do it, turns the ask into one complete prompt, runs tests and linters in the terminal first so only the failing lines go to the model, keeps context to the exact files, and caps agent loops. After it, logs the task, the model and the cost. Use when someone is short on credits or premium requests, asks how to spend fewer, or wants a budget plan for a set of tasks." --- # credit-budget Most of a small budget is lost to four things: a premium model on a task a cheaper one would finish, a vague first prompt followed by follow-ups, agent loops that rerun tests the person could run, and context full of files and logs the task does not need. Cut those, and measure what is left. Never trade a finished task for a saving. A task redone costs more than the task done once on the right model. ## Step 0: Know your meter Fill this once, from your plan's own billing page or settings. Do not guess; the numbers differ by plan and change over time. | Item | Value | Where you found it | |---|---|---| | Budget per month | <credits> | | | What is charged | <per token, per request, or per session> | | | Cheaper models you may use, and their rates | <CHEAP_MODEL> = <rate> | | | Premium models, and their rates | <PREMIUM_MODEL> = <rate> | | | Discounts (for example, for automatic model choice) | <if any> | | | Where to see usage so far | <page or panel> | | **GitHub Copilot, as of 1 December 2026:** every plan has billed in GitHub AI Credits since 1 June 2026. One credit is $0.01, charged on the input, output and cached tokens of each request at that model's rate. No chat model is free. Subagents make their own requests, so they cost credits too. Check the "Models and pricing" page in GitHub's Copilot docs for the current rates before you fill the table. Because cost follows tokens, the size of what you send counts as much as the model you send it to. ## Rules ### 1. Pick the model per task | Task | Model | |---|---| | Read, search, explain code, summarize a file or a log | A cheaper model | | A small, clear edit: rename, add a field, fix a typo, write a docstring | A cheaper model | | Write tests for code that already works | A cheaper model | | A bug you understand, with a failing test | A cheaper model first; a premium model only if the first attempt fails | | Design, architecture, a bug you cannot explain, security-sensitive code | A premium model | Start cheap and step up once, with what the cheap attempt learned. Never start a task on a premium model "to be safe". Pick the model when you start the chat and keep it for that chat: switching models mid-chat throws away the cache, so the next request pays for the whole history again. To step up, start a new chat on the premium model and paste a short summary of what the cheap attempt found. ### 2. Send one complete prompt Before sending, the prompt has: - the goal in one line; - the exact files, attached or named; - the constraints (what must not change); - "done when", as a check you can run; - "stop and ask before you push, delete or change config". A rough ask costs one request plus every follow-up. If the ask is not clear yet, use the wellasked skill first, then send the result once. ### 3. Run scripts first Run the tests, the linter and the type checker in the terminal yourself, for free. Paste only the failing lines: the test name, the error and at most 30 lines of trace. Do not ask the model to "run the tests and fix everything" in a loop on a premium model. ### 4. Keep the context small - Attach or name the exact files. Do not let the agent search the whole codebase for something you can point to. - One task per chat. Start a new chat for the next task; a long chat resends everything before it. - Never paste a whole log. Paste the error and the few lines before it. ### 5. Batch and reuse - Put related small asks in one prompt: "In `orders.py`, rename X to Y, add type hints to Z, and fix the typo on line 40." - Save prompts you use often as prompt files with the model pinned (see the supervisor skill's Copilot files), so routine jobs always run on the cheap model. ### 6. Cap agent loops In agent mode, say how far to go: "Make the change, run the tests once, and stop. Report what failed." Stop the agent when it starts repeating a failing step, and fix the cause yourself or with one sharper prompt. Delegating to a subagent costs tokens too. Keep small tasks in the main chat, and send to a subagent only work that is large and simple: a wide search, a long log, a bulk edit. Give those subagents a cheaper model (the supervisor skill's Copilot agents do this). ### 7. Log every task One line per task, so you learn where the budget goes: ```text date | task | model | units before | units after | done (yes/no) | note ``` After 10 tasks, look at the log: which tasks used the most, and did any premium task need it? ## Before you send: checklist 1. Is this the cheapest model that can do it? 2. Is it one complete prompt, with files and a "done when"? 3. Did you run the tests yourself and paste only the failures? 4. Is this a new chat with only the files the task needs? 5. Could it be batched with another small ask? ## Output format When asked to plan a task or a set of tasks: ```text Task: <one line> Model: <included or premium, and why> Run first: <commands to run in the terminal before asking> Attach: <exact files> Prompt: <the one complete prompt> Expect: <about how many requests, and the step-up rule if the first attempt fails> Log line: <the template, pre-filled> ``` Do not claim a saving. Say what to measure: units before and after, and whether the task was done.