AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

save-my-tokens — Agent Config Token Diet

Audits your Claude Code, Codex and Antigravity configs with real local-log measurements and trims the tokens every new session burns before you type anything.

UtilitiesIntermediate★ 726⑂ 67AI score 10/10Last updated: Dec 4, 2026

What it does

  • The bundled scripts/slim.py performs a read-only scan of your local logs and user-level configs, reporting how many tokens the first request of a new session carries and which blocks make it up (rule files, skill list, MCP tool descriptions, etc.).
  • Counts actual usage over the last 30 days for every installed skill, MCP tool and rule file. Zero-call items are treated as candidates for discussion, never as automatic deletions.
  • Walks six blocks with you — Skills · Tools · Rules · Auto-compact · Cache & subagents · Settings switches — then presents one consolidated change list, waits for your explicit confirmation, backs everything up, and only then applies the edits.
  • Keeps a change ledger so you can revert a single item or roll back the whole batch later.
  • Sensitive values (API keys, env var contents, private rule text) are reported by name and size only.

Who it's for

  • Daily Claude Code users whose context window is already crowded before the first message.
  • Anyone with a bloated CLAUDE.md / AGENTS.md and a pile of installed skills and MCP servers.
  • People who want log-based evidence, not guesswork, for why their subscription limits or API bills drain so fast.
  • Users running Codex or Antigravity (agy) alongside Claude Code with duplicated config.

Examples

  1. Opening bill breakdown: get a report like "median 38k tokens on the first request; 14k from rule files, 9k from the skill list" and start with the largest movable block.
  2. Splitting a rule file: move the release-process section into its own file and leave a single pointer line ("read docs/deploy.md before deploying"), reviewing the diff before you approve.
  3. Pruning unused MCP tools: receive a numbered table of always-loaded tools with zero calls in 30 days and reply simply "turn off 3, 5–8, rest as you suggest".
  4. Selective rollback: days later you miss a skill — just say "re-enable the skill we turned off last time" and it restores that one entry from the ledger.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/suyuan2022/suyuan-skill/HEAD/save-my-tokens/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the save-my-tokens folder from the GitHub repo suyuan2022/suyuan-skill into my ~/.claude/skills/save-my-tokens/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/suyuan2022/suyuan-skill.git /tmp/suyuan-skill && mkdir -p ~/.claude/skills && cp -r /tmp/suyuan-skill/save-my-tokens ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/suyuan2022/suyuan-skill.git /tmp/suyuan-skill
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r /tmp/suyuan-skill/save-my-tokens ~/.claude/skills/
  5. Verify scripts/ and references/ came along: ls ~/.claude/skills/save-my-tokens
  6. Make sure Python 3 is available (standard library only): python3 --version
  7. Restart Claude Code and run /save-my-tokens manually — model auto-invocation is disabled for this skill.
  8. The first scan may take a minute or two depending on log volume. Read the final change list carefully before confirming. On Windows, follow the references/windows.md steps the skill points to.