← 返回 Skills 市场
406
总下载
1
收藏
6
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-cn
功能描述
OpenClaw + Ollama 中文记忆系统优化。诊断 FTS5 unicode61 中文分词 bug,优化搜索参数,自动维护记忆文件。命中率从 55% 提升到 100%。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memory-cn - 安装完成后,直接呼叫该 Skill 的名称或使用
/memory-cn触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
v1.0.0: FTS5中文分词bug诊断+搜索参数优化+自动维护。命中率55%→100%
元数据
常见问题
中文记忆优化 (Chinese Memory Optimizer) 是什么?
OpenClaw + Ollama 中文记忆系统优化。诊断 FTS5 unicode61 中文分词 bug,优化搜索参数,自动维护记忆文件。命中率从 55% 提升到 100%。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 406 次。
如何安装 中文记忆优化 (Chinese Memory Optimizer)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-cn」即可一键安装,无需额外配置。
中文记忆优化 (Chinese Memory Optimizer) 是免费的吗?
是的,中文记忆优化 (Chinese Memory Optimizer) 完全免费(开源免费),可自由下载、安装和使用。
中文记忆优化 (Chinese Memory Optimizer) 支持哪些平台?
中文记忆优化 (Chinese Memory Optimizer) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 中文记忆优化 (Chinese Memory Optimizer)?
由 abczsl520(@abczsl520)开发并维护,当前版本 v1.0.0。
推荐 Skills