Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
netresearch avatar

Matrix Communication

  • 38 installs
  • 4 repo stars
  • Updated August 2, 2026
  • netresearch/matrix-skill

Helps with ai & agent building tasks.

About

matrix-communication is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • matrix-communication
  • AI & Agent Building
  • AI-coding skill

Matrix Communication by the numbers

  • 38 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #8,404 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/netresearch/matrix-skill --skill matrix-communication

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs38
repo stars4
Last updatedAugust 2, 2026
Repositorynetresearch/matrix-skill

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Matrix Communication

Matrix rooms: send, read, download media. *Always use `-e2ee.py` scripts.**

Bash `!` rule: Prepend set +H && when arguments contain !

Quick Reference

ROOM: name (test), ID (!abc:server), or alias (#room:server).

# Send (E2EE)
set +H && uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-send-e2ee.py ROOM "message"
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-send-e2ee.py ROOM "message" --no-prefix
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-send-e2ee.py ROOM "is deploying" --emote
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-send-e2ee.py ROOM "📦 Release: …" --notice    # unattended automation; no auto-reply loops
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-send-e2ee.py ROOM "reply" --thread '$rootEventId'
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-send-e2ee.py ROOM "reply" --reply '$eventId'

# Read (E2EE) — JSON includes media URL/info for m.image/m.file/m.video/m.audio
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-read-e2ee.py ROOM --limit 10
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-read-e2ee.py ROOM --limit 20 --json

# Download media (E2EE) — decrypts and saves by event ID
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-download-e2ee.py ROOM '$eventId' --output /tmp

# Edit / Delete / React
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-edit-e2ee.py ROOM '$eventId' "new text"
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-redact.py ROOM '$eventId' "reason"
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-react.py ROOM '$eventId' "✅"

# Rooms
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-rooms.py
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-rooms.py --search ops
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-resolve.py "#room:server"

# E2EE management
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-e2ee-setup.py --status
MATRIX_PASSWORD="pass" uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-e2ee-setup.py
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-e2ee-verify.py --timeout 180
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-fetch-keys.py ROOM --sync-time 60
uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-key-backup.py --recovery-key "EsTj ..." --import-keys

# Health check (uses python3, not uv run)
python3 ${CLAUDE_SKILL_DIR}/scripts/matrix-doctor.py --install

Script Selection

OperationE2EE (preferred)Non-E2EE Fallback
Sendmatrix-send-e2ee.pymatrix-send.py
Readmatrix-read-e2ee.pymatrix-read.py
Editmatrix-edit-e2ee.pymatrix-edit.py
Downloadmatrix-download-e2ee.py
Reactmatrix-react.py(same)
Deletematrix-redact.py(same)

Other: matrix-rooms.py, matrix-resolve.py, matrix-e2ee-setup.py, matrix-e2ee-verify.py, matrix-fetch-keys.py, matrix-key-backup.py, matrix-doctor.py.

Config

~/.config/matrix/config.json — required: homeserver, user_id. Optional: access_token

Error Handling

ErrorSolution
M_FORBIDDENJoin room first in Element
M_UNKNOWN_TOKENGet new token from Element
M_LIMIT_EXCEEDEDWait and retry
Could not find roommatrix-rooms.py to list rooms
[Unable to decrypt]First: uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-fetch-keys.py ROOM --sync-time 60 (requests keys from other devices, no recovery key needed); fallback: uv run ${CLAUDE_SKILL_DIR}/scripts/matrix-key-backup.py --recovery-key "..." --import-keys
libolm not foundLinux: apt install libolm-dev; macOS 26+ unsupported (see references/setup-guide.md)
matrix-nio not foundpython3 ${CLAUDE_SKILL_DIR}/scripts/matrix-doctor.py --install
Invalid passwordUse env var: MATRIX_PASSWORD="pass" uv run ...
signature failedDedicated device via matrix-e2ee-setup.py

Common Mistakes

  • Using non-E2EE scripts for encrypted rooms — always use *-e2ee.py
  • Forgetting `set +H`! in messages gets mangled by bash
  • Skipping `--import-keys` — key backup doesn't save without it
  • Using Element X for verification — use Element Desktop or Android
  • Hardcoding passwords — use MATRIX_PASSWORD env var

References

  • references/setup-guide.md — setup
  • references/e2ee-guide.md — E2EE, key recovery, verification
  • references/messaging-guide.md — formatting, reactions
  • references/api-reference.md — Matrix API
  • netresearch/matrix-skill

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.