SKILLEMALL.ai

AC xiaoyaoclaw-context-budget

OpenClaw context check / context optimization (Context Budget). Core goal = context optimization: reads the models currently enabled in this installation, reads each model's published context window from its vendor's official source, and proposes a window = 60% of the vendor spec. It writes nothing until the user confirms; then it patches only the window field and reports the result. This skill never runs automatically and creates no scheduled jobs. Use ONLY when the user explicitly asks, with one of these exact intents: 上下文检查 / 上下文优化 / 检查一下模型上下文 / 把上下文窗口配一下 / 设置上下文窗口, or in English: context window check, configure context window, context optimization. Do NOT activate on generic talk about context, memory, prompts, or token usage. 中文:按「厂商标称窗口 × 60%」设置已启用模型的上下文窗口;流程 = 检测(只读)→ 决策(用户回一个数字)→ 执行(确认后写入)。 不做:maxTokens 等其它参数、压缩阈值(保持系统默认)、未在用模型的默认配置、自动/定时运行、修改历史与审计留痕。

ClawHub Agent Skills author: dtsola v1.0.6 MIT-0 7 files body ≈ 1 576 tokens Open the sourceclawhub.ai analyzed 25 h ago

OpenClaw context check / context optimization (Context Budget).

As a process C 64/100 · Has gaps — weak spots: result and completion, inputs and preconditions, progress reporting

GeneratorAI and agentsData and analyticstype and topics are labelled automatically from the skill text
JSON
Technical rating
A
90/100
safety, quality, tests
Safety 60%
98
Quality 40%
78
Run on models
none yet
Process rating
C
64/100
Has gaps
Result and completion w 14
0
Inputs and preconditions w 11
0
Progress reporting w 2
0
the three weakest of ten parameters · all ten

How to improve

    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 · 2

    ✓ No critical or high findings

    Medium and low: 2
    • low Secrets in code secret-high-entropy-token README.en.md:15
      High-entropy token-like string (may be an id, hash or a credential)
      [![ClawHub downloads](https://img.shields.io/badge/dynamic/json?url=…&query=…&label=…&colo
    • low Secrets in code secret-high-entropy-token README.md:15
      High-entropy token-like string (may be an id, hash or a credential)
      [![ClawHub downloads](https://img.shields.io/badge/dynamic/json?url=…&query=…&label=…&colo

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

    Against the Agent Skills spec

    ✓ No remarks against the Agent Skills spec

    Process rating: all ten parameters 64/100

    • 0Result and completion. Does not say what the result is
    • 0Inputs and preconditions. Does not say what the process needs to start
    • 0Progress reporting. Says nothing while it works
    • 50Failures and branches. 0 branches, has a failure section
    • 70When it triggers. States when to use, but not when not to
    • 100Tools and files. No external tools needed
    • 100Steps. 36 steps
    • 100Consistency. Name and required fields are in place
    • 100Execution cost. Instruction body is 1576 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

    • +5Description has no quoted example phrases that should trigger the skill
    • +4Description does not say when NOT to use the skill (false activations)
    • +3Description length 871: 120–800 characters recommended
    • +3Output format is not stated: the model decides each time
    • -41 reference files, but SKILL.md never points to them: the model will not open them
    • +2Single-language instructions
    • +4Structure: 13 headings
    • +3Step-by-step instructions: 36 items
    • +4Has examples (2 code blocks)
    • +1License stated

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

    External checks

    ClawHub: clean
    This skill is a disclosed OpenClaw configuration helper that only changes model context-window settings after user confirmation.
    LLM: benign (high) · VirusTotal: · 14 Sept 2026