matrix

A tool for communicating through Matrix, a messaging system organised into rooms. It can send and read messages, upload files, manage reactions, and list joined rooms.

In plain words
What is it for?
Use it to post updates, read room history, list rooms, share files, add reactions, inspect reactions, or send several files with pacing to avoid rate limits.
Why use it?
It lets an agent handle common Matrix communication tasks from one interface, including finding rooms and working with messages or attachments.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ssube/conclave/matrix
Any agent
npx skills add ssube/conclave --skill matrix
Clone the repo
git clone --depth 1 https://github.com/ssube/conclave

Made for: Claude Code, Codex.

Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00042 $0.01354
Opus 5 $0.00021 $0.00677
Sonnet 5 $0.00008 $0.00271
Haiku 4.5 $0.00004 $0.00135

Measured 2d ago against content hash ea306f7e253a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

matrix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (matrix.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pi/skills/matrix/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Matrix Skill

Unified Matrix communication tool with structured error handling, rate-limit awareness, and room alias resolution.

Actions

Action Description
send Send a text message to a room
read Read recent messages from a room (chronological, with filters)
rooms List all joined rooms
attach Upload and send a file (auto-detects image/video/audio)
react Send a reaction to an event
reactions Query reactions on a specific event (with fallback scan)
batch Send multiple files with pacing to avoid rate limits

Usage

python3 {baseDir}/matrix.py <command> [options]

Send a message

# Send to default room
python3 {baseDir}/matrix.py send "Hello from the agent"

# Send to a specific room by alias
python3 {baseDir}/matrix.py send "Status update" --room home

# Send to a room by full alias
python3 {baseDir}/matrix.py send "Hello" --room '#general:example.com'

# Send to a room by ID
python3 {baseDir}/matrix.py send "Hello" --room '!abc123:example.com'

Read messages

# Read last 2 hours from default room
python3 {baseDir}/matrix.py read --room home

# Read last 30 minutes, compact format
python3 {baseDir}/matrix.py read --room home --since 30 --compact

# Filter to a specific user, humans only
python3 {baseDir}/matrix.py read --room home --from ssube --humans-only

# Check all joined rooms
python3 {baseDir}/matrix.py read --all --humans-only

# Output as JSON
python3 {baseDir}/matrix.py read --room home --json

List rooms

python3 {baseDir}/matrix.py rooms

Send a file

# Upload and send an image (auto-detected)
python3 {baseDir}/matrix.py attach --file /path/to/image.png --room home

# Upload with a caption (sent as separate text message before the file)
python3 {baseDir}/matrix.py attach --file /path/to/video.mp4 --caption "Check this out" --room home

React to a message

python3 {baseDir}/matrix.py react '$eventId' --emoji "👍" --room home

Read the full file on GitHub · 165 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 165 lines · 42 tokens per session scan A ea306f7e253a

Subscribe to this mod's changes

matrix is a skill published in the GitHub repository ssube/conclave (2 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 1,354 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mine

Mine a project or conversation into your MemPalace — extract and store memories for later retrieval.

MemPalace/mempalace · 21 tokens

search

Search your MemPalace — semantic search across all mined memories, projects, and conversations.

MemPalace/mempalace · 20 tokens

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

mempalace-recall

Recall protocol for MemPalace — search the palace before answering about past work, people, projects, or prior decisions. Apply when the user asks what was decided, what happened before, who someone is, what was discussed last time, or anything that may already be filed in their memory palace; or when mempalace-recall…

MemPalace/mempalace · 94 tokens

docker-extend

Use when: User wants to extend Docker with custom tools, personalize the Docker environment, or set up user-specific Docker customization. Triggers: 'extend docker', 'docker-extend', 'add tools to docker', 'customize docker', 'add my tools to the container', 'personalize docker setup', 'docker user setup', 'install…

coleam00/Archon · 118 tokens

runjam-defaults

Default constraints for every RunJam session. Defines output path conventions, dependency checking rules, fallback strategies, and file management discipline. This skill is auto-injected into every session — do not remove. Current session working directory: /Users/guizhan/work/code/runjam.

peintune/runjam · 59 tokens