marimo-notebook
Skill by marimo-team
Guides an AI assistant to write marimo notebooks as Python files in the correct format. It covers cell structure, running notebooks with uv, reactivity rules, and checking notebooks with marimo check. Aimed at developers who build marimo notebooks.
Install marimo-notebook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/marimo-team/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/marimo-notebook ~/.claude/skills/marimo-notebookRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/marimo-team/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/marimo-notebook ~/.gemini/antigravity-cli/skills/marimo-notebookAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The marimo-notebook skill gives an AI assistant instructions for writing marimo notebooks as Python files instead of JSON. It shows a notebook layout where each cell is a function decorated with @app.cell, and the function's inputs and outputs are the cell's inputs and outputs. marimo usually handles dependencies between cells automatically. The skill also covers running notebooks with uv, detecting script mode with mo.app_meta(), and adding PEP 723 dependency headers.
The skill sets style rules. It says to show UI elements always, to avoid if guards and try/except for normal control flow, and to render only a cell's final expression. Before handing a notebook back, the assistant should run uvx marimo check. The skill also points to reference files for SQL, UI elements, anywidget, pytest, exports and deployment. It is aimed at people who ask an assistant to create or edit marimo notebooks.
Written from the project's SKILL.md and checked against it.
What it can do
- Notebook structureWrites notebooks as Python files with each cell defined by the @app.cell decorator.
- Running notebooksShows how to run a notebook as a script or open it in the browser with uv.
- Script mode detectionDetects script mode with mo.app_meta().mode to choose synthetic or widget data.
- Cell output rulesExplains that only the final expression of a cell is rendered.
- PEP 723 dependenciesAdds a script header listing the notebook's dependencies at the top of the file.
- marimo checkRuns the marimo check linter to find common mistakes before a notebook is handed back.
- Pytest testsAdds test cells that marimo runs with pytest when the pytest dependency is present.
- Reference guidesLinks to reference files on SQL, UI elements, anywidget, exports, deployment and configuration.
What you need
- uv
- Python 3.12 or newer
Try asking
- Create a marimo notebook that plots a sine wave with a slider
- Check this marimo notebook with marimo check before I share it
- Add pytest tests to this marimo notebook in a test cell
Good to know
- Only the final expression of a cell is rendered in the output.
- Pytest runs only on cells that contain test code, such as functions named test_.
- The skill advises avoiding mo.state() unless bidirectional UI sync or accumulated callback state is needed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/marimo-notebook/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to marimo-notebook
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
marimo-notebook: common questions
How is a marimo notebook different from a Jupyter notebook?
The source says marimo uses Python to create notebooks, while Jupyter uses JSON.
How does marimo handle dependencies between cells?
The source says marimo usually takes care of dependencies between cells automatically, based on the cell function's inputs and outputs.
Can a marimo notebook run without opening a browser?
Yes. The source says uv run on a notebook file runs it as a non-interactive script, which is useful for testing.
How do I install marimo-notebook?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is marimo-notebook free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is marimo-notebook safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to marimo-notebook?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
