AGENT SKILL

token-saver

Cut Claude Code token use and cost. Teaches the habits that matter most (clearing between tasks, compacting, picking the right model and effort, plan mode, short CLAUDE.md, fewer plugins and MCP servers) and audits the current setup for waste. Use when someone asks about tokens, cost, usage limits, hitting their limit too fast, the context window filling up, long sessions getting slow, or how to make Claude Code cheaper.

License 许可
MIT
最近更新
2026-10-18
Stars
★ 0
Forks
0

01 前言 Front Matter

name
token-saver
description
Cut Claude Code token use and cost. Teaches the habits that matter most (clearing between tasks, compacting, picking the right model and effort, plan mode, short CLAUDE.md, fewer plugins and MCP servers) and audits the current setup for waste. Use when someone asks about tokens, cost, usage limits, hitting their limit too fast, the context window filling up, long sessions getting slow, or how to make Claude Code cheaper.

02 资源文件 1

03 SKILL.md 正文

Token saver

Playbook: references/token-playbook.md. Level from ~/.claude/onboarding-kit-profile.json if present; otherwise guess from how they talk and say your guess.

1. Teach (short)

Give the top 5 habits for their level from the playbook, not all of them, each as one line with the command. Beginners: items 1–5. Intermediate: 1–2 recap plus 6–12. Advanced: 13–18 plus anything in their setup that's wasteful.

Subscribers (Pro, Max, Team) watch plan usage bars in /usage; API users see an estimated dollar cost. Don't talk about dollars to subscribers.

2. Audit (read-only, offer it)

Run the checks in the playbook's "Setup audit" table:

wc -l ~/.claude/CLAUDE.md ./CLAUDE.md ./.claude/CLAUDE.md ./CLAUDE.local.md 2>/dev/null
claude plugin list
claude mcp list

For each enabled plugin, claude plugin details <name> gives its always-on token cost. Also check whether the project denies reads of build and dependency folders that exist.

Report as a table: finding, cost, suggested fix. Biggest saving first.

3. Fix (only with a yes)

  • Disable a plugin: claude plugin disable <name> (re-enable any time).
  • Remove an MCP server they don't use: show claude mcp remove <name> and let them decide.
  • CLAUDE.md too long or missing deny rules: use the project-setup skill.
  • Status line: tell them to run /statusline show model and context used percent.

04 同仓库更多 Skills

moatazeldebsy
moatazeldebsy/onboarding-kit

project-setup

Set up Claude Code settings and a CLAUDE.md for a user or a folder. Merges safe defaults into ~/.claude/settings.json (block reading secrets like .env and SSH keys), adds project rules that stop Claude reading generated or vendored files, and writes a short CLAUDE.md for a code repo or a non-code folder of docs, specs or data. Use when someone asks to configure Claude Code settings or permissions (user-level ~/.claude/settings.json or a project's .claude/settings.json), create or improve a CLAUDE.md, set up a project or folder for Claude Code, or make sure Claude never reads .env files, private keys, SSH keys, or dependency and build folders (node_modules, dist, build).

★ 0
moatazeldebsy
moatazeldebsy/onboarding-kit

machine-setup

Check and fix the local machine for Claude Code. Runs a read-only health check of the Claude Code install, version, install method, duplicate installs, login, git, GitHub CLI and Node, then offers fixes one at a time. Use when someone asks if their Claude Code setup is OK, wants to check their machine, has login or install problems, wants to move from an npm install to the native installer, or asks how to get the VS Code, JetBrains or desktop app.

★ 0
moatazeldebsy
moatazeldebsy/onboarding-kit

getting-started

Guided first-time setup for Claude Code, tailored to the user's role (engineer, QA, engineering manager, product manager, designer, analyst, writer) and level (beginner, intermediate, advanced). Checks the machine, sets up settings and CLAUDE.md, suggests a few plugins, and teaches habits that save tokens. Use when someone is new to Claude Code or asks to get started, set up or configure Claude Code, be onboarded, or wants to know what to do first with Claude Code.

★ 0