asclaude-compact
v1.0.0Manage AI conversation memory with layered compression, archiving chats as JSONL, summarizing key info in markdown, and cleaning long outputs locally without...
⭐ 0· 33·0 current·0 all-time
bySherman Schulist@miaoxingjun
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description describe layered compression, JSONL archiving, and markdown summaries; the two main scripts implement exactly those behaviors (archive session .jsonl, create session-memory.md, and replace old tool results). No unrelated binaries, env vars, or network calls are requested.
Instruction Scope
SKILL.md tells the user to run the provided Python scripts; the scripts only read/write files under the user's home (~/.openclaw/agents/... and ~/.openclaw/workspace). There are no network endpoints or credential access. Notes: micro-compact.py collects 'tool_use' IDs from assistant messages but clears 'tool_result' blocks inside user messages — this may reflect a mismatch with some session schemas and could mean some tool results are not compacted as intended. Also, summary files include message previews (may contain sensitive content) and the scripts overwrite session files (though micro-compact creates a single .jsonl.backup in the same directory).
Install Mechanism
There is no install spec (instruction-only), and the repo contains plain Python scripts. No remote downloads, package installs, or archive extraction are performed by the skill itself.
Credentials
The skill requests no environment variables or credentials. It does access the user's home directory to read/write OpenClaw session and workspace files — this is proportional to the described function (local memory management).
Persistence & Privilege
always is false and the scripts do not modify other skills or global agent config. They persist artifacts in ~/.openclaw (archived-sessions, memory summaries) and create/overwrite a .jsonl.backup when saving — normal for local data-management tools.
Assessment
This skill appears to do what it says: local compression and archiving of OpenClaw session files. Before installing/running it, consider: 1) Back up your ~/.openclaw/sessions directory elsewhere — micro-compact overwrites session files (it does create a single .jsonl.backup but that may be overwritten on repeated runs). 2) Summaries (session-memory.md, daily -compact.md) include message previews and may contain sensitive data — store them securely or review the code to redact as needed. 3) The micro-compact logic has a probable schema mismatch (collects tool_use IDs from assistant messages but clears tool_result blocks inside user messages); test on non-critical sessions to confirm it behaves as you expect. 4) The tool runs entirely locally (no network/credentials), so install risk is low, but review the scripts or run them in a controlled environment if you have sensitive data.Like a lobster shell, security has layers — review code before you run it.
latestvk97ftrvvacrqwydjk572bs0tws848x3w
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
