marimo-notebook
Skill by koaning
Guides an AI assistant to write marimo notebooks as Python files in the correct format. It is for developers who want marimo notebooks with the conventions the source describes.
Install marimo-notebook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/koaning/gitcharts /tmp/gitcharts && mkdir -p ~/.claude/skills && cp -r /tmp/gitcharts/.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/gitcharts /tmp/gitcharts && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gitcharts/.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 agent skill gives an AI assistant notes for writing marimo notebooks. marimo uses Python files for notebooks, unlike Jupyter, which uses JSON. 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 notes cover running notebooks with uv, detecting script mode with mo.app_meta(), and keeping UI elements always visible. They also cover PEP 723 dependency headers, the marimo check linter, and pytest test cells. The skill is for developers who build notebooks with marimo and want an assistant to follow its conventions.
Written from the project's SKILL.md and checked against it.
What it can do
- Notebook structureExplains that marimo notebooks are Python files with @app.cell functions as cells.
- Running notebooksShows uv run commands for running a notebook as a script or in a browser, and for editing it.
- Script mode detectionShows how to check mo.app_meta().mode to tell script runs from interactive use.
- Widget patternRecommends always showing UI elements and changing only the data source in script mode.
- Cell output renderingExplains that only the final expression of a cell is rendered.
- Variable namingGives rules for underscore prefixes on loop variables and forbids underscore-prefixed imports.
- PEP 723 dependenciesShows the script metadata block at the top of a notebook file that lists its dependencies.
- marimo checkRuns marimo check as a linter to find common notebook mistakes before handing it back.
- Pytest testsExplains how to add test_ functions in a test-only cell and run pytest on the notebook.
- Reference docsLinks to separate reference files for SQL, UI, state, exports, deployment and anywidget.
What you need
- uv, used in the run and check commands
- marimo, listed as a notebook dependency
- Python
Try asking
- Write a marimo notebook that plots a sine wave with a slider
- Add a script mode check to my marimo notebook
- Check my marimo notebook for common mistakes before I share it
Good to know
- Marimo only renders the final expression of a cell.
- Underscore-prefixed imports are forbidden by the source's hard rule.
- Avoid mo.state() unless you need bidirectional UI sync or accumulated callback state.
- Pytest runs on test cells only when the optional pytest dependency is present.
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
Are marimo notebooks stored as JSON like Jupyter?
No. The source says marimo uses Python to create notebooks, while Jupyter uses JSON.
How do I check a marimo notebook for mistakes?
Run the marimo check command on the notebook file. The source describes it as a linter that finds common mistakes, and says to run it before handing a notebook back.
Can marimo notebooks include tests?
Yes. When pytest is present, marimo runs pytest on cells that contain only functions whose names start with test_. The source also says you can run pytest on the notebook file from the command line.
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 53 of 100. Grades: maintenance D, licence F, 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.
