Topic · AI & LLM Engineering
Best LLM cost and token optimization skills for Claude Code, Codex and other agents.
- skills
- 256
- official
- 16
LLM cost and token optimization skills, ranked
Ranked by score. Sort bymost stars,trending,newest,recently updated
| # | Skill | Repository | Stars | Used in | Tokens | Auto-check | Licence | Updated |
|---|---|---|---|---|---|---|---|---|
| 1 | 1.Defuddle Uses the Defuddle CLI to pull clean, readable Markdown, JSON or metadata from web pages, stripping navigation, ads and clutter to save tokens. | kepano/ | 49k | 11 repos | ~208 | Automated safety check: Pass | MIT | 21 days ago |
| 2 | Finds every LLM workflow in a repository, proposes a labeling table and, once you agree, wires labels so Caveman Cloud groups spend per workflow. | JuliusBrussee/ | 110k | 1 repo | ~1.3k | Automated safety check: Pass | Apache-2.0 | today |
| 3 | Read-only review of Caveman Cloud data to explain where LLM spend goes: cost, score, workflows, traces, latency, errors, routing and verified savings. | JuliusBrussee/ | 110k | 1 repo | ~927 | Automated safety check: Pass | Apache-2.0 | today |
| 4 | Turns a Caveman report-only optimization observation into one minimal code change and a paired baseline evaluation, after the operator picks which to pursue. | JuliusBrussee/ | 110k | 1 repo | ~1.2k | Automated safety check: Pass | Apache-2.0 | today |
| 5 | Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals. | dotnet/ | 23k | — | ~3.4k | Automated safety check: Pass | MIT | today |
| 6 | Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash. | mksglu/ | 26k | — | ~4.1k | Automated safety check: Pass | Unknown | today |
| 7 | This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve… | guanyang/ | 973 | 2 repos | ~4.6k | Automated safety check: Pass | MIT | today |
| 8 | CodexBar read. Provider usage, limits, credits, config health. JSON. No writes. | steipete/ | 22k | — | ~320 | Automated safety check: Pass | MIT | today |
| 9 | Hands simple, deterministic tasks such as typo fixes, tests and small refactors to cheaper models through the ccs CLI, choosing a profile from your config. | kaitranntt/ | 2.9k | — | ~1.8k | Automated safety check: Pass | MIT | 6 days ago |
| 10 | Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation. | mksglu/ | 26k | — | ~850 | Automated safety check: Pass | Unknown | today |
| 11 | Configures OpenClaw to use free OpenRouter models, setting the best one as primary and adding ranked fallbacks so rate limits do not interrupt work. | Shaivpidadi/ | 238 | 3 repos | ~1.1k | Automated safety check: Pass | No licence | 5 mo ago |
| 12 | Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost. | lobehub/ | 83k | — | ~1.9k | Automated safety check: Pass | Unknown | today |
| 13 | This skill should be used to explain or reason about the foundational concepts of context engineering: what context is, the anatomy of a context window, how attention mechanics work, the U-shaped… | guanyang/ | 973 | 2 repos | ~4.2k | Automated safety check: Pass | MIT | today |
| 14 | A skill your agent uses when designing, generating an MVP blueprint for, auditing, troubleshooting, refactoring, or explaining an agentic harness for any domain. | DenisSergeevitch/ | 2.4k | — | ~7.4k | Automated safety check: Pass | MIT | 2 days ago |
| 15 | Converts large PDF, DOCX, PPTX, XLSX and CSV files into markdown or CSV plus an index before the agent reads them, so tokens go to the compressed copy. | NateBJones-Projects/ | 4.7k | — | ~995 | Automated safety check: Pass | Unknown | yesterday |
| 16 | A professional AI bounty hunter persona named Atlas. An agent skill from 1sadjlk/bounty-hunter-skill. | 1sadjlk/ | 282 | 1 repo | ~761 | Automated safety check: Pass | MIT | 7 mo ago |
| 17 | Routes every LLM call in a repository through the Caveman Cloud gateway in record mode, so requests and costs are measured without changing behavior. | JuliusBrussee/ | 110k | 1 repo | ~2.6k | Automated safety check: Warn | Apache-2.0 | today |
| 18 | Quick-reference card for the three caveman skills and their commands. Trigger: /caveman-help or "caveman help". | JuliusBrussee/ | 110k | — | ~683 | Automated safety check: Pass | Apache-2.0 | today |
| 19 | Refactor a too-long SKILL.md by progressive disclosure: measure token cost, classify every section KEEP/CUT/MOVE, shorten the body into references/ and scripts/, verify nothing was lost. | luongnv89/ | 953 | — | ~3.8k | Automated safety check: Notes | MIT | today |
| 20 | A skill your agent uses when working in a repo with agentacct MCP configured, or when asked to track coding-agent work, smoke-test agentacct integrations, or report objective AI-agent task evidence. | mikehasa/ | 765 | — | ~1.6k | Automated safety check: Pass | MIT | 4 days ago |
| 21 | Controls the RTK filter set and context-handling settings in OmniRoute, with endpoints to try compression on sample text and read back retained output. | diegosouzapw/ | 74k | 1 repo | ~618 | Automated safety check: Pass | MIT | today |
| 22 | Audit local AI coding-agent sessions with agenttrace. An agent skill from luoyuctl/agenttrace. | luoyuctl/ | 139 | 1 repo | ~656 | Automated safety check: Pass | MIT | yesterday |
| 23 | A skill your agent uses when maintaining or optimizing OpenClaw workspace files — AGENTS.md, TOOLS.md, SOUL.md, USER.md, IDENTITY.md, HEARTBEAT.md, BOOT.md, MEMORY.md, and related checklists and… | win4r/ | 288 | — | ~2.4k | Automated safety check: Pass | No licence | 6 mo ago |
| 24 | Estimates what a codebase would cost a traditional human team to rebuild, with P10, P50 and P90 ranges cross-checked by COCOMO II, Function Points and LOCOMO. | jbarbier/ | 111 | — | ~5k | Automated safety check: Pass | No licence | 5 mo ago |
| 25 | 25.Caveman Mode Switches the agent to a terse reply style that gives the answer first, drops filler, and keeps every technical fact, command and number exact. | JuliusBrussee/ | 110k | — | ~1k | Automated safety check: Pass | Apache-2.0 | today |
| 26 | 26.Omni A skill your agent uses when installing, verifying or configuring OMNI, when command output carries an [OMNI: ...] marker, or when output looks shorter than expected. | fajarhide/ | 374 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | today |
| 27 | Visualize and diagnose OpenClaw context window usage. An agent skill from jzOcb/context-doctor. | jzOcb/ | 119 | — | ~642 | Automated safety check: Pass | MIT | 6 mo ago |
| 28 | Cross-system agent token/cost audit (Claude Code, Codex, OpenClaw, Hermes, OpenCode): idle burns, model misrouting, config bloat, with dollar savings. | alexgreensh/ | 2.5k | — | ~1.7k | Automated safety check: Pass | Unknown | 2 days ago |
| 29 | Sends one prompt to Claude, GPT through the Codex CLI and Gemini, then tabulates response time, token use and cost, with an optional judged quality score. | garrytan/ | 136k | — | ~4k | Automated safety check: Notes | MIT | today |
| 30 | Give the human an off switch and a cost meter for the coding agents on this machine, using ClawMetry. | vivekchand/ | 424 | — | ~1.1k | Automated safety check: Pass | MIT | today |
| 31 | 31.Skillkit Toolkit for creating and validating skills and subagents. An agent skill from rfxlamia/skillkit. | rfxlamia/ | 102 | — | ~3.7k | Automated safety check: Pass | Apache-2.0 | 6 mo ago |
| 32 | 32.Bug Audit Weekly multi-agent audit for serious bugs (data integrity, silent caps, staleness, timestamp math, trust boundaries). | VasiHemanth/ | 376 | — | ~1k | Automated safety check: Pass | MIT | yesterday |
| 33 | 33.Connect Connect any AI agent to MCP servers through mcptoon — one config synced everywhere, one stdio gateway, 99.2% fewer tokens on tool discovery. | activeing123/ | 214 | 1 repo | ~701 | Automated safety check: Pass | Apache-2.0 | today |
| 34 | Audit an agent's context layout against the four places: system prompt, tools, history, tail. | undefined-ui/ | 999 | — | ~810 | Automated safety check: Pass | MIT | 7 days ago |
| 35 | 35.Hyper Jev Integrate and use Jev, TypeSafe AI's System One decision model, in production codebases. | disler/ | 202 | — | ~1.7k | Automated safety check: Pass | MIT | 9 days ago |
| 36 | Picks a small, graph-based slice of source with Trailmark and hands a focused code task to a smaller or local model without exposing the whole repository. | trailofbits/ | 7.4k | — | ~2.1k | Automated safety check: Pass | CC-BY-SA-4.0 | 5 days ago |
| 37 | 37.Antigravity Run the Antigravity CLI (Gemini) as a collaborating AI inside Claude Code, with intelligent model routing across the software development lifecycle. | yuting0624/ | 374 | — | ~9.1k | Automated safety check: Pass | MIT | 2 days ago |
| 38 | Checks and tunes token-saver output compression: reads stats, explains why a command was or was not compressed, and edits config files or environment variables. | ppgranger/ | 153 | — | ~1k | Automated safety check: Pass | Apache-2.0 | 17 days ago |
| 39 | Acts on a Caveman learn report: reviews ranked token sinks, applies cost-lowering edits one at a time with your consent, and reports what each fix returned. | JuliusBrussee/ | 110k | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | today |
| 40 | Turns the lead model into a foreman that plans, routes and verifies while cheaper Claude, Codex or Grok workers do the typing, using a per-machine routing card. | olsenbrands/ | 142 | — | ~5.2k | Automated safety check: Pass | MIT | 12 days ago |
| 41 | Read your own agent telemetry from ClawMetry (waste, progress, cost) and act on it before finishing a task. | vivekchand/ | 424 | — | ~515 | Automated safety check: Pass | MIT | today |
| 42 | Answers token usage and cost questions from the Claude Command Center throughput dashboard and shares its link, for the last 7 days or one session. | amirfish1/ | 177 | — | ~676 | Automated safety check: Pass | Unknown | today |
| 43 | 43.Headroom SmartCrusher + CCR context compression — crunch large JSON arrays, tool outputs, and search results to save tokens. | momori777/ | 377 | — | ~562 | Automated safety check: Pass | MIT | 6 days ago |
| 44 | Queries OmniRoute call logs, usage history and analytics, filters them by provider, model, status or cost, and reads or sets usage budgets. | diegosouzapw/ | 74k | 1 repo | ~2k | Automated safety check: Pass | MIT | today |
| 45 | Guidelines for driving a workspace's embedded browser with the fewest tool calls, smallest state reads and no needless screenshots or waits. | holaboss-ai/ | 11k | — | ~736 | Automated safety check: Pass | Unknown | 1 mo ago |
| 46 | Guides building, debugging and tuning apps on the Claude API and Anthropic SDK, including prompt caching, and migrating code between Claude model versions. | warpdotdev/ | 65k | 3 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 | today |
| 47 | Designs, tests and refines LLM prompts: zero-shot, few-shot and chain-of-thought patterns, system prompts, structured output schemas and evaluation test suites. | Jeffallan/ | 12k | 1 repo | ~1.5k | Automated safety check: Pass | MIT | 3 days ago |
| 48 | Audit and optimize frontmatter description fields across documentation pages to keep them concise and token-efficient. | lynx-family/ | 130 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | 7 days ago |
Questions, answered from the data.
What is the best LLM cost and token optimization skill?
Defuddle from kepano/obsidian-skills ranks first of the 256 LLM cost and token optimization skills listed here, with the highest score: its repository has 49k GitHub stars, 11 other GitHub owners carry a copy, its SKILL.md loads about 208 tokens and it passes the automated safety check with no findings. Next come Caveman Workflow Labeler and Caveman Evidence Review.
Which LLM cost and token optimization skills are official?
16 of the 256 LLM cost and token optimization skills are official, published by the vendor's own GitHub organization: Copilot Session Failure Analysis, Code Context Slicing, Commerce Prompt Caching, Session Usage Report, Adding A Provider API Feature and 11 more.
How are these skills ranked?
By Skill Navigator score, which combines the GitHub stars of the skill's repository (shared across that repo's skills and discounted for large collections), how many other GitHub owners carry a copy of the skill, and automated SKILL.md quality checks, minus penalties for safety-check warnings and for each further skill from the same repository. Skills that fail the safety check are not listed.
Explore related skills
Category
More topics in AI & LLM Engineering
- Building AI agents525
- Deep learning408
- Embeddings381
- LLM inference and serving364
- Retrieval-augmented generation360
- Prompt engineering350
- Fine-tuning313
- LLM evaluation303
- Speech recognition and synthesis272
- Structured output and tool calling271
- LLM API integration218
- LLM observability217
- Model routing and gateways217
- LLM guardrails208
- Computer vision206
- Model hubs and datasets180
- GPU and accelerator computing171
- Diffusion and image models167
- Natural language processing141
- Reinforcement learning67
- AI interpretability23