/matrix-client:send-messagefrom matrix-client
Send a Matrix message (text, Markdown, notice or file) to a room via matrix-commander. Use on "send X on Matrix".
Ships in matrix-client. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Sends as the logged-in account: recipients see it from the user, not from a bot.
!abc:server), alias (#room:server), or a name resolved with list-rooms.
Omit to use the default room in credentials.json.--markdown.list-rooms; if two rooms match,
ask. Say which room (name + id) the message is going to before sending to anyone other than the
user alone.MC_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/matrix-commander"
M="matrix-commander -c $MC_DIR/credentials.json -s $MC_DIR/store"
cd /tmp && timeout 60 $M --room '<room>' --markdown -m '<message>' --print-event-id 2>/dev/null
Variants:
--markdown;--notice instead of --markdown;--file '<path>' (images: --image '<path>', audio: --audio '<path>');--room '<a>' '<b>'.<event-id> <room-id> <message>. An event id starting with $ is the
proof it was accepted by the server. Report room name and event id.--room-redact). Confirm the
room when it has other members unless the user named it explicitly.cli-login step 5).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/check-loginCheck whether Element Desktop and the matrix-commander CLI are logged in to Matrix, and as which user. Use on "am I logged in to Matrix"./cli-loginLog the matrix-commander CLI in to a Matrix account (password or SSO) as a new device, then verify it. Use on "log the Matrix CLI in"./install-clientInstall a Matrix client on this computer: Element Desktop (GUI) and the matrix-commander CLI. Use on "install Matrix", "set up Element"./list-roomsList the Matrix rooms the logged-in account is in, with names, aliases, encryption and members. Use on "which Matrix rooms am I in"./read-messagesRead recent Matrix messages in a room (last N, incl. your own) or wait for new ones. Use on "what's new on Matrix".matrix-client@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin matrix-client