Command Palette

Search for a command to run...

Назад к скиллам
скилл № 37452

acp-inbox-bridge

Use the OpenClaw-mcode-ACP inbox from inside an OpenClaw main session (goudan) to PROACTIVELY send messages, ask blocking questions, and answer mavis-side…

БесплатноБез исполняемых скриптов
MiniMax-AIот MiniMax-AI★ 30 звёзд на GitHub

Установить acp-inbox-bridge в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

ACP Inbox Bridge — goudan (OpenClaw) perspective

You are running inside an OpenClaw main session (goudan). The other peer is mavis (MiniMax Code, dispatched as a child session). You can communicate via the ACP inbox — not just return a final answer.

This is the goudan-side companion to the acp-collab Skill. acp-collab teaches mavis how to talk to you; this Skill teaches you how to talk to mavis. Both Skills drive the same client/_acp_client.inbox_* HTTP transport, so the loopback-only, no-redirect, token-via-env security model is shared.

When to activate this Skill

Activate this Skill whenever any of the following is true:

  • You are running a long task and mavis should see progress
  • You found an issue (cron failure, audit anomaly, bridge timeout) that mavis needs to act on
  • You need a piece of mavis-side state (e.g. a file under ~/.minimax/, a memory note, the OAuth token expiry) that you cannot read from your own domain
  • mavis has asked you a question via the inbox and you need to unblock them with a msg_type=answer
  • A decision needs human judgment and mavis is closer to the human than you are

Do NOT activate this Skill to bypass the domain boundary: do not use it to read ~/.minimax/ directly, to read mavis-side logs, or to probe mavis-side processes. The inbox is for messaging, not for direct file or process access on the mavis side.

Setup

The bundled client at <plugin_root>/client/_acp_client.py is the same one the mavis-side Skills use. There is no ACP_HOME to set, no external Python SDK to install, and no sys.path to mutate. The goudan-side wrapper scripts/acp_inbox.py resolves the plugin root through the host-provided $PLUGIN_ROOT (mcode 0.2.4+ sets this automatically when the Skill is loaded). The bundled scripts themselves also read $PLUGIN_ROOT if you prefer to set it explicitly, and fall back to __file__ only when the snippet is written into a .py file inside the Plugin tree.

Note: this Plugin does not inject a custom env var (an earlier draft used $ACP_PLUGIN_ROOT, but no runtime actually sets it). Always rely on the portable host variable $PLUGIN_ROOT when invoking the Skill from a non-Plugin context, or set PLUGIN_ROOT=/path/to/openclaw-acp-bridge before running the snippet. __file__ is honored as a last-resort fallback for python some_file.py invocations and is not available in python -c "..." or python <stdin> contexts.

Authentication

The bundled client reads the bearer token from one of (first hit wins):

  1. $ACP_TOKEN (recommended for shells and CI)
  2. ~/.acp_token (one line, no trailing newline)
  3. <plugin_root>/.acp_token (one line; co-located fallback)

The client attaches Authorization: Bearer <token> to every request to http://127.0.0.1:9999/acp/*. Do not read, print, or pass the token yourself. The client also refuses to follow HTTP redirects and refuses to talk to anything other than the literal loopback allow-list ({127.0.0.1, ::1, [::1]}). The round-5 amendment removed localhost from the allow-list to avoid DNS / hostname resolution attacks.

If the token cannot be located, the client raises ACPTokenMissing. Tell the user to set $ACP_TOKEN (or write one of the fallback files) and stop; do not retry.

Calling the goudan-side wrapper

The Skill is loaded by the Plugin runtime, which sets $PLUGIN_ROOT to the directory that contains this Plugin's client/ and scripts/. The snippet below reads $PLUGIN_ROOT directly, falling back to __file__ only when the caller has saved the snippet into a .py file inside the Plugin tree.

import os
import sys
# `PLUGIN_ROOT` is set by the Plugin runtime (mcode 0.2.4+) and points
# at the directory that contains this Plugin's `client/` and `scripts/`.
# The `__file__` fallback is only valid when this snippet lives inside
# a .py file; `python -c "..."` and `python <stdin>` callers MUST set
# `PLUGIN_ROOT` themselves.
_plugin_root = os.environ.get("PLUGIN_ROOT") or os.path.dirname(
    os.path.dirname(os.path.abspath(__file__))
)
sys.path.insert(0, os.path.join(_plugin_root, "scripts"))
from acp_inbox import ACPInbox

acp = ACPInbox()

Protocol

1. First message of the session (goudan announces itself)

Use acp.greet(session_id, note=...) to write a peer_greet-shaped message. The default sender is "goudan" — never pass sender="mavis" from this side.

acp.greet(session_id, note="starting audit cross-check for 8/31")

2. Push progress (during work)

acp.write(session_id, "[goudan] Step 3 of 7 done. Found 3 candidate cron failures.")

3. Ask a blocking question (when mavis is the only one who can answer)

Use acp.ask(...) to write a question and block for the answer. The server's /acp/inbox/ask endpoint handles the blocking poll; the wrapper delegates. Default timeout is 30s; the mavis-side Skill's acp-collab enforces `timeout <

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл acp-inbox-bridge?

Use the OpenClaw-mcode-ACP inbox from inside an OpenClaw main session (goudan) to PROACTIVELY send messages, ask blocking questions, and answer mavis-side questions. Differs from `acp-collab` (mavis / MiniMax Code perspective) — this is the goudan-side companion that uses the same `client/_acp_client.inbox_*` HTTP transport and inherits the same loopback-only, no-redirect, token-via-env security model. Use when a multi-step task spans the OpenClaw main session and a MiniMax Code peer, when goudan should report progress or findings to mavis, when goudan needs to ask a clarifying question that requires a mavis-side tool (e.g. reading `~/.minimax/`), or when mavis has asked a question and goudan must answer it before continuing.

Как установить скилл acp-inbox-bridge?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл acp-inbox-bridge запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить acp-inbox-bridge с