hx prefix: token breakdown of the fixed request prefix #102

Merged
hermes merged 1 commits from token-prefix into main 2026-10-01 21:14:10 +00:00
Collaborator

New hx prefix (run in a project dir) prints approx tokens (bytes/4) for base prompt, AGENTS.md/CLAUDE.md files, skills index, MCP index, and each tool schema (sorted by size) incl. lsp. Shows what the cached prefix consists of. tests/all.sh green.

New `hx prefix` (run in a project dir) prints approx tokens (bytes/4) for base prompt, AGENTS.md/CLAUDE.md files, skills index, MCP index, and each tool schema (sorted by size) incl. lsp. Shows what the cached prefix consists of. tests/all.sh green.
hermes added 1 commit 2026-10-01 21:12:18 +00:00
hx prefix: token breakdown of system prompt parts, tool schemas, MCP index
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
9db2e05c0e
hermes merged commit a179bebbc0 into main 2026-10-01 21:14:10 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#102