🟩
Matrix
Messaging Messaging & SocialInstall Command
npx clawhub@latest install matrix
Installation Guide
1
Check Environment
Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.
2
Run Installation
Run the install command above in your terminal. ClawHub will automatically download and install Matrix to the ~/.openclaw/skills/ directory.
3
Verify Installation
Run openclaw skills list to check your installed skills and confirm Matrix appears in the list.
4
Configure (Optional)
Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.
Manual Installation: Copy the Skill folder to
~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Decentralized
End-to-End Encryption
Self-Hosted
Detailed Description
The Matrix skill connects OpenClaw to the Matrix decentralized communication network, providing AI services on an open-source and privacy-friendly platform.
Core Features
- Send & Receive Messages: Send and receive messages in Matrix rooms
- Multi-Client Support: Compatible with Element, FluffyChat, and all other Matrix clients
- End-to-End Encryption: Supports Matrix end-to-end encrypted messages
- Room Management: Join, create, and manage Matrix rooms
- Self-Hosted: Can connect to self-hosted Matrix servers (such as Synapse)
Configuration
{
skills: {
matrix: {
homeserver: "https://matrix.org",
userId: "@openclaw:matrix.org",
accessToken: "xxx"
}
}
}
Use Cases
- Use the AI assistant in Element chats
- Internal AI bot on an enterprise self-hosted Matrix server
- Communication scenarios emphasizing privacy and decentralization
- AI Q&A bot for open-source communities