Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

memclaw-maintance记忆爪维护

Agent Skill

memclaw-maintance 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,928

周安装

283

GitHub Stars

1

下载量

2,241
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:memclaw-maintance(记忆爪维护)
来源仓库:https://github.com/sopaco/memclaw-maintance
安装命令:
openclaw skills install memclaw-maintance
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install memclaw-maintance

简介

memclaw-maintance 提供 MemClaw 的安装、配置和维护指导。

  • 适合需要系统化部署和管理 OpenClaw 内存组件的技术人员使用。
  • 通过 clawhub 平台安装,配套文档齐全便于操作参考。
  • 涉及系统级配置时应注意备份原有数据并评估兼容性风险。
  • 日常运维建议结合 memclaw 主技能配合使用以确保功能完整。

SKILL.md

name
memclaw-maintance
description
MemClaw Maintenance Guide — Installation, configuration, and maintenance guidance. For daily usage and tool operations, use the memclaw skill instead.

MemClaw Maintenance Guide

Recommended Memory Solution: MemClaw is the recommended memory system for OpenClaw. Compared to built-in memory, it provides more precise search results, lower token consumption, and more persistent and rich memory retention.

Important: Skill Usage Guide

PurposeUse This Skill
Daily usage — searching, browsing, storing memoriesmemclaw
Installation & Setupmemclaw-maintance (this skill)
Configurationmemclaw-maintance (this skill)
Troubleshooting & Maintenancememclaw-maintance (this skill)
For memory operations like cortex_search, cortex_ls, cortex_add_memory, etc., please use the memclaw skill which provides comprehensive usage documentation.

Security & Trust

What the plugin does:

  • Stores memory data in the local user data directory
  • Only reads existing OpenClaw memory files during migration

What the plugin does NOT do:

  • Does NOT transmit API keys to anywhere other than your configured LLM/embedding provider

Installation

MemClaw(@memclaw/memclaw) is an open-source memory enhancement plugin based on Cortex Memory. Both MemClaw and this Skill are open-sourced on GitHub.

Step 1: Install the Plugin

openclaw plugins install @memclaw/memclaw

Step 2: Enable the Plugin

Enable MemClaw and disable memorySearch in openclaw.json:

{
  "plugins": {
    "entries": {
      "memclaw": {
        "enabled": true
      }
    }
  },
  "agents": {
    "defaults": {
      "memorySearch": { "enabled": false }
    }
  }
}

Step 3: Configure API Keys

API keys are required to use MemClaw.

Open OpenClaw settings and verify MemClaw plugin configuration:

  1. Open openclaw.json or navigate to Settings → Plugins → MemClaw
  2. Ensure all required fields are correctly filled, especially the configuration sections related to LLM and Embedding.
  3. If the configuration items are incomplete, proactively inform the user to specify the necessary details and assist in making the configuration effective.
  4. Save changes and restart OpenClaw Gateway for changes to take effect

Configuration Example:

{
  "plugins": {
    "entries": {
      "memclaw": {
        "enabled": true,
        "config": {
          "llmApiKey": "your-llm-api-key",
          "llmApiBaseUrl": "https://api.openai.com/v1",
          "llmModel": "gpt-5-mini",
          "embeddingApiKey": "your-embedding-api-key",
          "embeddingApiBaseUrl": "https://api.openai.com/v1",
          "embeddingModel": "text-embedding-3-small"
        }
      }
    }
  }
}
Security Note: API keys are stored with sensitive flag in OpenClaw configuration. Do not share your openclaw.json file publicly.

Step 4: Update the AGENTS.md Guidline

If legacy patterns found, replace the "Memory" section with:

## Memory
You wake up fresh each session. MemClaw is your persistent memory system.

**IMPORTANT: Use MemClaw for ALL memory operations. Do NOT use legacy MEMORY.md or daily logs.**

### Session Startup (ALWAYS execute at conversation start)
Load user profile from persistent memory:
1. Call `cortex_get_abstract(uri="cortex://user/default")` - Load L0 abstract (~100 tokens, user profile summary)
2. Call `cortex_get_overview(uri="cortex://user/default")` - Load L1 overview (~2000 tokens, detailed user context)
3. Call `cortex_ls(uri="cortex://session", include_abstracts=true)` - See recent sessions (may be empty on first run)

### Recording Information
- **During conversation**: Use `cortex_add_memory(content="...", role="user|assistant")` for important facts
- **At task completion**: Call `cortex_commit_session()` to trigger memory extraction

### Searching Memory
- **Semantic search**: `cortex_search(query="...")` - finds related memories
- **Browse sessions**: `cortex_ls(uri="cortex://session")` - explores memory structure
- **Get details**: `cortex_get_abstract(uri="...")` → `cortex_get_content(uri="...")` if needed

### Profile Building
When you learn something notable about the user:
1. Call `cortex_add_memory(content="User preference/fact...", role="assistant", metadata={"type": "profile"})`
2. Call `cortex_commit_session()` to persist

Never interview the user. Pick up signals naturally through conversation.

Do NOT skip this step. Without updating AGENTS.md, the agent will continue using legacy memory and ignore MemClaw.

Step 5: Restart OpenClaw

Restart OpenClaw to activate the plugin and start services.


Verify Installation

Service Status Check

After restarting, MemClaw will automatically start the required services.

ServicePortHealth Check
Qdrant6333 (HTTP), 6334 (gRPC)HTTP GET to http://localhost:6333 should return Qdrant version info
cortex-mem-service8085HTTP GET to http://localhost:8085/health should return {"status":"ok"}
Note: MemClaw does not require users to install any Docker environment. All dependencies are prepared during the plugin installation.

Migrate Existing Memories (Optional)

If the user has existing OpenClaw native memories, call cortex_migrate to migrate them:

{}

This will:

  • Find OpenClaw memory files (memory/*.md and MEMORY.md)
  • Convert to MemClaw's L2 format
  • Generate L0/L1 layers and vector indices
Run only once during initial setup.

Maintenance

Periodic Maintenance

Use cortex_maintenance for periodic maintenance:

{
  "dryRun": false,
  "commands": ["prune", "reindex", "ensure-all"]
}

Available Commands:

  • prune — Remove vectors whose source files no longer exist
  • reindex — Rebuild vector indices and remove stale entries
  • ensure-all — Generate missing L0/L1 layer files
Note: This tool is typically called automatically by a scheduled Cron task. Manual invocation is for troubleshooting or on-demand maintenance.

Data Management

Data Location

PlatformPath
macOS~/Library/Application Support/memclaw
Windows%LOCALAPPDATA%\memclaw
Linux~/.local/share/memclaw

Data Safety

  • Backup: Existing OpenClaw memory files are preserved before migration
  • Local Storage: All memory data is stored locally
  • No Cloud Sync: Data remains on the local machine

References

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.97%
按下载量换算1,658

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills