junyi-doc-reader SKILL.md skillA
junyi-doc-reader from junyifei/junyi-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add junyifei/junyi-skills/junyi-doc-reader@git:20260902.dd25ba5Pins git:20260902.dd25ba5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- junyifei/junyi-skills
- Path
junyi-doc-reader/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260902.dd25ba5, committed Sep 2, 2026
- First version recorded
- Jun 23, 2026
- Size
- 10,479 bytes
- Repository stars
- 3
- License
- a license file GitHub does not identify
大文档归档与检索管线(v5.1)。支持本地文件(Word/PDF/TXT/Markdown)和飞书云文档,转换、分块、可选 LLM 增强,输出结构化 Markdown 和索引。飞书凭据必须由环境变量或用户自己的私人适配器提供,不读取任何 Agent 平台配置。触发词:读大文档、归档文档、junyi-doc-reader、doc-reader、文档索引、帮我读这个PDF、把文档存到Obsidian、帮我把飞书文档存到Obsidian、帮我把飞书工作日志按日期拆分、archive document、index document.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# junyi-doc-reader (v5.1) 大文档归档与检索管线。将大文档安全地转为结构化 Markdown,生成分块索引,可选 LLM 提炼摘要。v5 新增飞书云文档支持。 ## When to Use - 用户要求归档/阅读/索引一个大文档(Word、PDF、TXT、Markdown) - 用户要求把文档存到 Obsidian - 用户要求把飞书文档存到 Obsidian - 用户要求把飞书工作日志按日期拆分 - 文档超过 context 窗口限制,需要分块处理 ## Supported Sources | 源 | 输入 | 说明 | |----|------|------| | **local**(默认) | 文件路径 | .docx/.pdf/.txt/.md | | **feishu**(v5 新增) | 飞书文档链接或 doc_token | 通过 API 抓取 | ### Source Auto-Detection Agent 根据用户输入自动判断: 1. 包含 `feishu.cn/docx/` → 提取 doc_token → `--source feishu` 2. 本地文件路径 → `--source local` 3. 用户同时要求"按日期拆分" → 追加 `--split-by date` 4. 无法判断 → 追问用户 ### Supported Local Formats | 格式 | 转换工具 | 备注 | |------|----------|------| | .docx | pandoc | 推荐格式,需安装 pandoc | | .pdf | pdftotext | 需安装 poppler,扫描件暂不支持 | | .txt | 直接读取 | 自动检测编码(UTF-8/GBK) | | .md | 跳过转换 | 直接进入分块 | ## Three Modes | 模式 | 说明 | 需要 API | |------|------|---------| | `archive-only` | 转换 + 分块 + 原文归档 | 否 | | `archive+index` | 上述 + 结构化索引 | 否 | | `archive+index+insights` | 上述 + LLM 摘要/关键词/分类 | 是 | **自动降级规则:** - 未设 `DOC_READER_API_KEY` → archive-only - `DOC_READER_ALLOW_EXTERNAL=false`(默认)→ 不外发文档给 LLM - API 失败 → 保留已完成产物,降级继续 ## Usage ### Local File ```bash …
Read the whole file at its exact version.
How to install
mdr add junyifei/junyi-skills/junyi-doc-reader@sha256:8a58cb60c4a30d48The line at the top of this page pins the label git:20260902.dd25ba5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_4fsdtdyvpklng6rk)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jun 23, 2026 and Sep 2, 2026, about one every 35 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260902.dd25ba5 latest | 2026-09-02 | dd25ba5 | 10,479 B | A | view · diff |
| git:20260717.4f4a73c | 2026-07-17 | 4f4a73c | 9,967 B | A | view · diff |
| v1.0.0 | 2026-06-23 | 00efd07 | 9,982 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10479 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
junyifei/junyi-skills · 3 stars · license a license file GitHub does not identify · pushed 2026-09-09 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4fsdtdyvpklng6rk GET https://markdownregistry.com/api/v1/resolve?ref=junyifei/junyi-skills/junyi-doc-reader GET https://markdownregistry.com/api/v1/blob/8a58cb60c4a30d4863a1c83aff879c08f9c77a11d603e3cb70a5a08bf700b6dc
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.