ccc3po-session-cleaner
v1.0.2Safely clean OpenClaw old session files and rebuild sessions.json for Ubuntu ARM
⭐ 0· 20·0 current·0 all-time
byc-3po@ccc-3po
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
The name/description (session cleanup and rebuild) matches the actions in SKILL.md (count session files, delete old .jsonl files, run 'openclaw session rebuild', report sizes). Nothing in the skill requests unrelated credentials or system-wide access.
Instruction Scope
Instructions operate on /home/ubuntu/.openclaw/agents/main/sessions/ and delete *.jsonl files older than 3 days, then run 'openclaw session rebuild'. This is within the stated scope, but the path is hardcoded to /home/ubuntu (assumes that user account), there is no dry-run or backup step, and the SKILL.md does not declare that the 'openclaw' binary must exist. These are usability/safety notes rather than indicators of malicious intent.
Install Mechanism
No install spec and no code files — instruction-only skill. Nothing is downloaded or written to disk by an installer, which reduces risk.
Credentials
The skill requests no environment variables, no credentials, and no config paths beyond the single target directory it manipulates. That is proportionate to the task.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request permanent presence or attempt to modify other skills or system-wide settings.
Assessment
This skill appears to do exactly what it says: delete old OpenClaw session files in /home/ubuntu/.openclaw/agents/main/sessions/ and run a rebuild. Before running it: (1) confirm the target path (/home/ubuntu/...) is correct for your machine — the path is hardcoded; (2) ensure you have backups or are OK permanently deleting *.jsonl files older than 3 days; (3) verify the 'openclaw' CLI exists on the system (SKILL.md assumes it); and (4) if you want to be cautious, modify the find command to a dry-run (e.g., remove -delete and print filenames) or add safeguards (confirm file counts) before deletion.Like a lobster shell, security has layers — review code before you run it.
latestvk975df3az5zggsydk41ban6vtd847zey
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
