marimo-notebook
Skill by koaning
Writes marimo notebooks as Python files in the correct format. It also covers running, checking and testing them. Aimed at AI assistants and developers building marimo notebooks.
Install marimo-notebook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/koaning/notebooks /tmp/notebooks && mkdir -p ~/.claude/skills && cp -r /tmp/notebooks/.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/koaning/notebooks /tmp/notebooks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/notebooks/.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
marimo Notebook is an agent skill that gives an AI assistant guidance for writing marimo notebooks as Python files, instead of the JSON format Jupyter uses. It shows an example notebook where each cell is a decorated function with inputs and outputs, and explains that marimo usually handles dependencies between cells automatically. It also covers running notebooks with uv and checking them with marimo check.
The skill sets rules for common mistakes. It says to keep UI elements always visible and to change only the data source in script mode. It advises against if guards and try/except blocks around normal logic, and notes that only a cell's final expression renders. It also covers PEP 723 dependencies, adding pytest tests, and links to reference files on SQL, UI, state, exports, deployment and anywidget. It is for developers and assistants building marimo notebooks.
Written from the project's SKILL.md and checked against it.
What it can do
- Notebook formatShows how to structure a marimo notebook as a Python file with @app.cell functions.
- Running notebooksRuns notebooks as scripts with uv run, or in the browser with marimo run or marimo edit.
- Script mode detectionUses mo.app_meta().mode to switch to synthetic data in script mode.
- Cell output rulesExplains that only the final expression of a cell is rendered.
- PEP 723 dependenciesAdds script metadata with dependencies at the top of the notebook file.
- marimo checkRuns uvx marimo check to lint a notebook for common mistakes before handing it back.
- Pytest testsAdds a cell with only test functions and runs pytest on the notebook file.
- API docs lookupShows how to read marimo function docs locally with help() through uv run python.
What you need
- Python
- uv
- marimo
Try asking
- Write a marimo notebook that plots a sine wave with a slider
- Check this marimo notebook with marimo check before I run it
- Add pytest tests to my marimo notebook in a separate cell
Good to know
- marimo runs tests only on cells that contain exclusively test code, and only when pytest is present.
- The skill warns that the assistant tends to over-use underscore-prefixed variables, so only one or two should use it.
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
How do I run a marimo notebook with this skill?
The source uses uv run for a non-interactive script run, uv run marimo run for the browser, and uv run marimo edit for interactive editing.
How does marimo differ from Jupyter according to this skill?
The source says marimo uses Python to create notebooks, while Jupyter uses JSON.
Does the skill cover testing?
Yes. It says to add the pytest dependency and a cell with only test functions, then run pytest on the notebook file.
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 public, but no licence file was found, so check the repository before commercial use.
Is marimo-notebook safe to use?
It scores 66 of 100. Grades: maintenance A, licence F, 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.
