jupyter-to-marimo by marimo-team/skills
npx skills add https://github.com/marimo-team/skills --skill jupyter-to-marimo重要提示:当被要求翻译 notebook 时,在读取任何文件之前,务必先运行 uvx marimo convert <notebook.ipynb> -o <notebook.py>。这可以节省宝贵的 token——读取大型 notebook 可能会消耗 30k+ 的 token,而转换后的 .py 文件要小得多,也更容易处理。
通过 uvx 运行 marimo convert 命令,无需安装:
uvx marimo convert <notebook.ipynb> -o <notebook.py>
这将从 Jupyter notebook 生成一个 marimo 兼容的 .py 文件。
marimo checkuvx marimo check <notebook.py>
在继续之前,修复报告的任何问题。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
阅读生成的 .py 文件,并应用以下改进:
display() 调用,或在 marimo 中不适用的 %magic 命令。EnvConfig 小部件。详细信息可以在这里找到。references/widgets.md 以获取 ipywidgets 到 marimo 等效项的完整映射,包括回调、链接和 anywidget 集成的模式。references/latex.md 了解如何将 MathJax 语法移植到 KaTeX(marimo 使用的引擎)。marimo check,以确认没有破坏任何功能。每周安装量
548
代码仓库
GitHub 星标数
77
首次出现
2026年2月10日
安全审计
已安装于
claude-code414
codex340
opencode332
github-copilot309
gemini-cli307
amp303
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.
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.
marimo check on the outputuvx marimo check <notebook.py>
Fix any issues that are reported before continuing.
Read the generated .py file and apply the following improvements:
display() calls, or %magic commands that don't apply in marimo.EnvConfig widget from wigglystuff. Details can be found here.references/widgets.md for a full mapping of ipywidgets to marimo equivalents, including patterns for callbacks, linking, and anywidget integration.references/latex.md for how to port MathJax syntax to KaTeX (which marimo uses).marimo check again after your edits to confirm nothing was broken.Weekly Installs
548
Repository
GitHub Stars
77
First Seen
Feb 10, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code414
codex340
opencode332
github-copilot309
gemini-cli307
amp303
DOCX文件创建、编辑与分析完整指南 - 使用docx-js、Pandoc和Python脚本
42,600 周安装