Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

jupyter-notebooksJupyter 笔记本

Agent Skill

jupyter-notebooks 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

186

周安装

8

GitHub Stars

公开资料未说明

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:jupyter-notebooks(Jupyter 笔记本)
来源仓库:https://github.com/marcinmiklitz/jupyter-notebooks-skill
仓库路径:skills/jupyter-notebooks
安装命令:
npx skills add https://github.com/marcinmiklitz/jupyter-notebooks-skill --skill jupyter-notebooks
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/marcinmiklitz/jupyter-notebooks-skill --skill jupyter-notebooks

简介

jupyter-notebooks 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词、任务场景或来源线索进行信息检索的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Jupyter Notebooks Skill

Programmatic notebook operations from CLI only (no Jupyter UI):

  • create notebooks and templates,
  • perform cell-level CRUD and metadata edits,
  • execute whole notebooks or selective ranges,
  • validate structure and operational notebook hygiene,
  • convert formats,
  • inspect/strip outputs,
  • run content-aware diff and merge.

Python requirement: 3.9+.

Dependencies and Invocation

Scripts require these Python packages:

  • Core: nbformat, nbclient, nbconvert, nbdime
  • Optional: papermill, nbstripout

Each script declares its own dependencies via PEP 723 inline metadata (the # /// script block at the top of each file). Read this block to determine exactly which packages a script needs.

Before first use

Run the preflight check to verify environment readiness:

python scripts/nb_preflight.py --mode auto

This script has no dependencies (stdlib only). It supports --mode auto|python|uv:

  • auto (default): succeed if either Python-mode or uv-mode is ready,
  • python: check interpreter package availability directly,
  • uv: verify uv run readiness by smoke-testing all script --help entrypoints.

It emits a JSON report to stdout with ok, ok_python, ok_uv, ok_execute, and mode-specific details.

If packages are missing:

  1. Determine the project's package manager by inspecting the environment (look for pyproject.toml, requirements.txt, Pipfile, uv.lock, poetry.lock, or similar).
  2. Install the missing packages using that tooling. If you lack permission or are unsure, ask the user.
  3. Re-run nb_preflight.py to confirm.

Do not skip or abandon a script because its dependencies are not currently installed. Resolve them first.

How to invoke

Run scripts with whatever Python interpreter the project environment provides:

python scripts/<tool>.py [args]

If the project uses a tool that handles PEP 723 inline metadata automatically (e.g. uv run), that works too — the metadata block in each script is compatible.

Additional requirements

  • Execution (nb_execute.py) requires a Jupyter kernel (typically ipykernel).
  • PDF export depends on external tools (pandoc/TeX or webpdf stack) beyond Python packages.

Script Map

  • scripts/nb_create.py: Create notebook from blank/template/script; inject script as one cell into existing notebook.
  • scripts/nb_cells.py: Cell CRUD, reorder, metadata/tags, bulk ops, regex search.
  • scripts/nb_execute.py: Execute with nbclient (default), selective range execution, or papermill mode.
  • scripts/nb_validate.py: Schema validation + operational lint checks for CI/pre-commit.
  • scripts/nb_convert.py: Convert notebook to html/pdf/latex/script/markdown/rst/slides.
  • scripts/nb_metadata.py: Notebook/cell metadata and tag management.
  • scripts/nb_outputs.py: Output listing, size checks, stripping, image extraction, clear execution counts.
  • scripts/nb_diff.py: nbdime-backed diff (text/json) and three-way merge.

Task Routing

  • Create new notebook/template/script-to-notebook:
  • Use scripts/nb_create.py.
  • Inspect or mutate cell layout/content:
  • Use scripts/nb_cells.py; details in references/cell-operations.md.
  • Execute notebook:
  • Use scripts/nb_execute.py; decision guidance in references/execution-guide.md.
  • Parameterized runs:
  • Use scripts/nb_execute.py --papermill; patterns in references/papermill-patterns.md.
  • Validate for CI:
  • Use scripts/nb_validate.py; rules in references/validation-and-linting.md.
  • Export to document/script formats:
  • Use scripts/nb_convert.py.
  • Manage metadata/tags:
  • Use scripts/nb_metadata.py; schema map in references/metadata-reference.md.
  • Handle outputs/size/images:
  • Use scripts/nb_outputs.py; guidance in references/output-handling.md.
  • Diff/merge in git workflows:
  • Use scripts/nb_diff.py; setup in references/versioning-guide.md.
  • Failure/timeout/kernel issues:
  • See references/error-handling.md.

Quick-Reference Table

  • Create notebook: nb_create.py
  • Edit cells: nb_cells.py
  • Execute notebook: nb_execute.py
  • Validate notebook: nb_validate.py
  • Convert/export: nb_convert.py
  • Metadata/tag ops: nb_metadata.py
  • Output management: nb_outputs.py
  • Diff/merge: nb_diff.py

Quick-Start One-Liners

Create from template:

python scripts/nb_create.py --template data-analysis --output notebooks/0.1-mmk-initial-eda.ipynb

Add a code cell:

python scripts/nb_cells.py --input notebooks/0.1-mmk-initial-eda.ipynb add --cell-type code --source "print('hello')"

Execute selective range (cornerstone pattern):

python scripts/nb_execute.py --input notebooks/0.1-mmk-initial-eda.ipynb --start-index 3 --end-index 7

Validate for CI:

python scripts/nb_validate.py --input notebooks/0.1-mmk-initial-eda.ipynb --forbid-outputs

Convert to markdown:

python scripts/nb_convert.py --input notebooks/0.1-mmk-initial-eda.ipynb --to markdown --output reports/eda.md

Output Convention

Scripts follow a consistent contract:

  • Human-readable progress logs on stderr.
  • Machine-readable JSON payload on stdout.
  • Exit codes:
  • general scripts: 0 success, 1 error.
  • nb_validate.py: 0 no issues, 1 issues found, 2 runtime/tool failure.

Versioning Defaults

  • Use CCDS-style notebook naming for order and ownership:
  • <step>-<owner>-<description>.ipynb
  • Prefer nbstripout + nbdime together for repository hygiene and readable diffs.
  • Example .gitattributes is provided in assets/.gitattributes.example.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.07%
按下载量换算23

Claude

30.56%
按下载量换算20

Cursor

19.73%
按下载量换算13

Gemini CLI

9.75%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

未通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills