Claude Memory Optimizer
v1.3.0Structured memory system with 4-type classification (user/feedback/project/reference), frontmatter metadata, and automated migration. Based on Claude Code me...
⭐ 1· 59·1 current·1 all-time
by陈子昂@mystour
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the provided files and script: the package and SKILL.md declare a migration/structuring tool and the included refactor-memory.js implements detection, creation of categorized directories, index update, and log file creation. No unrelated credentials or remote network access are requested.
Instruction Scope
SKILL.md and README instruct the agent/operator to run local commands (node script, ls, cat, grep). These are within the migration/verification scope, but you should note the script will read many files under WORKSPACE/memory and may run grep over the workspace for verification. Also SKILL.md mentions a '--dry-run' option in troubleshooting, but the provided script does not implement any dry-run flag — a functional mismatch the user should be aware of.
Install Mechanism
No install spec; the skill is instruction-only with a local Node script. There are no downloads from external URLs or extracted archives. Risk surface is limited to running the included local script under node.
Credentials
The skill requires no environment variables, credentials, or config paths. It optionally reads OPENCLAW_WORKSPACE (documented) or uses the working directory; this is appropriate for a filesystem migration tool.
Persistence & Privilege
always is false and model invocation isn't disabled (platform defaults). The skill writes files under the user's workspace/memory and updates MEMORY.md — this is expected behaviour for a migration utility. It does not modify other skills' configs or request permanent elevated privileges.
Assessment
This tool is coherent for migrating local memory markdown files, but it will read and write files under the workspace you point it at. Before running: 1) Back up your workspace/memory directory (the README also advises this). 2) Expect the script to create new files and an updated MEMORY.md but not to delete original files; you'll need to manually remove originals after review. 3) The SKILL.md mentions --dry-run, but the included script does not implement a dry-run mode — test on a small subset first. 4) The script currently constructs frontmatter but the implementation writes the original file contents to the new path (a functional bug), so verify that migrated files contain the expected frontmatter and index entries. If you are comfortable with these behaviors and test on backups first, the skill appears internally consistent and limited to local workspace operations.Like a lobster shell, security has layers — review code before you run it.
latestvk97fe2ty0qrey3bpf1ccs7by1584204y
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
