matrix-administration SKILL.md skillA

matrix-administration from netresearch/matrix-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add netresearch/matrix-skill/matrix-administration@v4.1.0

Pins v4.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
netresearch/matrix-skill
Path
skills/matrix-administration/SKILL.md
Versions recorded
16
Latest version
v4.1.0, committed Nov 4, 2026
First version recorded
Aug 13, 2026
Size
5,462 bytes
Repository stars
5
License
a license file GitHub does not identify

Use when administering a Synapse / Matrix homeserver — list or snapshot all rooms, rate room health (public, unencrypted, orphaned), render a Graphviz map of the room/space tree, force-join users, promote room admins, harden rooms (add-to-space + restrict + encrypt), deactivate Matrix users (with GDPR erase), find biggest rooms by DB size, audit where a user is admin or member, replay join/leave timelines, or search unencrypted history. Trigger on any '/_synapse/admin', server-wide room…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Matrix Administration

Stdlib-only Python wrappers around the Synapse [Admin API](https://element-hq.github.io/synapse/latest/usage/administration/admin_api/index.html) and the Client-Server API. Reads `~/.config/matrix/config.json` (the same file matrix-communication uses).

## Quick Reference

```bash
S=skills/matrix-administration/scripts

uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-fetch-rooms.py [--server :example.com]
uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-rate-rooms.py --space '!home:srv' [--language de]
uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-graph.py --space '!home:srv'
uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-biggest-rooms.py [-n 10]

uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-join-room.py    '!room:srv' '@user:srv'
uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-make-admin.py   '!room:srv' '@user:srv'
uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-add-to-space.py '!room:srv' '!space:srv'
uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-migrate-room.py '!room:srv' '@admin:srv' '!space:srv'   # DESTRUCTIVE, asks first

uv run ${CLAUDE_SKILL_DIR}/scripts/synapse-deactivate-user.py   '@user:srv'   # DESTRUCTIVE
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add netresearch/matrix-skill/matrix-administration@sha256:e57f7f7d76e03dfd

The line at the top of this page pins the label v4.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yovoyc37tyehzvo2.svg)](https://markdownregistry.com/a/art_yovoyc37tyehzvo2)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 16 versions of this file, between Aug 13, 2026 and Nov 4, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
v4.1.0 latest2026-11-04 9840498 5,462 BA view · diff
v4.0.02026-10-25 bc400a9 5,462 BA view · diff
v4.0.02026-10-21 d79b069 5,480 BA view · diff
v3.1.82026-10-19 1f3a7d2 5,480 BA view · diff
v3.1.82026-09-29 84c92dd 5,474 BA view · diff
v3.1.82026-09-29 a130666 5,240 BA view · diff
v3.1.82026-09-27 1233c79 5,153 BA view · diff
v3.1.72026-09-18 26dbb01 5,153 BA view · diff
v3.1.62026-09-16 d1bc08c 5,153 BA view · diff
v3.1.52026-09-12 78e33ba 5,153 BA view · diff
v3.1.42026-09-11 485cf97 5,153 BA view · diff
v3.1.32026-09-03 60c656e 5,153 BA view · diff
v3.1.22026-08-29 808d6d9 5,153 BA view · diff
v3.1.22026-08-27 c47aa8c 4,715 BA view · diff
v3.1.12026-08-17 4669be4 4,715 BA view · diff
v3.1.02026-08-13 2458598 4,715 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5462 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

netresearch/matrix-skill · 5 stars · license a license file GitHub does not identify · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yovoyc37tyehzvo2
GET https://markdownregistry.com/api/v1/resolve?ref=netresearch/matrix-skill/matrix-administration
GET https://markdownregistry.com/api/v1/blob/e57f7f7d76e03dfdce3d97dc7da549cf1c8362ddb2a0301fc80eaa7a666a0a1b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from netresearch/matrix-skill

AGENTS.md AGENTS.md file
netresearch/matrix-skill · AGENTS.md
git:20261104.a3e4106 · audit A · 5 stars
CLAUDE.md CLAUDE.md file
netresearch/matrix-skill · CLAUDE.md
git:20260426.9d5826a · audit B · 5 stars
matrix-announcement SKILL.md skill
netresearch/matrix-skill · skills/matrix-announcement/SKILL.md · Use when composing a Matrix announcement — skill release, version bump, weekly digest, breaking-change heads-up…
v4.1.0 · audit A · 5 stars
matrix-communication SKILL.md skill
netresearch/matrix-skill · skills/matrix-communication/SKILL.md · Use when communicating via Matrix chat, notifying teams, or managing E2EE. Triggers on #room:server references, Matrix…
v4.1.0 · audit A · 5 stars

Every file in netresearch/matrix-skill

Browse by kind, by grade A, or by owner.