返回顶部
m

memclawz-connect

Connect any AI agent to the MemClawz shared memory bus. Gives agents read-before-act and write-after-complete patterns via a simple HTTP API. Use when an agent needs fleet memory, shared memory, cross-agent memory, or long-term recall across sessions. Triggers on: 'connect to memory', 'fleet memory', 'shared memory', 'memclawz', 'remember this across sessions', 'search memory'.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
156
下载量
0
收藏
概述
安装方式
版本历史

memclawz-connect

# MemClawz Connect > One skill. Any agent. Shared memory. ## Setup ```bash export MEMCLAWZ_URL="http://localhost:3500" # or remote: http://YOUR_SERVER:3500 export MEMCLAWZ_AGENT_ID="my-agent" # unique per agent ``` No API key required for default installs. If auth is enabled, also set `MEMCLAWZ_API_KEY`. ## Health Check ```bash curl -s "$MEMCLAWZ_URL/health" # {"status":"ok","version":"...","qdrant":"connected"} ``` ## Agent Protocol ### Before ANY Task — Search First ```bash curl -s "$MEMCLAWZ_URL/api/v1/search?q=TOPIC&limit=5" ``` Response: ```json {"results": [{"content": "...", "agent_id": "quant-dev", "memory_type": "decision", "score": 0.92}]} ``` Use results as context before starting work. Avoids re-discovering what's already known. ### After Completing Work — Write Back ```bash curl -s -X POST "$MEMCLAWZ_URL/api/v1/add" \ -H "Content-Type: application/json" \ -d '{ "content": "Deployed v2.0 — fixed auth race condition with mutex on refresh", "agent_id": "'"$MEMCLAWZ_AGENT_ID"'", "memory_type": "event" }' ``` ### Memory Types | Type | When | |------|------| | `fact` | Discovered info (endpoints, versions, configs) | | `decision` | Choices made (architecture, approach, tool selection) | | `procedure` | How something was done (deploy steps, build process) | | `event` | What happened (deployed X, fixed Y, shipped Z) | | `insight` | Lessons learned (what worked, what didn't) | | `intention` | Planned actions | | `commitment` | Promises made | | `action` | Actions taken | | `outcome` | Results of actions | ### Stats ```bash curl -s "$MEMCLAWZ_URL/api/v1/stats" ``` ### List Agents ```bash curl -s "$MEMCLAWZ_URL/api/v1/agents" ``` ### Get Memories ```bash curl -s "$MEMCLAWZ_URL/api/v1/memories?agent_id=$MEMCLAWZ_AGENT_ID&limit=50" ``` ## AGENTS.md Integration Append to your agent's `AGENTS.md`: ```markdown ## MemClawz Shared Memory Fleet memory API: $MEMCLAWZ_URL/api/v1 ### Before ANY task: Search shared memory for relevant context: curl -s "$MEMCLAWZ_URL/api/v1/search?q=<task keywords>&limit=5" ### After completing ANY significant work: Write results to shared memory: curl -s -X POST $MEMCLAWZ_URL/api/v1/add \ -H "Content-Type: application/json" \ -d '{"content": "<what was done>", "agent_id": "$MEMCLAWZ_AGENT_ID", "memory_type": "<type>"}' ``` ## Remote Agents For agents on a different server, just change `MEMCLAWZ_URL` from `localhost:3500` to the master's IP/hostname: ```bash export MEMCLAWZ_URL="http://76.13.154.71:3500" ``` Everything else stays the same.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 memclawz-connect-1776349922 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 memclawz-connect-1776349922 技能

通过命令行安装

skillhub install memclawz-connect-1776349922

下载 Zip 包

⬇ 下载 memclawz-connect v1.1.0

文件大小: 2.01 KB | 发布时间: 2026-4-17 15:21

v1.1.0 最新 2026-4-17 15:21
Rewrite — clean SKILL.md with full API reference, memory types, remote agent support, AGENTS.md integration snippet

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部