返回顶部
v

verify-matrix-device验证矩阵设备

Verify and cross-sign the active Matrix device for one OpenClaw-managed account. Use when a user needs to repair trust for an OpenClaw Matrix device, confirm the current device is self-signed, or recover cross-signing with a recovery key.

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

verify-matrix-device

OpenClaw Matrix 设备验证

当用户想要验证 OpenClaw 管理账户当前活跃的 Matrix 设备时,使用此技能。

必需输入

  • - homeserver:Matrix 主服务器基础 URL。
  • username:OpenClaw 账户 ID、完整 Matrix 用户 ID 或唯一本地部分。
  • recovery key:Matrix 恢复密钥。请将其视为机密信息。
  • 可选:当 openclaw.json 不在默认位置时,提供其路径。

工作流程

  1. 1. 如果缺少任何必需输入,向用户询问。
  2. 确保此技能文件夹中已安装依赖项。如果缺少 {baseDir}/node_modules/matrix-js-sdk,运行 npm install --prefix {baseDir}。
  3. 从此技能文件夹运行验证程序:
node {baseDir}/scripts/verifymatrixdevice.mjs --homeserver --username
  1. 4. 如果用户提供了非默认配置路径,附加:
--openclaw-json
  1. 5. 让脚本在终端中提示输入恢复密钥。不要在命令行或环境变量中传递恢复密钥。
  2. 报告设备是否已经完成交叉签名或已成功签名。

注意事项

  • - 该技能使用 openclaw.json 中现有的 OpenClaw 访问令牌;不会创建辅助 Matrix 设备。
  • 验证程序直接签名活跃设备,并在服务器端确认签名。
  • 使用真实 TTY,以便隐藏的恢复密钥提示能正常工作。
  • 在 OpenClaw 外部进行本地测试时,--access-token 会绕过 openclaw.json,并提示输入 Matrix 用户 ID 和访问令牌(--direct 和 -t 是兼容别名)。
  • 如果缺少访问令牌,--password(或 -p)可以使用 Matrix 密码登录并签名特定的目标 device_id,然后注销临时辅助会话。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 verify-matrix-device-1776281134 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 verify-matrix-device-1776281134 技能

通过命令行安装

skillhub install verify-matrix-device-1776281134

下载

⬇ 下载 verify-matrix-device v0.1.0(免费)

文件大小: 13.54 KB | 发布时间: 2026-4-16 18:14

v0.1.0 最新 2026-4-16 18:14
Initial release of verify-matrix-device:

- Verifies and cross-signs the active Matrix device for a specified OpenClaw-managed account.
- Prompts user for missing inputs, manages dependencies, and uses secure recovery key entry.
- Utilizes existing `openclaw.json` access token; does not generate or use temporary devices for OpenClaw.
- Reports on device verification status, confirming if already cross-signed or newly signed.
- Supports advanced options for local testing, including direct access token and password-based flows.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部