Skip to content
Back to skills

Token Meter Skill Hygiene

ASecurity

Find installed skill packs and MCP servers that go unused, using the Token Meter MCP, and suggest which to review or disable. Use when the user asks which skills or MCP servers they actually use, wants to trim their agent setup, or asks why every session starts with a large context.

  • 159 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsgo

Works with

  • claude code
  • cursor
  • cli
  • mcp

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add splunk/token-meter --skill token-meter-skill-hygiene --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Token Meter Skill Hygiene?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Token Meter Skill Hygiene
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/splunk-token-meter-skill-hygiene/badge)](https://www.skillsdirectory.com/skills/splunk-token-meter-skill-hygiene)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: token-meter-skill-hygiene
description: Find installed skill packs and MCP servers that go unused, using the Token Meter MCP, and suggest which to review or disable. Use when the user asks which skills or MCP servers they actually use, wants to trim their agent setup, or asks why every session starts with a large context.
---

<!-- token-meter-managed-skill: installed from the Token Meter skill package. Token Meter updates this file; remove it from Settings, Agent connection. -->

# Token Meter skill and MCP hygiene

Use the `tokenmeter` MCP tools to show which installed skill packs and MCP servers the
user's agents actually use, and which ones only take up context. This skill only reports;
it never changes any configuration. If the `tokenmeter` tools are unavailable, say so and
stop.

## Gather evidence

- Call the tools one at a time; if a call times out, wait a minute and retry once.
- Skill packs: `capabilities` with scope `all` and limit 5, then scope `current`. It lists
  user-installed skill packs with no observed use.
- MCP tool use over the last 30 days: `stats` with `start` 30 days before now, grouped by
  `tool_name`, metrics `tool_calls` and `tool_result_tokens`, sorted by `tool_calls`,
  limit 100. Follow `page.next_cursor` when `page.truncated` is true. Group MCP tools
  by server from their names: `mcp__<server>__<tool>` (Claude Code, Codex) or
  `mcp-<server>-<tool>` (Cursor). Codex also names some of its own built-in app tools
  `mcp__<namespace>__...`; when a "server" appears only in Codex and is not one the
  user installed, label it as a possible built-in rather than a user server.
- Per runtime, repeat that query with the `runtime` filter, because the same server can
  be busy in one client and idle in another.
- The MCP does not list configured MCP servers that were never called, or how many
  definition tokens each one adds. Say so, and point the user to the dashboard's Tools
  page, which shows enabled-but-unused groups and their measured overhead.

## Report

1. **Unused skill packs**: each name from `capabilities`, its runtime, and "no observed
   use".
2. **MCP servers by use**: a small table of server, calls, result tokens, and result
   tokens per call, busiest first.
3. **Quiet servers**: servers with very few calls in 30 days. Flag them for review, not
   removal, because a rarely used server can still matter.
4. **Heavy servers**: servers whose result tokens per call stand out. These grow context
   every time they run.
5. **Suggested review list**: at most five items, each with the evidence and the exact
   place to disable it (the client's own settings, or the dashboard's Tools page).
6. **Missing evidence**: configured-but-never-called servers, definition-token overhead,
   and any runtime where tool evidence is unavailable.

## Rules

- Never disable, remove, or edit anything; the user decides.
- Report observed use only. "No observed use" is not proof that something is unneeded.
- Never include prompts, tool arguments, tool results, session titles, project names,
  file paths, or session ids.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.