jupyter-notebook
Tumia wakati mtumiaji anapoomba kuunda, kupanga muundo (scaffold), au kuhariri daftari za Jupyter (`.ipynb`) kwa majaribio, uchunguzi, au mafunzo; pendelea violezo vinavyokuja pamoja na uendeshe skripti ya msaidizi `new_notebook.py` ili kuunda daftari safi la kuanzia.
Best use case
jupyter-notebook is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Tumia wakati mtumiaji anapoomba kuunda, kupanga muundo (scaffold), au kuhariri daftari za Jupyter (`.ipynb`) kwa majaribio, uchunguzi, au mafunzo; pendelea violezo vinavyokuja pamoja na uendeshe skripti ya msaidizi `new_notebook.py` ili kuunda daftari safi la kuanzia.
Teams using jupyter-notebook should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/jupyter-notebook/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How jupyter-notebook Compares
| Feature / Agent | jupyter-notebook | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Tumia wakati mtumiaji anapoomba kuunda, kupanga muundo (scaffold), au kuhariri daftari za Jupyter (`.ipynb`) kwa majaribio, uchunguzi, au mafunzo; pendelea violezo vinavyokuja pamoja na uendeshe skripti ya msaidizi `new_notebook.py` ili kuunda daftari safi la kuanzia.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Ujuzi wa Jupyter Notebook
Unda daftari za Jupyter zilizopangwa vizuri, zinazoweza kurudiwa kwa njia mbili kuu:
- Maajaribio na uchambuzi wa uchunguzi
- Mafunzo na mwongozo wa kufundisha
Tumia kiolezo kilichopo pamoja na skripti ya msaada kwa muundo thabiti na makosa machache ya JSON.
## Wakati wa kutumia
- Unda daftari jipya la `.ipynb` kutoka mwanzo.
- Badilisha noti za awali au skripti kuwa daftari lililopangwa.
- Boresha daftari lililopo ili liweze kurudiwa na kusomwa kwa haraka.
- Jenga majaribio au mafunzo yatakayosomwa au kutekelezwa tena na watu wengine.
## Mti wa maamuzi
- Ikiwa ombi ni la uchunguzi, la uchambuzi, au linaloongozwa na nadharia, chagua `experiment`.
- Ikiwa ombi ni la mafunzo, hatua kwa hatua, au linalolenga hadhira maalum, chagua `tutorial`.
- Unapohariri daftari lililopo, lishughulikie kama marekebisho: hifadhi nia na boresha muundo.
## Njia ya ujuzi (set once)
```bash
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export JUPYTER_NOTEBOOK_CLI="$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py"
```
User-scoped skills install under `$CODEX_HOME/skills` (default: `~/.codex/skills`).
## Mtiririko wa kazi
1. Weka nia.
Identify the notebook kind: `experiment` or `tutorial`.
Capture the objective, audience, and what "done" looks like.
2. Scaffold from the template.
Use the helper script to avoid hand-authoring raw notebook 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
```
3. Fill the notebook with small, runnable steps.
Keep each code cell focused on one step.
Add short markdown cells that explain the purpose and expected result.
Avoid large, noisy outputs when a short summary works.
4. Apply the right pattern.
For experiments, follow `references/experiment-patterns.md`.
For tutorials, follow `references/tutorial-patterns.md`.
5. Edit safely when working with existing notebooks.
Preserve the notebook structure; avoid reordering cells unless it improves the top-to-bottom story.
Prefer targeted edits over full rewrites.
If you must edit raw JSON, review `references/notebook-structure.md` first.
6. Validate the result.
Run the notebook top-to-bottom when the environment allows.
If execution is not possible, say so explicitly and call out how to validate locally.
Use the final pass checklist in `references/quality-checklist.md`.
## Templates and helper script
- Violezo viko katika `assets/experiment-template.ipynb` na `assets/tutorial-template.ipynb`.
- Skripti ya msaada inabeba kiolezo, inasasisha seli ya kichwa, na inaandika daftari.
Script path:
- `$JUPYTER_NOTEBOOK_CLI` (installed default: `$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py`)
## Temp and output conventions
- Tumia `tmp/jupyter-notebook/` kwa mafaili ya kati; futa wakati umemaliza.
- Andika makala za mwisho chini ya `output/jupyter-notebook/` unapoifanya kazi katika repo hii.
- Tumia majina ya mafaili thabiti na yaliyoeleweka (kwa mfano, `ablation-temperature.ipynb`).
## Dependencies (install only when needed)
Prefer `uv` for dependency management.
Optional Python packages for local notebook execution:
```bash
uv pip install jupyterlab ipykernel
```
The bundled scaffold script uses only the Python standard library and does not require extra dependencies.
## Environment
No required environment variables.
## Reference map
- `references/experiment-patterns.md`: muundo wa majaribio na mbinu za heuristiki.
- `references/tutorial-patterns.md`: muundo wa mafunzo na mtiririko wa kufundisha.
- `references/notebook-structure.md`: muundo wa JSON wa daftari na kanuni za kuhariri kwa usalama.
- `references/quality-checklist.md`: orodha ya ukaguzi wa mwisho.
---
<!-- CO-OP TRANSLATOR DISCLAIMER START -->
**Tamko**:
Dokumenti hii imetafsiriwa kwa kutumia huduma ya tafsiri ya AI [Co-op Translator](https://github.com/Azure/co-op-translator). Ingawa tunajitahidi kuhakikisha usahihi, tafadhali fahamu kwamba tafsiri za kiotomatiki zinaweza kuwa na makosa au ukosefu wa usahihi. Nakala ya awali ya dokumenti katika lugha yake ya asili inapaswa kuchukuliwa kama chanzo chenye mamlaka. Kwa taarifa muhimu, inapendekezwa kutumia tafsiri ya kitaalamu iliyofanywa na mtafsiri wa binadamu. Hatuwajibiki kwa kutokuelewana au tafsiri potofu zinazotokana na matumizi ya tafsiri hii.
<!-- CO-OP TRANSLATOR DISCLAIMER END -->Related Skills
wechat-to-notebooklm
WeChat article to NotebookLM sync tool. Use when user provides a WeChat Official Account article URL (mp.weixin.qq.com) and wants to add it to their NotebookLM. Automatically fetches article content, converts to Markdown, creates notebook, and uploads to NotebookLM.
notebooklm
Guide for managing Google NotebookLM from the command line using nlm CLI. Use when the user wants to create notebooks, manage sources, generate audio overviews, or mentions NotebookLM, nlm, notebook management, or research organization.
notebook-writer
Create and document Jupyter notebooks for reproducible analyses
jupyter-notebook-best-practices
Guidelines for structuring and documenting Jupyter notebooks for reproducibility and clarity.
annas-to-notebooklm
自动从 Anna's Archive 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
open-notebook
Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis. Use when organizing research materials into notebooks, ingesting diverse content sources (PDFs, videos, audio, web pages, Office documents), generating AI-powered notes and summaries, creating multi-speaker podcasts from research, chatting with documents using context-aware AI, searching across materials with full-text and vector search, or running custom content transformations. Supports 16+ AI providers including OpenAI, Anthropic, Google, Ollama, Groq, and Mistral with complete data privacy through self-hosting.
bgo
Automated Blender build-go workflow. Automatically builds, removes old version, installs, enables, and launches Blender with your extension/add-on. Use when you want to quickly test changes, execute complete build-to-launch cycle, or run custom packaging scripts with automatic Blender launch.
maintenance
Cleans up and organizes project files. Use when user mentions '整理', 'cleanup', 'アーカイブ', 'archive', '肥大化', 'Plans.md', 'session-log', or asks to clean up old tasks, archive completed items, or organize files. Do NOT load for: 実装作業, レビュー, 新機能開発, デプロイ.
hello-skill
每次对话开始时,声明"[Skills✏️已加载]"
zylvie-automation
Automate Zylvie tasks via Rube MCP (Composio). Always search tools first for current schemas.
zoominfo-automation
Automate Zoominfo tasks via Rube MCP (Composio). Always search tools first for current schemas.
zoho-invoice-automation
Automate Zoho Invoice tasks via Rube MCP (Composio): invoices, estimates, expenses, clients, and payment tracking. Always search tools first for current schemas.