Agent skill

Fleet Auditor

by alexgreensh in alexgreensh/token-optimizer

Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings.

Custom licenceAuto-check passedAgent Workflows

Install Fleet Auditor

skills CLI
$ npx skills add alexgreensh/token-optimizer --skill fleet-auditor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alexgreensh/token-optimizer fleet-auditor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alexgreensh/token-optimizer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fleet-auditor .claude/skills/fleet-auditor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fleet-auditor
GitHub stars
2.5k
Token cost
~1.5k tokens
SKILL.md length
475 words
Files
6 (incl. scripts, references)
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings.

  • Works in 6 steps: Initialize → Scan → Audit → …
  • Running several agent systems
  • SKILL.md covers Phase 0: Initialize, Phase 1: Scan, Phase 2: Audit and Phase 3: Present Findings, plus 5 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Fleet Auditor is an agent skill from alexgreensh/token-optimizer. Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings. Use when running several agent systems or suspecting idle heartbeats burn tokens.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/fleet-systems.md`, `references/report-template.md` and `references/waste-patterns.md`).

It sits in Agent Workflows. The repository describes itself as: Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.

When your agent uses it

  • Running several agent systems
  • Suspecting idle heartbeats burn tokens

Example prompts

  • “Use the fleet-auditor skill to audit token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings”
  • “/fleet-auditor”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Initialize
  2. Scan
  3. Audit
  4. Present Findings
  5. Dashboard (optional)
  6. Deep Dive (optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 723c19b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fleet Auditor loads about 1.5k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 51 tokens; SKILL.md has 475 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 475 words (~1,533 tokens).

“Token Optimizer's own skills (token-optimizer, token-coach, token-dashboard, fleet-auditor) are the measurement layer, so leave them out of every removal, archive, trimming, disabling or consolidation suggestion; deleting them to save a few hundred tokens defeats the audit.”

— opening of SKILL.md by alexgreensh, Custom licence
name
fleet-auditor

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts, references) in skills/fleet-auditor of alexgreensh/token-optimizer.

  • SKILL.md
  • references/fleet-systems.md
  • references/report-template.md
  • references/waste-patterns.md
  • scripts/fleet.py
  • scripts/shared.py

Open the folder on GitHubat commit 723c19b

Compare with similar skills

Fleet Auditor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fleet Auditor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fleet Auditor this skillalexgreensh/token-optimizer2.5k—~1.5kAutomated safety check: PassCustom licence
Claude Code Agent Developmentanthropics/claude-plugins-official38k7 repos~2.8kAutomated safety check: PassApache-2.0
Copilot Session Failure Analysisdotnet/maui23k—~3.4kAutomated safety check: PassMIT
Mem0 CLI Memory Commandsmem0ai/mem067k—~2kAutomated safety check: NotesApache-2.0
Create Agentvectorize-io/hindsight48k—~1.1kAutomated safety check: PassMIT
Google Antigravity SDKgoogle-antigravity/antigravity-sdk-python3.7k—~2.1kAutomated safety check: NotesApache-2.0

Similar skills

  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals.

    23k GitHub stars~3.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Adds, searches, lists, updates and deletes memories on the Mem0 platform from the terminal with the mem0 command, including a JSON mode built for agents.

    67k GitHub stars~2k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check: notes
  • Create Agent

    vectorize-io/hindsight

    Create a new Hindsight-powered subagent with long-term memory.

    48k GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Google Antigravity SDK

    google-antigravity/antigravity-sdk-python

    Design, implement, and debug autonomous AI agents and multi-agent systems using the Google Antigravity (AGY) SDK.

    3.7k GitHub stars~2.1k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check: notes
  • Yao Meta Skill

    yaojingang/yao-meta-skill

    Create, improve, or evaluate an existing skill from workflows, prompts, SOPs, scripts.

    2.7k GitHub stars~768 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed

More from alexgreensh/token-optimizer

  • Token Optimizer

    alexgreensh/token-optimizer

    Audits a Claude Code or Codex setup for context-window waste, fixes it with the user's approval, and measures the saving.

    2.5k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Resume Checkpoint

    alexgreensh/token-optimizer

    Pulls a prior session's checkpoint as fenced, scrubbed recovery context.

    2.5k GitHub stars~838 tokensUpdated today
    Auto-check passed
  • Token Coach

    alexgreensh/token-optimizer

    Coaches a token-efficient Claude Code or Codex setup from the user's own usage data.

    2.5k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Token Dashboard

    alexgreensh/token-optimizer

    Opens the Token Optimizer dashboard in the browser (context usage, quality, savings).

    2.5k GitHub stars~950 tokensUpdated today
    Auto-check passed
  • Token Optimizer

    alexgreensh/token-optimizer

    Audit your OpenClaw setup for token waste, context bloat, and cost optimization opportunities

    2.5k GitHub stars~481 tokensUpdated today
    Auto-check passed

Questions about Fleet Auditor

What does Fleet Auditor do?

Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings. Fleet Auditor is an agent skill from alexgreensh/token-optimizer. Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings.

When should I use Fleet Auditor?

Fleet Auditor fits situations like: running several agent systems; suspecting idle heartbeats burn tokens.

How do I install Fleet Auditor in Claude Code?

Run `npx skills add alexgreensh/token-optimizer --skill fleet-auditor -a claude-code`. Or copy the skill folder (skills/fleet-auditor in alexgreensh/token-optimizer) into .claude/skills/fleet-auditor in your project. Claude Code loads it when a task matches its description.

How do I install Fleet Auditor in Codex?

Run `npx skills add alexgreensh/token-optimizer --skill fleet-auditor -a codex`. Or copy the skill folder (skills/fleet-auditor in alexgreensh/token-optimizer) into .agents/skills/fleet-auditor in your project. Codex loads it when a task matches its description.

Can I use Fleet Auditor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alexgreensh/token-optimizer --skill fleet-auditor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fleet-auditor, .gemini/skills/fleet-auditor, .github/skills/fleet-auditor and .opencode/skills/fleet-auditor in your project.

What does Fleet Auditor need to run?

Going by SKILL.md and its folder, Fleet Auditor needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Fleet Auditor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fleet Auditor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Fleet Auditor use?

Fleet Auditor has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Fleet Auditor use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Fleet Auditor?

Skills that share tags, products or a category with Fleet Auditor: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Copilot Session Failure Analysis (dotnet/maui, 23k stars), Mem0 CLI Memory Commands (mem0ai/mem0, 67k stars) and Create Agent (vectorize-io/hindsight, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fleet Auditor?

alexgreensh (a GitHub user) maintains it in alexgreensh/token-optimizer, which has 2,534 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 10, 2026.

Source: alexgreensh/token-optimizer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.