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 operati…
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 operation, Matrix user offboarding, or anything requiring a homeserver-admin token — even without 'admin API' in the prompt.
Companion to matrix-communication.
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars5
LicenseLICENSE-CC-BY-SA-4.0
Default branchmain
Open issues1
Status
Archived
Skill metadata
Parsed from SKILL.md frontmatter.
Version3.1.3
License(MIT AND CC-BY-SA-4.0). See LICENSE-MIT and LICENSE-CC-BY-SA-4.0
Compatibilitypython3 (stdlib only) + a Matrix access token belonging to a Synapse server-admin user. Optional: graphviz `dot` for SVG. Synapse 1.x with admin API enabled.
Files included with this skill beyond the listing page.
skill mdSKILL.md5,153 B
docsSUMMARY.md684 B
History
First seen on skills.sh
First recorded snapshot · 19 installs
SKILL.md
Matrix Administration
Stdlib-only Python wrappers around the Synapse Admin API and the Client-Server API. Reads ~/.config/matrix/config.json (the same file matrix-communication uses).
homeserver and either admintoken or accesstoken (server-admin) are required. The other fields are optional. Env fallbacks: MATRIXUSERID, MATRIXSPACEID, LANGUAGE=en|de, NO_COLOR.
Safety
The token is server-admin. Read [references/safety-guide.md](references/safety-guide.md) before any destructive op.
synapse-deactivate-user.py is irreversible.
synapse-migrate-room.py enables encryption (one-way) and restricts joins; it prints the plan and asks before the first write (--yes skips, and is required without a terminal). Power-level changes restored on exit including Ctrl-C.
synapse-make-admin.py raises PL 100 permanently.
synapse-search.py cannot read E2EE — empty ≠ no messages.