Hermes Agent Archive / Commands

hermes prompt-size

From Official Docs · September 24, 2026

Show a byte breakdown of the system prompt + tool schemas (skills index, memory, profile). Runs offline.

Reports the fixed prompt budget for a fresh session — what gets sent on every API call before any conversation content. Useful when a downstream adapter or proxy has a tighter prompt budget than the model's context window, or when you want to see which block (skills index, memory, profile) dominates.

It builds the same system prompt the agent would, then breaks it down:

Runs entirely offline — no API call, works with no credentials configured.

The skills index and tool schemas scale with how many skills and tools you have enabled. To shrink the prompt, disable unused toolsets (hermes tools) or uninstall skills you don't need (hermes skills). Context files (AGENTS.md, .cursorrules) in your current directory also count toward the total.

From the official Hermes Agent CLI reference.

hermes prompt-size