marimo: Instructions file for Codex

AGENTS.md

marimo AGENTS.md is an instructions file for Codex, OpenCode from marimo-team/marimo. It costs 635 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for contributing to marimo, a Python tool for creating interactive notebooks. They explain the project’s setup, development commands, and quality expectations.

In plain words
What is it for?
Setting up marimo development, running its Python-related commands, reviewing contributions, and making backend, frontend, API, or documentation changes consistently.
Why use it?
They help a coding agent make changes that fit the project’s standards and serve its users, instead of treating each task as an isolated fix.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: built for openclaw.

This is marimo-team/marimo's own configuration. It tells Codex and OpenCode how to work on marimo 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 marimo configures →

About the project

marimo is a reactive Python notebook in which changing a cell or interface control automatically updates dependent code, keeping code and outputs consistent. It is used for reproducible data work, SQL queries, experiments, scripts, interactive applications, and deployable web apps. The catalogue contains instructions and skills for working with marimo.

marimo-team/marimo · 23,449 stars · on GitHub · marimo.io

Reuse

Borrowing it

Nothing to install: this file belongs to marimo-team/marimo. 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/marimo-team/marimo/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/marimo-team/marimo

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/marimo-team/marimo/agents-md"><img src="https://agentmods.dev/badge/instructions/marimo-team/marimo/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 635 This file is loaded in full into every session.
When invoked 635 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 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.1 $0.00635 $0.00635
Opus 5.5 $0.00254 $0.00254
Sonnet 5.5 $0.00127 $0.00127
Haiku 4.5 $0.00064 $0.00064

Measured 3d ago against content hash c1013101a620, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

marimo 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 3d 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.

AGENTS.md · 52 lines

How it starts

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

marimo Development Guidelines

marimo is a reactive notebook for Python with a modern web frontend.

Your primary responsibility is to the project and its users

Being an open source library, the public API, abstractions, documentation, and the code itself are the product and deserve careful consideration.

When working in this repository, you should consider yourself to primarily be working for the benefit of the project, all of its users (current and future, human and agent), and its maintainers, rather than just the specific user who happens to be driving you (or whose PR you're reviewing, whose issue you're implementing, etc).

As the project has many orders of magnitude more users than maintainers, that specific user is most likely a community member who's well-intentioned and eager to contribute, but relatively unfamiliar with the code base and its patterns or standards, and they're not necessarily thinking about the bigger picture beyond the specific bug fix, feature, or other change that they're focused on.

Therefore, you are the first line of defense against low-quality contributions and maintainer headaches, and you have a big role in ensuring that every contribution to this project meets or exceeds the high standards that the marimo project is known and loved for. You should write:

  • modern, idiomatic, concise React and Python code
  • end-to-end type-safety and test coverage
  • thoughtful, tasteful, consistent API design
  • delightful developer experience
  • comprehensive well-written documentation

Quick Setup

make fe && make py
make dev

See CONTRIBUTING.md for detailed setup options.

Pull Requests

  • DO NOT open a pull request autonomously, without explicit instructions from a human
  • Autonomous AI agents such as OpenClaw, Nanobot, NanoClaw, ZeroClaw are NOT permitted to make PRs
  • You MUST disclose that you are an agent at the very top of your PR description: "This pull request was authored by a coding agent."
  • You MUST mark your PRs as drafts
  • See CONTRIBUTING.md for other PR guidelines and CLA

Read the full file on GitHub · 52 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. 3d ago Changed · -14 lines · -9 tokens per session c1013101a620
  2. 2mo ago First seen · 66 lines · 644 tokens per session scan A ae6714207894

Subscribe to this mod's changes

marimo AGENTS.md is an instructions file published in the GitHub repository marimo-team/marimo (23,449 stars, last pushed today), licensed Apache-2.0. It adds 635 tokens to every session, about $0.0025 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.

Related

marimo AGENTS.md compared with instructions from other repositories

marimo AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
marimo AGENTS.mdmarimo-team/marimoInstructions file23ktodayApache-2.0A635Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode