context-clean-up
v1.0.7Use when: prompt context is bloating (slow replies, rising cost, noisy transcripts) and you want a ranked offender list + reversible plan. Don't use when: yo...
⭐ 7· 2.3k·6 current·8 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description (context-clean-up, audit-only) match the included script and instructions: the tool locates large session items and workspace bootstrap files. Required binary (python3) and the script's behavior are proportional to the stated purpose.
Instruction Scope
SKILL.md is explicit about being audit-only and forbids automatic deletions and use of exec/read tools by the agent. The bundled script reads local session JSONL files and workspace bootstrap files (default ~/.openclaw and current workspace) — this is necessary to find prompt bloat but does access potentially sensitive local transcripts. The skill asks the user to run the script locally and paste results rather than having the agent read files itself, which reduces risk.
Install Mechanism
No install spec — instruction-only with a small, dependency-free Python script. No third-party downloads or archive extraction; only python3 is required.
Credentials
No credentials or secret environment variables requested. The script honors OPENCLAW_STATE_DIR if present (reasonable for locating session files). The scope of environment access is narrow and justifiable.
Persistence & Privilege
Skill is not always-on (always=false) and has disable-model-invocation=true, so it cannot be autonomously invoked by the model; it does not modify other skills or system-wide configs.
Assessment
This skill is an audit helper and is coherent with its stated purpose, but be aware it reads local OpenClaw session transcripts and workspace bootstrap files (e.g., ~/.openclaw/agents/main/sessions/*.jsonl and AGENTS.md, MEMORY.md, etc.). Only run the bundled script on machines you trust, inspect the produced JSON/report before sharing it externally, and avoid posting raw transcripts. The skill will not make changes automatically — follow the recommended rollback and verification steps when applying any fixes. If you want extra caution, run the script in an isolated environment or review the script source (included) before running.Like a lobster shell, security has layers — review code before you run it.
latestvk971gtpq012d2hvqp06chqkwz182grgm
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🧹 Clawdis
Binspython3
