โ† Back to Skills Marketplace
masongmx

Lobster Doctor

by Masongmx ยท GitHub โ†— ยท v2.1.1 ยท MIT-0
cross-platform โœ“ Security Clean
166
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install lobster-doctor-skill-slim
Description
๐Ÿฆž ้พ™่™พๅŒป็”Ÿ โ€” Workspace ๅฅๅบท็ฎกๅฎถใ€‚ไฝ“ๆฃ€+ๆธ…็†+ๆŠ€่ƒฝ็˜ฆ่บซ+Memoryๅฝ’ๆกฃใ€‚่ฏดๅฅ่ฏๅฐฑ่ƒฝ็”จใ€‚
README (SKILL.md)

๐Ÿฆž ้พ™่™พๅŒป็”Ÿ

ไฝ ็š„ OpenClaw workspace ไผš่ถŠๆฅ่ถŠ่‡ƒ่‚ฟโ€”โ€”ไผš่ฏๅކๅฒๅ †็งฏใ€ไธดๆ—ถๆ–‡ไปถๅ †็งฏใ€ๆŠ€่ƒฝๆ่ฟฐ่†จ่ƒ€ใ€‚้พ™่™พๅŒป็”Ÿๅธฎไฝ ่‡ชๅŠจๆฒป็†ใ€‚

ๆ ธๅฟƒๅŠŸ่ƒฝ

ๅŠŸ่ƒฝ ไธ€ๅฅ่ฏ่งฆๅ‘
ไฝ“ๆฃ€่ฏŠๆ–ญ ใ€Œ็ป™้พ™่™พๅšไธชไฝ“ๆฃ€ใ€
ๅฎ‰ๅ…จๆธ…็† ใ€Œๅธฎๆˆ‘ๆธ…็†ไธ€ไธ‹ใ€
ๆŠ€่ƒฝ็˜ฆ่บซ ใ€ŒๆŠ€่ƒฝๅคชๅคšไบ†ใ€
Memoryๅฝ’ๆกฃ ใ€Œๅฝ’ๆกฃ่ฟ‡ๆœŸ่ฎฐๅฟ†ใ€
ไผš่ฏๅฅๅบท ใ€Œไผš่ฏๅฅๅบทๆ€Žไนˆๆ ทใ€
cronๅทกๆฃ€ ใ€Œๆฃ€ๆŸฅๅƒตๅฐธไปปๅŠกใ€

็‹ฌๅฎถๅŠŸ่ƒฝ๏ผšๆŠ€่ƒฝ็˜ฆ่บซ

้—ฎ้ข˜๏ผšๆฏไธชๆŠ€่ƒฝ็š„ description ้ƒฝๆณจๅ…ฅ็ณป็ปŸๆ็คบใ€‚100+ ๆŠ€่ƒฝ = ๆฏ่ฝฎ็™ฝ็™ฝ็ƒงๆމๅ‡ ๅƒ tokensใ€‚

่งฃๆณ•๏ผš็ฒพ็ฎ€ description๏ผŒๅชไฟ็•™ๆ ธๅฟƒๅŠŸ่ƒฝๅฅใ€‚

ๆ•ˆๆžœ๏ผšๆฏ่ฝฎ่Š‚็œ ~574 tokensใ€‚

ๅฎ‰ๅ…จๆœบๅˆถ

  • ้ข„่งˆไผ˜ๅ…ˆ๏ผšไปปไฝ•ไฟฎๆ”น้ƒฝๅ…ˆๅฑ•็คบ้ข„่งˆ
  • ่‡ชๅŠจๅค‡ไปฝ๏ผšๆธ…็†ๅ‰่‡ชๅŠจๅค‡ไปฝๅˆฐ .cleanup-backup/
  • ็™ฝๅๅ•ไฟๆŠค๏ผšๆ ธๅฟƒๆ–‡ไปถๆฐธไธๅˆ ้™ค
  • ้›ถ API ่ฐƒ็”จ๏ผš็บฏๆœฌๅœฐ่ฟ่กŒ

ๅฎ‰่ฃ…

clawhub install lobster-doctor-skill-slim

ๆ›ดๆ–ฐๆ—ฅๅฟ—

  • v2.1.0: Memoryๅฝ’ๆกฃๅ‘ฝไปคใ€ไฟฎๅคๅŽป้‡็ฎ—ๆณ•
  • v2.0.0: ไผš่ฏๅฅๅบท็›‘ๆŽงใ€ๅ‘จๆŠฅ็”Ÿๆˆ

License

MIT

Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: lobster-doctor-skill-slim Version: 2.1.1 The lobster-doctor skill bundle is a maintenance and optimization utility for the OpenClaw workspace. Its primary functions include cleaning up temporary files, archiving old memory logs, auditing cron jobs, and 'slimming' skill descriptions to reduce token consumption. The scripts (lobster_doctor.py and skill_slim.py) include safety features such as a core file whitelist (e.g., MEMORY.md, SOUL.md), automatic backups to a hidden directory (.cleanup-backup/), and dry-run capabilities. While the tool accesses sensitive areas like session history and configuration files, it does so solely to generate local health reports and statistics, with no evidence of data exfiltration or malicious intent.
Capability Assessment
โœ“ Purpose & 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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lobster-doctor-skill-slim
  3. After installation, invoke the skill by name or use /lobster-doctor-skill-slim
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.1
็ฒพ็ฎ€้กน็›ฎไป‹็ป๏ผŒไผ˜ๅŒ–ๅฏ่ฏปๆ€ง
v2.1.0
v2.1: ๆ–ฐๅขžMemoryๅฝ’ๆกฃๅ‘ฝไปค๏ผ›ไฟฎๅค็˜ฆ่บซๅŽป้‡็ฎ—ๆณ•๏ผ›ไผš่ฏๅฅๅบท็›‘ๆŽง๏ผ›ไผ˜ๅŒ–tokenๆถˆ่€—ๆŠฅๅ‘Š
v1.1.0
v1.1: Add skill-slim feature for token optimization. 56% description reduction, ~3200 tokens saved per turn.
Metadata
Slug lobster-doctor-skill-slim
Version 2.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Lobster Doctor?

๐Ÿฆž ้พ™่™พๅŒป็”Ÿ โ€” Workspace ๅฅๅบท็ฎกๅฎถใ€‚ไฝ“ๆฃ€+ๆธ…็†+ๆŠ€่ƒฝ็˜ฆ่บซ+Memoryๅฝ’ๆกฃใ€‚่ฏดๅฅ่ฏๅฐฑ่ƒฝ็”จใ€‚ It is an AI Agent Skill for Claude Code / OpenClaw, with 166 downloads so far.

How do I install Lobster Doctor?

Run "/install lobster-doctor-skill-slim" in the OpenClaw or Claude Code chat to install it in one step โ€” no extra setup required.

Is Lobster Doctor free?

Yes, Lobster Doctor is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Lobster Doctor support?

Lobster Doctor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Lobster Doctor?

It is built and maintained by Masongmx (@masongmx); the current version is v2.1.1.

๐Ÿ’ฌ Comments