← 返回 Skills 市场
spooktheducks

Honcho Memory Multiplexer

作者 Yung Spook · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
347
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install honcho-memory-mux
功能描述
Install and enable Honcho + the @alloralabs/honcho-memory-mux extension, migrate legacy file memory, and update workspace instructions so agents use memory v...
使用说明 (SKILL.md)

Honcho + Memory Mux Setup

This skill installs and enables:

  1. @honcho-ai/openclaw-honcho (Honcho tools + integration)
  2. @alloralabs/honcho-memory-mux (multiplexed memory behavior)

Then it migrates legacy memory files, updates agent docs, and validates runtime behavior.


What “memory mux” means in practice

After setup, memory behavior should be:

  • Primary retrieval: Honcho tools (honcho_context, honcho_search, etc.)
  • Secondary retrieval: local memory files (MEMORY.md, memory/*.md) via memory_search / memory_get
  • Durability: pre-compaction flush writes significant session learnings to memory/YYYY-MM-DD.md
  • Fallback safety: if Honcho is unavailable, file-based memory still works

This is intentionally complementary, not a hard cutover.


Step 0: Preflight and safety checks

Before doing anything destructive:

  • Resolve workspace root from:
    1. WORKSPACE_ROOT
    2. ~/.openclaw/openclaw.json (agent.workspace or agents.defaults.workspace)
    3. ~/.openclaw/workspace
  • Confirm directory exists
  • Inform user this process can upload memory files to Honcho

Step 1: Install + enable Honcho plugin

Use OpenClaw plugin manager (not workspace npm install):

openclaw plugins install @honcho-ai/openclaw-honcho
openclaw plugins enable openclaw-honcho

If gateway logs show missing SDK deps:

cd ~/.openclaw/extensions/openclaw-honcho
npm install

Restart gateway if required.


Step 2: Install + enable memory mux extension

Install and enable the memory-mux extension:

openclaw plugins install @alloralabs/honcho-memory-mux
openclaw plugins enable @alloralabs/honcho-memory-mux

If the extension is local/unpublished, install from path or git URL per your release flow.

After enabling:

  • Verify plugin appears in openclaw plugins list
  • Verify gateway boots cleanly (no extension load errors)
  • Verify both Honcho tools and memory_search / memory_get are present at runtime

Step 3: Verify Honcho connectivity (self-hosted)

  • Set HONCHO_BASE_URL (example: http://localhost:8000)
  • HONCHO_API_KEY may be optional depending on auth config

If user needs local Honcho quickly:

git clone https://github.com/plastic-labs/honcho
cd honcho
cp .env.template .env
cp docker-compose.yml.example docker-compose.yml
docker compose up -d

Do not migrate until connection is verified.


Step 4: Detect and classify legacy memory files

Scan workspace for:

User/owner memory inputs

  • USER.md
  • IDENTITY.md
  • MEMORY.md
  • memory/** (recursive)
  • canvas/** (recursive)

Agent/self memory inputs

  • SOUL.md
  • AGENTS.md (and AGENT.md if present in this workspace)
  • TOOLS.md
  • BOOTSTRAP.md
  • HEARTBEAT.md

Present a clear preview before upload:

  • count files per class
  • total bytes per class
  • any unreadable/skipped files

Ask for explicit confirmation.


Step 5: Upload to Honcho using peer-separated sessions

Create/ensure:

  • workspace (HONCHO_WORKSPACE_ID or openclaw)
  • peer owner
  • peer openclaw
  • migration session (e.g. migration-upload-\x3Ctimestamp>)

Add both peers to session, then upload files:

  • user/owner files → owner
  • agent/self files → openclaw

If any upload fails:

  • stop
  • report exact file and error
  • keep local files unchanged

Report summary:

  • uploaded user file count
  • uploaded agent file count
  • failed/skipped files

Step 6: Update workspace docs (including AGENT.md compatibility)

Update/create memory instructions in:

  • AGENTS.md
  • SOUL.md
  • BOOTSTRAP.md
  • AGENT.md (if this workspace uses it)

Preserve custom content; only replace memory-specific sections.

Required policy text to add

  1. Memory retrieval order

    • First try honcho_context / honcho_search / honcho_recall
    • If needed, use memory_search + memory_get for local file recall
    • Use honcho_session for same-session recall
  2. Memory write behavior

    • Important durable facts can be written via honcho_write
    • Pre-compaction flush writes concise durable notes to memory/YYYY-MM-DD.md
  3. Failure handling

    • If Honcho unavailable: continue with local memory tools, state degraded mode
    • Never claim memory certainty without retrieval evidence
  4. Transparency

    • When memory influences an answer, be able to explain source class (Honcho recall vs local file recall vs current-session context)

Step 7: Add/refresh practical memory operating conventions

Ensure docs reflect these conventions the agent has been using:

  • Do not preload everything into active reasoning if not needed
  • Prefer targeted retrieval over huge static context injection
  • Treat disagreement as signal: preserve conflicting observations; do not silently average
  • Use pre-compaction flushes to avoid losing high-value context during long sessions
  • Separate memory types conceptually:
    • durable facts
    • episodic notes
    • scratch/working notes

Even if physical storage is mixed, behavior should preserve this distinction.


Step 8: Optional (recommended) no-fork observability add-on

Without modifying OpenClaw gateway source, the memory-mux extension can emit:

  • a small memory load manifest per session start (what memory sources were pulled)
  • a pre-compaction write report (what was persisted)

Store under:

  • memory/manifests/YYYY-MM-DD/\x3Csession>.json

This makes memory behavior debuggable while keeping upstream updates painless.


Step 9: Validate end-to-end behavior

Run a quick live test:

  1. Ask agent about a known historical fact only in migrated memory
  2. Confirm retrieval path works (Honcho first, fallback available)
  3. Trigger/perform pre-compaction flush
  4. Confirm new note appears in memory/YYYY-MM-DD.md
  5. Re-ask fact in a new turn/session to validate durability

Wrap-up report to user

Provide:

  • installed/enabled plugin list
  • Honcho connectivity mode (managed vs self-hosted)
  • files discovered, uploaded, skipped
  • docs updated (AGENTS.md, SOUL.md, BOOTSTRAP.md, AGENT.md if present)
  • any follow-up actions

Reference docs:


Guardrails

  • Never delete user memory files automatically unless user explicitly asks
  • Never proceed with migration on failed Honcho connectivity
  • Never silently ignore upload errors
  • Prefer reversible edits and clear summaries
安全使用建议
This extension will scan your workspace (MEMORY.md, memory/**, AGENTS.md, etc.), modify workspace docs, and upload selected local files and agent conversation messages to Honcho (api.honcho.dev by default) unless you point it to a self-hosted endpoint. Before installing: 1) Confirm you trust the Honcho endpoint or run your own Honcho instance (set HONCHO_BASE_URL). 2) Inspect which files will be uploaded and back up any sensitive data. 3) Review the plugin code (included) if you need assurance about exact behavior. 4) Note the plugin injects memory context into agent system prompts — test in a staging workspace first. 5) Ensure you explicitly approve migration/upload prompts when the skill runs; if you need stricter guarantees, avoid granting HONCHO_API_KEY or use a local-only workflow.
功能分析
Type: OpenClaw Skill Name: honcho-memory-mux Version: 0.1.0 The skill bundle is designed to integrate OpenClaw agents with the Honcho memory system, offering both cloud storage and local file fallback. The `SKILL.md` clearly outlines the installation, memory migration, and agent instruction updates, including explicit guardrails against data loss and unauthorized actions. The `extension/index.ts` (and compiled `index.js`) implements this logic, notably including a robust path traversal prevention mechanism in the `memory_get` tool, limiting file access to `MEMORY.md` and the `memory/` directory. While `SKILL.md` mentions `git clone` and `docker compose up -d`, these are part of an *optional* self-hosting setup for Honcho, not arbitrary agent commands, and are accompanied by instructions for user confirmation. The plugin's network access to `HONCHO_BASE_URL` is declared and essential for its function. There is no evidence of intentional harmful behavior, data exfiltration beyond the stated purpose, or malicious prompt injection attempts.
能力评估
Purpose & Capability
The name/description match the included code and instructions: the plugin uses the Honcho SDK to provide honcho_* tools, a memory_get fallback for local files, and an agent_end hook to write conversations to Honcho. Optional env vars (HONCHO_API_KEY, HONCHO_BASE_URL, HONCHO_WORKSPACE_ID) and node/npm usage are appropriate for this purpose. Minor documentation inconsistency: the registry metadata lists no required binaries/env, while SKILL.md metadata lists node/npm and optional HONCHO_* envs.
Instruction Scope
SKILL.md instructs scanning the workspace (MEMORY.md, memory/**, AGENTS.md, etc.), creating migration sessions, and uploading user and agent files to Honcho. The instructions call out explicit user confirmation before upload (good). The runtime plugin injects Honcho-derived context into the agent's system prompt (before_agent_start) and automatically persists agent messages to Honcho on agent_end. These actions are coherent with the purpose but have privacy implications: local files and agent conversations can be transmitted to an external service and system prompts will be modified to include retrieved memory context.
Install Mechanism
There is no separate install spec in the registry entry (instruction-only), but the bundle includes a normal Node package (package.json, dist/ files) intended to be installed via OpenClaw's plugin manager or npm. No high-risk arbitrary download URLs or extract-from-unknown-server patterns are present. The presence of code without an explicit install block is a documentation mismatch to be aware of.
Credentials
Only Honcho-related credentials/config (HONCHO_API_KEY, HONCHO_BASE_URL, HONCHO_WORKSPACE_ID) are declared as optional, matching the plugin's need to call Honcho. The plugin will read workspace files and may consult ~/.openclaw/openclaw.json to locate the workspace root; that file can contain other configuration. No unrelated service credentials are requested. Because the plugin uploads local memory and agent messages, granting Honcho access is a sensitive decision and should be limited to trusted endpoints or a self-hosted Honcho instance.
Persistence & Privilege
The skill does not request always:true and is user-invocable; it registers normal lifecycle hooks (gateway_start, before_agent_start, agent_end) as expected for a memory plugin. It does update workspace docs and write local files as part of migration (writes_to_disk=true in SKILL.md). Autonomous invocation is possible (platform default) — combine that with the data-upload behavior when considering risk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install honcho-memory-mux
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /honcho-memory-mux 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
honcho-memory-mux-setup 0.1.0 – Initial Release - Installs and configures Honcho with @alloralabs/honcho-memory-mux for multiplexed memory retrieval (Honcho-first, local file fallback). - Migrates legacy memory files to Honcho, preserving file safety and providing clear, classified previews and confirmations. - Automatically updates workspace agent documentation to explain new memory policies, retrieval order, write behavior, and fallback procedures. - Adds practical conventions for agent memory handling and supports optional, non-intrusive memory observability reporting. - Includes guardrails for safe migration, transparent reporting, and reversible changes.
元数据
Slug honcho-memory-mux
版本 0.1.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Honcho Memory Multiplexer 是什么?

Install and enable Honcho + the @alloralabs/honcho-memory-mux extension, migrate legacy file memory, and update workspace instructions so agents use memory v... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 347 次。

如何安装 Honcho Memory Multiplexer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install honcho-memory-mux」即可一键安装,无需额外配置。

Honcho Memory Multiplexer 是免费的吗?

是的,Honcho Memory Multiplexer 完全免费(开源免费),可自由下载、安装和使用。

Honcho Memory Multiplexer 支持哪些平台?

Honcho Memory Multiplexer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Honcho Memory Multiplexer?

由 Yung Spook(@spooktheducks)开发并维护,当前版本 v0.1.0。

💬 留言讨论