mindroom: Instructions file for Codex

AGENTS.md

mindroom AGENTS.md is an instructions file for Codex, OpenCode from mindroom-ai/mindroom. It costs 7,498 tokens per session, scanned A, a copy of superpowers AGENTS.md, Apache-2.0.

Project-specific instructions for mindroom, a project described as freeing an AI from being limited to individual apps.

In plain words
What is it for?
Use them when modifying or reviewing the mindroom project.
Why use it?
The provided details do not explain the project's coding rules or other concrete behavior.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is mindroom-ai/mindroom's own configuration. It tells Codex and OpenCode how to work on mindroom itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mindroom configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/mindroom-ai/mindroom/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/mindroom-ai/mindroom

Made for: Codex, OpenCode.

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 mindroom AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mindroom-ai/mindroom/agents-md/github.svg)](https://agentmods.dev/instructions/mindroom-ai/mindroom/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/mindroom-ai/mindroom/agents-md"><img src="https://agentmods.dev/badge/instructions/mindroom-ai/mindroom/agents-md/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.

agentmods 80×15 button for mindroom AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mindroom-ai/mindroom/agents-md"><img src="https://agentmods.dev/badge/instructions/mindroom-ai/mindroom/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,498 This file is loaded in full into every session.
When invoked 7,498 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.07498 $0.07498
Opus 5.5 $0.02999 $0.02999
Sonnet 5.5 $0.01500 $0.01500
Haiku 4.5 $0.00750 $0.00750

Measured yesterday against content hash 785209004d68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mindroom AGENTS.md 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 yesterday.

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.

Origin

This is a copy

100% identical to superpowers AGENTS.md — 336 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 322 lines

How it starts

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

AGENTS.md

This file provides guidance to coding agents (Claude Code, Codex, and others) when working with code in this repository. Keep this file under 32 KiB, because Codex reads only the first 32 KiB of project instructions and silently drops the rest; tests/test_agents_md.py enforces the limit. Put reference material that agents read on demand, such as the code map and live-run procedures, in the linked files instead.

Project Overview

MindRoom - AI agents that live in Matrix and work everywhere via bridges. The project consists of:

  • Core MindRoom (src/mindroom/) - AI agent orchestration system with Matrix integration
  • SaaS Platform (saas-platform/) - Kubernetes-based platform for hosting MindRoom instances
    • Platform Backend (FastAPI) - API server for subscriptions, instances, SSO
    • Platform Frontend (Next.js 16) - Dashboard for managing instances
    • Instance deployment via Helm charts

1. Core Philosophy

  • Embrace Change, Avoid Backward Compatibility: This project has no end-users yet. Prioritize innovation and improvement over maintaining backward compatibility.
  • Simplicity is Key: Implement the simplest possible solution. Avoid over-engineering or generalizing features prematurely.
  • Focus on the Task: Implement only the requested feature, without adding extras.
  • Functional Over Classes: Prefer a functional programming style for Python over complex class hierarchies.
  • Keep it DRY: Don't Repeat Yourself. Reuse code wherever possible.
  • Be Ruthless with Code Removal: Aggressively remove any unused code, including functions, imports, and variables.
  • Prefer dataclasses: Use dataclasses that can be typed over dictionaries for better type safety and clarity.
  • Documentation Line Style: In Markdown docs, write one sentence per line, and never split a single sentence across multiple lines.
  • Do not wrap things in try-excepts unless it's necessary. Avoid wrapping things that should not fail.
  • NEVER put imports in the function, unless it is to avoid circular imports or to keep a heavy import (for example a provider SDK) out of module import time. Prefer an explicit function-level from x import Y with # noqa: PLC0415 over dynamic import_module indirection. Imports should be at the top of the file.
  • tests/test_import_graph.py pins the complete third-party import surface of slim CLI, config, tool-registry, and sandbox entry points, and bans heavy optional provider, storage, and ML/data dependencies from the primary runtime. If it fails on your change, defer the new import to first use; extend the allowlist only when the dependency is genuinely needed at import time.
  • Do not use getattr() or hasattr() to weaken a typed interface or probe for fields that the declared type should guarantee.
  • If mocks or tests break, fix them to use proper typed objects or stricter mocks instead of adding dynamic attribute fallbacks in production code.
  • Merge and forget: Code you touch should be polished enough to never revisit. Fix rough edges in code you're already changing.

Read the full file on GitHub · 322 lines

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. yesterday Changed · +3 tokens per session 785209004d68
  2. 7d ago Changed · -4 tokens per session 980c9c7de967
  3. 11d ago Changed · +3 lines · +108 tokens per session 918eb07cdd41
  4. 12d ago Changed · +1 lines · +41 tokens per session a7a7e0d3152e
  5. 13d ago Changed · +1 lines · +29 tokens per session 58102455a7d6
  6. 16d ago Changed · -16 tokens per session f07f8a33d7d6
  7. 17d ago Changed · -661 lines · -8,860 tokens per session c27b13d29c82
  8. 18d ago Changed · +5 lines · +156 tokens per session fabba0b5981e
  9. 19d ago Changed · +19 lines · +508 tokens per session f31f3028bcd8
  10. 20d ago First seen · 954 lines · 15,533 tokens per session scan A e3776175145d

Subscribe to this mod's changes

mindroom AGENTS.md is an instructions file published in the GitHub repository mindroom-ai/mindroom (346 stars, last pushed today), licensed Apache-2.0. It adds 7,498 tokens to every session, about $0.0300 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to superpowers AGENTS.md, differing in 336 lines, and is treated as a copy.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens