claude

token-engineering

Cut LLM API costs: prompt caching audits, fingerprinting, cost estimates and batch planning. Companion to the LLM Token Engineering blog post.

0 on GitHubby Rahul Sumblyv0.1.0updated 1 month agodevelopment
/

Plugin token-engineering from marketplace rahul-resources in Rahul-s-007/resources. Commands read from the repo's manifest — 1 month ago.

What it installs

Skills (6)

  • batch-planner

    Decide whether an LLM workload fits Batch API or Flex tier pricing (about 50% off) and design it correctly for Anthropic, OpenAI or Gemini. Covers custom_id joins, out-of-order results, partial expiry and resubmission, async validation, batch plus caching, and flex timeouts and fallbacks. Use when s

  • cache-audit

    Audit code that builds LLM prompts for silent prompt-cache busters such as timestamps or IDs in the system prompt, unsorted JSON, unstable tool order, per-user content before shared content, history truncation, non-deterministic RAG order, and cache-key parameter changes. Use when cache hit rate is

  • cache-setup

    Implement or fix prompt caching for a specific provider. Covers Anthropic cache_control breakpoints and TTL, OpenAI implicit caching, prompt_cache_key and prompt_cache_retention, and Gemini implicit vs explicit cachedContents. Use when adding caching to an LLM integration, choosing breakpoint placem

  • cost-estimate

    Estimate and compare LLM API costs with caching, batch and long-context pricing effects across Anthropic, OpenAI and Gemini, using prices fetched live from the official pricing pages. Use for monthly cost projections, break-even on cache writes vs reads (5 min vs 1 h TTL), checking whether a route c

  • prompt-fingerprinting

    Measure prompt stability without logging prompts. Hash each prompt segment and a running prefix hash, find which segment breaks the cache between requests, choose breakpoint positions from stability profiles, and replay logged traffic to predict cache hit rate for 5 min, 30 min and 1 h TTLs. Use whe

  • token-engineering

    Entry point for reducing LLM API spend. Use when the user mentions LLM costs, token bills, prompt caching, cache hit rate, batch API, flex tier, long-context pricing, or asks to "optimize" or "audit" prompts for Anthropic, OpenAI or Gemini. Diagnoses what they need and routes to the right sub-skill.

View source on GitHub rahul.sumbly.tech

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

slidev

claude

Claude Code skill for creating and presenting Slidev slidedecks

1 skill

slidevjs/slidev 49,452

Maintain token-engineering?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted