# skill slim

> Audit, optimize, and slim down AI agent context by identifying unused skills and calculating token costs.

skill slim is a free AI agent skill on Agensi by ac W, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [ac W](https://www.agensi.io/creators/ac-w)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Uses: 3
- Version: 1.1
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/skill-slim
- Tags: llm-ops, claude-code, cursor, token-optimization, cli-tool

## About this skill

AI agents often slow down or hit context limits because every installed skill and rule is loaded into every conversation turn. This bloat drives up latency and token costs without adding value. This skill audits your agent environment to identify dead weight and recover context space.

### What it does
- **Multi-agent auditing** scans configurations for nine coding agents.
- **Cost calculation** computes always-on token counts and estimates monthly dollar spend based on usage.
- **Conflict detection** identifies duplicate triggers and overlapping descriptions that confuse model routing.
- **Usage tracking** analyzes session transcripts to find skills that have never been invoked.
- **Safe quarantine** moves unused skills to a reversible storage area with a manifest for easy restoration.
- **Visual reporting** generates standalone HTML reports or launches a local web dashboard.

### How it works
1. **Scan** the local system using `node src/cli.ts` to detect installed agents and calculate the current health score.
2. **Analyze** usage history over a set window (default 30 days) to identify never-invoked skills.
3. **Preview** an optimization plan with `node src/cli.ts fix` to see potential token and dollar savings.
4. **Optimize** the environment by applying a safe quarantine to user-owned custom skills.

### Frameworks & tools
Requires Node.js 22.18 or newer and has zero external dependencies. Supports Claude Code, Codex CLI, Gemini CLI, Antigravity, Cursor, opencode, Windsurf, Zed, and Copilot CLI.

### Why this beats prompting it yourself
Manual context management is error-prone and lacks visibility into actual token costs. This tool provides hard metrics on dollar spend and uses local transcript analysis to prove a skill is unused before suggesting removal.

### Use cases
- Reduce high API bills by removing always-on system instructions that are rarely used.
- Fix "tool confusion" where an agent struggles to pick between skills with overlapping triggers.
- Audit a new project's `.cursor/rules` to ensure only relevant logic is active.
- Generate a health report for a complex multi-agent CLI setup.

### Known limitations
Cannot move or delete plugin-bundled skills. Quarantine is limited to user-owned custom skills.

## Requires

- Node.js
- skill-slim
- Git

## 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 skill slim skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific problems does Skill Slim solve for my AI agent setup?

Skill Slim scans your AI agent configurations (like Claude Code or Cursor) to identify unused skills, redundant triggers, and "context bloat" that increases latency and API costs. It provides a health report and a safe way to quarantine unused logic to reclaim token space.

### Which AI agents and frameworks does this skill support?

The tool is compatible with Claude Code, Codex CLI, Gemini CLI (Antigravity), and Cursor (.mdc rules). It requires Node.js v22.6.0 or higher to run the TypeScript source natively without additional dependencies.

### What exactly is included in the purchase?

When you purchase Skill Slim, you receive the full TypeScript source code, a CLI tool for local scanning and optimization, and a dashboard generator for visual reporting. It also includes a manifest-based quarantine system to ensure any changes can be easily reversed.

### Can this skill accurately tell me how much money I am wasting on unused tokens?

Yes, Skill Slim analyzes your local session transcripts to track which skills are actually being invoked versus those that are just sitting in the system prompt. It then calculates the specific token count and estimated dollar savings you would gain by removing them.

### Is the optimization process permanent, or can I restore skills that have been removed?

The 'Fix' command uses a safe quarantine method that moves unused skills to a reversible storage area rather than deleting them permanently. You can easily restore any skill using the generated manifest file if your workflow changes.

---

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.
