knowledge-extraction

Knowledge-extraction standard toolkit: a complete specification for turning raw content into structured, concise notes, including templates, examples, workflows, and a quality-check checklist; intended for converting unstructured information into structured notes.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "knowledge-extraction" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-64dc6f3bfcac8b74e92c4e1c10e031bdbe92941583498465f9139cca19fe8a62. Verify the upstream source and version against https://skillhub.cn/skills/user_285cce02/knowledge-extraction before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Knowledge-extraction standard toolkit: a complete specification for turning raw content into structured, concise notes, including templates, examples, workflows, and a quality-check checklist; intended for converting unstructured information into structured notes.

0 Downloads

Introduction source: third_party · user_285cce02 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: knowledge-extraction
description: 📚 知识萃取标准技能包 — 从原始内容到结构化精炼笔记的完整规范,含模板、示例、工作流与质量检查清单
tags:
  - knowledge-management
  - note-taking
  - content-extraction

📚 知识萃取标准技能包 (Knowledge Extraction Standards)

将原始内容(ASR/OCR/文章/视频转录)按统一标准萃取为结构化的精炼 Markdown 笔记。

技能包内容

文件 用途
SKILL.md 📖 本文件 — 完整萃取标准、工作流、规则
references/quick-start.md 🚀 快速上手指南(5分钟学会)
references/config-guide.md ⚙️ 初始配置指南(目录结构、首次测试)
references/template.md 📋 完整精炼笔记模板(可直接复制)
references/example.md ✨ 完整精炼笔记示例(脱敏通用格式)

工作流概览

原始内容(ASR/OCR/文章/视频转录)
    │
    ▼
┌─────────────────────────────┐
│  1. 读取原文                 │  原始文件
│     (read_file)              │  YAML frontmatter + 原始正文
└──────────┬──────────────────┘
           │ AI 按本标准结构化萃取
           ▼
┌───────────────────────────────────────┐
│  2. AI 生成结构化内容                 │  按本标准生成
│     按标准格式组织                     │  含: 摘要→大纲→三级正文→
│                                       │  知识提炼→关联笔记→关键词
└──────────┬────────────────────────────┘
           │ 写入目标目录
           ▼
┌───────────────────────────────────────┐
│  3. 精炼笔记归档                      │  目标目录/{分类}/{标题}_{作者}_{来源}_{日期}.md
│     write_file                        │  YAML frontmatter + 完整结构化正文
└───────────────────────────────────────┘

快速使用(AI 代理工作流)

方式 A:独立使用

AI 代理直接读取原文 → 按本标准生成精炼笔记 → 写入目标目录:

# 1. 读取原文
read_file("原始内容目录/{platform}/{year}/原文文件.md")

# 2. 按本标准生成 content(见下方完整格式)
# 3. 写入精炼笔记
write_file("笔记目录/{分类}/{标题}_{作者}_{来源}_{日期}.md", content)

方式 B:通过 cleaner 管道(需 knowledge_cleaner.py)

python3 -c "import json; print(json.dumps({
  'title': '精炼笔记标题',
  'content': '完整正文(含摘要+大纲+三级嵌套+知识提炼+关联笔记+关键词)',
  'keywords': '关键词1、关键词2、关键词3',
  'category': '销售'
}, ensure_ascii=False))" | python3 knowledge_cleaner.py --ai-structured /path/to/original.md

正文结构标准

⚠️ 重要规则:content 字段不要以 # 主标题 开头。 标题会自动从 title 字段生成 H1 写入文件开头。 content 直接从 > 关键要点列表 开始。

完整结构(按顺序)

> 1. 关键要点一 — 一句话说明
> 2. 关键要点二 — 一句话说明
> 3. 关键要点三 — 一句话说明
> 4. 关键要点四 — 一句话说明
> 5. 关键要点五 — 一句话说明

(摘要 = 4-6 条关键要点的引用列表,覆盖全文核心)

## 大纲

- 核心结论
- 知识提炼
- 关联笔记

(列出全文一级 H2 模块,方便快速跳转定位)

## 1. 核心主题模块               ← H2

### 1.1 分论点/核心案例            ← H3

#### 1.1.1 细分支撑内容            ← H4

【案例】按逻辑分组独立成段。保留:人物、时间、动作、背景、转折。
只基于原文隐含逻辑补充支撑细节,补充 ≤ 单案例 20%。

【金句】原文金句完整保留,置于段落开头或结尾显著位置,100% 不得修改。

#### 1.1.2 下一细分内容

继续按三级结构展开...

## N. 知识提炼

### N.1 核心概念
提炼原文的核心概念与定义。

### N.2 关键洞察
超越原文表面信息的深层洞察,归纳规律与模式。

### N.3 实践方法
可落地的操作步骤、策略、工具推荐。

## N+1. 关联笔记

- 笔记A — 关联说明
- 笔记B — 关联说明

(关联到知识库中相关的其他笔记)

