Tool profile

leanprompt

lmwarden.com

agent skills that cut wasted LLM tokens in your app

PricingOpen source
PublishedNov 30, 2026

What it does

leanprompt is a set of skills for coding agents from the LM Warden team. It audits the LLM calls in the app your assistant is building: it makes prompts cacheable, cuts dead weight, stops wasted output and speeds up first tokens without changing the answers. It is not a prompt-compression library. /leanprompt audit ranks every LLM call by lost tokens and time, fix shows a diff and applies it on your yes, and measure proves the change with before-and-after numbers. Works with Claude Code, Codex, Cursor, OpenCode and any agent that reads AGENTS.md; install with npx leanprompt install (Node 20.19+). No telemetry, proxy or account; Apache-2.0, pre-release. The team's public audits found 26 of 32 open-source apps paying for tokens they did not need (estimates from code, as of 2026-11-28).

  • Find why an app's LLM calls never hit the prompt cache
  • Cut tokens an app pays for on resent histories, retries and wasted output
  • Measure before-and-after token use when fixing an LLM integration

Categories

codexcursorclaude-codecode-auditagent-skillllm-costapache-2.0prompt-cachingtoken-optimization

Frequently asked questions

What is leanprompt?
leanprompt is a set of skills for coding agents, by the LM Warden team, that audits the LLM calls in the app you are building: making prompts cacheable, cutting dead weight, stopping wasted output and speeding up first tokens.
Is it a prompt-compression library?
No. It reviews and fixes how the app calls the model without changing the answers, and works on the app being built, not on the assistant's own bill.
Which assistants are supported?
Claude Code, Codex, Cursor, OpenCode and any agent that reads AGENTS.md. Install with npx leanprompt install (Node 20.19+).
What did its audits find?
The team has published audits of 30+ open-source apps that call LLMs; as of 2026-11-28 each had at least one problem and 26 of 32 paid for tokens they did not need. Figures are estimates from reading code.

Explore

More in AI Developer Tools

QdrantAI Developer Tools

Open-source Rust vector database and similarity search engine with payload filtering; managed cloud with a free tier.

Freemiumembeddings
AirbyteAI Developer Tools

Open-source data movement for ELT pipelines and AI agents: APIs, databases and files into warehouses, lakes and AI apps.

Open sourceopen-source
you.botAI Agent

The same AI models for up to 46% less. you.bot is one API for 70+ LLM, image, video and music models — Claude, GPT, Gemini, Kling, Seedance, Veo, GPT Image 2, Nano Banana Pro, Suno and more —

Not specified
CorrathAI API

Corrath is an AI security gateway for modern AI applications. It sits between your app and AI providers to protect API keys, block prompt injections, control spending, monitor usage, detect t

Not specified
GraphifyAI Developer Tools

Turn a codebase plus its docs, SQL schemas, configs and PDFs into a queryable knowledge graph for coding agents.

Open sourcegithub

A coding-agent skill from Cloudflare for multi-phase security audits with verified, machine-readable findings.

Open sourcegithub