Command Palette

Search for a command to run...

Back to skills
skill № 44952

bip-marimo

Generate and edit marimo reactive notebooks correctly. Auto-triggers when working with marimo .py notebook files.

FreeNo executable scripts
matsenby matsen★ 35 GitHub stars

Install bip-marimo in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Marimo Notebooks

Reactive Python notebooks stored as plain .py files.

Docs: https://docs.marimo.io/ API Reference: https://docs.marimo.io/api/

Environment

Use pixi for all marimo commands:

pixi run marimo edit notebook.py
pixi run marimo run notebook.py
pixi run marimo check notebook.py
pixi run marimo export html notebook.py -o notebook.html
pixi run marimo export ipynb notebook.py -o notebook.ipynb
pixi run marimo convert notebook.ipynb -o notebook.py

Never use --sandbox flag (creates isolated env, ignores your packages).

Cell Structure (Critical)

Every marimo notebook starts with:

import marimo
app = marimo.App()

Each cell is decorated with @app.cell:

@app.cell
def _():
    import marimo as mo
    import pandas as pd
    return mo, pd

@app.cell
def _(mo):
    slider = mo.ui.slider(0, 100, value=50, label="Amount")
    slider
    return (slider,)

@app.cell
def _(mo, slider):
    # Auto-runs when slider changes
    mo.md(f"Value: **{slider.value}**")
    return

Rules

  1. Return variables other cells need via return (var1, var2,) tuple
  2. Declare dependencies as function parameters: def _(mo, slider): means this cell uses mo and slider
  3. No circular dependencies — marimo check catches these
  4. One definition per variable — each variable defined in exactly one cell
  5. Display by putting expression last in cell, or use mo.output.replace()
  6. After editing, pixi run marimo check validates notebook structure (the PostToolUse hook runs this automatically)

Common APIs

import marimo as mo

# Markdown with interpolation
mo.md(f"# Title\nValue is **{x}**")

# UI elements (reactive)
slider = mo.ui.slider(0, 100, value=50, label="Amount")
dropdown = mo.ui.dropdown(["a", "b", "c"], label="Choice")
text = mo.ui.text(placeholder="Enter name")
checkbox = mo.ui.checkbox(label="Enable")
button = mo.ui.button(label="Click me")

# Access values
slider.value  # returns current value

# Layout
mo.hstack([elem1, elem2])  # horizontal
mo.vstack([elem1, elem2])  # vertical
mo.accordion({"Section": content})
mo.tabs({"Tab1": content1, "Tab2": content2})

# Output / control flow
mo.output.replace(content)  # replace cell output
mo.stop(condition, mo.md("Stopped"))  # conditional halt

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the bip-marimo skill do?

Generate and edit marimo reactive notebooks correctly. Auto-triggers when working with marimo .py notebook files.

How do I install the bip-marimo skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the bip-marimo skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare bip-marimo with