← Back to Skills Marketplace
abczsl520

中文记忆优化 (Chinese Memory Optimizer)

by abczsl520 · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
406
Downloads
1
Stars
6
Active Installs
1
Versions
Install in OpenClaw
/install memory-cn
Description
OpenClaw + Ollama 中文记忆系统优化。诊断 FTS5 unicode61 中文分词 bug,优化搜索参数,自动维护记忆文件。命中率从 55% 提升到 100%。
Usage Guidance
This skill appears to do what it claims: local diagnostics and maintenance of OpenClaw memory for Chinese text. Before running: 1) Verify script paths (SKILL.md references SKILL_DIR/scripts/ but files appear at repo root) and run in a safe test environment first. 2) Back up your memory folder and the SQLite DB (~/.openclaw/memory/main.sqlite) before executing non-dry-run operations. 3) Use --dry-run options (add-tags.py has --dry-run; compress-logs.py supports --dry-run; cleanup.sh defaults to dry-run) to see intended changes. 4) Inspect the JSON config patch the skill recommends applying — applying gateway/openclaw config changes affects agent behavior globally. 5) Be cautious with cleanup.sh: it will delete files if run with execution enabled and confirmed. The scripts do not perform network calls or request credentials, but they do read and modify local files, so treat them as privileged local maintenance tools.
Capability Analysis
Type: OpenClaw Skill Name: memory-cn Version: 1.0.0 The skill bundle is designed to optimize Chinese language memory search in OpenClaw by addressing FTS5 tokenization issues and managing log file sizes. It includes scripts for database diagnosis (diagnose.sh), automated metadata tagging (add-tags.py), log compression with backups (compress-logs.py), and cleanup of redundant session data (cleanup.sh). While the scripts perform file modifications and deletions, these actions are strictly scoped to markdown files within the memory directory and are aligned with the stated purpose of system maintenance, including safeguards like dry-run modes and file backups.
Capability Assessment
Purpose & Capability
Name/description match the actions: diagnosing FTS5 unicode61 tokenization, adjusting memorySearch settings, tagging, compressing and cleaning memory files. Declared binary requirements (sqlite3, python3) are appropriate for the included scripts that read the SQLite DB and run Python utilities.
Instruction Scope
Instructions operate on local OpenClaw memory paths and the SQLite DB, which is expected. They modify files (add tags, compress, delete) and recommend applying a gateway/openclaw config patch; applying config changes affects agent configuration and should be reviewed. Minor packaging inconsistency: SKILL.md calls scripts via SKILL_DIR/scripts/*.sh but the manifest shows scripts at repository root (diagnose.sh, add-tags.py, etc.), so paths may need adjustment before running.
Install Mechanism
No install spec or remote downloads — instruction-only with included scripts. Nothing will be pulled from network during install; runtime uses local binaries (sqlite3, python3).
Credentials
No environment variables or credentials are requested. Scripts read standard OpenClaw paths under the user's HOME and workspace; that is consistent with the skill's purpose. They do extract domains/ports from files for tagging (local data handling), but they do not send data externally.
Persistence & Privilege
Skill is not always-enabled. It performs file modifications (writing tag lines, compressing files, backups in archive/) and can delete files via cleanup.sh (requires confirmation unless non-interactive). It also instructs using gateway config.patch / openclaw config patch to change memorySearch settings — these changes are system/agent-level and should be reviewed prior to applying.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install memory-cn
  3. After installation, invoke the skill by name or use /memory-cn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
v1.0.0: FTS5中文分词bug诊断+搜索参数优化+自动维护。命中率55%→100%
Metadata
Slug memory-cn
Version 1.0.0
License
All-time Installs 6
Active Installs 6
Total Versions 1
Frequently Asked Questions

What is 中文记忆优化 (Chinese Memory Optimizer)?

OpenClaw + Ollama 中文记忆系统优化。诊断 FTS5 unicode61 中文分词 bug,优化搜索参数,自动维护记忆文件。命中率从 55% 提升到 100%。 It is an AI Agent Skill for Claude Code / OpenClaw, with 406 downloads so far.

How do I install 中文记忆优化 (Chinese Memory Optimizer)?

Run "/install memory-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 中文记忆优化 (Chinese Memory Optimizer) free?

Yes, 中文记忆优化 (Chinese Memory Optimizer) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 中文记忆优化 (Chinese Memory Optimizer) support?

中文记忆优化 (Chinese Memory Optimizer) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 中文记忆优化 (Chinese Memory Optimizer)?

It is built and maintained by abczsl520 (@abczsl520); the current version is v1.0.0.

💬 Comments