token-optimizer SKILL.md skillA

token-optimizer from nitinjain999/platform-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nitinjain999/platform-skills/token-optimizer@git:20261011.e8166a5

Pins git:20261011.e8166a5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nitinjain999/platform-skills
Path
skills/token-optimizer/SKILL.md
Versions recorded
1
Latest version
git:20261011.e8166a5, committed Oct 11, 2026
Size
40,065 bytes
Repository stars
70
License
Apache-2.0

Route broad repository discovery to a cheaper worker model using each client's native subagents, keeping the main agent for decisions and targeted verification. Use when asked to "reduce token usage", "delegate bulk reading", "set up a cheap reader agent", or "why is my context filling up".

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

Route broad repository discovery to a cheaper worker model using each client's native subagent mechanism. Keep the main agent for decisions and targeted verification.

Read `references/token-optimizer.md` before responding.

---

## Interactive Wizard (fires when no arguments are provided)

When invoked with no arguments, ask before proceeding:

**Q1 — Mode?**
```
What do you need?
  1. inspect   — detect client, versions, existing agents and hooks, conflicts
  2. setup     — choose scope, worker model, routing mode; write a reviewable diff
  3. doctor    — check delegation, model, redirection, and read limit separately
  4. explain   — dry-run one path or payload: show the rule and proposed decision
  5. benchmark — run a fixture suite in isolated runs and compare
  6. report    — show measured usage and clearly labelled estimates
  7. disable   — turn the optimizer off (enabled: false)
  8. remove    — remove owned, unmodified assets

Enter 1-8 or mode name:
```

**Q2 — Context** (after mode selected, one at a time):
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nitinjain999/platform-skills/token-optimizer@sha256:0a1f282081920b4b

The line at the top of this page pins the label git:20261011.e8166a5, 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_oi7out52dw6zbsqp.svg)](https://markdownregistry.com/a/art_oi7out52dw6zbsqp)

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

Versions

The registry has recorded 1 version of this file, committed on Oct 11, 2026.

versioncommittedcommitsizeaudit
git:20261011.e8166a5 latest2026-10-11 e8166a5 40,065 BA view

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 (40065 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

nitinjain999/platform-skills · 70 stars · license Apache-2.0 · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_oi7out52dw6zbsqp
GET https://markdownregistry.com/api/v1/resolve?ref=nitinjain999/platform-skills/token-optimizer
GET https://markdownregistry.com/api/v1/blob/0a1f282081920b4bdce20abadf7bcfcd82c9e11d8534c76d1ea73b7e47c7fc24

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 nitinjain999/platform-skills

keda Cursor rule
nitinjain999/platform-skills · .cursor/rules/keda.mdc · KEDA ScaledObject and ScaledJob generation rules — auth patterns, scaling safety, best practices
git:20260516.afdf992 · audit A · 70 stars
kubernetes Cursor rule
nitinjain999/platform-skills · .cursor/rules/kubernetes.mdc · Kubernetes and OpenShift workload generation rules — security defaults, resource limits, probes
git:20261011.38d4a57 · audit A · 70 stars
platform-skills Cursor rule
nitinjain999/platform-skills · .cursor/rules/platform-skills.mdc · Platform engineering rules — applies to all files in this workspace
git:20260926.20dcf68 · audit A · 70 stars
terraform Cursor rule
nitinjain999/platform-skills · .cursor/rules/terraform.mdc · Terraform module and resource generation rules — blast radius, IAM least privilege, SOC 2 defaults
git:20260516.215750b · audit A · 70 stars
.cursorrules Cursor rule
nitinjain999/platform-skills · .cursorrules
git:20260926.20dcf68 · audit A · 70 stars
code-review SKILL.md skill
nitinjain999/platform-skills · .github/skills/code-review/SKILL.md · Review pull requests to this repo (a Claude Code / Copilot / Cursor platform-engineering skill plugin) for technical…
git:20261017.2bd2bff · audit A · 70 stars
CLAUDE.md CLAUDE.md file
nitinjain999/platform-skills · CLAUDE.md
git:20260927.869b173 · audit A · 70 stars
platform-skills SKILL.md skill
nitinjain999/platform-skills · SKILL.md · Use when troubleshooting, implementing, reviewing, or auditing platform infrastructure as a system — where Kubernetes…
git:20260927.df75e5b · audit A · 70 stars
ai-governance SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/ai-governance/SKILL.md · Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny…
git:20261018.5f00d39 · audit A · 70 stars
awesome-docs SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/awesome-docs/SKILL.md · Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG…
git:20261018.90b97a9 · audit A · 70 stars
aws-profile SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/aws-profile/SKILL.md · AWS profile management for MCP servers — discover profiles across SSO, Granted, and assumed-role chains, check…
git:20261018.90b97a9 · audit B · 70 stars
aws SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/aws/SKILL.md · Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager…
git:20261018.90b97a9 · audit A · 70 stars

Every file in nitinjain999/platform-skills

Other files named token-optimizer

token-optimizer SKILL.md skill
alexgreensh/token-optimizer · skills/token-optimizer/SKILL.md · Audits a Claude Code or Codex setup for context-window waste, fixes it with the user's approval, and measures the…
git:20261010.adb019a · audit A · 2,651 stars
token-optimizer SKILL.md skill
alexgreensh/token-optimizer · openclaw/skills/token-optimizer/SKILL.md · Audit your OpenClaw setup for token waste, context bloat, and cost optimization opportunities
git:20260316.25fde7b · audit A · 2,651 stars
token-optimizer SKILL.md skill
alexgreensh/token-optimizer · plugins/token-optimizer/skills/token-optimizer/SKILL.md · Audits a Claude Code or Codex setup for context-window waste, fixes it with the user's approval, and measures the…
git:20261010.f756a67 · audit A · 2,651 stars
token-optimizer SKILL.md skill
alexgreensh/token-optimizer · cowork/token-optimizer/skills/token-optimizer/SKILL.md · Audits a Claude Code or Codex setup for context-window waste, fixes it with the user's approval, and measures the…
git:20261010.f756a67 · audit A · 2,651 stars
token-optimizer SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/token-optimizer/SKILL.md · Route broad repository discovery to a cheaper worker model using each client's native subagents, keeping the main agent…
git:20261018.90b97a9 · audit A · 70 stars
token-optimizer SKILL.md skill
tingyulu/myr2d2 · skills/token-optimizer/SKILL.md · 多代理編排的 token/配額節流規則。任何要呼叫 Agent tool 或 Workflow 派工之前——不論使用者有沒有提到省 token、單一 subagent 也算——先讀本 skill 再動手。使用者說「省…
git:20261001.37ef4d7 · audit A · 18 stars
token-optimizer SKILL.md skill
jnpiyush/agentx · .github/skills/development/token-optimizer/SKILL.md · Use when managing instruction/context budgets, cache-aware tokenomics and cost estimates while preserving acceptance…
v1.1.0 · audit A · 17 stars

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