jupyter
Assists with interactive data analysis, visualization, and reproducible research using Jupyter notebooks. Use when building notebooks that combine code with…
от TerminalSkills★ 221 звезда на GitHub
Установить jupyter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Jupyter
Overview
Jupyter is an interactive computing platform that combines code execution, rich output (tables, plots, widgets), and narrative text in notebook documents. It supports multiple kernels (Python, R, Julia), integrates with matplotlib, plotly, and ipywidgets for visualization, and enables reproducible research through nbconvert for report generation and papermill for parameterized batch execution.
Instructions
- When installing, put JupyterLab in a virtual environment and start it with
jupyter lab:
python -m venv .venv && .venv/bin/pip install jupyterlab # or: uv pip install jupyterlab
.venv/bin/jupyter lab
The classic interface is jupyter notebook (Notebook 7 is built on the same JupyterLab 4 components). Run jupyter kernelspec list to see the registered kernels.
- When building notebooks, organize cells with a clear flow: imports, data loading, exploration, analysis, and conclusions, using Markdown cells for narrative context between code cells. In current IPython, inline plotting is the default for matplotlib, so
%matplotlib inlineis rarely needed. - When sharing notebooks, restart the kernel and "Run All" to ensure cells execute in order. Convert with
jupyter nbconvert --to html --no-input report.ipynb(hides code for non-technical readers); add--executeto run the notebook first and--to slidesfor a reveal.js deck.--to pdfneeds a LaTeX install;--to webpdfneedspip install "nbconvert[webpdf]"and a Chromium: install one, or add--allow-chromium-downloadto let nbconvert fetch it. - When managing environments, register a kernel from the environment with
python -m ipykernel install --user --name=sales-env(the venv needsipykernel), and pin dependencies with%pip install pandas==2.3.3in the first cell. Use%pip, not!pip, so the package lands in the kernel's environment. - When developing iteratively, run
%load_ext autoreloadthen%autoreload 2to reload imported modules on change, and move proven code into.pymodules. - When version controlling, pair notebooks with text using
jupytext --set-formats ipynb,py:percent report.ipynb(thenjupytext --sync report.ipynbafter editing either file), or strip outputs at commit time withnbstripout --installinside the repository. - When running in production, parameterize with papermill: tag one cell
parameters(JupyterLab: open the property inspector in the right sidebar and add the tag) holding defaults, then runpapermill in.ipynb out.ipynb -p start_date 2026-10-19 -p region US. Papermill injects a new cell after the tagged one. It needs the notebook to name a kernel; if the notebook has none (for example one made from a.pyfile), pass-k sales-envor create it withjupytext --to ipynb --set-kernel sales-env weekly.py, otherwise it fails with "No language found in notebook".
Examples
Example 1: Build an exploratory data analysis notebook
User request: "Create a Jupyter notebook for EDA on a customer dataset"
Actions: in the first cells of customers_eda.ipynb:
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_parquet("data/customers.parquet")
df.info()
display(df.describe(include="all").T)
print(df.isna().mean().sort_values(ascending=False).head(10)) # share of missing values
df.plot.hist(column="lifetime_value", bins=40)
plt.show()
Then add Markdown cells with the findings between the analysis sections.
Output: A well-structured EDA notebook with statistics, visualizations, and narrative ready for sharing.
Example 2: Automate weekly reports with papermill
User request: "Generate weekly sales reports from the same notebook with different date parameters"
Actions:
- Create
weekly_sales.ipynbwith a cell taggedparametersthat setsstart_date = "2026-01-05"andregion = "EU" - Run the notebook once per week and region, then convert it:
papermill weekly_sales.ipynb runs/2026-10-19-US.ipynb -p start_date 2026-10-19 -p region US
jupyter nbconvert --to html --no-input runs/2026-10-19-US.ipynb
- Schedule the commands with cron or a CI pipeline
Output: runs/2026-10-19-US.html contains the executed report with the new parameters and no code cells (papermill prints "Executing: 100%" while it runs).
Guidelines
- Restart kernel and "Run All" before sharing to ensure cells execute reliably in order.
- Use
jupytextfor Git since.pyfiles diff cleanly while.ipynboutputs pollute version control. - Pin environment dependencies in the first cell for reproducibility, and never commit notebooks that print secrets: read keys from environment variables (
os.environ["WAREHOUSE_PASSWORD"]). - Do not expose
jupyter labon a public interface; it executes arbitrary code. Keep the default localhost binding and token, and use SSH port forwarding for remote machines. - Use
papermillfor batch execution with parameters instead of manual re-runs. - Split exploration fr
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _scores.json
FAQ
Что делает скилл jupyter?
Assists with interactive data analysis, visualization, and reproducible research using Jupyter notebooks. Use when building notebooks that combine code with rich output, managing kernels, converting to reports, or parameterizing notebooks for batch execution. Trigger words: jupyter, notebook, jupyterlab, ipynb, nbconvert, papermill.
Как установить скилл jupyter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл jupyter запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…