LLMCOM Prompt Compression
/install llmcom
LLMCOM Prompt Compression
Self-contained prompt compression tool. No installation required - just read this skill and apply the compression rules.
Compression Rules
-
Remove filler words: the, a, an, is, are, with, of, to, in, on, at, and, for, that, this
-
Abbreviate terms:
- refactor -> refac
- review -> rev
- function -> func
- security -> sec
- performance -> perf
- module -> mod
- component -> comp
- authentication -> auth
- implementation -> impl
-
Output format for Claude Code: agent[task]|scope|focus|action|context|constraints
Example
Input: "Refactor the authentication module to improve type security"
Output: agent[refac]|mod|sec|review|@src|strict
Stats: 11 -> 6 tokens (45% reduction)
How to Use
Apply these rules manually when writing prompts for Claude Code CLI or Cursor agent.
- Identify task type: refactor, review, fix, test, audit
- Remove filler words
- Abbreviate key terms
- Format as pipe-separated values
Quick Reference
| Task | Format |
|---|---|
| Refactor | agent[refac] |
| Security audit | agent[audit] |
| Bug fix | agent[fix] |
| Test coverage | agent[test] |
Integration
Use before sending prompts to:
- Claude Code CLI (gent command)
- Cursor agent
- Any LLM API to reduce token costs\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install llmcom - After installation, invoke the skill by name or use
/llmcom - Provide required inputs per the skill's parameter spec and get structured output
What is LLMCOM Prompt Compression?
Compress prompts for Claude Code and Cursor CLI. Reduces tokens by removing filler words and abbreviating terms. Self-contained, no external dependencies req... It is an AI Agent Skill for Claude Code / OpenClaw, with 104 downloads so far.
How do I install LLMCOM Prompt Compression?
Run "/install llmcom" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is LLMCOM Prompt Compression free?
Yes, LLMCOM Prompt Compression is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does LLMCOM Prompt Compression support?
LLMCOM Prompt Compression is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created LLMCOM Prompt Compression?
It is built and maintained by Shalinda Jayasinghe (@shalinda-j); the current version is v1.0.3.