Book Teardown Skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Book Teardown Skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
一个基于 Model Context Protocol (MCP) 的电子书结构化深度拆解服务。
npm install book-teardown-mcp创建 .env 文件或设置以下环境变量:
# LLM API Keys(必需)
GLM5_API_KEY=your_glm5_api_key
KIMI_API_KEY=your_kimi_api_key
# 可选:自定义 API 端点
GLM5_BASE_URL=https://open.bigmodel.cn/api/paas/v4
KIMI_BASE_URL=https://api.moonshot.cn/v1
# 可选:鉴权配置
SKILL_KEY=your_skill_key
SKILL_VERIFY_URL=https://api.skillmarket.io/v1/verify
SKIP_AUTH=true # 跳过鉴权验证在 Claude Desktop 或其他 MCP 客户端中配置:
{
"mcpServers": {
"book-teardown": {
"command": "npx",
"args": ["book-teardown-mcp"],
"env": {
"GLM5_API_KEY": "your_glm5_api_key",
"KIMI_API_KEY": "your_kimi_api_key"
}
}
}
}# 构建项目
npm run build
# 启动 MCP Server
npm start
# 开发模式
npm run dev对电子书进行结构化深度拆解。
输入参数:
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| file_path | string | 否* | 本地文件路径(PDF、Markdown 或 TXT) |
| file_content | string | 否* | Base64 编码的文件内容 |
| file_url | string | 否* | 文件的远程 URL |
| user_intent | string | 否 | 用户的阅读意图 |
| user_role | string | 否 | 用户角色(ceo/manager/student/investor/creator/other) |
| output_format | string | 否 | 输出格式(full/essentials) |
| include_mermaid | boolean | 否 | 是否包含 Mermaid 图表 |
*必须提供 file_path、file_content 或 file_url 之一
示例调用:
{
"file_path": "/path/to/book.pdf",
"user_intent": "学习商业策略",
"user_role": "manager",
"output_format": "full",
"include_mermaid": true
}拆解报告包含以下部分:
src/
├── auth/ # 鉴权模块
├── core/ # 核心业务逻辑
│ ├── classifier.ts # 识别层
│ ├── teardown.ts # 主拆解层
│ ├── refiner.ts # 批判层
│ ├── self-correction.ts # 自我校验
│ ├── fusion.ts # 融合层
│ └── pipeline.ts # 流程编排
├── deliverables/ # 可交付物生成
├── llm/ # LLM 客户端
├── operators/ # 算子加载器
├── parsers/ # 文件解析器
├── prompts/ # Prompt 模板
├── tools/ # MCP Tool 定义
└── types/ # 类型定义# 运行所有测试
npm test
# 监听模式
npm run test:watchnpm run buildISC
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.