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.

Install it, pinned
mdr add junyifei/junyi-skills/junyi-doc-reader@git:20260902.dd25ba5

Pins 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

The exact contents, by fingerprint
mdr add junyifei/junyi-skills/junyi-doc-reader@sha256:8a58cb60c4a30d48

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4fsdtdyvpklng6rk.svg)](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.

versioncommittedcommitsizeaudit
git:20260902.dd25ba5 latest2026-09-02 dd25ba5 10,479 BA view · diff
git:20260717.4f4a73c2026-07-17 4f4a73c 9,967 BA view · diff
v1.0.02026-06-23 00efd07 9,982 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from junyifei/junyi-skills

junyi-ai-weekly-review SKILL.md skill
junyifei/junyi-skills · junyi-ai-weekly-review/SKILL.md · AI 周度复盘。把你这一周和各个 AI agent 的日常协作记录,本地收集、清洗、脱敏并按天蒸馏,沉淀成《本周记录》(给自己看的事实底账加复盘)和《本周内容素材》(能直接写成内容的片段)两份本地…
git:20260726.1820252 · audit A · 3 stars
junyi-child-annual-intake SKILL.md skill
junyifei/junyi-skills · junyi-child-annual-intake/SKILL.md · 为 0—12 岁儿童收集、导入、补充和标准化家庭资料,作为家庭成长 Agent 全年知识底座的证据输入。用于用户第一次搭建家庭成长 Agent,需要填写适龄问卷、通过对话逐步回答、把家长记录/孩子原话/教师反馈/已有文档整理成规划输入,或检…
git:20260820.a834ba7 · audit A · 3 stars
junyi-child-quarterly-intake SKILL.md skill
junyifei/junyi-skills · junyi-child-quarterly-intake/SKILL.md · 为 0—12 岁儿童导入、提取、追问、验证和标准化最近一季度资料,用于持续更新家庭成长 Agent,并生成未来 90 天行动指南的证据输入。用于用户已有成长故事、录音蒸馏、月报、学校反馈或上一季度复盘,需要整理成季度资料包;也用于没有持续记…
git:20260820.a834ba7 · audit A · 3 stars
junyi-content-distiller SKILL.md skill
junyifei/junyi-skills · junyi-content-distiller/SKILL.md · 从本人录音逐字稿、日记、随手记、聊天记录或生活对话中,提取可追溯、可直接用于创作的真实素材,并在适用时生成每日核心事件、情绪地图与工作待办安排。用于“内容蒸馏”“录音整理”“把生活提炼成素材”“从日记找故事/观点/金句”“整理全天录音”等任…
git:20260720.0c6553a · audit A · 3 stars
junyi-deep-dialogue SKILL.md skill
junyifei/junyi-skills · junyi-deep-dialogue/SKILL.md · 苏格拉底式深度对话,通过一轮轮追问,帮用户在对话中挖掘自己的内在体验和深层认知,最终(可选)产出一篇完全由用户原话构成的觉知日记。触发词:深度对话、deep…
v1.0.0 · audit A · 3 stars
junyi-growth-spark-recorder SKILL.md skill
junyifei/junyi-skills · junyi-growth-spark-recorder/SKILL.md · 把真实亲子片段整理为证据受控的客观记录、发展观察和思维模型复盘。适用于家长说“记录一下”“闪光瞬间”“帮我分析这个互动”“用模型复盘”或提供孩子的具体言行;分析与保存分开授权,无配置时只分析不落盘。不适用于医学诊断、长期成长规划、周报月报或…
git:20260903.301b44f · audit A · 3 stars
junyi-infant-annual-plan SKILL.md skill
junyifei/junyi-skills · junyi-infant-annual-plan/SKILL.md · 从通过校验的 `junyi-child-growth-intake/v1` 资料包生成 0—35 月龄婴幼儿的个性化全年成长规划与家庭成长 Agent…
git:20260820.a834ba7 · audit A · 3 stars
junyi-infant-quarterly-plan SKILL.md skill
junyifei/junyi-skills · junyi-infant-quarterly-plan/SKILL.md · 为季度开始日完整月龄 0—35 个月的婴幼儿生成未来 90 天个性化成长计划,用于把家庭成长 Agent 的全年底座与本季新证据转成温暖、具体、低负担的家长行动指南。用于家庭已有有效全年 intake 和全年规划,并提供 status…
git:20260820.a834ba7 · audit A · 3 stars
junyi-learning-distiller SKILL.md skill
junyifei/junyi-skills · junyi-learning-distiller/SKILL.md · 把外部课程、讲座、直播、访谈、文章、论文、书籍章节或以学习为目的的会议材料,转化为可追溯的理解、可迁移的方法、与本人既有认知的关系、待验证问题和小型行动实验。用于“学习蒸馏”“消化这门课”“把这篇文章学明白”“整理分享会学习笔记”“用自己的…
git:20260720.0c6553a · audit A · 3 stars
junyi-personal-website SKILL.md skill
junyifei/junyi-skills · junyi-personal-website/SKILL.md · Plan, build, review, and prepare deployment of an original personal, expert, creator, portfolio, brand, or service…
git:20260719.22f9438 · audit A · 3 stars
junyi-po-leng-shui SKILL.md skill
junyifei/junyi-skills · junyi-po-leng-shui/SKILL.md · 给你泼冷水的反谄媚 skill。AI 默认会「私你、畏你、有求于你」,把烂想法用同样的热情做成产品级。这个 skill 强制切换到魔鬼代言人模式,挑骨头、揭自欺、指出最可能崩的那一点,全程不给情绪价值。触发词(必须显式说出才触发,不基于推测…
git:20260717.4f4a73c · audit A · 3 stars
junyi-positioning SKILL.md skill
junyifei/junyi-skills · junyi-positioning/SKILL.md · Build, audit, or iterate an evidence-based personal-IP strategy, produce a provisional creator positioning card from…
git:20260822.2b1aea9 · audit A · 3 stars

Every file in junyifei/junyi-skills

Browse by kind, by grade A, or by owner.