marimo-notebook
Skill by pik-piam
Writes marimo notebooks as Python files in the correct format for an AI assistant. Covers cell structure, running notebooks with uv, script mode detection, and checking with marimo check. Aimed at developers building marimo notebooks.
Install marimo-notebook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pik-piam/remind-mfa /tmp/remind-mfa && mkdir -p ~/.claude/skills && cp -r /tmp/remind-mfa/.agents/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/pik-piam/remind-mfa /tmp/remind-mfa && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/remind-mfa/.agents/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
This skill gives an AI assistant guidance for writing marimo notebooks. marimo stores notebooks as Python files instead of JSON, and each cell is a function decorated with @app.cell whose inputs and outputs define the cell's dependencies. The skill also covers PEP 723 dependency headers, running notebooks with uv, and the marimo check linter.
It sets rules such as always showing UI elements, using synthetic data in script mode, avoiding unnecessary if guards and broad try/except blocks, and rendering only a cell's final expression. It points to reference files for SQL, UI elements, state, pytest testing, exports and deployment. It is for developers 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 formatExplains the marimo Python file layout with @app.cell functions and PEP 723 headers.
- Script mode detectionUses mo.app_meta().mode to switch between script runs and interactive use.
- Running notebooksShows uv commands to run a notebook as a script, run it in the browser, or edit it.
- Cell guidelinesGives rules against unnecessary if guards and try/except used for control flow.
- Linting with marimo checkRuns uvx marimo check to find common mistakes before a notebook is handed back.
- Pytest testsAdds a pytest dependency and a test-only cell when the user asks for tests.
- API docs lookupShows how to read marimo function help locally with Python help().
- Reference guidesLinks to reference files on SQL, UI, state, exports, deployment and anywidget.
What you need
- uv
- Python 3.12 or later
- marimo
Try asking
- Write a marimo notebook that plots a sine wave with a slider.
- Check this marimo notebook with marimo check and fix any errors.
- Add pytest tests to my marimo notebook and run them.
Good to know
- Only the final expression of a cell is rendered.
- Avoid mo.state unless bidirectional UI sync or accumulated callback state is needed.
- Use underscore-prefixed variable names sparingly, one or two at most.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/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
What is marimo?
The source says marimo uses Python to create notebooks, unlike Jupyter, which uses JSON.
How does marimo handle dependencies between cells?
The source says marimo usually handles dependencies between cells automatically, and variables between cells define the notebook's reactivity.
Should a notebook be checked before it is returned?
Yes. The source says to run marimo check on the notebook and make sure it passes before handing it back to the user.
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 GPL-3.0 licence. The service it connects to may have its own pricing.
Is marimo-notebook safe to use?
It scores 50 of 100. Grades: maintenance A, licence C, quality C. 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.
