Skip to content
Skill

Audit

Audits a Claude Code setup for settings that waste tokens or silently do nothing

Audit is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
186
Last commit
License
MIT
Listing updated

Similar skills

About Audit

This skill runs a read-only audit of the Claude Code configuration in the current project, using the tokendoctor-audit command. Findings are grouped by severity, each with a short plain-language explanation and a link to the relevant documentation. The skill also reviews the memory and instruction files Claude loads at launch, flagging content that adds unnecessary token cost, conflicts with settings, is stale, or is unsafe, and quoting the file and line where it appears.

The audit checks settings keys and environment variables against Claude Code's documentation, and it can read a debug log from a previous run. It does not measure savings. For that, the skill points to the built-in /usage and /context commands. It can also build a local usage dashboard from transcripts on the machine, written as a single HTML file with no network use.

The skill needs Claude Code and the tokendoctor tools installed. It never edits files itself; automatic fixes are offered separately through the tokendoctor plugin commands. A live check that starts a small Claude Code session is offered only with the user's consent.

When your agent uses it

Audit this Claude Code setup for settings that waste tokens or silently do nothing.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the tokendoctor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add localixai/plugins
/plugin install tokendoctor@localix-lab

Or copy only this skill to ~/.claude/skills/audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/localixai/plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/audit &&
cp -R "$tmp/plugins/tokendoctor/skills/audit" ~/.claude/skills/audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/localixai/plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/audit &&
cp -R "$tmp/plugins/tokendoctor/skills/audit" ~/.agents/skills/audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/localixai/plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/audit &&
cp -R "$tmp/plugins/tokendoctor/skills/audit" ~/.cursor/skills/audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/localixai/plugins.git --path plugins/tokendoctor/skills/audit

Or copy the folder to ~/.gemini/skills/audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/localixai/plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/audit &&
cp -R "$tmp/plugins/tokendoctor/skills/audit" ~/.copilot/skills/audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/localixai/plugins.git

Then copy plugins/plugins/tokendoctor/skills/audit into your agent's skills folder as audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Settings audit
Checks configuration keys and environment variables against current documented behaviour and reports findings by severity.
Instruction file review
Reviews memory and CLAUDE.md-style files for content that adds cost, conflicts, or is stale.
Documentation links
Attaches a documentation link to each finding for further reading.
Usage dashboard
Builds a local HTML dashboard of token spend by day, model, context size and project.
Live load check
Optionally runs a small session to confirm which hooks and compaction settings actually loaded.
Read-only operation
Reports issues without editing files, with fixes offered separately.

Good for

  • Find settings that waste tokens in my Claude Code project
  • Review my CLAUDE.md and memory files for outdated or costly instructions
  • Check which Claude Code settings are being silently ignored
  • Build a dashboard of my Claude Code token usage by model and project

Audit FAQ

Does Audit change my configuration files?

No. The audit is read-only and the skill itself never edits files. Automatic fixes are offered through separate tokendoctor commands.

What does Audit need to run?

It calls the tokendoctor-audit, tokendoctor-dashboard and tokendoctor-selfcheck commands and reads the Claude Code version and documentation links. The project directory can be passed as an argument.

Does Audit measure how many tokens I will save?

No. The audit checks configuration against documented behaviour and does not state savings percentages. It points to /usage and /context for measuring.

Is the skill open source?

The repository is published under the MIT license.

How do I install Audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/audit to use it in all your projects, or to .claude/skills/audit in one project. Or install the tokendoctor plugin, which includes it: /plugin marketplace add localixai/plugins, then /plugin install tokendoctor@localix-lab.

Does Audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Audit?

The closest alternatives to Audit are Optimize, Config hygiene edho ferdian, System audit, Sessions and Dashboard.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from localixai/plugins

  1. Resumes a paused or stopped localix-loop with an answer or extra iterations

    • Open source
    • 186 GitHub stars
    • Developer tools
  2. Sets up a goal-driven loop where the agent proposes changes scored by a scorekeeper

    • Open source
    • 186 GitHub stars
    • Developer tools
  3. Reports where a localix-loop session stands: score, kept and rolled-back iterations

    • Open source
    • 186 GitHub stars
    • Developer tools
  4. Stops a running localix-loop session and leaves the best result in the working tree

    • Open source
    • 186 GitHub stars
    • Developer tools
  5. Applies one tokendoctor audit fix to settings after a dry-run preview and confirmation

    • Open source
    • 186 GitHub stars
    • Developer tools
  6. Opens a local HTML dashboard showing where your Claude Code tokens were spent

    • Open source
    • 186 GitHub stars
    • Developer tools