Xpersona
M

memclaw-maintance

CLAWHUB · Unverified

MemClaw Maintenance Guide — Installation, configuration, and maintenance guidance. For daily usage and tool operations, use the [`memclaw` skill](https://cla...

62
Rank
84
Safety
999
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 999 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17a75kt8fank19t6971cm2bs583jz3w:memclaw-maintance
  1. Install using `clawhub skill install s17a75kt8fank19t6971cm2bs583jz3w:memclaw-maintance` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/sopaco/memclaw-maintance before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sopaco-memclaw-maintance/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

90,717 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: memclaw-maintance
description: MemClaw Maintenance Guide — Installation, configuration, and maintenance guidance. For daily usage and tool operations, use the [`memclaw` skill](https://clawhub.ai/sopaco/memclaw) 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

| Purpose | Use This Skill |
|---------|---------------|
| **Daily usage** — searching, browsing, storing memories | [`memclaw`](https://clawhub.ai/sopaco/memclaw) |
| **Installation & Setup** | `memclaw-maintance` (this skill) |
| **Configuration** | `memclaw-maintance` (this skill) |
| **Troubleshooting & Maintenance** | `memclaw-maintance` (this skill) |

> **For memory operations like `cortex_search`, `cortex_ls`, `cortex_add_memory`, etc., please use the [`memclaw` skill](https://clawhub.ai/sopaco/memclaw) 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](https://github.com/sopaco/cortex-mem).

### Step 1: Install the Plugin

```bash
openclaw plugins install @memclaw/memclaw
```

### Step 2: Enable the Plugin

Enable MemClaw and disable memorySearch in `openclaw.json`:

```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:**

```json
{
  "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"
        }
     

_meta.json

{
  "ownerId": "kn7a2vy7ys7aj3gzm2vvw7zc158311b2",
  "slug": "memclaw-maintance",
  "version": "0.9.31",
  "publishedAt": 1775045537600
}

references/tools.md

# Maintenance Tools Reference

> **Note**: For daily memory operations (`cortex_search`, `cortex_ls`, `cortex_add_memory`, etc.), please refer to the `memclaw` skill documentation.

This document covers maintenance and migration tools for MemClaw.

---

## cortex_migrate

Migrate from OpenClaw's native memory system to MemClaw.

**Parameters:** None

**Use Cases:**
- First-time use with existing OpenClaw memories
- Want to preserve previous conversation history
- Switching from built-in memory to MemClaw

**Execution Effects:**
1. Finds OpenClaw memory files (`memory/*.md` and `MEMORY.md`)
2. Converts to MemClaw's L2 format
3. Generates L0/L1 layers and vector indices

**Prerequisites:**
- OpenClaw workspace exists at `~/.openclaw/workspace`
- Memory files exist at `~/.openclaw/workspace/memory/`

**Example:**
```json
{}
```

> **Run only once** during initial setup.

---

## cortex_maintenance

Perform periodic maintenance on MemClaw data.

**Parameters:**

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `dryRun` | boolean | No | false | Preview changes without executing |
| `commands` | array | No | `["prune", "reindex", "ensure-all"]` | Maintenance commands to execute |

**Use Cases:**
- Search results are incomplete or outdated
- Recovering from crash or data corruption
- Need to clean up disk space

**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

**Example:**
```json
{
  "dryRun": false,
  "commands": ["prune", "reindex", "ensure-all"]
}
```

> **Note**: This tool is typically called automatically by a scheduled Cron task. Manual invocation is for troubleshooting or on-demand maintenance.

references/troubleshooting.md

# Troubleshooting Guide

Common MemClaw issues and their solutions.

## Installation Issues

### Platform Not Supported

**Symptoms**: "Platform not supported" error is displayed

**Solutions**:
- Confirm you are using macOS Apple Silicon (M1/M2/M3) or Windows x64
- Other platforms are not currently supported

### Plugin Installation Failed

**Symptoms**: `openclaw plugins install @memclaw/memclaw` fails

**Solutions**:
1. Check network connection
2. Confirm npm registry is accessible
3. Try using a proxy or mirror source

## Configuration Issues

### Invalid API Key

**Symptoms**: Search or memory operations return API errors

**Solutions**:
1. Verify `llmApiKey` and `embeddingApiKey` are correctly configured in OpenClaw plugin settings
2. Confirm API keys are valid and have sufficient quota
3. Confirm `llmApiBaseUrl` and `embeddingApiBaseUrl` are correct for your provider
4. Verify network connectivity to API endpoints

### Configuration Not Taking Effect

**Symptoms**: Service behavior doesn't change after modifying configuration

**Solutions**:
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

## Service Issues

### Service Won't Start

**Symptoms**: Service fails to start when plugin loads

**Solutions**:
1. Check if ports 6333, 6334, 8085 are occupied by other applications
2. Confirm API keys are configured in OpenClaw plugin settings
3. Check OpenClaw logs for detailed error messages

### Service Unreachable

**Symptoms**: Tool calls return connection errors

**Solutions**:
1. Confirm OpenClaw has been restarted and plugin is loaded
2. Check if `autoStartServices` configuration is set to `true` (default)
3. Verify firewall allows local connections on these ports

## Usage Issues

### Memory Extraction Failed

**Symptoms**: `cortex_commit_session` fails or produces incomplete results

**Solutions**:
1. Verify LLM API configuration is correct
2. Check if API quota is sufficient
3. Check OpenClaw logs for detailed error messages

### Migration Failed

**Symptoms**: `cortex_migrate` fails to execute

**Solutions**:
1. Confirm OpenClaw workspace is located at `~/.openclaw/workspace`
2. Confirm memory files exist at `~/.openclaw/workspace/memory/`
3. Verify file permissions are correct

## Data Issues

### Data Location

MemClaw data storage locations:

| Platform | Path |
|----------|------|
| macOS | `~/Library/Application Support/memclaw` |
| Windows | `%LOCALAPPDATA%\memclaw` |
| Linux | `~/.local/share/memclaw` |

### Data Safety

- **Backup**: Existing OpenClaw memory files are preserved before migration
- **Lo

skill-card.md

## Description:

MemClaw Maintenance Guide provides installation, configuration, troubleshooting, migration, and maintenance guidance for the MemClaw OpenClaw memory plugin.

This skill is ready for commercial/non-commercial use.

## Publisher:

[sopaco](https://clawhub.ai/user/sopaco)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and OpenClaw users use this skill to install and configure MemClaw, migrate existing OpenClaw memories, and run maintenance or troubleshooting for persistent local memory.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill asks users to make MemClaw the default memory system and store profile or session data persistently.

Mitigation: Confirm this memory posture with the user, back up existing memory files and AGENTS.md, and avoid storing sensitive information unless the configured providers and retention policy are acceptable.

Risk: Relevant memory content may be sent to configured LLM and embedding providers.

Mitigation: Review provider configuration, API key handling, and data-sharing expectations before enabling the plugin.

Risk: The documented plugin install command uses an unpinned package path.

Mitigation: Pin or verify the MemClaw package version and source before installation when possible.

Risk: Migration and maintenance can change persistent memory indexes and derived memory layers.

Mitigation: Run maintenance in dry-run mode first where supported and keep backups before migration, pruning, or reindexing.

## Reference(s):

- [MemClaw Maintenance Tools Reference](./references/tools.md)
- [MemClaw Troubleshooting Guide](./references/troubleshooting.md)
- [MemClaw daily-use skill](https://clawhub.ai/sopaco/memclaw)
- [MemClaw project repository](https://github.com/sopaco/cortex-mem)
- [MemClaw plugin README](https://raw.githubusercontent.com/sopaco/cortex-mem/refs/heads/main/examples/%40memclaw/plugin/README.md)
- [MemClaw GitHub Issues](https://github.com/sopaco/cortex-mem/issues)

## Skill Output:

**Output Type(s):** [Guidance, Markdown, Shell commands, Configuration, Code]

**Output Format:** [Markdown with JSON configuration snippets and shell command snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include OpenClaw configuration examples, AGENTS.md memory guidance, and MemClaw migration or maintenance tool payloads.]

## Skill Version(s):

0.9.31 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to memclaw-maintance and adjacent AI workflows.