Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

matrix-mentions-patch矩阵提及补丁

Agent Skill

matrix-mentions-patch 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,659

周安装

148

GitHub Stars

公开资料未说明

下载量

1,148
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:matrix-mentions-patch(矩阵提及补丁)
来源仓库:https://github.com/biociao/matrix-mentions-patch
安装命令:
openclaw skills install matrix-mentions-patch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install matrix-mentions-patch

简介

@提及通知修复补丁管理工具。matrix-mentions-patch 属于效率类 Skill,可作为该场景下的辅助能力补充。

  • 解决 Matrix 聊天室中 @mentions 失效或通知未触发问题。
  • 支持补丁安装、更新与应用状态验证功能。
  • 安装命令:openclaw skills install matrix-mentions-patch。
  • 应在测试环境验证补丁兼容性后再部署至生产。

SKILL.md

name
matrix-mentions-patch
description
Use when a user reports Matrix @mentions not working, notifications not triggering, asks to fix/update the mentions patch, or asks to install/apply the patch. This skill should only be used when explicitly requested.

Matrix Mentions Patch

Patches OpenClaw's Matrix plugin to attach m.mentions to outbound messages so clients like Element properly notify mentioned users.

When to Use

  • User reports @mentions not triggering notifications
  • User asks to "fix Matrix mentions" or "update the mentions patch"
  • User asks to "install" or "apply" the mentions patch

Only apply when requested. Do not auto-apply.

Patch Status Check

Before applying, check if already patched:

grep -l "extractMentionsFromText" ~/.nvm/versions/node/v22.22.0/lib/node_modules/openclaw/extensions/matrix/src/matrix/send/formatting.ts
  • Already patched: Output will show the file. No action needed — just use correct @mention format.
  • Not patched: No output. Proceed to apply the patch.

How to Apply (First-time Setup)

Step 1: Run the patch script

node ~/.openclaw/workspace/skills/matrix-mentions-patch/patch-matrix-mentions.mjs

The script will:

  1. Locate auth-profiles-*.js in OpenClaw's dist/
  2. Create a .bak backup automatically
  3. Patch in-place

Step 2: Restart the gateway

openclaw gateway restart

Step 3: Verify

Send a message with a full Matrix ID mention:

@username:matrix.biochao.cc

The mentioned user should see a notification.

Routine Use (After Patched)

Once patched, no further action needed. Just ensure correct @mention format:

正确格式:

@username:matrix.biochao.cc

错误格式:

  • Markdown link: [](https://matrix.to/#/@user)
  • HTML span: <span>@user</span>
  • 任何包装格式

直接发送纯文本 Matrix ID,客户端即可正确识别并通知。

Re-applying After Updates

Every openclaw update may overwrite the patch. Re-apply by running:

node ~/.openclaw/workspace/skills/matrix-mentions-patch/patch-matrix-mentions.mjs
openclaw gateway restart

Undoing the Patch

Restore from backup:

cp ~/.nvm/versions/node/v22.22.0/lib/node_modules/openclaw/dist/auth-profiles-*.js.bak \
 ~/.nvm/versions/node/v22.22.0/lib/node_modules/openclaw/dist/auth-profiles-*.js
openclaw gateway restart

Target File

~/.nvm/versions/node/v22.22.0/lib/node_modules/openclaw/dist/auth-profiles-*.js

Requirements

  • OpenClaw core
  • Matrix plugin configured and working
  • Node.js runtime

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.77%
按下载量换算996

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills