marimo-notebook

marimo-notebook is a skill for Claude Code, Codex from adrunkhuman/marimo-opencode-skill. It costs 43 tokens per session (4,214 once invoked), scanned A, original, MIT.

A guide for creating interactive reactive Python notebooks with marimo, where changing one piece of code updates dependent cells.

In plain words
What is it for?
Use it to create data-exploration notebooks, reactive dashboards, SQL interfaces, deployable web apps, or conversions from Jupyter notebooks.
Why use it?
It explains how to build and check notebook-style Python files without relying on Jupyter’s manual cell-running model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to create data-exploration notebooks, reactive dashboards, SQL interfaces, deployable web apps, or conversions from Jupyter notebooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adrunkhuman/marimo-opencode-skill/marimo-notebook
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 adrunkhuman/marimo-opencode-skill --skill marimo-notebook
Clone the repo
git clone --depth 1 https://github.com/adrunkhuman/marimo-opencode-skill

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/adrunkhuman/marimo-opencode-skill/marimo-notebook"><img src="https://agentmods.dev/badge/skills/adrunkhuman/marimo-opencode-skill/marimo-notebook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,214 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.
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.00043 $0.04214
Opus 5.5 $0.00017 $0.01686
Sonnet 5.5 $0.00009 $0.00843
Haiku 4.5 $0.00004 $0.00421

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

Security

Grade A, and why

marimo-notebook 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.

skills/marimo-notebook/SKILL.md · 686 lines

How it starts

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

Marimo Notebook Skill

Running & Editing

# Edit interactively in browser
uv run marimo edit <notebook.py>

# Run as web app (code hidden)
uv run marimo run <notebook.py>

# Run as plain script (non-interactive, for testing/CI)
uv run <notebook.py>

# Lint for common mistakes — always run before handing back to user
uvx marimo check <notebook.py>
uvx marimo check --fix <notebook.py>

When to use this skill

  • Creating .py notebook files for interactive data exploration
  • Building reactive dashboards/apps with marimo
  • Converting Jupyter notebooks (.ipynb) to marimo

Ask clarifying questions if:

  • User mentions "Cell.run()", "reusable cells", or "testing cells" (API use case, different patterns)
  • User wants to "pass variables between cells" with parameters/returns (wrong mental model)

File Format

Marimo notebooks are .py files. Each cell is a function decorated with @app.cell. Marimo resolves dependencies via static analysis of the cell body — it reads what variables you assign and reference, then builds a DAG automatically.

When marimo saves, it auto-generates function parameters and return tuples as serialization metadata. You don't need to manage these yourself. Write def _(): for all cells. Marimo handles the rest.

# /// script
# requires-python = ">=3.12"
# dependencies = [
#     "marimo",
#     "pandas",
#     "numpy",
# ]
# ///

import marimo

__generated_with = "0.19.7"
app = marimo.App(width="medium")

@app.cell
def _():
    import marimo as mo
    import pandas as pd
    import numpy as np

@app.cell
def _():
    # df is automatically available to all other cells
    df = pd.read_parquet("data/input.parquet")

@app.cell
def _():
    # Reference df directly — marimo knows the dependency
    filtered = df[df["value"] > threshold.value]
    mo.md(f"**{len(filtered)} rows** after filtering")

if __name__ == "__main__":
    app.run()

PEP 723 inline dependencies (# /// script block) are added automatically by marimo edit --sandbox but should always be present. They enable --sandbox mode for isolated execution.

Read the full file on GitHub · 686 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. 1mo ago First seen · 686 lines · 43 tokens per session scan A 97755b3c5353

Subscribe to this mod's changes

marimo-notebook is a skill published in the GitHub repository adrunkhuman/marimo-opencode-skill (5 stars, last pushed 7mo ago), licensed MIT. It adds 43 tokens to every session and 4,214 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-31.

Related

Other skills, from other repositories

accelerate

Run PyTorch training across GPUs with minimal changes.

NousResearch/hermes-agent · 13 tokens

pytorch-patterns

PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.

affaan-m/ECC · 32 tokens

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…

K-Dense-AI/scientific-agent-skills · 151 tokens

developing-genkit-python

Develop AI-powered applications using Genkit in Python. Use when the user asks about Genkit, AI agents, flows, or tools in Python, or when encountering Genkit errors, import issues, or API problems.

google/skills · 49 tokens

marimo-pair

Work inside the user's live marimo notebook from the code editor: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes through code mode. Use whenever you create, analyze, or improve the user's marimo notebook.

marimo-team/marimo · 57 tokens

azure-mgmt-fabric-py

Azure Fabric Management SDK for Python. Use for managing Microsoft Fabric capacities and resources. Triggers: "azure-mgmt-fabric", "FabricMgmtClient", "Fabric capacity", "Microsoft Fabric", "Power BI capacity".

microsoft/skills · 51 tokens