agentleFS
MicrosoftKnown publishermicrosoft/ai-agents-for-beginners/translations/ja/.agents/skills/jupyter-notebook/SKILL.md

jupyter-notebook

Skill76k starsChanged 5 months agoMITView on GitHub

ユーザーが実験、探索、またはチュートリアル用の Jupyter Notebook(`.ipynb`)を作成、スキャフォールド、または編集するよう依頼したときに使用します。バンドルされたテンプレートを優先し、ヘルパースクリプト

  • Installs packages

11 other projects use a version of this, 7 of them edited.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about microsoft/ai-agents-for-beginners

The biggest 5 of 88 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 88

Talked about on GitHub, Bluesky and Hacker News (88 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 35

30 more on Bluesky

On Hacker News · 3

Used with

Projects with it also use setup-matt-pocock-skills, triage and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AWSSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 3 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 projects that use this

  • AWSSkill

    prototype

    Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

    Also in 3 projects that use this

  • MicrosoftSkill

    grill-with-docs

    Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

    Also in 3 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 3 projects that use this

  • +4 more from aws

The file

Files
SKILL.md

Jupyter Notebookのスキル

クリーンで再現可能な Jupyter Notebook を、主に次の2つのモード向けに作成します:

  • 実験および探索的解析
  • チュートリアルおよび教育向けのウォークスルー

同梱のテンプレートとヘルパースクリプトを使うことで、一貫した構造を保ち、JSONのミスを減らすことを推奨します。

いつ使うか

  • 新しい .ipynb ノートブックをゼロから作成するとき。
  • ラフなノートやスクリプトを構造化されたノートブックに変換するとき。
  • 既存のノートブックをより再現可能で読みやすくリファクタリングするとき。
  • 他の人が読むまたは再実行する実験やチュートリアルを作成するとき。

決定木分析

  • リクエストが探索的、分析的、または仮説駆動型であれば、experiment を選びます。
  • リクエストが指導的、段階的、または特定の対象者向けであれば、tutorial を選びます。
  • 既存のノートブックを編集する場合はリファクタとして扱い、意図を保持して構造を改善します。

スキルパス(一度設定)

export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export JUPYTER_NOTEBOOK_CLI="$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py"

ユーザー限定スキルは $CODEX_HOME/skills ディレクトリにインストールされます(デフォルト:~/.codex/skills)。

ワークフロー

  1. インテントを確定する。 ノートブックの種類(experiment または tutorial)を特定する。 目的、対象ユーザー、完了状態を明確にする。
  2. テンプレートからスキャフォールディングする。 ヘルパースクリプトを使用することで、ノートブックのJSONを手作業で作成する必要がなくなります。
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind experiment \
  --title "Compare prompt variants" \
  --out output/jupyter-notebook/compare-prompt-variants.ipynb
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind tutorial \
  --title "Intro to embeddings" \
  --out output/jupyter-notebook/intro-to-embeddings.ipynb
  1. ノートブックには、実行可能な小さなステップを記述してください。 各コードセルは、1つのステップに焦点を絞ってください。 目的と期待される結果を説明する短いマークダウンセルを追加してください。 短い要約で済む場合は、長くて冗長な出力は避けてください。
  2. 適切なパターンを適用します。 実験については、references/experiment-patterns.md を参照してください。 チュートリアルについては、references/tutorial-patterns.md を参照してください。
  3. 既存のノートブックを編集する際は、安全に作業を進めてください。 ノートブックの構造を維持し、全体の流れを改善する場合を除き、セルの順序変更は避けてください。 全面的な書き換えよりも、対象を絞った編集を優先してください。 どうしてもJSONファイルを編集する必要がある場合は、まずreferences/notebook-structure.mdを確認してください。
  4. 結果を検証する。 環境が許せば、ノートブックを最初から最後まで実行してください。 実行できない場合は、その旨を明記し、ローカル環境での検証方法を指示してください。 最終合格チェックリストは、references/quality-checklist.md を参照してください。

テンプレートとヘルパースクリプト

  • テンプレートは assets/experiment-template.ipynb と assets/tutorial-template.ipynb にあります。
  • ヘルパースクリプトはテンプレートを読み込み、タイトルセルを更新し、ノートブックを作成します。

スクリプトのパス:

  • $JUPYTER_NOTEBOOK_CLI(インストール時のデフォルト: $CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py)

一時ファイルと出力ファイルの保存規則

  • 中間ファイルは tmp/jupyter-notebook/ に保存し、作業完了後に削除してください。
  • このリポジトリで作業する場合は、最終成果物を output/jupyter-notebook/ に保存してください。
  • 安定した、分かりやすいファイル名を使用してください(例:ablation-temperature.ipynb)。

依存関係(必要な場合のみインストールしてください)

依存関係の管理にはuvの使用を推奨します。

ローカルノートブック実行のためのオプションのPythonパッケージ:

uv pip install jupyterlab ipykernel

同梱されているスキャフォールディングスクリプトはPython標準ライブラリのみを使用しており、追加の依存関係は不要です。

環境

必須の環境変数はありません。

参照マップ

  • references/experiment-patterns.md: 実験の構成と経験則。
  • references/tutorial-patterns.md: チュートリアルの構成と教育的な流れ。
  • references/notebook-structure.md: ノートブックJSONの構造と安全な編集ルール。
  • references/quality-checklist.md: 最終検証チェックリスト。

<!-- CO-OP TRANSLATOR DISCLAIMER START -->

免責事項: 本書はAI翻訳サービス「Co-op Translator」を使用して翻訳されました。正確さには努めていますが、自動翻訳には誤りや不正確な箇所が含まれる可能性があります。原文(原言語の文書)を正本としてご参照ください。重要な情報については、専門の人間による翻訳を推奨します。本翻訳の利用により生じたいかなる誤解や解釈の相違についても、当社は責任を負いません。

<!-- CO-OP TRANSLATOR DISCLAIMER END -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.