Skills

Jupyter Notebook

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

Install

npx skills add microsoft/ai-agents-for-beginners --skill jupyter-notebook -g -a claude-code -y
Category
Engineering
Updated
5d ago
License
MIT
Context cost
Lightabout 1,159 tokens
Runs scripts
No, instructions only

What it does

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

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)

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 হাতে লিখে ত্রুটি এড়াতে সহায়ক স্ক্রিপ্ট ব্যবহার করুন।

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
Read the whole SKILL.md on GitHub

More in Engineering