Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

clade-cost-tuning

Skill by jeremylongshore

Clade Cost Tuning is a skill that shows developers how to lower Anthropic API spend. It covers model selection, prompt caching, Message Batches, token reduction and usage monitoring. It is for developers with active Anthropic API usage.

  • Score 80
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install clade-cost-tuning

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clade-cost-tuning ~/.claude/skills/clade-cost-tuning

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install clade-cost-tuning in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Anthropic Cost Tuning is a skill for Claude Code that explains how to reduce Anthropic API costs. It lists per-million-token prices for Claude Opus 4, Sonnet 4 and Haiku 4.5 for input, output, cached input and batch pricing. It also covers choosing a model by task complexity and trimming tokens.

The skill walks through five steps: right-sizing the model, prompt caching, Message Batches, reducing token count, and monitoring usage with a per-call cost log. A worked example compares strategies for processing 10,000 documents, from about $225 down to about $5. It is aimed at developers who already have Anthropic API usage and access to the Anthropic console, and it links to the clade-performance-tuning skill for latency.

Written from the project's SKILL.md and checked against it.

What it can do

  • Model selectionMatches Haiku, Sonnet or Opus to the complexity of each task.
  • Prompt cachingCaches a long system prompt so repeated calls read it at a lower input cost.
  • Message BatchesSends non-urgent work as batches at a lower price with a 24-hour processing SLA.
  • Token reductionTrims conversation history, sets tight max_tokens and uses concise system prompts.
  • Usage monitoringLogs input and output tokens and an estimated cost for each request.

What you need

  • Anthropic API access
  • Active Anthropic API usage to optimize
  • Access to the Anthropic console
  • Claude Code
  • Completed clade-install-auth setup

Try asking

  • Review my Anthropic API calls and suggest cheaper models for each task.
  • Add prompt caching to my system prompt in this Claude API client.
  • Move my non-urgent document processing to Message Batches and estimate savings.

Good to know

  • Prompt caching needs a system prompt of 1024 tokens or more.
  • The cache in the example lasts 5 minutes.
  • Batch processing has a 24-hour processing SLA.
  • The cost logging example uses Sonnet pricing only.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/clade-cost-tuning/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEdit

  • SKILL.md5 KB
  • references/one-pager.md2 KB

Alternatives to clade-cost-tuning

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

clade-cost-tuning: common questions

How much can prompt caching save on input tokens?

The skill states that cache reads are charged at 0.1x the input price, which it describes as 90% off input tokens. The first cache write is charged at 1.25x.

How much cheaper are Message Batches?

The skill says batches are 50% cheaper for non-urgent work with a 24-hour processing SLA. It gives Sonnet batch prices of $1.50 input and $7.50 output per million tokens.

Which Claude models does the pricing table cover?

The pricing table covers Claude Opus 4, Claude Sonnet 4 and Claude Haiku 4.5. It lists input, output, cached input and batch prices for each.

How do I install clade-cost-tuning?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is clade-cost-tuning free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is clade-cost-tuning safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to clade-cost-tuning?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

clade-cost-tuning Install

Add to stack

Loading.