Preface¶
In long conversations or multi-day collaborations, Agents often rely only on the current context. Writing key information into scattered Markdown or notes leads to inconsistent retrieval paths and makes consistency checks difficult after switching sessions. Below is an introduction to meshmorize: a multi-layer local memory Skill for LLM Agents that consolidates “daily notes, graph indexing, interaction logs, cross-layer retrieval, and compliance checks” into a single set of workspace conventions.
What is this¶
meshmorize (SkillHub coordinate @user_15292d5a/yjkj-meshmorize) is a community-sourced AI Agent Skill, and the current SkillHub version is 1.0.0. The official description summarizes it as: Multi-layer memory system: fresh layer, mesh graph, auto-log, cross-layer search, compliance check.
Upstream implementation can be found at MeshMorize (MIT). The Skill documentation specifies that it is primarily designed for OpenClaw, but any Agent environment capable of executing Python can use the same directory structure and scripts. The SkillHub listing for this Skill requires_api_key=false, meaning the Skill itself can be installed without an extra API Key; however, running the memory scripts depends on local Python and the workspace file layout.
Core Functions¶
According to SKILL.md, memory is divided into five parts, corresponding to fixed paths or commands:
| Capability | Path / Command | Purpose |
|---|---|---|
| Fresh | memory/fresh/today.md |
Daily notes, rotating every ~5 days |
| Mesh | memory/mesh.json |
Graph nodes and retrieval index |
| Log | scripts/auto_log |
Record every interaction |
| Search | scripts/memory_search |
Cross-layer retrieval (fresh → daily → mesh → raw → long-term) |
| Check | scripts/memory_check |
10 o’clock compliance check (memcheck) |
The correspondence between auxiliary tools and source code is as follows:
| Command | Implementation |
|---|---|
mem-bridge |
memory/bridge.py: Fresh layer rotation and checkpoints |
auto_log |
scripts/auto_log.py: Interaction logs |
memory_search |
scripts/memory_search.py: Multi-layer search |
memcheck |
scripts/memory_check.py: Compliance check |
Installation and Activation¶
Install the Skill via SkillHub¶
The SkillHub page requires the Agent to install this Skill following the SkillHub Installation Guide. The general process is to confirm the CLI first, then install it to the current Agent’s skills directory (--dir must be passed, otherwise the default ./skills/ might not be recognized).
Check the CLI:
command -v skillhub && skillhub --version
If not installed, you can execute the official installation script (full installation or CLI only, refer to the installation documentation). When installing meshmorize, point the directory to the corresponding product. For example, Cursor uses ~/.cursor/skills/:
skillhub install user_15292d5a/yjkj-meshmorize --dir ~/.cursor/skills/
Claude Code usually uses ~/.claude/skills/; Codex can use ~/.codex/skills/ or .agents/skills/ under the project directory. After installation, refresh or restart according to the Agent’s requirements to load the Skill.
Integrate Memory Scripts in the Workspace¶
The runtime installation described in the Skill documentation involves placing bridge.py in the workspace memory/, scripts in scripts/, and linking them to the local executable path:
ln -s $(pwd)/scripts/* ~/.local/bin/
ln -s $(pwd)/memory/bridge.py ~/.local/bin/mem-bridge
It is recommended to initialize the Fresh layer at the start of every session:
mem-bridge init
Typical Usage¶
The official Quick Start provides four commands that can be reproduced directly, with the following meanings:
mem-bridge init # Rotate Fresh layer and create today.md
auto_log "msg" "reply" # Record a round of user message and reply
memory_search "query" # Search across all memory layers
memcheck # Execute 10 o'clock compliance check
In daily use, this can be understood as: init at the start of a session, auto_log to persist during dialogue, memory_search for tracing when needed, and memcheck for self-checking periodically or before a release.
Applicable Scenarios and Notes¶
Suitable for: Developers or Agent operators who need to preserve cross-session local memory in the Agent workspace and wish to distinguish between “daily notes/graph indexing/logs” while enabling unified retrieval. The use case description in the Skill card also points to: providing LLM Agents with persistent local memory and compliance checking capabilities.
Notes:
- Interaction logs and memory files will remain on the disk and may contain sensitive information. The listing instructions suggest: clarify what is being recorded before use, avoid keys and regulated data, and clean up workspace memory files when no longer needed.
- When creating symlinks via
~/.local/bin/, deleting the workspace might leave stale commands; the related symlinks should be deleted synchronously during uninstallation. - SkillHub statistics (based on captured data): Rating 100,000, Downloads 739; if there is a discrepancy with numbers in the leads, refer to the SkillHub page.
Conclusion¶
meshmorize binds Fresh, Mesh, automatic logging, cross-layer search, and compliance checks to a single set of Skill and workspace conventions. It is suitable for completing the Agent’s retrievable and checkable local memory without having to build scattered note-taking and indexing scripts.
- SkillHub API: https://api.skillhub.cn/user_15292d5a/yjkj-meshmorize
- SkillHub Page: https://www.skillhub.cn/skills/user_15292d5a/yjkj-meshmorize
- Upstream Repository: https://github.com/mozz0/MeshMorize