360 Secure SkillHub
360 安全技能中心

Keychat

该 Skill 说明如何为 OpenClaw 智能体安装 Keychat 插件:执行插件安装与网关重启命令,插件自动下载桥接二进制、写入 channels.keychat 配置并在首次启动时生成 Nostr 身份;随后智能体向用户发送 Keychat ID、联系链接与二维码,用户在 Keychat 应用中扫码即可建立加密会话。支持 macOS 与 Linux。

kcdev001
kcdev001
热度 74.79
最近更新 2026-05-17 12:37:11
分类:协作依赖:代码执行 / 第三方 API应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add keychat
Metadata
name
keychat
description
Install Keychat — sovereign E2E encrypted messaging for OpenClaw agents via Signal Protocol over Nostr relays. Use when the user wants to add Keychat or set up encrypted messaging for their agent.
metadata
{"openclaw":{"emoji":"🔐","homepage":"https://github.com/keychat-io/keychat-openclaw"}}

Install Keychat

openclaw plugins install @keychat-io/keychat
openclaw gateway restart

Supported platforms: macOS (ARM/x64), Linux (x64/ARM64).

The plugin automatically downloads the bridge binary, configures channels.keychat in openclaw.json, and generates a new Nostr identity on first start.

The agent will send its Keychat ID (npub1...), contact link, and QR code to the user's active chat after first install.

Security Warnings

The scanner may show two warnings during install. Both are expected:

  • bridge-client.ts — Spawns a Rust sidecar for Signal Protocol and MLS Protocol encryption (Keychat's crypto is implemented in Rust, needs bridging to Node.js)
  • keychain.ts — Stores identity mnemonics in the OS keychain (macOS Keychain / Linux libsecret) for security

Upgrade

Tell the agent "upgrade keychat" in any chat, or manually:

openclaw plugins install @keychat-io/keychat@latest
openclaw gateway restart

Connect

After install, the user can add the agent as a Keychat contact:

  1. Open the Keychat app → tap Add Contact
  2. Scan the QR code, or paste the agent's npub
  3. The agent automatically accepts and establishes an encrypted session

The user can also ask the agent "what's my Keychat ID" at any time to get the npub, link, and QR code.

More info: github.com/keychat-io/keychat-openclaw