llmcom
Compress prompts for Claude Code and Cursor CLI. Reduces tokens by removing filler words and abbreviating terms. Self-contained, no external dependencies required.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- llmcom
- description
- Compress prompts for Claude Code and Cursor CLI. Reduces tokens by removing filler words and abbreviating terms. Self-contained, no external dependencies required.
03 SKILL.md 正文
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
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.