跳到正文
cccskills
免费在 GitHub 公开

jupyter-to-marimo

Jupyter ノートブック (.ipynb) を marimo ノートブック (.py) に変換するスキル。「Jupyterを変換して」「ipynbをmarimoに」「ノートブック変換」等のリクエストで発動。

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(4)

  • SKILL.md2.1 KB
  • agents/openai.yaml134 B
  • SKILL.en.md2.1 KB
  • SKILL.es.md2.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

トリガーワード

「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:

  • Ensure the script metadata block lists all required packages. The converter may miss some.
  • Drop leftover Jupyter artifacts like display() calls, or %magic commands that don't apply in marimo.
  • Make sure the final expression of each cell is the value to render. Indented or conditional expressions won't display.
  • If the original notebook requires environment variables via an input, consider adding the EnvConfig widget from wigglystuff. Details can be found here.
  • If the original notebook uses ipywidgets, replace them with corresponding ui from marimo. A slider, for example, would be replaced with mo.ui.slider().
  1. Run marimo check again after your edits to confirm nothing was broken.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

A/Bテストや実験の設計・実装を支援するスキル。 「A/Bテストを設計して」「スプリットテストしたい」「仮説を立ててテストしたい」「バリアントを比較」等のリクエストで発動。 トラッキング実装は analytics-tracking を参照。

中文简介正在准备中。当前显示原文说明。

minicoohei/ai-agent-camp3462026年10月7日 更新

マルチエージェントシステムのアーキテクチャ設計ツールキット。 「エージェントを設計して」「マルチエージェント構成」「エージェントのアーキテクチャ」「オーケストレーション設計」等のリクエストで発動。

中文简介正在准备中。当前显示原文说明。

minicoohei/ai-agent-camp3462026年10月7日 更新

ai-agent-campのローカル環境セットアップを確認するスキル。 「セットアップ確認」「環境チェック」「初期設定できてる?」「インストール確認」「依存関係チェック」等のリクエストで発動。

中文简介正在准备中。当前显示原文说明。

minicoohei/ai-agent-camp3462026年10月7日 更新

ai-agent-campのスラッシュコマンドをCodexでルーティングするスキル。 「/start-0-1を実行」「スラッシュコマンドを使いたい」「コマンドルーティング」「Cursorのコマンドを使いたい」等のリクエストで発動。

中文简介正在准备中。当前显示原文说明。

minicoohei/ai-agent-camp3462026年10月7日 更新

ai-agent-campの環境変数・認証情報を安全に管理するスキル。 「APIキーを設定」「.envを管理」「環境変数の設定」「credential managerを使いたい」「秘密情報の管理」等のリクエストで発動。

中文简介正在准备中。当前显示原文说明。

minicoohei/ai-agent-camp3462026年10月7日 更新

ai-agent-campリポジトリの案内・オリエンテーションスキル。 「リポジトリ案内」「次のレッスンは?」「どこから始める」「ツールの違い」「aiagent概要」等のリクエストで発動。

中文简介正在准备中。当前显示原文说明。

minicoohei/ai-agent-camp3462026年10月7日 更新

查看 minicoohei 的全部技能

报告此技能的问题