AI & Integration v1.0.3

llmcom

Compress prompts for Claude Code and Cursor CLI. Reduces tokens by removing filler words and abbreviating terms....

shalinda 更新于 2026-04-15 1 浏览
下载 SKILL

技能说明

Compress prompts for Claude Code and Cursor CLI. Reduces tokens by removing filler words and abbreviating terms. Self-contained, no external dependencies required.

使用场景

Self-contained prompt compression tool. No installation required - just read this skill and apply the compression rules.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/llmcom
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
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.
---

# LLMCOM Prompt Compression

Self-contained prompt compression tool. No installation required - just read this skill and apply the compression rules.

## Compression Rules

1. **Remove filler words**: the, a, an, is, are, with, of, to, in, on, at, and, for, that, this
2. **Abbreviate terms**:
   - refactor -> refac
   - review -> rev
   - function -> func
   - security -> sec
   - performance -> perf
   - module -> mod
   - component -> comp
   - authentication -> auth
   - implementation -> impl

3. **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.

1. Identify task type: refactor, review, fix, test, audit
2. Remove filler words
3. Abbreviate key terms
4. Format as pipe-separated values

## Quick Reference

| Task | Format |
|------|--------|
| Refactor | agent[refac]|scope|focus|review|@path|constraints |
| Security audit | agent[audit]|scope|sec|report|@path|high |
| Bug fix | agent[fix]|scope|error|debug|@path|fallback |
| Test coverage | agent[test]|scope|cov|jest|@path|edge-cases |

## Integration

Use before sending prompts to:
- Claude Code CLI (gent command)
- Cursor agent
- Any LLM API to reduce token costs

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。