Hermes Cost Audit logo

Hermes Cost Audit

Community
OnlyTerp
hermes-cost-audit

Audit Hermes token spend and propose cuts.

Overview

PublisherOnlyTerp
Repositoryhermes-optimization-guide
Skill namehermes-cost-audit
Stars
690
Forks
60
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by OnlyTerp on GitHub. Read the source before you install it.

Installation

Install the Hermes Cost Audit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/OnlyTerp/hermes-optimization-guide/tree/main/skills/hermes-cost-audit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OnlyTerp/hermes-optimization-guide.git /tmp/hermes-optimization-guide
mkdir -p .claude/skills
cp -r /tmp/hermes-optimization-guide/skills/hermes-cost-audit .claude/skills/hermes-cost-audit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hermes Cost Audit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hermes Cost Audit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hermes Cost Audit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Hermes Cost Audit

Find where this Hermes install spends tokens and propose the cuts with the best payoff, backed by measurements taken on this machine.

When to Use

  • The user asks why Hermes is expensive, where tokens go, or how to spend less.
  • As a weekly cron job that reports spend and new savings opportunities.

Procedure

Run every command with the terminal tool. Read, measure, and report. Do not change any setting until the user approves the specific change.

  1. Measure the fixed prefix that every model call carries, per surface actually in use:

    bash
    hermes tools --summary                      # which platforms have which toolsets
    hermes prompt-size --json                   # CLI
    hermes prompt-size --platform telegram --json   # repeat for each platform in use

    Record system prompt bytes, skills index bytes, tool schema bytes, and the three largest toolsets per platform.

  2. Measure real spend over time:

    bash
    hermes insights --days 7
    hermes insights --days 30
  3. Read the settings that drive cost. auto on an auxiliary task means the main model:

    bash
    hermes config get model
    hermes config get auxiliary.compression.model
    hermes config get auxiliary.title_generation.model
    hermes config get auxiliary.approval.model
    hermes config get auxiliary.background_review.model
    hermes config get delegation.model
    hermes config get cron.model
    hermes config get agent.disabled_toolsets
    hermes config get prompt_caching.cache_ttl
  4. Check for these patterns and estimate the saving of each from the step 1 numbers (roughly 4.2–4.5 bytes per token):

    PatternProposal
    Auxiliary tasks on auto while the main model is expensiveRoute compression, titles, approvals, and background review to a cheap model. Leave auxiliary.vision unset when the main model can see images: an explicit vision backend makes every image go through a text description.
    A toolset enabled on a platform that never uses it (for example browser or tts on a chat bot)hermes tools disable --platform <platform> <toolset>
    Heavy delegation with delegation.model unsetA cheaper model for subagents
    Several cron jobs with cron.model unsetA cheap default for unpinned cron jobs
    A large project context file where the user usually worksShorten it. Move detail into subdirectory files or skills.
    Long pauses between turns on a Claude model with cache_ttl: 5mConsider 1h (cache writes cost 2x, but pauses stop re-reading at full price)
  5. Report a table ordered by estimated impact: finding, current value, proposed value, estimated tokens saved per call (or per day), and the exact command. Ask which changes to apply.

  6. After approval, apply each change with hermes config set or hermes tools disable, then re-run step 1 and show the before and after.

Verification

  • hermes prompt-size shows fewer bytes after toolset changes.
  • hermes doctor reports no unresolvable auxiliary routes. An unresolvable route silently falls back to the main model and saves nothing.

Pitfalls

  • image_gen and computer_use are already deferred behind tool search by default. Disabling them does not shrink the prompt.
  • Model switches and tool changes break the prompt cache for the running session. Apply changes, then start a new session.
  • Don't propose capping agent.max_turns as a cost fix. It is unlimited by design, and loop guardrails already stop runaway loops in unattended runs.
  • Don't quote model prices from memory. Point the user at the provider's current pricing page.

Frequently asked questions

What does the Hermes Cost Audit AI skill do?

Audit Hermes token spend and propose cuts.

Why use Hermes Cost Audit on TypingMind?

Because you install it once and use it with any model. Hermes Cost Audit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hermes Cost Audit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/OnlyTerp/hermes-optimization-guide/tree/main/skills/hermes-cost-audit. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hermes Cost Audit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hermes Cost Audit?

As many as you like. As long as a model supports skills, you can use Hermes Cost Audit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hermes Cost Audit AI skill free?

Yes. It is published on GitHub by OnlyTerp under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