SKILLEMALL.ai

AF context-slimming

Diagnose and optimize an OpenClaw agent workspace's injected context files (AGENTS.md, SOUL.md, USER.md, MEMORY.md, TOOLS.md, HEARTBEAT.md, etc.) to reduce per-round token consumption. Use when: user asks to reduce token usage, slim down workspace, optimize system prompt, audit context files, or when workspace *.md files have grown large and repetitive. Triggers on: "token 瘦身", "context slimming", "压缩上下文", "优化注入", "workspace 瘦身", "reduce injected tokens", "context audit".

ClawHub Agent Skills author: Gong Cheng v1.0.2 MIT-0 5 files body ≈ 766 tokens Open the sourceclawhub.ai analyzed 3 d ago

As a process F 41/100 · Will not run — References files that are not bundled: references/slimming-checklist.md

AnalyzerAI and agentstype and topics are labelled automatically from the skill text
JSON
Technical rating
A
94/100
safety, quality, tests
Safety 60%
99
Quality 40%
87
Run on models
none yet
Process rating
F
41/100
Will not run
References files that are not bundled: references/slimming-checklist.md
Tools and files w 18
0
Result and completion w 14
0
Inputs and preconditions w 11
0
the three weakest of ten parameters · all ten

How to improve

  1. The text references files that are not there: add them or drop the references.
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 · 1

✓ No critical or high findings

Medium and low: 1

✓ Guard found no suspicious behaviour. 1 matches are attack strings quoted in this security skill's own documentation.

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

Against the Agent Skills spec

  • warning missing-ref reference to a missing file: references/slimming-checklist.md

Process rating: all ten parameters 41/100

Will not run. References files that are not bundled: references/slimming-checklist.md
  • 0Tools and files. 1 referenced file(s) missing: references/slimming-checklist.md
  • 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
  • 70When it triggers. States when to use, but not when not to
  • 100Steps. 16 steps
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 766 tokens
  • 100Running it twice. No mutating operations

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

  • +4Description does not say when NOT to use the skill (false activations)
  • +3Output format is not stated: the model decides each time
  • +1No license
  • +2Single-language instructions
  • +5Description quotes 5 example trigger phrases
  • +3Description length 476: enough signal without eating the budget
  • +4Structure: 15 headings
  • +3Step-by-step instructions: 16 items
  • +4Has examples (5 code blocks)
  • +4Reference files are cited in the instructions (3 of 3)

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

External checks

ClawHub: suspicious
This markdown-only skill is coherent, but it asks agents to rewrite and commit persistent workspace context files that can shape future agent behavior.
LLM: suspicious (high) · VirusTotal: · 29 May 2026