← 返回 Skills 市场
Book to Skill Converter 书本即技能
作者
shenshuo-03
· GitHub ↗
· v1.0.0
· MIT-0
466
总下载
3
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install book-to-skill
功能描述
根据上传的书籍自动提取技能和思维方式并创建新skill。用于:当用户上传一本书(PDF、TXT、EPUB等),希望从中提取核心技能、方法论或思维方式,并生成一个可复用的skill。
使用说明 (SKILL.md)
Book to Skill
从书籍中提取技能并自动创建新skill的元技能。
支持的书籍格式
- PDF (.pdf)
- TXT (.txt)
- EPUB (.epub)
- MOBI (.mobi)
- DOCX (.docx)
- Markdown (.md)
工作流程
1. 读取书籍内容
根据文件格式选择合适的读取方式:
PDF: 使用pdf skill读取文本内容
使用pdf skill提取PDF中的文本
EPUB/MOBI: 使用适当的库解析
Python epub库或mobi库提取内容
TXT/MD: 直接读取文本
DOCX: 使用docx skill读取
2. 分析书籍内容
分析并提取以下内容:
- 核心主题:书籍主要讨论什么问题
- 关键概念:书中的重要术语和定义
- 方法论:作者提出的具体方法、框架或流程
- 思维方式:书中的思考模式或心智模型
- 实践步骤:可操作的具体步骤或技巧
- 应用场景:这些技能适合用在什么场景
3. 生成Skill结构
根据分析结果,生成新skill的以下组成部分:
新skill名称/
├── SKILL.md
│ ├── YAML frontmatter (name, description)
│ └── 核心内容 (方法论、步骤、实践指导)
└── references/ (可选)
├── 详细方法论.md
└── 案例和示例.md
4. Skill命名规范
- 使用英文或中英文混合
- 名称应该体现核心技能
- 示例:
- "thinking-in-first-principles" (第一性原理思考)
- "系统思考" (Systems Thinking)
- "高效能人士的七个习惯" (可以提取为具体技能)
Skill模板结构
根据书籍内容选择合适的模板:
模板A:方法论型
---
name: skill-name
description: [一句话描述这个skill是什么及何时使用]
---
# 技能名称
## 概述
[简短的背景介绍]
## 核心方法论
[主要的方法框架]
## 具体步骤
1. [步骤1]
2. [步骤2]
3. [步骤3]
## 实践技巧
- [技巧1]
- [技巧2]
## 应用场景
- [场景1]
- [场景2]
## 常见误区
- [误区1]
- [误区2]
模板B:思维方式型
---
name: skill-name
description: [思维方式的描述及适用场景]
---
# 思维方式名称
## 什么是这种思维方式
[定义和核心要点]
## 如何培养
[具体练习方法]
## 应用示例
[实际应用案例]
## 注意事项
[使用这种思维方式的要点]
模板C:综合型
结合方法论和思维方式,适合内容丰富的书籍。
生成流程
- 提取章节要点:快速浏览目录和章节标题
- 深度阅读:理解核心内容
- 结构化输出:按照模板生成skill
- 用户确认:展示生成的skill给用户审核
- 保存到本地:将生成的skill保存到用户指定位置
输出示例
如果用户上传《第一性原理》,生成的skill可能包含:
- name: first-principles-thinking
- description: 第一性原理思考方法。用于:当需要从根本上分析问题、突破传统思维定式时
- 内容包括:定义、实践步骤、案例、常见问题
注意事项
- 保持skill简洁,遵循"concise is key"原则
- 提取最核心、最可操作的内容
- 生成的skill应该可以直接使用
- 如果书籍内容太泛,建议聚焦在1-2个核心技能上
安全使用建议
This package appears internally consistent and focused on extracting book content and producing skill markdown. Before using: (1) verify you have the right to upload/process the books (copyright/privacy); (2) review and, if desired, run book_extractor.py locally in a sandbox to confirm behavior and install only the needed Python dependencies; (3) note mobi extraction creates a temporary .html file in the same directory — ensure that location is acceptable; (4) because source/homepage are unknown, consider the governance risk (no identified publisher) and prefer running locally rather than granting remote execution or broad filesystem access. If you need higher assurance, ask the publisher for provenance or a signed release/homepage.
功能分析
Type: OpenClaw Skill
Name: book-to-skill
Version: 1.0.0
The skill bundle is a legitimate utility designed to extract text from various book formats (PDF, EPUB, DOCX, etc.) and automate the creation of new OpenClaw skills. The core logic in `scripts/book_extractor.py` uses standard Python libraries for text extraction and contains no evidence of data exfiltration, unauthorized network access, or malicious command execution. The instructions in `SKILL.md` and the analysis framework in `references/analysis_guide.md` are strictly aligned with the stated purpose of content summarization and skill generation.
能力评估
Purpose & Capability
Name/description, SKILL.md, templates, analysis guide, and the included book_extractor.py all align: they extract text from common ebook formats and generate skill markdown. The required libraries (PyPDF2, ebooklib, mobi, python-docx) are reasonable and relevant.
Instruction Scope
SKILL.md restricts actions to reading uploaded book files, extracting chapter/section content, structuring outputs, showing results for user confirmation, and saving to a user-specified location. It does not instruct reading unrelated system files, environment variables, or sending data to external endpoints.
Install Mechanism
No install spec — instruction-only with a small helper script. The script depends on common Python libraries but does not download or execute code from arbitrary URLs or create nonstandard system changes.
Credentials
The skill requests no environment variables, credentials, or config paths. The dependencies are typical for file parsing and are proportionate to the stated functionality.
Persistence & Privilege
always is false (no forced permanence). The skill does not attempt to modify other skills or global agent settings. Normal autonomous invocation is allowed by platform defaults.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install book-to-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/book-to-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of book-to-skill.
- Automatically extracts core skills, methodologies, and thinking models from uploaded books (PDF, TXT, EPUB, MOBI, DOCX, MD).
- Supports generating structured, reusable skills based on book content analysis.
- Includes templates for method-based, mindset-based, and comprehensive skill formats.
- Guides the extraction and structuring workflow step-by-step for easy user review and adaptation.
元数据
常见问题
Book to Skill Converter 书本即技能 是什么?
根据上传的书籍自动提取技能和思维方式并创建新skill。用于:当用户上传一本书(PDF、TXT、EPUB等),希望从中提取核心技能、方法论或思维方式,并生成一个可复用的skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 466 次。
如何安装 Book to Skill Converter 书本即技能?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install book-to-skill」即可一键安装,无需额外配置。
Book to Skill Converter 书本即技能 是免费的吗?
是的,Book to Skill Converter 书本即技能 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Book to Skill Converter 书本即技能 支持哪些平台?
Book to Skill Converter 书本即技能 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Book to Skill Converter 书本即技能?
由 shenshuo-03(@shenshuo-03)开发并维护,当前版本 v1.0.0。
推荐 Skills