# Jupyter Notebook

Creates and edits Jupyter notebooks from templates for experiments and tutorials.

- Repository: https://github.com/microsoft/ai-agents-for-beginners (78611 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add microsoft/ai-agents-for-beginners --skill jupyter-notebook -g -a claude-code -y`
Codex: `npx skills add microsoft/ai-agents-for-beginners --skill jupyter-notebook -g -a codex -y`
Cursor: `npx skills add microsoft/ai-agents-for-beginners --skill jupyter-notebook -g -a cursor -y`
Gemini CLI: `npx skills add microsoft/ai-agents-for-beginners --skill jupyter-notebook -g -a gemini-cli -y`

## Description

ব্যবহার করুন যখন ব্যবহারকারী পরীক্ষার, অনুসন্ধানের, বা টিউটোরিয়ালের জন্য Jupyter নোটবুকগুলি (`.ipynb`) তৈরি, স্ক্যাফোল্ড, বা সম্পাদনার অনুরোধ করে; বান্ডিলকৃত টেমপ্লেটগুলিকে অগ্রাধিকার দিন এবং একটি পরিষ্কার সূচনা নোটবুক তৈরি করার জন্য সহায়ক স্ক্রিপ্ট `new_notebook.py` চালান।

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Jupyter Notebook দক্ষতা

Create clean, reproducible Jupyter notebooks for two primary modes:

- পরীক্ষণ এবং অন্বেষণাত্মক বিশ্লেষণ
- টিউটোরিয়াল এবং শিক্ষামূলক ধাপে-ধাপে নির্দেশিকা

Prefer the bundled templates and the helper script for consistent structure and fewer JSON mistakes.

## When to use
- নতুন `.ipynb` নোটবুক শূন্য থেকে তৈরি করুন।
- খসড়া নোট বা স্ক্রিপ্টকে একটি সংগঠিত নোটবুক-এ রূপান্তর করুন।
- একটি বিদ্যমান নোটবুককে আরো পুনরুত্পাদনযোগ্য এবং সহজে স্কিম করা যায় এমনভাবে রিফ্যাক্টর করুন।
- অন্যান্য মানুষ পড়বে বা পুনরায় চালাবে এমন পরীক্ষাগুলো বা টিউটোরিয়াল তৈরি করুন।

## Decision tree
- If the request is exploratory, analytical, or hypothesis-driven, choose `experiment`.
- If the request is instructional, step-by-step, or audience-specific, choose `tutorial`.
- If editing an existing notebook, treat it as a refactor: preserve intent and improve structure.

## Skill path (set once)

```bash
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`)।

## Workflow
1. উদ্দেশ্য নিশ্চিত করুন।
Identify the notebook kind: `experiment` or `tutorial`.
উদ্দেশ্য, শ্রোতা, এবং কীভাবে "done" দেখতে হবে তা নির্ধারণ করুন।

2. টেমপ্লেট থেকে স্ক্যাফোল্ড তৈরি করুন।
রো নোটবুক JSON হাতে লিখে ত্রুটি এড়াতে সহায়ক স্ক্রিপ্ট ব্যবহার করুন।

```bash
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind experiment \
  --title "Compare prompt variants" \
  --out output/jupyter-notebook/compare-prompt-variants.ipynb
```

```bash
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind tutorial \
  --title "Intro to embeddings" \
  --out output/jupyter-notebook/intro-to-embeddings.ipynb
```

The rest: https://github.com/microsoft/ai-agents-for-beginners/blob/HEAD/translations/bn/.agents/skills/jupyter-notebook/SKILL.md
