Jupyter to marimo

From minicoohei/ai-agent-camp · View interactive version

Jupyter to marimo is an AI agent skill from the GitHub repository minicoohei/ai-agent-camp. Jupyter ノートブック (.ipynb) を marimo ノートブック (.py) に変換するスキル。 「Jupyterを変換して」「ipynbをmarimoに」「ノートブック変換」等のリクエストで発動。

How to use this skill

Skill file

トリガーワード

「Jupyter変換」「ipynb変換」「marimoに変換」「ノートブック変換」

Converting Jupyter Notebooks to Marimo

IMPORTANT: When asked to translate a notebook, ALWAYS run uvx marimo convert <notebook.ipynb> -o <notebook.py> FIRST before reading any files. This saves precious tokens - reading large notebooks can consume 30k+ tokens, while the converted .py file is much smaller and easier to work with.

Steps

  1. Convert using the CLI

Run the marimo convert command via uvx so no install is needed:

uvx marimo convert <notebook.ipynb> -o <notebook.py>

This generates a marimo-compatible .py file from the Jupyter notebook.

  1. Run marimo check on the output
uvx marimo check <notebook.py>

Fix any issues that are reported before continuing.

  1. Review and clean up the converted notebook

Read the generated .py file and apply the following improvements:

  1. Run marimo check again after your edits to confirm nothing was broken.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.