<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/sUg4AhHDS" -->

---
title: How I Saved 100M Tokens Per Month by Asking My AI Agent...
description: A self-hosted AI agent named Hermes had accumulated 404 installed 'skills' over time, but analysis of 62K messages across 1,728 sessions revealed 273 of them...
canonical: https://daily.dev/posts/sug4ahhds
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How I Saved 100M Tokens Per Month by Asking My AI Agent to Clean Up | daily.dev
og:description: A self-hosted AI agent named Hermes had accumulated 404 installed 'skills' over time, but analysis of 62K messages across 1,728 sessions revealed 273 of them...
og:url: https://daily.dev/posts/sug4ahhds
og:image: https://api.daily.dev/og/posts/sUg4AhHDS.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How I Saved 100M Tokens Per Month by Asking My AI Agent to Clean Up

**[TheCookingSenpai](https://daily.dev/sources/sckiwptqpsvwhavas0jvg)** · [@thecookingsenpai](https://daily.dev/thecookingsenpai) · 15 upvotes · 5 comments

## Summary

A self-hosted AI agent named Hermes had accumulated 404 installed 'skills' over time, but analysis of 62K messages across 1,728 sessions revealed 273 of them (68%) had never been loaded once. Pruning down to 141 active skills cut the per-turn system prompt skill index from roughly 11,000 to 3,900 tokens, saving about 96.7M tokens per month (~$41/month at blended cache rates). The bigger payoff described is context budget: a leaner skill index means less distraction and better decision quality for the agent, not just cost savings. The piece ends with a four-step recommendation for auditing, archiving, checking for discovery gaps, and measuring token impact in similar agent/plugin setups.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thecookingsenpai.substack.com/p/how-i-saved-100m-tokens-per-month>

## Community discussion

Top comments from developers on daily.dev.

**@agustinbarrientos** · 2 upvotes

> After each cleanup, I'd put retrieval-miss rate beside token savings, because even two useful files archived by mistake can outweigh a lot of saved context

**@trevorsuna** · 1 upvotes

> The context-quality gain is more interesting than the dollar saving. A skill that is never selected still taxes every turn if its description sits in the index; usage telemetry plus an archive-and-restore path seems like a sensible way to keep discovery lean without deleting useful work.

**@bits\_and\_bytes** · 0 upvotes

> auditing the agent every week is the best option to increase its effectiveness

## Similar posts on daily.dev

- [AI Agent Token Costs: How to Cut Your Bill by 60-80%](https://daily.dev/posts/ai-agent-token-costs-how-to-cut-your-bill-by-60-80--nglqddiuw) · Alex CloudStar · 1 upvotes · 0 comments
- [Stop Burning Your AI Limits: A Token Diet for Long Coding Days](https://daily.dev/posts/stop-burning-your-ai-limits-a-token-diet-for-long-coding-days-atlnqpbej) · ITNEXT · 1 upvotes · 0 comments
- [Agentic AI: How to Save on Tokens](https://daily.dev/posts/agentic-ai-how-to-save-on-tokens-vjqsrml8b) · Towards Data Science · 2 upvotes · 0 comments
- [Why your AI pipeline costs 10x more after the demo](https://daily.dev/posts/why-your-ai-pipeline-costs-10x-more-after-the-demo-loavt2qiu) · The New Stack · 0 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#ai-agents](https://daily.dev/tags/ai-agents), [#context-engineering](https://daily.dev/tags/context-engineering)

[View this post on daily.dev](https://daily.dev/posts/sug4ahhds)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/sug4ahhds","headline":"How I Saved 100M Tokens Per Month by Asking My AI Agent to Clean Up","text":"Shared: How I Saved 100M Tokens Per Month by Asking My AI Agent to Clean Up","url":"https://daily.dev/posts/sug4ahhds","datePublished":"2026-08-30T06:48:51.111Z","dateModified":"2026-08-30T06:50:01.668Z","author":{"@type":"Person","name":"TheCookingSenpai","url":"https://daily.dev/thecookingsenpai","image":"https://media.daily.dev/image/upload/s--ffrIwc1G--/f_auto/v1757426086/avatars/avatar_ScKiWPtqpsvwHAvAS0jvG?_a=BAMClqZW0","description":"Coding since VB6, I would do it even if it wasn't my job. I founded Kynesys Labs with two friends. ","worksFor":{"@type":"Organization","name":"KyneSys Labs","logo":"https://res.cloudinary.com/daily-now/image/upload/s--CmeIShRq--/f_auto/v1725743668/companies/kynesys"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":15350}},"image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":15},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":5}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/VlQfwRSEG"},"comment":[{"@type":"Comment","text":"After each cleanup, I’d put retrieval-miss rate beside token savings, because even two useful files archived by mistake can outweigh a lot of saved context","datePublished":"2026-09-01T00:06:53.033Z","url":"https://daily.dev/posts/sUg4AhHDS#c-ZDcmREFvl","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"The context-quality gain is more interesting than the dollar saving. A skill that is never selected still taxes every turn if its description sits in the index; usage telemetry plus an archive-and-restore path seems like a sensible way to keep discovery lean without deleting useful work.","datePublished":"2026-09-01T02:45:13.925Z","url":"https://daily.dev/posts/sUg4AhHDS#c-V2JNNYJcM","author":{"@type":"Person","name":"Trevor Suna","url":"https://daily.dev/trevorsuna","image":"https://media.daily.dev/image/upload/s--dZ7gXxpp--/f_auto/v1784081551/avatars/avatar_EMoP47rpuw8DNjhp6R1b6?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"auditing the agent every week is the best option to increase its effectiveness","datePublished":"2026-09-04T01:35:48.123Z","url":"https://daily.dev/posts/sUg4AhHDS#c-p9bkYdUP4","author":{"@type":"Person","name":"bits_007","url":"https://daily.dev/bits_and_bytes","image":"https://avatars.githubusercontent.com/u/182549945?v=4"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/sckiwptqpsvwhavas0jvg","name":"TheCookingSenpai"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"TheCookingSenpai","item":"https://daily.dev/sources/sckiwptqpsvwhavas0jvg"},{"@type":"ListItem","position":3,"name":"How I Saved 100M Tokens Per Month by Asking My AI Agent to Clean Up"}]}
```

