A specialized maintenance skill for diagnosing and repairing Matrix communication channel issues within Openclaw Skills environments.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install matrix-fix
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install matrix-fix using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The matrix-fix skill is a dedicated troubleshooting toolkit designed to address common technical hurdles encountered when using Matrix as a communication layer. It focuses on resolving high-impact issues such as missing encryption modules, invalid access tokens (M_UNKNOWN_TOKEN), and DNS resolution failures that can take your AI agents offline. By providing a structured set of recovery procedures, this utility ensures that Openclaw Skills maintain persistent and secure connections to their designated homeservers.
This skill is essential for developers maintaining long-running bots that require End-to-End Encryption (E2EE) and stable session management. It provides clear, actionable steps to rebuild native modules and refresh authentication states without losing core agent functionality.
To fix encryption and initialization issues within your Openclaw Skills environment, execute the following commands in your terminal:
# Navigate to the Openclaw installation
cd /usr/local/lib/node_modules/openclaw
# Install and rebuild the crypto module
pnpm add @matrix-org/matrix-sdk-crypto-nodejs
pnpm rebuild @matrix-org/matrix-sdk-crypto-nodejs
# Restart the gateway to apply changes
openclaw gateway restart
To clear invalid tokens:
rm -rf ~/.openclaw/matrix/accounts/*
openclaw gateway restart
The matrix-fix skill interacts with the local configuration and credential storage used by Openclaw Skills. The following table describes the data components managed:
| Component | Path / Key | Description |
|---|---|---|
| Accounts Cache | ~/.openclaw/matrix/accounts/* |
Stores local session tokens and device identification data. |
| Config Key | channels.matrix |
The root configuration object containing homeserver URL and credentials. |
| Encryption Module | @matrix-org/matrix-sdk-crypto-nodejs |
Native node module required for secure E2EE communication. |
| Log Stream | openclaw logs |
Source of truth for debugging ENOTFOUND and M_UNKNOWN_TOKEN errors. |
Loading
A specialized skill for programmatically fetching public Xiaohongshu posts, trending topics, and user data via the TikHub API.

An automated utility for managing V2Ray proxy services and system-wide proxy settings via the command line.

An advanced AI agent skill that uses multi-modal memory and feedback loops to continuously optimize performance through meta-learning.

An autonomous AI trading assistant that analyzes Polymarket data and real-world news to identify and execute profitable prediction market opportunities.

BKMRK is an AI-driven bookmarking tool that analyzes content like YouTube transcripts and GitHub repos to score their relevance to your specific coding projects.

A specialized CLI utility that transforms JSON data into the TOON format to achieve approximately 40% savings in token context usage.








































