# leakhound

> Local token forensics for Claude Code to find waste, audit MCP servers, and optimize model routing.

leakhound is a paid AI agent skill on Agensi by Sri Kanth, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Sri Kanth](https://www.agensi.io/creators/sri-kanth)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/leakhound
- Tags: llm-ops, claude-code, token-optimization, mcp, productivity

## About this skill

Stop bleeding tokens and hitting Claude rate limits. Leakhound provides a suite of local forensic tools to identify precisely where your token budget is being wasted and how to reclaim it.

### What it does
- **Waste forensics** identifies high-churn files, redundant reads, and verbose outputs that inflate costs.
- **MCP server auditing** flags connected MCP servers that are consuming context but never being called.
- **Plugin analysis** detects idle plugins and calculates their per-session token overhead.
- **Model routing** recommends when to use Haiku vs Sonnet based on task complexity and your cost preference.
- **Context monitoring** provides a real-time statusline meter to track context pressure and compaction risks.

### How it works
1. Use `/leakhound waste` to get a breakdown of token burn in your current project with specific fixes.
2. Run `/leakhound mcp-audit` or `plugin-audit` to identify and remove dead-weight integrations.
3. Apply suggested fixes to your `CLAUDE.md` to enforce long-term token discipline.
4. Execute `/leakhound trend` to verify if your optimizations are actually reducing token growth over time.

### Frameworks & tools
Built for Claude Code. Requires Node.js on the system PATH. Runs entirely local against transcript logs and configuration files.

### Why this beats prompting it yourself
Generic prompts cannot see your actual usage data or local transcripts. This skill runs specialized scripts against your real history to find specific leaks that manual observation misses.

### Use cases
- Troubleshooting "rate limit reached" errors by finding and pruning context-heavy files.
- Optimizing expensive sessions by delegating mechanical tasks to cheaper models.
- Auditing a cluttered workspace to disable unused MCP servers and plugins.
- Monitoring real-time context growth to avoid unexpected automatic compactions.

### Known limitations
Does not work with claude.ai or Cowork. Requires a local Node.js installation. It provides recommendations only and will not modify your MCP or plugin settings automatically.

## Requires

- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the leakhound skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does Leakhound work with the standard Claude.ai web interface?

Leakhound is designed exclusively for the Claude Code CLI tool. It runs locally against your transcript logs and project files, so it is not compatible with the web-based Claude.ai interface or other AI coding assistants like Cursor or GitHub Copilot.

### Does this skill send my project data to an external server for analysis?

No, Leakhound respects your privacy by running entirely on your local machine. It analyzes your local log files and configurations to find token waste without sending your proprietary code or session transcripts to any external servers.

### How exactly does this help me avoid 'Rate Limit Reached' errors?

Leakhound identifies idle MCP servers and high-churn files that bloat your context window, which are the primary causes of hitting rate limits. By following the optimization recommendations, you can stay under limit thresholds and reduce the frequency of automatic context compactions.

### Will Leakhound automatically delete my MCP servers or change my settings?

While Leakhound provides precise recommendations and specific fixes for your CLAUDE.md file, it will never modify your system settings or MCP configurations automatically. You remain in full control of which plugins to disable or which routing suggestions to implement.

### What are the technical requirements to get Leakhound running?

You must have Node.js installed on your system PATH to run the forensic scripts. Once installed within Claude Code, you can immediately begin using commands like `/leakhound waste` to analyze your current project environment.

### What is included with my purchase of the Leakhound skill?

Your purchase includes the full suite of forensic commands (waste, mcp-audit, plugin-audit, trend) and the real-time context statusline meter. You will also receive any future updates and optimizations released for the skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
