Compress prompt
Use when about to write a long prompt, include verbose text in context, or when any block of text needs to be made token-efficient before use. Delegates compression to a local model via the LiteLLM proxy (ollama-agent MCP).From its SKILL.md
npx -y skills add slogsdon/skills-meta-utils --skill compress-promptAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 379 tokens by cl100k_base, as published. Nobody here has run it
Skill: compress-prompt
Compress verbose text into a token-efficient version using a local model via the LiteLLM proxy (default alias fast-general → gemma4:e4b-mlx). Preserves meaning and intent; strips filler, redundancy, and padding.
When to Use
- Before writing a long prompt to the user
- Before including verbose content in context (notes, docs, logs)
- When a block of text is longer than it needs to be
Steps
- Identify the text to compress (from user message, clipboard, or current context)
- Call
mcp__ollama-agent__qwen_start(standalone) ormcp__plugin_shane-config_ollama-agent__qwen_start(plugin — use whichever is available) with:task:"Compress the following into a token-efficient version. Preserve all meaning, intent, and key details. Remove filler words, redundancy, and padding. Do not summarize — compress. Output only the compressed text, no commentary.\n\n[TEXT TO COMPRESS]"- No
skillorcontextfields needed
- Loop: if
statusis"running", callmcp__ollama-agent__qwen_continue(ormcp__plugin_shane-config_ollama-agent__qwen_continuein plugin) withsession_id; repeat untilstatusis"done"or"error" - Return the model's
resultas the compressed output
Notes
- Compress ≠ summarize. Summarizing loses detail. Compressing preserves it in fewer tokens.
- If the input is already tight, say so rather than padding the output.
- Works on prompts, notes, documentation, session logs, or any prose.