← 返回
未分类 中文

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...
压缩提示词,去除冗余词并缩写术语以减少令牌;自包含,无需外部依赖。
shalinda-j shalinda-j 来源
未分类 clawhub v1.0.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 428
下载
💾 1
安装
1
版本
#autoclaw#claude-code#compression#cursor#latest#openclaw#opencode#prompt

概述

---

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
  1. 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

TaskFormat
--------------
Refactoragent[refac]scopefocusreview@pathconstraints
Security auditagent[audit]scopesecreport@pathhigh
Bug fixagent[fix]scopeerrordebug@pathfallback
Test coverageagent[test]scopecovjest@pathedge-cases

Integration

Use before sending prompts to:

  • Claude Code CLI (gent command)
  • Cursor agent
  • Any LLM API to reduce token costs

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-05-07 05:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,528 📥 583,124
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,450 📥 329,647
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 874 📥 350,979