Skills & prompts/GitHub/Skill
token-saver
by jxy162·Last observed 2026-10-27
★ 0 stars⑂ 0 forks
A cross-harness skill package with small scripts for token estimation, text compression, context trimming, cache-prefix planning, and usage reports. The workflow measures inputs, compresses or trims selected content to a budget, and reports usage.
Useful for
- Estimate prompt token use and trim context before sending it to a model.
Requirements & limitations
- Compression is lossy; the source advises against compressing schemas, tool definitions, exact IDs, or values.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.