一键导入
jupyter-live-kernel
Jupyter notebook and kernel operations — start kernels, execute cells programmatically, export, and data analysis patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Jupyter notebook and kernel operations — start kernels, execute cells programmatically, export, and data analysis patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compress conversation context — summarize the current session, extract key decisions and facts, then compact history to free up context window.
Generate insights about your Claude Code usage — what topics you work on most, common patterns, productivity trends.
Route Claude Code work by complexity, risk, and tool needs. Use when deciding how much reasoning depth a task needs, whether to read project memory first, whether the task should be decomposed, and whether the work is lightweight, standard, or investigation-heavy.
Query Polymarket prediction markets for probability data and research insights on real-world events.
Search and retrieve academic papers from arXiv using their free REST API. No API key needed.
Query Base (Ethereum L2) blockchain data — wallet balances, token info, transactions, gas analysis, contract inspection. No API key required.
| name | jupyter-live-kernel |
| description | Jupyter notebook and kernel operations — start kernels, execute cells programmatically, export, and data analysis patterns. |
| version | 1.0.0 |
| author | hermes-CCC (ported from Hermes Agent by NousResearch) |
| license | MIT |
| metadata | {"hermes":{"tags":["Data-Science","Jupyter","Python","Analysis","Notebooks","Kernels"],"related_skills":["grpo-rl-training","huggingface-hub"]}} |
Run notebooks, execute cells programmatically, and manage Jupyter kernels.
pip install jupyter jupyterlab nbformat nbconvert ipykernel
python -m ipykernel install --user --name myenv --display-name "My Env"
# JupyterLab (recommended)
jupyter lab --no-browser --port 8888
# Classic notebook
jupyter notebook --no-browser --port 8888
# Allow remote access (careful with security)
jupyter lab --ip 0.0.0.0 --no-browser
# Start with specific directory
jupyter lab /path/to/project
# Execute and save output
jupyter nbconvert --to notebook --execute input.ipynb --output output.ipynb
# With timeout
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=300 input.ipynb
# Export to HTML
jupyter nbconvert --to html notebook.ipynb
# Export to Python script
jupyter nbconvert --to script notebook.ipynb
# Export to PDF (requires LaTeX)
jupyter nbconvert --to pdf notebook.ipynb
import nbformat
nb = nbformat.v4.new_notebook()
# Add markdown cell
nb.cells.append(nbformat.v4.new_markdown_cell("# My Analysis"))
# Add code cell
nb.cells.append(nbformat.v4.new_code_cell("""
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('data.csv')
df.head()
"""))
# Save
with open("analysis.ipynb", "w") as f:
nbformat.write(nb, f)
import nbformat
from nbclient import NotebookClient
with open("analysis.ipynb") as f:
nb = nbformat.read(f, as_version=4)
client = NotebookClient(nb, timeout=600, kernel_name="python3")
client.execute()
with open("analysis_output.ipynb", "w") as f:
nbformat.write(nb, f)
pip install papermill
# Run with parameters
papermill input.ipynb output.ipynb -p learning_rate 0.001 -p epochs 10
# Pass dict parameter
papermill input.ipynb output.ipynb -y "{'config': {'lr': 0.001}}"
Mark parameter cell with tag parameters in the notebook.
# List running kernels
jupyter kernel list
# List available kernel specs
jupyter kernelspec list
# Install a kernel from venv
source myenv/bin/activate
pip install ipykernel
python -m ipykernel install --user --name myenv
# Remove kernel
jupyter kernelspec remove myenv
# Time a single line
%timeit [i**2 for i in range(1000)]
# Time a cell
%%timeit
result = [i**2 for i in range(1000)]
# Run shell command
!pip install pandas
!ls -la
# Show matplotlib inline
%matplotlib inline
# Load external script
%load script.py
# Auto-reload modules
%load_ext autoreload
%autoreload 2
# Run bash cell
%%bash
echo "Hello from bash"
ls
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
# Load data
df = pd.read_csv("data.csv")
# Quick overview
print(df.shape)
df.info()
df.describe()
df.isnull().sum()
# Plot
fig, axes = plt.subplots(1, 2, figsize=(12, 4))
df["column"].hist(ax=axes[0])
df.plot.scatter(x="col1", y="col2", ax=axes[1])
plt.tight_layout()
plt.savefig("plot.png", dpi=150)
plt.show()
.ipynb files directlyShift+Enter