{"_id":"@960web/pdf-lecture-notes","_rev":"3-a1dd539d5097564666e8afc71a9834f5","name":"@960web/pdf-lecture-notes","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@960web/pdf-lecture-notes","version":"1.0.0","keywords":["claude-code","skill","pdf","ocr","markdown","notes","lecture-notes","paddleocr","agentskills"],"author":{"name":"友利奈绪可爱捏"},"license":"MIT","_id":"@960web/pdf-lecture-notes@1.0.0","maintainers":[{"name":"960web","email":"2095593857@qq.com"}],"homepage":"https://github.com/960web/pdf-lecture-notes","bugs":{"url":"https://github.com/960web/pdf-lecture-notes/issues"},"dist":{"shasum":"24ed834d558b4dff10e541a73b043fc795beab89","tarball":"https://registry.npmjs.org/@960web/pdf-lecture-notes/-/pdf-lecture-notes-1.0.0.tgz","fileCount":5,"integrity":"sha512-T1n7BC8saq0Ai7dpn6ROCV1QiFPRaJxe6kAKIMwHlYI7u3tFwCa4QOJK41dvVduYFQU59uOvAmCyKdWixXbDMA==","signatures":[{"sig":"MEUCIQD0U93wBLfCHD7gxFIGu41wE7aoGtX+dvac3GF8UaZLDwIgc5uPuqAvy35LY5410ba7zHrWBwn4QFLD4IFdW4HDoHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39744},"claude":{"type":"skill","skillPath":"skills/pdf-lecture-notes/SKILL.md"},"gitHead":"f007b3f936884c07a470fd41327ea3a7631618e4","_npmUser":{"name":"960web","email":"2095593857@qq.com"},"repository":{"url":"git+https://github.com/960web/pdf-lecture-notes.git","type":"git"},"_npmVersion":"11.14.0","agentskills":{"skillPath":"skills/pdf-lecture-notes/SKILL.md","specVersion":"1.0"},"description":"Claude Code Skill：将图片型 PDF（教材、讲义、扫描文档）提取为结构化 Markdown 笔记","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pdf-lecture-notes_1.0.0_1778442462403_0.35910688058554885","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@960web/pdf-lecture-notes","version":"1.0.1","keywords":["claude-code","skill","pdf","ocr","markdown","notes","lecture-notes","paddleocr","agentskills"],"author":{"name":"友利奈绪可爱捏"},"license":"MIT","_id":"@960web/pdf-lecture-notes@1.0.1","maintainers":[{"name":"960web","email":"2095593857@qq.com"}],"homepage":"https://github.com/960web/pdf-lecture-notes","bugs":{"url":"https://github.com/960web/pdf-lecture-notes/issues"},"dist":{"shasum":"770123bcabf20444c1a21df00b1b16ce02f7d854","tarball":"https://registry.npmjs.org/@960web/pdf-lecture-notes/-/pdf-lecture-notes-1.0.1.tgz","fileCount":6,"integrity":"sha512-pQPXaekySWoFuw4Uj/wjcNweAVUD9dLNyfI5yPMRMzhroyAZA/9kLmG4jc7Tr+myAvFNMIgryDC5ArqFAOjS8A==","signatures":[{"sig":"MEUCIQCNrB5H2p0R9YiEDOZZhuRBvFgDPc6IkADl53zg9iDbCgIgd8UNiWpnJcx/KPbYWyi5vNaUQXzW4KfZCgHlfiNbDV4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73013},"claude":{"type":"skill","skillPath":"skills/pdf-lecture-notes/SKILL.md"},"gitHead":"adbb57fd1253c8539220f2806ebf09b6319d99bb","_npmUser":{"name":"960web","email":"2095593857@qq.com"},"repository":{"url":"git+https://github.com/960web/pdf-lecture-notes.git","type":"git"},"_npmVersion":"11.14.0","agentskills":{"skillPath":"skills/pdf-lecture-notes/SKILL.md","specVersion":"1.0"},"description":"Claude Code Skill：将图片型 PDF（教材、讲义、扫描文档）提取为结构化 Markdown 笔记","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pdf-lecture-notes_1.0.1_1778442903943_0.9407913172904245","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@960web/pdf-lecture-notes","version":"1.0.2","description":"Claude Code Skill：将图片型 PDF（教材、讲义、扫描文档）提取为结构化 Markdown 笔记","keywords":["claude-code","skill","pdf","ocr","markdown","notes","lecture-notes","paddleocr","agentskills"],"homepage":"https://github.com/960web/pdf-lecture-notes","repository":{"type":"git","url":"git+https://github.com/960web/pdf-lecture-notes.git"},"license":"MIT","author":{"name":"友利奈绪可爱捏"},"agentskills":{"specVersion":"1.0","skillPath":"skills/pdf-lecture-notes/SKILL.md"},"gitHead":"ecf04a910a635e7c87bc43a15ccfe08c6fdb71a8","_id":"@960web/pdf-lecture-notes@1.0.2","bugs":{"url":"https://github.com/960web/pdf-lecture-notes/issues"},"_nodeVersion":"24.15.0","_npmVersion":"11.14.0","dist":{"integrity":"sha512-JbLzdi1ur3WZnaSdDotGfpYws8UEfaRvacE6UDWw+YhuJFhJkxUcZvewDiLAHxBlByG0NXXy4Tgwr1PACmpepg==","shasum":"2e9ae786d4440d5a0db2a50b9d545c7c98e86630","tarball":"https://registry.npmjs.org/@960web/pdf-lecture-notes/-/pdf-lecture-notes-1.0.2.tgz","fileCount":5,"unpackedSize":71922,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDEYTyIOnRE9b/brUkhjiLmhxLNDPrA0184NWw7mhtyBAIhAMr4y7adGk0wD7TB1UK7WLcuFnSCxPWc6FrzN3FQZDI2"}]},"_npmUser":{"name":"960web","email":"2095593857@qq.com"},"directories":{},"maintainers":[{"name":"960web","email":"2095593857@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pdf-lecture-notes_1.0.2_1778489906292_0.6782255900539471"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-10T19:47:42.305Z","modified":"2026-05-11T08:58:26.559Z","1.0.0":"2026-05-10T19:47:42.532Z","1.0.1":"2026-05-10T19:55:04.090Z","1.0.2":"2026-05-11T08:58:26.436Z"},"bugs":{"url":"https://github.com/960web/pdf-lecture-notes/issues"},"author":{"name":"友利奈绪可爱捏"},"license":"MIT","homepage":"https://github.com/960web/pdf-lecture-notes","keywords":["claude-code","skill","pdf","ocr","markdown","notes","lecture-notes","paddleocr","agentskills"],"repository":{"type":"git","url":"git+https://github.com/960web/pdf-lecture-notes.git"},"description":"Claude Code Skill：将图片型 PDF（教材、讲义、扫描文档）提取为结构化 Markdown 笔记","maintainers":[{"name":"960web","email":"2095593857@qq.com"}],"readme":"# pdf-lecture-notes\n\n> Claude Code Skill：将图片型 PDF（教材、讲义、扫描文档）提取为结构化 Markdown 笔记。\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)\n[![Skill Format](https://img.shields.io/badge/Skill%20Spec-agentskills.io-blue)](https://agentskills.io/specification)\n[![npm](https://img.shields.io/npm/v/@960web/pdf-lecture-notes)](https://www.npmjs.com/package/@960web/pdf-lecture-notes)\n[![skills.sh](https://img.shields.io/badge/skills.sh-install-black)](https://skills.sh)\n\n## 这是什么\n\n一个 Claude Code Skill，自动化完成 **PDF → Markdown 笔记** 的完整流程：\n\n- 分析 PDF 目录结构，建立页码映射\n- 采样识别内容元素（定义/定理/例题/习题等）\n- 与用户交互制定通用笔记方案\n- 并行 OCR（PaddleOCR-VL + 后台 Agent）高速提取\n- 生成结构化 Markdown 笔记\n\n## 适用场景\n\n- 扫描版/图片型 PDF 教材或讲义\n- PDF 过大无法直接读取（>100MB）\n- 包含公式、表格等需要保留格式的内容\n- 多章节文档需要批量处理\n\n## 安装\n\n### 方式一：skills.sh（推荐，跨平台通用）\n\n```bash\nnpx skills add 960web/pdf-lecture-notes\n```\n\n### 方式二：npm\n\n```bash\nnpm install -g @960web/pdf-lecture-notes\n```\n\n### 方式三：OSM（Open Skills Manager）\n\n```bash\nosm install 960web/pdf-lecture-notes\n```\n\n### 方式四：手动安装\n\n```bash\n# 安装到用户级（所有项目可用）\nmkdir -p ~/.claude/skills/pdf-lecture-notes\ncp skills/pdf-lecture-notes/SKILL.md ~/.claude/skills/pdf-lecture-notes/\n\n# 或安装到项目级（仅当前项目）\nmkdir -p .claude/skills/pdf-lecture-notes\ncp skills/pdf-lecture-notes/SKILL.md .claude/skills/pdf-lecture-notes/\n```\n\n### 方式五：Cursor\n\nSettings → Rules → 导入 GitHub 仓库 URL：\n```\nhttps://github.com/960web/pdf-lecture-notes\n```\n\n## 前置依赖\n\n| 依赖 | 用途 | 安装 |\n|------|------|------|\n| **uv** | Python 包管理器 + MCP 启动器 | `pip install uv` 或参见 [uv 文档](https://docs.astral.sh/uv/) |\n| **PyMuPDF (fitz)** | PDF 页面提取为 PNG | `uv add pymupdf` |\n| **PaddleOCR-VL MCP** | OCR 识别 | 需注册 [百度 AI Studio](https://aistudio.baidu.com/) 获取 Access Token |\n| **百度 AI Studio** | OCR 云端服务 | 注册后按 skill 引导配置 `.mcp.json` |\n\n## 快速开始\n\n1. 在 Claude Code 中打开你的项目\n2. 说：*\"把这个 PDF 转成笔记\"*\n3. 按 Skill 引导完成：环境配置 → 方案制定 → Pilot 章节 → 批量制作\n\n## 目录结构\n\n```\npdf-lecture-notes/\n├── skills/\n│   └── pdf-lecture-notes/\n│       └── SKILL.md        # 核心 skill 文件（skills.sh 格式）\n├── SKILL.md                # 核心 skill 文件（根目录入口，兼容 OSM 等注册中心）\n├── package.json            # npm 包清单\n├── README.md               # 本文件\n├── LICENSE                 # MIT\n├── CONTRIBUTING.md         # 贡献指南\n├── CHANGELOG.md            # 版本记录\n└── .github/                # Issue/PR 模板\n```\n\n## 分发渠道\n\n| 渠道 | 安装命令 |\n|------|----------|\n| **skills.sh** | `npx skills add 960web/pdf-lecture-notes` |\n| **npm** | `npm install @960web/pdf-lecture-notes` |\n| **OSM** | `osm install 960web/pdf-lecture-notes` |\n| **SkillsMP** | 自动收录 |\n| **SkillsGate** | 自动收录 |\n| **GitHub** | `git clone` + 手动安装 |\n\n## 贡献\n\n欢迎提 Issue 和 PR。详见 [CONTRIBUTING.md](./CONTRIBUTING.md)。\n\n## 许可\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}