SKILLEMALL.ai

CD 大模型token成本节约

大模型 Token 成本节约工具。在请求到达大模型之前自动压缩 prompt 和上下文,减少 60-95% 的 token 消耗,直接降低 API 成本。支持 Claude/OpenAI/Gemini 等主流模型,提供代理模式、CLI 包装、Python SDK 和 MCP Server 四种接入方式。内置一键安装脚本、企业内网适配方案、压缩效果对比报告,以及可选的数据上报功能(可随时关闭,首次使用引导用户选择)。基于开源项目 headroom(https://github.com/chopratejas/headroom,MIT License)封装,已注明来源与许可证。

Not recommendedcritical or high security findings
ClawHub Agent Skills author: 桂皮 v1.6.0 MIT-0 10 files · 1 script body ≈ 3 277 tokens Open the sourceclawhub.ai analyzed 2 d ago

大模型 Token 成本节约工具。在请求到达大模型之前自动压缩 prompt 和上下文,减少 60-95% 的 token 消耗,直接降低 API 成本。支持 Claude/OpenAI/Gemini 等主流模型,提供代理模式、CLI 包装、Python SDK 和 MCP Server…

As a process D 41/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions

IntegrationGitHubAI and agentsSoftware developmenttype and topics are labelled automatically from the skill text
JSON
Technical rating
C
61/100
safety, quality, tests
Safety 60%
57
Quality 40%
68
Run on models
none yet
Process rating
D
41/100
Unfinished process
Result and completion w 14
0
Inputs and preconditions w 11
0
Failures and branches w 10
0
the three weakest of ten parameters · all ten

What is at stake

The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.

Dangerous commands
If you install

The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.

For the author

Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.

Exfiltration medium severity

Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.

If you install

The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".

For the author

If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.

How to improve

  1. Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
  2. Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 5

  • high Dangerous commands cmd-pipe-to-shell SKILL.md:330
    Downloads and executes remote code from an unrecognised host (pipe to shell)
    bash <(curl -sSL https://raw.githubusercontent.com/guipi888/workbuddy-llm-token-compressor/master/scripts/install_and_verify.sh)
  • high Dangerous commands cmd-pipe-to-shell SKILL.md:402
    Downloads and executes remote code from an unrecognised host (pipe to shell)
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh && rustup default stable
Medium and low: 3
  • medium Exfiltration net-redirectable-api-key scripts/headroom_upload.py:41
    Helper sends the API key to a host configured by an environment variable — the key can be redirected to another server
    API key + configurable base URL from environment
  • low Dangerous commands cmd-pipe-to-shell-known-host scripts/install_and_verify.sh:3
    Pipe-to-shell installer from a well-known host (still executes remote code) (code comment)
    # 用法:curl -sSL https://raw.githubusercontent.com/guipi888/workbuddy-llm-token-compressor/master/scripts/install_and_verify.sh | bash
    comment
  • low Secrets in code secret-password-literal SKILL.md:264
    Hard-coded password / key literal (may be an example) (quoted — discussed, not commanded)
    -H "X-API-Key: opc_user_你的40位hex" \
    quoted

Files scanned: 10. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning name-format name should be kebab-case (lowercase letters, digits, hyphens)
  • warning description-no-when description does not say WHEN to use the skill (no "use when")
  • note frontmatter-key unknown frontmatter key "slug"
  • note frontmatter-key unknown frontmatter key "displayName"
  • note frontmatter-key unknown frontmatter key "xiaping_trigger"
  • note frontmatter-key unknown frontmatter key "xiaping_category"
  • note frontmatter-key unknown frontmatter key "xiaping_tags"
  • note frontmatter-key unknown frontmatter key "agent_created"

Process rating: all ten parameters 41/100

  • 0Result and completion. Does not say what the result is
  • 0Inputs and preconditions. Does not say what the process needs to start
  • 0Failures and branches. Linear process with no failure handling
  • 0Progress reporting. Says nothing while it works
  • 20When it triggers. No condition that starts the skill
  • 40Consistency. Frontmatter name (大模型token成本节约) differs from the folder (llm-token-compressor)
  • 60Tools and files. Uses tools (bash, python) that frontmatter does not declare
  • 100Steps. 90 steps
  • 100Execution cost. Instruction body is 3277 tokens
  • 100Running it twice. No mutating operations
  • low 20 top-level sections: this looks like several domains in one skill

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • +3Output format is not stated: the model decides each time
  • -2localhost URLs: will not work for another user
  • -222 emoji in the instructions: noise for the model
  • +2Single-language instructions
  • +3Description length 290: enough signal without eating the budget
  • +4Structure: 50 headings
  • +3Step-by-step instructions: 90 items
  • +4Has examples (20 code blocks)
  • +4Reference files are cited in the instructions (1 of 2)
  • +3All 4 scripts are documented
  • +1License stated

Quality base 70; lint remarks subtract, signals add up to 100. Result: 68.

External checks

ClawHub: suspicious
The skill is coherent as a token-compression helper, but its optional telemetry and credential persistence need user review before installation.
LLM: suspicious (medium) · VirusTotal: · 23 Jun 2026