【核心关键词】:KW1、KW2、KW3、KW4、KW5

关键规则速查表

项目 标准 要求
📐 标题层级 ## → ### → #### 全部使用 Markdown 标题,支持目录识别
📑 大纲 ## 大纲 列出全文一级模块,帮助快速定位
📝 摘要 关键要点列表 > 引用格式,4-6 条
🔗 逻辑结构 总分总 同一主题归模块,个人经历与成果关联显性化
🗣️ 语言 规范书面语 第一/第二/第三,单句≤20字,修正错别字
📖 案例 完整保留 保留率≥90%,补充≤20%,不删减原意;按逻辑分组独立成段
💎 金句 100%保留 不得修改删减,单独标注【金句】
🧠 知识提炼 结尾部分 核心概念 + 关键洞察 + 实践方法
🔗 关联笔记 知识提炼之后 标记关联笔记,含简要说明
🔢 编号规则 知识提炼/关联笔记 = 末尾两节 编号 = 最后内容节序号 +1 和 +2,非固定 2/3
🏷️ 关键词 文件末尾 【核心关键词】标记
✅ 输出完整 全覆盖 摘要+大纲+三级正文+知识提炼+关联笔记+关键词

编号规则详解

知识提炼 和 关联笔记 的数字编号不是固定的 2 和 3,而是内容正文最后一节的序号 +1 和 +2:

正文节数 内容节 知识提炼 关联笔记
1 节 ## 1. 核心主题 ## 2. ## 3.
2 节 ## 1. 诊断 → ## 2. 方案 ## 3. ## 4.
3 节 ## 1. 背景 → ## 2. 方法 → ## 3. 案例 ## 4. ## 5.

始终以文档最后一个内容节的下一个数字开始编号。


禁止事项

  • ❌ 遗漏核心信息 — 数据、案例、结论、金句不得缺失
  • ❌ 使用网络热词 — yyds、绝绝子等禁用
  • ❌ 改变原文立场 — 不改变观点、数据准确性
  • ❌ 标题层级跳跃 — 不能跳过 ### 直接用 ####
  • ❌ 过度精简案例 — 不删除人物行为、时间跨度、背景逻辑
  • ❌ 弱化故事性 — 不简化人物动机、情节转折
  • ❌ 省略深度阐述 — 不省略核心观点的展开
  • ❌ 编号冲突 — 知识提炼/关联笔记编号必须与内容节编号连贯
  • ❌ 个人思考 — 精炼笔记是事实性知识总结,不添加个人感悟

文件命名规范

{标题}_{作者}_{来源}_{日期}.md
  • 标题截取前 30 字符
  • 作者截取前 10 字符
  • 来源:平台名(小红书/抖音/B站/微信等)
  • 日期:YYYYMMDD 格式

示例:标题前30字_作者名_平台_20260624.md


YAML Frontmatter 标准

---
标题: "精炼笔记标题"
标签:
  - 关键词1
  - 关键词2
  - 关键词3
来源平台: "小红书"
作者: "作者名"
采集时间: "2026-06-24"
发布时间: "2026-06-24"
原文链接: "https://..."
清洗时间: "2026-06-24"
---

质量检查清单

萃取完成后,逐项检查:

  • [ ] content 字段不以 # 开头(无重复 H1)
  • [ ] 摘要用 > 引用格式,4-6 条要点
  • [ ] ## 大纲 存在且列出正确
  • [ ] 正文使用 ## → ### → #### 真标题
  • [ ] 知识提炼编号 = 最后内容节序号 +1
  • [ ] 关联笔记编号 = 最后内容节序号 +2
  • [ ] 关联笔记已标注
  • [ ] 【核心关键词】 在文件结尾
  • [ ] 案例保留率 ≥ 90%
  • [ ] 金句 100% 保留
  • [ ] YAML frontmatter 完整(标题/标签/来源/作者/时间)
  • [ ] 文件名符合规范
  • [ ] 无个人思考/感悟内容

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value88/100

Highlights

  • 提供从原始内容到结构化精炼笔记的完整规范,解决知识管理高频痛点
  • 涵盖模板、示例、工作流与质量检查清单,实用性强
Trigger Precision92/100

Highlights

  • description 清晰描述技能包用途,触发词精准覆盖知识萃取场景
Structure and Standards95/100

Highlights

  • 结构完整,含工作流、正文标准、编号规则、禁止事项、命名规范与质量检查清单
  • frontmatter 完整,有清晰步骤划分与端到端示例
Execution Reliability85/100

Areas to improve

  • 引用文件缺失 Reported severity: Minor

    SKILL.md 引用了 references/quick-start.md 等文件但未传入

    Recommendation: 建议补充 references 目录下的引用文件以确保完整性

Highlights

  • 工具调用来源明确,参数正确,覆盖主要异常与编号规则
  • 文件写入路径规范清晰,质量检查清单提升执行可靠性
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • ...

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.