marimo-pair

marimo-pair is a skill for Claude Code, Codex from marimo-team/marimo. It costs 57 tokens per session (2,580 once invoked), scanned A, original, Apache-2.0.

A way to work directly inside a user’s live marimo notebook, a Python notebook whose cells update each other when their data changes. It can inspect the running notebook and apply changes through its own code-editing system.

In plain words
What is it for?
Inspecting notebook state, running Python, adding or editing cells, changing values or packages, and saving durable changes to the notebook.
Why use it?
The live notebook session contains the current cells, variables, outputs, and dependencies, so changing only the file on disk can leave the user’s running notebook unchanged or cause edits to be overwritten.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Inspecting notebook state, running Python, adding or editing cells, changing values or packages, and saving durable changes to the notebook.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marimo-team/marimo/marimo-pair
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,217 stars · on GitHub · marimo.io

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.

Any agent
npx skills add marimo-team/marimo --skill marimo-pair
Clone the repo
git clone --depth 1 https://github.com/marimo-team/marimo

Made for: Claude Code, Codex.

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-pair

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marimo-team/marimo/marimo-pair"><img src="https://agentmods.dev/badge/skills/marimo-team/marimo/marimo-pair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.02580
Opus 5.5 $0.00023 $0.01032
Sonnet 5.5 $0.00011 $0.00516
Haiku 4.5 $0.00006 $0.00258

Measured 1mo ago against content hash 092b6e4f4d60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

marimo-pair 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

marimo/_server/ai/skills/marimo-pair/SKILL.md · 279 lines

How it starts

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

marimo is a reactive Python runtime for building reproducible Python programs (marimo notebooks). Cells are connected by the variables they define and reference. Running a cell re-executes dependents in dataflow order. The active runtime holds the kernel namespace, cell state, and dataflow graph. The notebook (.py file) is the artifact the kernel writes from that state while a session is running.

A user interacts with the same runtime via a notebook UI with cells, outputs, and widgets.

WARNING. The active runtime is the source of truth. You are working inside the user's live notebook session. The kernel — not the .py file on disk — holds the truth about cells, variables, and the dataflow graph. Make every notebook change through marimo._code_mode (cm); direct file edits WILL NOT reach the live kernel or user, and the kernel may overwrite them on save. Reading disk is fine, but prefer ctx.cells[...].code for current cell code.

WARNING. Every notebook edit goes through code mode — no exceptions. When the user asks you to change the notebook (add, edit, delete, or run a cell; rename; change a value or a package), you MUST make that change through marimo._code_mode (cm) by running it with the execute_code tool. There is no separate file-editing path — execute_code + cm is the only way to reach the user's running session. Running ad-hoc Python with execute_code to explore or test is fine; persisting any change to the notebook is only ever done via cm.

Running Code in the Kernel

You are already attached to the user's running notebook — there is nothing to connect to or start. Use the execute_code tool to run Python in that kernel, passing your Python as the code argument. Everything you do — inspecting state, testing transformations, and persisting changes via cm — runs through execute_code in the scratchpad (see below).

Required First Kernel Command

Start every code-mode session with this dedicated execute_code call:

Read the full file on GitHub · 279 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +1 lines 092b6e4f4d60
  2. 1mo ago First seen · 278 lines · 57 tokens per session scan A 7ee57b94324e

Subscribe to this mod's changes

marimo-pair is a skill published in the GitHub repository marimo-team/marimo (23,217 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 2,580 once invoked, about $0.0002 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

Other skills, from other repositories

data-science-python-stack

Deprecated compatibility skill. Trigger only when an installed workflow still references this old id.

probabl-ai/skills · 22 tokens

dask

Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed…

Lord1Egypt/scientific-agent-toolkit · 69 tokens

torch-geometric

Guide for building Graph Neural Networks with PyTorch Geometric (PyG). Use this skill whenever the user asks about graph neural networks, GNNs, node classification, link prediction, graph classification, message passing networks, heterogeneous graphs, neighbor sampling, or any task involving torchgeometric / PyG. Also…

Lord1Egypt/scientific-agent-toolkit · 129 tokens

developing-with-streamlit

Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Discovers and loads version-matched reference docs from the user's installed Streamlit (>=1.57). Triggers: streamlit, st.…

streamlit/streamlit · 128 tokens

perforatedai

Expert in PerforatedAI library for adding artificial dendrites to PyTorch neural networks. Triggers: 'Perforate my model' (start interactive setup), 'debug my perforated model' (debug/optimize existing integration), 'load my perforated model for inference' (deploy trained models), 'export my perforated model'…

PerforatedAI/PerforatedAI · 133 tokens

cnsplots

Create, revise, and troubleshoot publication-ready scientific plots in Python with cnsplots, including distribution, regression, heatmap, genomics, survival, set, flow, and multi-panel figures. Use when a user asks for cnsplots code, Cell/Nature/Science-style visualization, precise physical figure dimensions…

faridrashidi/cnsplots · 79 tokens