Token导航 LogoToken导航

Agent Skill · 研究检索

jupyter-notebook-writing(jupyter 笔记本写作)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

jupyter-notebook-writing 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 11,293。

总安装 11,432周安装 467GitHub Stars 公开资料未说明下载 3,661核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/zc277584121/marketing-skills --skill jupyter-notebook-writing

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

jupyter-notebook-writing 辅助文档和 Markdown 稿件整理,适合 README 和说明文改写。适用于提炼结构、统一术语和检查链接等文档优化任务。保留项目已有事实,避免将未确认信息写成确定结论。涉及对外文案时需控制语气,避免过度营销或夸大能力。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/jupyter-notebook-writing

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/zc277584121/marketing-skills --skill jupyter-n…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

jupyter-notebook-writing 怎么安装?

在终端执行 npx skills add https://github.com/zc277584121/marketing-skills --skill jupyter-notebook-wr…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

jupyter-notebook-writing 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

jupyter-notebook-writing 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

jupyter-notebook-writing 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

jupyter-notebook-writing 用的人多吗?

公开数据是累计安装 11,432 次,近一周安装 467 次,下载 3,661 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

jupyter-notebook-writing 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
jupyter-notebook-writing

jupyter 笔记本写作 · 本页

11,432—接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Skill: Jupyter Notebook Writing

Write Milvus application-level Jupyter notebook examples as a DevRel workflow. Uses a Markdown-first approach — AI edits .md files, then converts to .ipynb via jupyter-switch.

Prerequisites: Python >= 3.10, uv (uvx command available)

When to Use

The user wants to create or edit a Jupyter notebook example, typically demonstrating Milvus usage in an application context (RAG, semantic search, hybrid search, etc.).


Core Workflow: Markdown-First Editing

Jupyter .ipynb files contain complex JSON with metadata, outputs, and execution counts — painful for AI to edit directly. Instead:

  1. Write/Edit the .md file — AI works with clean Markdown
  2. Convert to .ipynb — using jupyter-switch for runnable notebook
  3. Keep both files in sync — the .md is the source of truth for editing

Format Convention

In the .md file:

  • Python code blocks (``` `python... ` ```) become code cells in the notebook
  • Everything else becomes markdown cells
  • Cell outputs are not preserved in .md (they get generated when running the notebook)

Conversion Commands

# Markdown -> Jupyter Notebook
uvx jupyter-switch example.md
# produces example.ipynb

# Jupyter Notebook -> Markdown
uvx jupyter-switch example.ipynb
# produces example.md
  • The original input file is never modified or deleted
  • If the output file already exists, a .bak backup is created automatically

Step-by-Step

Creating a New Notebook

  1. Create example.md with the content (see structure below)
  2. Convert: uvx jupyter-switch example.md
  3. Both example.md and example.ipynb now exist

Editing an Existing Notebook

  1. If only .ipynb exists, convert first: uvx jupyter-switch example.ipynb
  2. Edit the .md file
  3. Convert back: uvx jupyter-switch example.md

Testing / Running

1. Resolve the Jupyter execution environment

Before running any notebook, you must determine which Python environment to use. The system default jupyter execute may not have the required packages installed.

Step A — Check for saved preference. Look in the current project's CLAUDE.local.md for a ## Jupyter Notebook Execution section. If it contains a kernel name, use it directly and skip to Step 2.

Step B — If no saved preference, ask the user. Detect available environments first:

# Discover conda/mamba environments
conda env list 2>/dev/null || mamba env list 2>/dev/null

# Discover registered Jupyter kernels
jupyter kernelspec list 2>/dev/null

# Check system default Python
which python3 2>/dev/null && python3 --version 2>/dev/null

# Check for local virtual environment in the working directory
ls -d .venv/ venv/ 2>/dev/null

# Check if a uv-managed project (pyproject.toml + .venv)
test -f pyproject.toml && test -d .venv && echo "uv/pip project venv detected"

Then present a numbered list of choices. Include all detected environments:

  1. System default — run jupyter execute as-is, no --kernel_name
  2. Each detected conda/mamba environment — show name and path
  3. Each registered Jupyter kernel — show kernel name
  4. Local venv (if .venv/ or venv/ found in working directory) — the Python inside that venv
  5. Custom — let the user type a Python path or environment name
Note on uv projects: If the working directory has pyproject.toml + .venv/ (a uv-managed project), the local venv option covers this case. The user can also run uv run jupyter execute example.ipynb directly if jupyter is a project dependency.

For every option, also offer a "remember" variant. Example prompt:

Which Python environment should I use to run this notebook?

1. System default (jupyter execute as-is)
2. conda: myenv (/path/to/envs/myenv)
3. Jupyter kernel: some-kernel
4. Local venv (.venv/)
5. Custom — enter a path or environment name

Tip: add "remember" to save your choice (e.g. "2, remember"),
so it gets written to CLAUDE.local.md and I won't ask next time.

Step C — Apply the chosen environment:

ScenarioAction
Already a registered Jupyter kernelUse jupyter execute --kernel_name=<name>
Conda env not yet registered as kernelRegister first: <env-python> -m ipykernel install --user --name <name> --display-name "<label>", then use --kernel_name=<name>
Custom Python pathSame as above — register as kernel first, then use --kernel_name

Step D — If the user chose "remember": append or update a ## Jupyter Notebook Execution section in the current project's CLAUDE.local.md:

## Jupyter Notebook Execution

- **Jupyter kernel**: `<kernel-name>`

This ensures future runs skip the prompt and use the saved kernel directly.

2. Prepare the notebook for execution

Before running, comment out "setup-only" cells in the .md file — cells that are meant for first-time users but should not run in an automated test environment. Specifically:

  • pip install cells — dependencies should already be installed in the chosen Jupyter environment. If any packages are missing or need upgrading, install them externally in the target environment (with --upgrade), not inside the notebook.
  • API key / credential placeholder cells — e.g. os.environ["OPENAI_API_KEY"] = "sk-***********". Instead, set environment variables externally before running (export in shell, or inject via code before jupyter execute).
  • Mock / demo-only cells — any cells that exist purely for illustration and would fail or interfere in a real run.

To comment out a cell, wrap its content in a block comment so the cell still executes (producing empty output) but does nothing:

# # pip install --upgrade langchain pymilvus
# import os
# os.environ["OPENAI_API_KEY"] = "sk-***********"

This keeps the notebook structure intact (cell count, ordering) while preventing conflicts with the external Jupyter environment.

For environment variables: either export them in the shell before running jupyter execute, or prepend them to the command:

OPENAI_API_KEY="sk-real-key" jupyter execute --kernel_name=<name> example.ipynb
3. Convert and run
  1. Convert .md to .ipynb if needed
  2. Install any missing dependencies in the target environment externally: <env-python> -m pip install --upgrade <packages>
  3. Run: jupyter execute --kernel_name=<name> example.ipynb (omit --kernel_name if using system default)
  4. If errors found, fix in the .md file, uncomment setup cells if needed for debugging, and re-convert

Notebook Structure Template

A typical Milvus example notebook follows this structure:

# Title

Brief description of what this notebook demonstrates.

## Prerequisites

Install dependencies:

` ``python
!pip install pymilvus some-other-package
` ``

## Setup

Import and configuration:

` ``python
from pymilvus import MilvusClient

client = MilvusClient(uri="http://localhost:19530")
` ``

## Prepare Data

Load or generate example data:

` ``python
# data preparation code
` ``

## Create Collection & Insert Data

` ``python
# collection creation and data insertion
` ``

## Query / Search

` ``python
# search or query examples
` ``

## Cleanup

` ``python
client.drop_collection("example_collection")
` ``

Reference Documents

This skill includes two reference documents under references/. Read them when the task involves their topics.

ReferenceWhen to ReadFile
Bootcamp FormatWriting a Milvus integration tutorial (badges, document structure, section format, example layout)references/bootcamp-format.md
Milvus Code StyleWriting pymilvus code (collection creation, MilvusClient connection args, schema patterns, best practices)references/milvus-code-style.md

Bootcamp Format (references/bootcamp-format.md)

Read this when the user is writing a Milvus integration tutorial for the bootcamp repository. It covers:

  • Badge format (Colab + GitHub badges at the top)
  • Document structure: Header -> Prerequisites -> Main Content -> Conclusion
  • Dependency install format with Google Colab restart note
  • API key placeholder conventions ("sk-***********")
  • Each code block should have a short text introduction before it

Milvus Code Style (references/milvus-code-style.md)

Read this when the notebook involves pymilvus code. Key rules:

  • Always use MilvusClient API — never use the legacy ORM layer (connections.connect(), Collection(), FieldSchema(), etc.)
  • Always define schema explicitly (create_schema + add_field) — do not use the shortcut create_collection(dimension=...) without schema
  • Include has_collection check before creating collections
  • Add commented consistency_level="Strong" line in create_collection()
  • No need to call load_collection() — collections auto-load on creation
  • First MilvusClient connection must include the blockquote explaining uri options (Milvus Lite / Docker / Zilliz Cloud)

Important Notes

  • Always edit the .md file, not the .ipynb directly. The .md is easier for AI to read and write.
  • Keep both files — .md for editing, .ipynb for running/sharing.
  • After editing .md, always re-run uvx jupyter-switch example.md to sync the .ipynb.

平台分布

Codex

35.01%
按下载量换算1,282

Claude

31.4%
按下载量换算1,150

Cursor

19.22%
按下载量换算704

Gemini CLI

8.96%
按下载量换算328

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills