mx-enable-statusline

mx-enable-statusline is a command for coding agents from arikw/claude-code-matrix-bridge. It costs 25 tokens per session (208 once invoked), scanned B, original, MIT.

A command that installs a Matrix bridge status indicator in the project’s Claude Code settings. The indicator shows connection and typing states for the bridge.

In plain words
What is it for?
Use it to install or uninstall the project status line, and restart Claude Code afterward so the change appears. The bridge must have been initialized first.
Why use it?
It adds visible status information so the user can tell whether the Matrix bridge is connected or typing.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the rx-claude-matrix-bridge plugin — 2 commands, 3 hooks, 1 MCP server shipped together

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 commands/arikw/claude-code-matrix-bridge/mx-enable-statusline
Clone the repo
git clone --depth 1 https://github.com/arikw/claude-code-matrix-bridge

Or install rx-claude-matrix-bridge, the plugin that ships this one along with the rest of its 2 commands, 3 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mx-enable-statusline

README.md
[![agentmods](https://agentmods.dev/badge/commands/arikw/claude-code-matrix-bridge/mx-enable-statusline.svg)](https://agentmods.dev/commands/arikw/claude-code-matrix-bridge/mx-enable-statusline)
Your own site
<a href="https://agentmods.dev/commands/arikw/claude-code-matrix-bridge/mx-enable-statusline"><img src="https://agentmods.dev/badge/commands/arikw/claude-code-matrix-bridge/mx-enable-statusline.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 208 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00025 $0.00208
Opus 5 $0.00013 $0.00104
Sonnet 5 $0.00005 $0.00042
Haiku 4.5 $0.00003 $0.00021

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

Security

Grade B, and why

mx-enable-statusline scanned grade B with 1 finding 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 4d ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

2. Otherwise read `~/.claude/channels/rx-claude-matrix-bridge/plugin-root` and use `"$(cat ~/.claude/channels/rx-claude-matrix-bridge/plugin-root)/bin/mx-enable-statusline"`.
commands/mx-enable-statusline.md · 16 lines

What it actually says

Run the install script. Resolve the bridge install location in order:

  1. If $CLAUDE_PLUGIN_ROOT is set, use "$CLAUDE_PLUGIN_ROOT/bin/mx-enable-statusline".
  2. Otherwise read ~/.claude/channels/rx-claude-matrix-bridge/plugin-root and use "$(cat ~/.claude/channels/rx-claude-matrix-bridge/plugin-root)/bin/mx-enable-statusline".
  3. If neither yields an existing executable, report that the daemon hasn't been initialized yet — user should ensure matrix-bridge MCP is connected (/mcp) at least once.

Report the script's output verbatim. Tell the user to restart Claude Code in this project for the statusLine to appear.

Different directory: pass a path argument. Uninstall: pass --uninstall.

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. 4d ago First seen · 16 lines · 25 tokens per session scan B c48999db5fbe

Subscribe to this mod's changes

mx-enable-statusline is a command published in the GitHub repository arikw/claude-code-matrix-bridge (2 stars, last pushed 3mo ago), licensed MIT. It adds 25 tokens to every session and 208 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.