Borrowing it
Nothing to install: this file belongs to mindroom-ai/mindroom. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mindroom-ai/mindroom/main/.claude/commands/init.mdgit clone --depth 1 https://github.com/mindroom-ai/mindroomWrote 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.
[](https://agentmods.dev/commands/mindroom-ai/mindroom/init)<a href="https://agentmods.dev/commands/mindroom-ai/mindroom/init"><img src="https://agentmods.dev/badge/commands/mindroom-ai/mindroom/init/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/mindroom-ai/mindroom/init"><img src="https://agentmods.dev/badge/commands/mindroom-ai/mindroom/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00005 | $0.01205 |
| Opus 5.5 | $0.00002 | $0.00482 |
| Sonnet 5.5 | $0.00001 | $0.00241 |
| Haiku 4.5 | $0.00001 | $0.00120 |
Grade A, and why
init 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 12d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Initialize MindRoom Understanding
Your Task
$ARGUMENTS
Instructions:
- If a feature description was provided above, initialize your understanding of MindRoom and then start implementing that feature
- If no feature description was provided (empty above), just initialize your understanding and wait for further instructions
- Either way, first understand the current development context and project structure below
Current Development Context
- Current branch: !
git branch --show-current - Changes from main: !
git diff --merge-base origin/main --stat - Full diff: !
git diff --merge-base origin/main
Note: If there are no changes from main, we're starting fresh. Otherwise, understand the current feature being developed from the diff above.
Important: Speech-to-Text Usage
The user often dictates using speech-to-text, so expect:
- Typos and incorrect words
- Imperfect sentence structure
- Homophone substitutions (e.g., "to/too/two", "there/their")
- Missing punctuation or capitalization
Focus on understanding the intent rather than the exact wording. When in doubt, clarify rather than assume.
Project Understanding
Read and understand the MindRoom project structure:
-
Read Core Documentation
- Full README.md for project purpose and architecture
- AGENTS.md for development guidelines and workflow
-
Code Structure
- Main bot:
src/mindroom/bot.py - Matrix interactions:
src/mindroom/matrix/modulematrix/client.py- Core Matrix client functionsmatrix/mentions.py- Mention handlingmatrix/message_builder.py- Message constructionmatrix/identity.py- Matrix ID handlingmatrix/rooms.py- Room managementmatrix/state.py- State managementmatrix/users.py- User management
- Main bot:
-
Development Best Practices
- ALWAYS check for existing helper functions before implementing new ones
- Look in
matrix/module for Matrix utilities - Check
thread_utils.pyfor thread handling - Review
src/mindroom/commands/parsing.pyandsrc/mindroom/commands/handler.pyfor command parsing and dispatch patterns - Use uv (not conda) for package management
- Install:
uv sync --all-extras - Activate:
source .venv/bin/activate - Add packages:
uv add <package>oruv add --dev <package> - Critical Git practices:
- NEVER use
git add .- always add files individually - Always run
pytestbefore claiming completion - Run
pre-commit run --all-filesbefore commits
- NEVER use
- Code style:
- Prefer functional style over classes
- Use dataclasses over dictionaries
- Keep it DRY - aggressively remove unused code
- Don't wrap in try-except unless necessary
- Keep imports at file top; function imports may avoid cycles or defer heavy/optional dependencies until first use, following AGENTS.md
- Keep deferred imports explicit (
from x import Y) with# noqa: PLC0415where needed, and preserve thetests/test_import_graph.pycontract
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.
- 12d ago Changed 13da33d4df1b
- 17d ago Changed 459eb8cc627b
- 22d ago Changed 36e2f907ea00
- 1mo ago Changed · +4 lines e39570985a10
- 1mo ago First seen · 99 lines · 5 tokens per session scan A ab8a6d9cd311
init is a command published in the GitHub repository mindroom-ai/mindroom (346 stars, last pushed today), licensed Apache-2.0. It adds 5 tokens to every session and 1,205 once invoked, about $0.0000 per session on Opus 5.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-30.
Other commands, from other repositories
review
Review one attached document for inconsistencies.
expenses
Check invoice and expense calculations, evidence, and supplied rules.
extract
Extract financial records into a table with source references.
brief
Build a short brief with source references and open questions.
obligations
Extract duties, deadlines, and renewal terms from agreements.
reconcile
Match financial records and report amounts that differ.