SKILLEMALL.ai

BB collect-session

Install and configure the collect-session hook for OpenClaw. Automatically captures session telemetry (turns, tool calls, model usage, cost) and generates a named Markdown summary whenever /new or /reset is issued. Use when: (1) setting up session collection for the first time, (2) configuring the output directory or LiteLLM credentials, (3) running a backfill sweep of uncollected sessions, (4) troubleshooting the /new pre-hook not firing. Requires LiteLLM running locally for cost data and LLM-powered session naming/summarization.

ClawHub Agent Skills author: Paul Lacey v1.0.0 MIT-0 4 files body ≈ 1 155 tokens Open the sourceclawhub.ai analyzed 2 d ago

As a process B 78/100 · Nearly there — weak spots: running it twice

GeneratorInfrastructureAI and agentsWriting and documentstype and topics are labelled automatically from the skill text
JSON
Technical rating
B
88/100
safety, quality, tests
Safety 60%
95
Quality 40%
78
Run on models
none yet
Process rating
B
78/100
Nearly there
Running it twice w 4
30
Tools and files w 18
60
Result and completion w 14
60
the three weakest of ten parameters · all ten

What is at stake

Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.

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

    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
    • medium Exfiltration net-redirectable-api-key scripts/collect-session.mjs:45
      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

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

    Against the Agent Skills spec

    • warning frontmatter-yaml SKILL.md: the frontmatter is not valid YAML (YAML parse error: Nested mappings are not allowed in compact mappings at line 2, column 14: description: Install and configure the collect-session hook for OpenClaw. Autom… ^ ); fields were read line by line. The usual cause is a colon inside an unquoted value

    Process rating: all ten parameters 78/100

    • 30Running it twice. 2 mutating operations with no state check
    • 60Tools and files. Uses tools (web, node) that frontmatter does not declare
    • 60Result and completion. Output format stated, no completion criterion
    • 70When it triggers. States when to use, but not when not to
    • 70Inputs and preconditions. Inputs and preconditions are listed
    • 100Steps. 9 steps
    • 100Failures and branches. 1 branches, has a failure section
    • 100Consistency. Name and required fields are in place
    • 100Execution cost. Instruction body is 1155 tokens
    • 100Progress reporting. Reports progress
    • low The response is described with custom markup (5 tags): a typed call is more reliable

    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)
    • -2localhost URLs: will not work for another user
    • +1No license
    • +2Single-language instructions
    • +3Description length 536: enough signal without eating the budget
    • +4Structure: 12 headings
    • +3Step-by-step instructions: 9 items
    • +3Output format is stated explicitly
    • +4Has examples (7 code blocks)
    • +3All 2 scripts are documented

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

    External checks

    ClawHub: suspicious
    This skill appears to be a session-memory collector that intentionally stores and summarizes conversations, but its retention and LLM data-sharing implications need careful review before installation.
    LLM: suspicious (medium) · VirusTotal: · 29 May 2026