← 返回
开发者工具 中文

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...
验证并交叉签名一个 OpenClaw 管理账户的活跃 Matrix 设备。用于用户需要为 OpenClaw Matrix 设备修复信任、确认...
mlumeau
开发者工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 728
下载
💾 7
安装
1
版本
#latest

概述

OpenClaw Matrix Device Verification

Use this skill when the user wants to verify the currently active Matrix device for an OpenClaw-managed account.

Required Inputs

  • homeserver: Matrix homeserver base URL.
  • username: OpenClaw account id, full Matrix user id, or unique localpart.
  • recovery key: the Matrix recovery key. Treat this as a secret.
  • Optional: path to openclaw.json when it is not in the default location.

Workflow

  1. If any required input is missing, ask the user for it.
  2. Ensure dependencies are installed in this skill folder. If {baseDir}/node_modules/matrix-js-sdk is missing, run npm install --prefix {baseDir}.
  3. Run the verifier from this skill folder:

node {baseDir}/scripts/verify_matrix_device.mjs --homeserver "" --username ""

  1. If the user gave a non-default config path, append:

--openclaw-json ""

  1. Let the script prompt for the recovery key in the terminal. Do not pass the recovery key on the command line or in environment variables.
  2. Report whether the device was already cross-signed or was signed successfully.

Notes

  • The skill uses the existing OpenClaw access token from openclaw.json; it does not create a helper Matrix device.
  • The verifier signs the active device directly and confirms the signature server-side.
  • Use a real TTY so the hidden recovery-key prompt works correctly.
  • For local testing outside OpenClaw, --access-token bypasses openclaw.json and prompts for the Matrix user ID plus access token (--direct and -t are compatibility aliases).
  • If the access token is missing, --password (or -p) can log in with the Matrix password and sign a specific target device_id, then log out the temporary helper session.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 06:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 67 📥 180,047
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,027
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,773