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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install llmcom - 安装完成后,直接呼叫该 Skill 的名称或使用
/llmcom触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 104 次。
如何安装 LLMCOM Prompt Compression?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install llmcom」即可一键安装,无需额外配置。
LLMCOM Prompt Compression 是免费的吗?
是的,LLMCOM Prompt Compression 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
LLMCOM Prompt Compression 支持哪些平台?
LLMCOM Prompt Compression 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 LLMCOM Prompt Compression?
由 Shalinda Jayasinghe(@shalinda-j)开发并维护,当前版本 v1.0.3。