token-hygiene

Audit Claude Code system context and generate a token hygiene report.

10|2|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Growth4U-systems/claude-token-hygiene --skill token-hygiene
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: token-hygiene
Source: https://github.com/Growth4U-systems/claude-token-hygiene/tree/main
Command: npx skills add https://github.com/Growth4U-systems/claude-token-hygiene --skill token-hygiene

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Claude Code conversations bleed tokens due to system context (CLAUDE.md, MEMORY.md, skill descriptions, MCP tool listings, and hooks). The Token Hygiene Skill audits this overhead and provides a concise, prioritized cleanup plan to reduce token costs without compromising context.

Core Features & Use Cases

  • Measures CLAUDE.md size, MEMORY.md length, the number of installed skills, MCP server/tool inventory, and stale daily logs.
  • Generates a structured Token Hygiene Report with actionable recommendations to trim overhead and speed up conversations.
  • Suitable for monthly maintenance or on-demand audits across Claude Code projects and teams.

Quick Start

Use the token hygiene skill to generate a system-context report and actionable cleanup recommendations.

Frequently Asked Questions about token-hygiene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Claude Code token overhead in system files?

Token hygiene audits measure CLAUDE.md, MEMORY.md, skill descriptions, MCP tool listings, and stale daily logs to identify system context bloat. It generates a structured report with actionable recommendations to trim overhead and speed up conversations.

How do I reduce token bloat in CLAUDE.md and MEMORY.md files?

Reduce CLAUDE.md and MEMORY.md bloat by running a token hygiene audit that enforces defined size thresholds and outputs prioritized cleanup recommendations. This structured report identifies specific areas to trim overhead without compromising context.

What is the best way to clean up stale daily logs and MCP server inventory for token optimization?

The best way to clean up stale daily logs and MCP server inventory is a token hygiene audit, which measures these components against defined thresholds. It provides a prioritized cleanup plan to reduce token costs across Claude Code projects.

Does the token hygiene audit work for monthly maintenance across multiple Claude Code projects?

Yes, the token hygiene audit is designed for monthly maintenance or on-demand use across Claude Code projects and teams. Trigger it via keywords like 'token hygiene' or 'context audit' to generate consistent cleanup reports.

Why does my Claude Code conversation bleed tokens even with a small context?

Conversations bleed tokens when system context like installed skills, MCP tool listings, and hooks accumulate overhead. A token hygiene audit identifies this bloat and provides a concise, prioritized cleanup plan to reduce token costs.