记忆

OpenClaw Memory

试用

Reuse, inspect, search, or append shared OpenClaw memory on the current machine. Use when a request depends on remembered local servers, deploy hosts, intern...

它能做什么

Reuse, inspect, search, or append shared OpenClaw memory on the current machine. Use when a request depends on remembered local servers, deploy hosts, intern...

技能文档

OpenClaw Memory

Resolve the skill directory from this SKILL.md file, then use the bundled script at scripts/openclaw_memory.py.

Data sources

  • Long-term memory: ~/.openclaw/workspace/MEMORY.md
  • Daily memory: ~/.openclaw/workspace/memory/YYYY-MM-DD.md
  • Indexed chunk fallback: ~/.openclaw/memory/main.sqlite

If OPENCLAW_HOME is set, use that as the root instead of ~/.openclaw.

Workflow

  1. If the request names a known machine, service, workflow, or environment-specific noun, search memory before any live checks.
  2. Prefer markdown files as the source of truth when inspecting or updating memory.
  3. If markdown results are sparse, query SQLite chunk text as a fallback.
  4. Extract concrete facts such as hostnames, IPs, ports, file paths, runbook steps, and user preferences.
  5. When the user wants to persist something:
    • Write durable rules and preferences to MEMORY.md.
    • Write day-specific progress to memory/YYYY-MM-DD.md.
  6. After writing, report the exact file that was updated.

Constraints

  • Do not claim semantic or vector retrieval is active unless you actually verified the runtime supports it.
  • For Chinese queries, direct markdown scanning is often more reliable than SQLite tokenization.
  • If the OpenClaw paths are missing, say so plainly and stop instead of inventing state.

Commands

Replace `` with the directory that contains this SKILL.md.

python3 /scripts/openclaw_memory.py doctor
python3 /scripts/openclaw_memory.py recent --limit 5
python3 /scripts/openclaw_memory.py search --query "deploy host" --limit 8
python3 /scripts/openclaw_memory.py append --scope daily --text "Confirmed the deploy host is healthy." --dry-run
python3 /scripts/openclaw_memory.py append --scope long --text "- Always search both the workspace project tree and the main project tree."

Output expectations

  • For search, return compact results with path, source, score, and a short snippet.
  • For append, print the destination path.
  • For doctor, print which OpenClaw paths exist.

相关技能

Inspect, back up, search, export, and update OpenClaw long-term memory stored with MemoryOS. Use when Codex needs to manage MemoryOS memory files for an Open...

24 次安装

Scaffold, sanitize, or share an OpenClaw multi-agent memory system with a reusable workspace, memory-lancedb-pro configuration, role prompts, task-board conv...

13 次安装

Use this skill when installing, upgrading, verifying, or publishing the EverMemory OpenClaw plugin and its companion skill, including local path install, npm...

23 次安装1 星标

按命令族和 profile 选择合适的 OpenClaw CLI 命令,并校验执行结果。

336 次安装7 星标

Keep OpenClaw gateway alive: heartbeat monitoring, auto-restart, crash alerts, memory warning, uptime report.

3 次安装

通过多轮引导式问答,生成完整的 OpenClaw 个人 AI 助手配置文件。

24 次安装