Context Compression
Analysis
This skill is mostly aligned with context compression, but it persistently rewrites session history and saves conversation-derived content into long-term memory, which deserves careful review before installation.
Findings (5)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
*/10 * * * * ~/.openclaw/workspace/skills/context-compression/truncate-sessions-safe.sh ... Reads `.jsonl` session files under `~/.openclaw/agents/*/sessions/`, trims each file
The documented cron workflow repeatedly trims session files across the OpenClaw agents session tree.
"version": "3.13.1"
The bundled metadata version differs from the supplied registry/SKILL version 3.13.3, and the registry source is listed as unknown.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
openclaw agent --agent main --message "$prompt"
The optional enhanced fact identification runs through the user's main OpenClaw agent profile, which may use the user's normal provider configuration.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
result=$(openclaw agent --agent main --message "$prompt" --timeout $FACTS_TIMEOUT 2>&1) ... echo "$facts" >> "$MEMORY_FILE"
The script sends session-derived content to the main OpenClaw agent for fact extraction and then appends the result to MEMORY.md, making model output from prior conversation content persistent.
TEMP_DIR="/tmp/openclaw-fact-identification" ... cp "$content_file" "$pending_file"
On failed AI fact extraction, the script copies session-derived content into a persistent /tmp pending file outside the OpenClaw workspace.
