Lobster Doctor
v2.1.1🦞 龙虾医生 — Workspace 健康管家。体检+清理+技能瘦身+Memory归档。说句话就能用。
⭐ 1· 104·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
Name/description (workspace health, cleaning, skill slimming, memory archive, cron audit) align with the provided code: scripts scan .openclaw workspace, sessions, skills directories, estimate token usage, generate reports, and implement a 'slim' operation that edits SKILL.md files. No unrelated credentials, binaries, or network services are required for core functionality.
Instruction Scope
SKILL.md promises preview-first, backups, and local-only operation. The code implements those behaviours (backup dir, preview/dry-run modes). However the instructions do not explicitly enumerate every path the code will read/modify: agent sessions under ~/.openclaw/agents, openclaw.json, skills directories (including a global node_modules path), and SKILL.md files will be parsed and (if apply chosen) modified. The weekly report code checks channels config and contains a Feishu helper stub (it currently returns False and avoids sending). Users should expect the skill to read potentially sensitive session files and to edit other skills' frontmatter when applying slimming.
Install Mechanism
No install spec is present; the package is instruction‑only in the registry metadata and relies on local Python (scripts are included). There are no downloads from external URLs or archive extraction steps. SKILL.md shows a clawhub install command, but no installer script is provided in the package.
Credentials
The skill requests no environment variables or credentials. It reads local config files (e.g., ~/.openclaw/openclaw.json and cron/jobs.json) which is coherent with generating reports and detecting enabled channels. No secret-taking environment variables are required by the code.
Persistence & Privilege
always:false (default). The skill can modify other skills' SKILL.md files (skill_slim.py 'apply' mode) and writes backups into a workspace .cleanup-backup directory. This is consistent with its purpose (slimming and cleanup) but grants it the ability to change other skills' metadata on disk — users should be aware and prefer dry-run/preview and check backups before applying.
Assessment
This package appears to implement what it says: local workspace auditing, safe cleanup (with backups), and a tool to shorten SKILL.md descriptions. Before using: 1) Run in report/dry-run mode only; do not run 'apply' until you've reviewed diffs. 2) Verify the backup folder (.cleanup-backup) is created and inspect backups. 3) Be aware it reads session files (~/.openclaw/agents/*/sessions/*.jsonl) which may contain chat history and sensitive content; if you have highly sensitive sessions, exclude or move them before running. 4) The slim operation can edit SKILL.md for many skills including globally installed ones (it scans an npm node_modules path); ensure you want those edits and have permission to restore from backups. 5) The weekly report contains a Feishu push helper stub that currently does not send; if that is later enabled, double-check channel configs. If you want lower risk: inspect the scripts locally, run tests (skill_slim_test.py) and limit the SKILL_DIRS before applying changes.Like a lobster shell, security has layers — review code before you run it.
cleanupvk973jb4t6g2r64qs2h1e3pkc9s839zfchealthvk973jb4t6g2r64qs2h1e3pkc9s839zfclatestvk9730pff73tst2z0fftrtwgyv183j0wroptimizationvk973jb4t6g2r64qs2h1e3pkc9s839zfcskill-managementvk973jb4t6g2r64qs2h1e3pkc9s839zfctoken-savingvk973jb4t6g2r64qs2h1e3pkc9s839zfc
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
