Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Token Saver Copilot

ASecurity

Stretches GitHub Copilot's monthly AI Credits (usage-based billing) across Chat, agent mode, Copilot CLI, code review and the cloud agent while keeping output quality. Use when the user is running out of Copilot credits or premium requests, sees a high bill or budget alert, asks which model to pick for cost, or asks to audit copilot-instructions.md, .instructions.md files, AGENTS.md or MCP tools for efficiency. Triggers include "AI Credits", "premium requests", "Copilot usage", "budget", "ove...

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
ai-agentsgonodegitapisecurity

Works with

cliapimcp

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add otnc/skills_ai-agent-saving-tech --skill token-saver-copilot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Token Saver Copilot?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Token Saver Copilot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/otnc-token-saver-copilot/badge)](https://www.skillsdirectory.com/skills/otnc-token-saver-copilot)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: token-saver-copilot
description: Stretches GitHub Copilot's monthly AI Credits (usage-based billing) across Chat, agent mode, Copilot CLI, code review and the cloud agent while keeping output quality. Use when the user is running out of Copilot credits or premium requests, sees a high bill or budget alert, asks which model to pick for cost, or asks to audit copilot-instructions.md, .instructions.md files, AGENTS.md or MCP tools for efficiency. Triggers include "AI Credits", "premium requests", "Copilot usage", "budget", "overage", "token saving", "reduce cost", "使用量", "トークン節約", "節約", "クレジット", "プレミアムリクエスト", "月間制限", "上限".
license: MIT
compatibility: Designed for GitHub Copilot (VS Code and other IDEs, Copilot CLI, cloud agent). The audit script needs Node.js 18+.
metadata:
  version: "0.1.0"
  agent: github-copilot
---

# Token Saver for GitHub Copilot

This skill has two jobs:

1. **Work lean** while it is active: follow the core rules below on every step.
2. **Tune the setup** when the user asks for an audit or setup, or keeps running out: run the workflow in "Audit and setup".

<!-- core-rules:start (synced from shared/core-rules.md by scripts/sync.mjs; edit the shared file) -->
## Core rules: work lean, stay correct

Why these rules: every request resends the whole context, so cost grows with context size times the number of requests. Output tokens cost several times more than input tokens. Rework costs the most of all. Cut the first two only in ways that never cause the third.

**Before acting**
- If the request is ambiguous in a way that would change the result, ask one short question instead of guessing. For multi-file or risky changes, outline the plan before editing.
- Stop exploring once you know enough to act. Do not survey the whole codebase for a narrow request.

**Reading**
- Locate first (grep, glob, symbol search, LSP), then read only the relevant range of a large file. Do not re-read a file that is already in context and unchanged.
- Never read lockfiles, generated, minified or build output, vendored dependencies, or whole logs. Search them instead.

**Tool output**
- Prefer summary forms: `git status -s`, `git diff --stat` before a full diff, `git log --oneline -n 20`, and `ls` of one directory rather than a recursive tree.
- Run the narrowest check that proves the change (one test file or case, a typecheck of the touched files) with quiet flags. Pipe long output through `tail -n 40` or `grep -E "FAIL|Error|error:"`. Run the full suite once at the end if it is needed.
- Send independent tool calls together in one turn, and make all edits to one file in one pass.

**Delegation: do it yourself by default**
- A subagent is not free. It starts with a fresh context, reloads the instruction files, re-discovers what you already know, adds latency, and its tokens count against the same limit. Its summary also drops detail you may need later.
- Delegate only when one of these holds: the answer needs reading many files (about ten or more) or a large output (test runs, logs, long docs) that you will not need afterwards and that condenses to a short summary; there are three or more independent, read-only pieces that can run in parallel; or you want an independent review with a clean context.
- Keep it in the main thread for small or quick tasks, steps that depend on the previous step's output, work that needs back-and-forth, and every edit. Keep writes in one thread and never let two agents edit the same file.
- When you delegate, use a cheaper model, give a precise brief (goal, paths, what to return, a length cap), ask for conclusions with `path:line` references, and do not redo the subagent's reading yourself.

**Answers**
- Lead with the result. Do not restate the request, recap what did not change, or dump a whole file when an edit or a `path:line` reference will do.
- Size the answer to the question. Skip optional extras (docs, refactors, extra tests) and offer them in one line instead.

**Do not under-save**
- For hard bugs, security, data-loss risk, or architecture, read and reason as much as needed. One correct attempt is cheaper than two cheap wrong ones.
- Never skip verification to save tokens. Make it targeted instead.

**Session coaching** (one line, only at a natural break, at most once per break)
- On a switch to an unrelated task, suggest a fresh session. On a long session about one task, suggest compacting with a focus hint.
- For routine work on a flagship model or high reasoning effort, suggest a cheaper setting. For a hard problem on a small model, suggest upgrading.
<!-- core-rules:end -->

## Copilot specifics

Apply these on top of the core rules.

- **Billing is by tokens now.** Since 2026-06-01 Copilot bills input, output and cached tokens at each model's API rate as AI Credits. A long agent-mode conversation costs more with every turn, and a cheap model can be many times cheaper than a flagship one for the same task.
- **Completions and next edit suggestions are free** on paid plans. For small, local edits, suggest letting inline completions do the work instead of a chat or agent turn.
- **Code review and the cloud agent are heavy.** Suggest them deliberately (a finished PR, a well-scoped issue), not as a reflex on every push.
- **What to suggest to the user** (they do these; you cannot):

| Situation | Suggest |
| --- | --- |
| Starting unrelated work | A new chat session (or `/clear` in Copilot CLI) |
| Long conversation on one task | Start a new chat with a short summary, or `/compact` in Copilot CLI |
| Routine question or edit on a premium model | Switch to a cheaper model or Auto in the model picker |
| Answer needs only two files | Attach them with `#file` instead of `#codebase` |
| Many MCP tools enabled | Deselect unused servers and tools in the chat tool picker |
| Afraid of surprise overage | Set a budget in GitHub billing settings |

## Audit and setup

When the user asks to audit, set up, or cut usage, or keeps running out:

1. Run `node <this skill's directory>/scripts/audit.mjs --agent copilot` from the repository root. It is read-only and prints warnings with fixes. Without Node.js, check the same items by hand using [references/levers.md](references/levers.md).
2. Report the findings ranked by expected savings, in a few lines each.
3. Propose concrete edits (instruction files, `applyTo` scopes, MCP config, model habits) from [references/levers.md](references/levers.md). Show the diff and apply only after the user agrees.
4. Offer to add the always-on snippet: skills load only when triggered, so the lean-work rules need a short permanent home. Append [assets/always-on.md](assets/always-on.md) to `.github/copilot-instructions.md` (or `AGENTS.md`), unless an equivalent section is already there.

## References

- [references/levers.md](references/levers.md): instruction files, model choice, MCP, budgets and habits that affect credit use. Read before changing configuration.
- [references/facts.md](references/facts.md): billing facts with sources and date. Read when the user asks about pricing or limits, and verify on the linked page if the answer matters.
- [references/budget.md](references/budget.md): how to pace a monthly allowance that does not roll over.

Attribution

otncotnc
View sourceMore from otnc →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

694821 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →