跳到主内容
智客 ZICQ

技能库 智客分类:文档办公 skill-from-notebook

Skill From Notebook

从文件或实例中提取创建可执行技能的方法

372 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

从文件或实例中提取创建可执行技能的方法

何时用

当用户想要将知识转化为可执行的技能时:

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Skill from Notebook、When to Use、Supported Input Types、Step 0: Identify Input Type、Path A: Extract from Methodology Document、A1: Validate Document Suitability。 其中含规范建议的小节:分步指令。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Extract methodologies from documents or examples to create executable skills

Skill from NotebookWhen to UseSupported Input TypesStep 0: Identify Input TypePath A: Extract from Methodology DocumentA1: Validate Document SuitabilityA2: Identify Skill TypeA3: Extract Structure by TypeA4: Generate SkillApplicable ScenariosPrerequisitesSteps

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
skill-from-notebook
description
Extract methodologies from documents or examples to create executable skills
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「skill-from-notebook」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-18aa4de7c8526700-%E4%BB%8E%E7%AC%94%E8%AE%B0%E7%B0%BF%E4%B8%AD%E8%8E%B7%E5%8F%96%E6%8A%80%E8%83%BD.html
请存为 .cursor/skills/skill-from-notebook/SKILL.md 或 .claude/skills/skill-from-notebook/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/gbsoss/skill-from-masters' --list

npx skills add 'https://github.com/gbsoss/skill-from-masters' --skill 'skill-from-notebook'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版

name: skill-from-notebook description: Extract methodologies from documents or examples to create executable skills model: sonnet

Skill from Notebook

Extract actionable methodologies from learning materials (documents, articles, videos) or quality examples (blog posts, designs, code) to generate reusable Skills.

Core Philosophy: NotebookLM helps you understand. This skill helps you do.

When to Use

When users want to turn knowledge into executable skills:

  • "I just read this article about code review, help me create a skill from it"
  • "Here's a great technical blog post, extract the writing methodology"
  • "Turn this PDF guide into a skill I can reuse"
  • "Learn from this example and create a skill to produce similar output"

Supported Input Types

| Type | How to Process | |------|----------------| | Local files | PDF, Word, Markdown - Read directly | | Web URL | WebFetch to extract content | | YouTube | Use yt-dlp for subtitles, Whisper if unavailable | | NotebookLM link | Browser automation to extract notes/summaries | | Example/Output | Reverse engineer the methodology |

Step 0: Identify Input Type

Critical first step - Determine which processing path to use:

User Input
    │
    ├─ Has teaching intent? ("how to", "steps", "guide")
    │   └─ YES → Path A: Methodology Document
    │
    ├─ Is a finished work? (article, design, code, proposal)
    │   └─ YES → Path B: Example (Reverse Engineering)
    │
    └─ Neither? → Tell user this content is not suitable

Path A indicators (Methodology Document):

  • Contains words like "how to", "steps", "method", "guide"
  • Has numbered lists or step sequences
  • Written with teaching intent
  • Describes "what to do"

Path B indicators (Example/Output):

  • Is a complete work/artifact
  • No teaching intent
  • Is "the thing itself" rather than "how to make the thing"
  • Examples: a well-written blog post, a polished proposal, a code project

Path A: Extract from Methodology Document

A1: Validate Document Suitability

Check if the document is suitable for skill generation (must meet at least 2):

  • [ ] Has clear goal/outcome
  • [ ] Has repeatable steps/process
  • [ ] Has quality criteria
  • [ ] Has context/scenario description

If not suitable: Tell user honestly and explain why.

A2: Identify Skill Type

| Type | Characteristics | Examples | |------|-----------------|----------| | How-to | Clear step sequence, input→output | Deploy Docker, Configure CI/CD | | Decision | Conditions, trade-offs, choices | Choose database, Select framework | | Framework | Mental model, analysis dimensions | SWOT, 5W1H, First Principles | | Checklist | Verification list, pass/fail criteria | Code review checklist, Launch checklist |

A3: Extract Structure by Type

For How-to:

  • Prerequisites
  • Step sequence (with expected output per step)
  • Final expected result
  • Common errors

For Decision:

  • Decision factors
  • Options with pros/cons
  • Decision tree/flowchart
  • Recommended default

For Framework:

  • Core concepts
  • Analysis dimensions
  • Application method
  • Limitations

For Checklist:

  • Check items with criteria
  • Priority levels
  • Commonly missed items

A4: Generate Skill

Use this template:

## Applicable Scenarios
[When to use this skill]

## Prerequisites
- [What's needed before starting]

## Steps
1. [Step 1] - [Expected outcome]
2. [Step 2] - [Expected outcome]
...

## Quality Checkpoints
- [ ] [Checkpoint 1]
- [ ] [Checkpoint 2]

## Common Pitfalls
- [Pitfall 1]: [How to avoid]

## Source
- Document: [name/URL]
- Extracted: [timestamp]

Path B: Reverse Engineer from Example

When input is a finished work (not a tutorial), reverse engineer the methodology.

B1: Identify Output Type

What kind of artifact is this?

  • Technical blog post
  • Product proposal/PRD
  • Academic paper
  • Code architecture
  • Design document
  • Other: [specify]

B2: Analyze Structure

Break down the example:

Structure Analysis:
├── [Part 1]: [Function] - [Proportion %]
├── [Part 2]: [Function] - [Proportion %]
├── [Part 3]: [Function] - [Proportion %]
└── [Part N]: [Function] - [Proportion %]

Questions to answer:

  • How many parts does it have?
  • What's the function of each part?
  • What's the order and proportion?

B3: Extract Quality Characteristics

What makes this example good?

| Dimension | Questions | |-----------|-----------| | Structure | How is content organized? | | Style | Tone, word choice, expression? | | Technique | What methods make it effective? | | Logic | How does information flow? | | Details | Small but important touches? |

B4: Reverse Engineer the Process

Deduce: To create this output, what steps are needed?

## Deduced Production Steps
1. [Step 1]: [What to do] - [Key point]
2. [Step 2]: [What to do] - [Key point]
...

## Key Decisions
- [Decision 1]: [Options] - [This example chose X because...]

## Reusable Techniques
- [Technique 1]: [How to apply]
- [Technique 2]: [How to apply]

B5: Generate Skill

Use this template for reverse-engineered skills:

## Output Type
[What kind of artifact this produces]

## Applicable Scenarios
[When to create this type of output]

## Structure Template
1. [Part 1]: [Function] - [~X%]
2. [Part 2]: [Function] - [~X%]
...

## Quality Characteristics (Learned from Example)
- [Characteristic 1]: [How it manifests]
- [Characteristic 2]: [How it manifests]

## Production Steps
1. [Step 1]: [What to do] - [Tips]
2. [Step 2]: [What to do] - [Tips]
...

## Checklist
- [ ] [Check item 1]
- [ ] [Check item 2]

## Reference Example
- Source: [name/URL]
- Analyzed: [timestamp]

Example: Path A (Methodology Document)

User: "Extract a skill from this article about writing good commit messages"

Process:

  1. Read the article
  2. Identify: This is a How-to type (has steps, teaching intent)
  3. Extract:
    • Goal: Write clear, useful commit messages
    • Steps: Use conventional format, separate subject/body, etc.
    • Quality criteria: Subject < 50 chars, imperative mood, etc.
  4. Generate skill with steps and checklist

Example: Path B (Reverse Engineering)

User: "Here's a great technical blog post. Learn from it and create a skill for writing similar posts."

Process:

  1. Identify: This is an example (finished work, no teaching intent)
  2. Analyze structure:
    ├── Hook: Real pain point (2-3 sentences)
    ├── Problem: 3 sentences on the core issue
    ├── Solution: Conclusion first, then details
    ├── Code: Each snippet < 20 lines, with comments
    ├── Pitfalls: 3 common errors
    └── Summary: One-line takeaway
    
  3. Extract quality characteristics:
    • Title = specific tech + problem solved
    • One idea per paragraph
    • Code:text ratio ~40:60
    • Personal anecdotes for credibility
  4. Reverse engineer steps:
    • Start with a real problem you solved
    • Write the solution first, then the setup
    • Add code samples progressively
    • etc.
  5. Generate skill: "How to Write a Technical Blog Post"

Advanced: Multi-Example Learning

When user provides multiple examples of the same type:

Example A ──┐
Example B ──┼──> Extract commonalities ──> Core methodology
Example C ──┘           │
                        ▼
                  Analyze differences ──> Style variants / Optional techniques

This produces more robust, generalizable skills.


Important Notes

  1. Always validate first - Not all content is suitable for skill extraction
  2. Identify the path early - Methodology doc vs Example require different approaches
  3. Be specific - Vague skills are useless; include concrete steps and criteria
  4. Preserve the source - Always credit where the knowledge came from
  5. Ask for clarification - If unsure about user intent, ask before proceeding
  6. Quality over speed - Take time to truly understand the content

What This Skill is NOT

  • NOT a summarizer (that's NotebookLM's job)
  • NOT a document converter
  • It's about extracting actionable methodology that can be repeatedly executed

相关技能

文档办公

Ontology

为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…

文档办公

Nano Pdf

使用纳米-pdf CLI编辑带有自然语言指令的PDF.

文档办公

Word / DOCX

创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…

文档办公

Api Gateway

通过 Maton 网关调用第三方 API, 它为用户已经连接的应用程序注入证书 。 当用户命名一个连接的应用程序和其中的具体行动时使用此技能——读取一个邮箱,查询一个CMM,归档一个问题,更新一个电子表格,通过一个连接的搜索或刮取提供者运行一个查询. 每一次通话都到用户连接的应用…