1. Habit
  2. Skills
  3. marimo Notebook skill
marimo-team · 6K installs

marimo Notebook skill
Runs by itself, notebook file changes.

Keep marimo notebooks running clean.

Install the marimo Notebook skill and make it a habit: follow https://gethabit.dev/skills/marimo-team/marimo-notebook.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

6K installs174 starsApache-2.0 licenceSource on GitHub ↗

marimo Notebook

by marimo-team · 6K installs

The skill

The marimo notebook skill shows how to write marimo notebooks as Python files: cell structure, script mode, reactivity rules, output rendering, PEP 723 dependencies, marimo check and pytest.

Only when you ask.

The habit

Keep marimo notebooks running clean.

↻ Runs by itselfnotebook file changes

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after 5 notebooks or 2 fix rounds per run.

  1. 01

    Lint

    Your agent runs uvx marimo check on the notebook.

  2. 02

    Run as script

    It runs uv run on the notebook so script mode uses default data.

  3. 03

    Check patterns

    It removes if-guards on cells, try/except control flow and cross-cell mutation.

  4. 04

    Check outputs

    It makes sure each cell's output is its final expression.

  5. 05

    Check dependencies

    It adds a PEP 723 header if missing.

  6. 06

    Run tests

    It runs pytest on the notebook when it has test cells.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the marimo Notebook skill helps.

Use it when

  • ✓ You write a marimo notebook
  • ✓ You convert a script to a notebook
  • ✓ You add tests to a notebook

Skip it when

  • – You use Jupyter only
  • – You need a plain script

Questions

marimo Notebook skill, answered.

How is marimo different from Jupyter?

Notebooks are plain Python files with @app.cell functions, not JSON.

Should UI hide in script mode?

No. Always show widgets and only switch the data source.

How do I install the marimo Notebook skill?

Copy the prompt at the top into your agent. It installs the skill from marimo-team/skills and sets up the habit. Or run npx skills add marimo-team/skills --skill marimo-notebook.

Is the marimo Notebook skill free?

Yes. It is published under Apache-2.0. Habit is free too.

marimo Notebook. Now as a habit.

Install the marimo Notebook skill and make it a habit: follow https://gethabit.dev/skills/marimo-team/marimo-notebook.md

  • Free
  • No account
  • Undo in one line

All marimo-team skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by marimo-team, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.