jupyter-notebook
Skill by Blubobo1010
Jupyter Notebook gives an AI assistant a stateful Python REPL through a live Jupyter kernel. It is for iterative data science work, where variables and state must persist between steps.
Install jupyter-notebook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Blubobo1010/Alfred-Ai-Audit /tmp/Alfred-Ai-Audit && mkdir -p ~/.claude/skills && cp -r /tmp/Alfred-Ai-Audit/optional-skills/data-science/jupyter-notebook ~/.claude/skills/jupyter-notebookRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Blubobo1010/Alfred-Ai-Audit /tmp/Alfred-Ai-Audit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Alfred-Ai-Audit/optional-skills/data-science/jupyter-notebook ~/.gemini/antigravity-cli/skills/jupyter-notebookAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Jupyter Notebook is an agent skill that gives the assistant a stateful Python REPL through a live Jupyter kernel, using the hamelnb scripts. Variables, imports and objects persist across execute calls, so the assistant can build up state step by step, explore APIs and inspect DataFrames. Commands return structured JSON, and the skill recommends the --compact flag to keep output short.
The skill suggests using it instead of execute_code when work needs iterative exploration, and terminal for shell tasks. It requires uv, JupyterLab and a running Jupyter server. It covers starting a server, creating a scratch notebook and restarting the kernel to run the notebook top to bottom. It is aimed at data science and ML work, and at anyone who would normally open a Jupyter notebook for the task.
Written from the project's SKILL.md and checked against it.
What it can do
- Discover servers and notebooksLists running Jupyter servers and available notebooks using the servers and notebooks commands.
- Execute Python codeRuns Python in a live kernel, keeping variables and imports between execute calls.
- Inspect live variablesLists kernel variables and previews a named variable's contents.
- Edit notebook cellsViews, inserts, replaces and deletes cells in a notebook file.
- Restart and run allRestarts the kernel and runs the whole notebook top to bottom, for verification.
What you need
- uv installed
- JupyterLab installed with uv tool install
- A running Jupyter server
- git, to clone the hamelnb repository
- Linux, macOS or Windows
Try asking
- Load this CSV into the notebook and show the first rows
- List the variables in my scratch notebook and preview the largest one
- Restart the kernel and run the whole notebook to check it works
Good to know
- The default timeout is 30 seconds per execution; use --timeout for longer runs.
- Packages must be installed in the JupyterLab environment.
- The server runs with token and password disabled for local agent access.
- Websocket timeouts can occur; the skill suggests retrying or using the zmq transport.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: optional-skills/data-science/jupyter-notebook/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to jupyter-notebook
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
jupyter-notebook: common questions
Does the kernel keep variables between calls?
Yes. The skill says variables, imports and objects survive across execute calls.
When should I use this instead of execute_code?
The skill says to use it for iterative exploration and state across steps, while execute_code is for stateless one-shot scripts.
What if an execution times out?
The skill says the first run after a server start may time out, so retrying is advised. For consistent websocket timeouts it suggests the zmq transport.
How do I install jupyter-notebook?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is jupyter-notebook free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is jupyter-notebook safe to use?
It scores 50 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to jupyter-notebook?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
