optimize SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

optimize from localixai/tokendoctor is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add localixai/tokendoctor/optimize@git:20261106.d038e4c

Pins git:20261106.d038e4c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
localixai/tokendoctor
Path
skills/optimize/SKILL.md
Versions recorded
5
Latest version
git:20261106.d038e4c, committed Nov 6, 2026
First version recorded
Nov 1, 2026
Size
4,438 bytes
Repository stars
139
License
MIT

Look at token metrics, propose setting changes that cut waste, and apply the ones the person approves.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

Tune this Claude Code setup for token use. Focus on `$ARGUMENTS` if given.

Before recommending a setting you are not sure of, read its page in Claude Code's current docs:
every page is Markdown at `https://code.claude.com/docs/en/<page>.md` (index:
`https://code.claude.com/docs/llms.txt`; settings in `settings-reference.md`, variables in
`env-vars.md`, costs in `costs.md`, caching in `prompt-caching.md`). The release changes often, so
prefer that to memory or a mirror.

The tokendoctor tools wait behind ToolSearch: load `mcp__tokendoctor__metrics`,
`mcp__tokendoctor__settings`, `mcp__tokendoctor__config_list`, `mcp__tokendoctor__config_set` and
`mcp__tokendoctor__set_setting` in one ToolSearch call first.

1. **Measure.** Call `metrics` (session context, rate limits, cost, the largest context categories,
   daily totals, audit findings). For the longer view run `tokendoctor-sessions --json --days 30`.
2. **See what can change.** Call `settings` (every setting tokendoctor may change, set or not, with
   its current value and whether a change applies live) and `config_list` (the /config rows).
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_6eohwysr54wfqycq/e8377d2bae7ad2dbcaba782181d38d107759de548babf938eae2e3e9180fdb56.json

Then /plugin install optimize@markdownregistry-6eohwysr54wfqycq in Claude Code. It installs git:20261106.d038e4c, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add localixai/tokendoctor/optimize@sha256:e8377d2bae7ad2db

The line at the top of this page pins the label git:20261106.d038e4c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6eohwysr54wfqycq.svg)](https://markdownregistry.com/a/art_6eohwysr54wfqycq)

3 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in localixai/tokendoctor/optimize since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of optimize from somewhere else? Ask it: where did my optimize come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Nov 1, 2026 and Nov 6, 2026, about one every day.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261106.d038e4c latest2026-11-06 d038e4c 4,438 BA view · diff
git:20261106.96aa8a22026-11-06 96aa8a2 4,262 BA view · diff
git:20261104.0d7b3332026-11-04 0d7b333 3,828 BA view · diff
git:20261103.fef7c932026-11-03 fef7c93 3,780 BA view · diff
git:20261101.f416dd52026-11-01 f416dd5 3,178 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4438 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

localixai/tokendoctor · 139 stars · license MIT · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6eohwysr54wfqycq
GET https://markdownregistry.com/api/v1/resolve?ref=localixai/tokendoctor/optimize
GET https://markdownregistry.com/api/v1/blob/e8377d2bae7ad2dbcaba782181d38d107759de548babf938eae2e3e9180fdb56

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from localixai/tokendoctor

CLAUDE.md@.claude CLAUDE.md file
localixai/tokendoctor · .claude/CLAUDE.md
git:20261113.d026368 · audit B · 139 stars
AGENTS.md AGENTS.md file
localixai/tokendoctor · AGENTS.md
git:20261117.fc6bb8d · audit A · 139 stars
AGENTS.md@site AGENTS.md file
localixai/tokendoctor · site/AGENTS.md
git:20261117.af44213 · audit A · 139 stars
CLAUDE.md@site CLAUDE.md file
localixai/tokendoctor · site/CLAUDE.md
git:20261113.f582ebe · audit B · 139 stars
llms.txt@site/public llms.txt file
localixai/tokendoctor · site/public/llms.txt
git:20261117.fc6bb8d · audit A · 139 stars
apply SKILL.md skill
localixai/tokendoctor · skills/apply/SKILL.md · Apply one tokendoctor audit fix after showing the exact change. Moved to /tokendoctor fix <id>, which needs no model…
git:20261101.f416dd5 · audit A · 139 stars
audit SKILL.md skill
localixai/tokendoctor · skills/audit/SKILL.md · Audit this Claude Code setup for settings that waste tokens or silently do nothing.
git:20261106.07abfbe · audit A · 139 stars
dashboard SKILL.md skill
localixai/tokendoctor · skills/dashboard/SKILL.md · Build and open a local dashboard of where your Claude Code tokens went, from every transcript on this machine.
git:20261104.862763a · audit A · 139 stars
sessions SKILL.md skill
localixai/tokendoctor · skills/sessions/SKILL.md · Measure where tokens actually went in recent Claude Code sessions, from the local transcripts.
git:20261104.0d7b333 · audit A · 139 stars

Every file in localixai/tokendoctor

Other files named optimize

optimize SKILL.md skill
fengshao1227/ccg-workflow · templates/skills/impeccable/optimize/SKILL.md · Diagnoses and fixes UI performance across loading speed, rendering, animations, images, and bundle size. Use when the…
git:20260827.bbf3b7c · audit A · 5,984 stars
optimize SKILL.md skill
jasonxudeveloper/nino · .claude/skills/optimize/SKILL.md · Nino's .NET and Unity optimization techniques, measured and kept, and how to read the machine code - the JIT's inlining…
git:20261116.0e0c81a · audit A · 661 stars
optimize SKILL.md skill
ffroliva/gflow-cli · skills/optimize/SKILL.md · Make gflow-cli's tests and CI fast without weakening them: measure the wall clock, find what dominates it, and apply…
v1.0 · audit A · 400 stars
optimize SKILL.md skill
atelier-fashion/adlc-toolkit · optimize/SKILL.md · API cost & performance scanner — identify expensive operations and optimization opportunities
git:20261030.7d3bf2c · audit A · 174 stars
optimize SKILL.md skill
rsaryev/tokendoctor · skills/optimize/SKILL.md · Look at token metrics, propose setting changes that cut waste, and apply the ones the person approves.
git:20261106.d038e4c · audit A · 118 stars
optimize SKILL.md skill
quriosity-agent/qcut · qcut/.agents/skills/optimize/SKILL.md · Improve interface performance across loading speed, rendering, animations, images, and bundle size. Makes experiences…
git:20260308.8b86d2e · audit A · 46 stars
optimize SKILL.md skill
rustyrazorblade/skills · plugins/cassandra-expert/skills/optimize/SKILL.md · Performance optimization for Apache Cassandra clusters. Use when tuning configuration, improving throughput, reducing…
git:20261031.8909b5e · audit A · 44 stars
optimize SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-code/skills/optimize/SKILL.md · Use when asked to optimize code, make a path faster, make this as fast as possible, reduce allocations, repair a…
git:20260912.3bb16e0 · audit A · 40 stars

Browse by kind, by grade A, or by owner.