llm-agent-token-audit

Audit LLM agent prompts and workspace injections to quantify and prune token waste.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dragonkid/dotfiles --skill llm-agent-token-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-agent-token-audit
Source: https://github.com/dragonkid/dotfiles/tree/main/claude/skills/learned/llm-agent-token-audit
Command: npx skills add https://github.com/dragonkid/dotfiles --skill llm-agent-token-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams reduce fixed per-call token overhead by auditing LLM agent prompts and workspace files to eliminate bloated prompts, unused assets, and unnecessary components.

Core Features & Use Cases

  • Systematic prompt overhead audit: quantify token usage and identify waste such as dead files, placeholder templates, and redundant content.
  • Framework-ready recommendations: prioritize deletions and config changes to minimize prompt size while preserving essential behavior.
  • Use Case: When adding new skills/tools in an agent, run the audit to strip excess workspace files and optimize prompts to improve latency and cost.

Quick Start

Run the audit workflow on your current project to prune prompt components while preserving essential behavior.

Frequently Asked Questions about llm-agent-token-audit

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

FAQPage Schema
How do I reduce token overhead in LLM agent prompts?

To reduce token overhead, audit your LLM agent prompts and workspace injections to identify and prune bloated content. This skill guides you to quantify usage, classify waste like dead files, and safely remove unnecessary components to minimize costs.

What is the best way to audit workspace files for prompt bloat?

The best way to audit workspace files for prompt bloat is to systematically quantify token usage and categorize waste types. This process identifies dead files, placeholder templates, and redundant content to prioritize safe deletions while preserving essential agent behavior.

When should I run a prompt token audit on my agent framework?

You should run a prompt token audit when adding new skills or tools to an agent framework. Running the audit at this stage helps strip excess workspace files and optimize prompts to improve latency and reduce fixed per-call token costs.

Can I prune unnecessary components from agent prompts without breaking functionality?

Yes, you can safely prune unnecessary components from agent prompts without breaking functionality. The audit provides framework-ready recommendations that prioritize deletions and configuration changes to minimize prompt size while preserving essential behavior.

What types of waste are identified during an LLM token audit?

An LLM token audit identifies waste types such as dead files, placeholder templates, and redundant content. By classifying these unnecessary assets within workspace injections, you can systematically eliminate bloated prompts and reduce fixed per-call token overhead.

Why does adding new skills to an agent increase token costs?

Adding new skills increases token costs because it often introduces excess workspace files and bloated prompts. Auditing the agent framework after these additions helps quantify the new prompt overhead and safely prune unnecessary content to maintain lean operations.