Reader Rs — Documentation skill for Claude Code
Agent 原生文档阅读、搜索与提取 CLI:PDF / Word(含 .doc)/ EPUB / Office / CSV 等 14 种格式,按页/节读、正则搜、目录批量搜;grep 语义退出码,Rust 单二进制.
How to install Reader Rs
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open raystyle/reader_rs and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Reader Rs does
Agent 原生文档阅读、搜索与提取 CLI:PDF / Word(含 .doc)/ EPUB / Office / CSV 等 14 种格式,按页/节读、正则搜、目录批量搜;grep 语义退出码,Rust 单二进制.
Alternatives in Documentation
- Docx — Create, edit, and analyze Word documents with tracked changes, comments, and formatting 94.1k ★
- Translate Doc Zh — Translate English documentation to Chinese 5.7k ★
- Ars Format Convert — ARS academic-paper format-convert mode — convert to LaTeX / DOCX / PDF / Markdown 4.5k ★
README
Reader
Agent 原生文档阅读、搜索与提取 CLI:PDF / Word(含 .doc)/ EPUB / Office / CSV 等 14 种文档格式加图片(png / jpg 等 8 种),按页/节读、正则搜、目录批量搜、OCR 识图、图片本体与元数据一键导出;grep 语义退出码,Rust 单二进制。
[](https://github.com/raystyle/reader_rs/actions/workflows/ci.yml) [](LICENSE)
从本地 PDF、markdown、图片与 Office 家族文档读文本层,给 Agent 稳定可解析的输出。Rust 单二进制、单调用无交互;命令 `reader`(缩写 `rr`)。
| 做什么 | 命令示例 |
|---|---|
| 读:按页或标题节取正文 | reader extract ./doc.pdf --pages 1-3 |
| 搜:字面、正则、目录批量 | rr search ./材料 "配置" -C 2 |
| 结构化提取:mq 表达式(jq 风格) | reader query ./notes.md ".h2" |
| 取图:图片本体导出与元数据对齐 | reader figures ./scan.pdf --pages 12-32 |
| 一键:文本+图片+元数据落一目录 | reader export ./paper.pdf --ocr |
- PDF 按页读;markdown 与 Word / EPUB / ODT / RTF / Office / CSV 等 14 种格式按标题节读;图片文件(png / jpg / bmp / gif / webp / tiff 等 8 种扩展名)单图即单页
- 扫描件与图片以
needs_ocr检出,--ocr兜底识别(PP-OCRv6 tiny,首用下载约 6.2 MB 模型) - 行式标记、grep 语义退出码 0/1/2;
--format json包膜加--filter点路径裁剪、分页next_offset --llms紧凑命令索引;reader skill生成 SKILL.md 给编码 agent 自动发现
全平台安装
前置:Rust 工具链(1.88+,推荐 )。支持 Windows / macOS / Linux,CI 三系统门禁见 [.github/workflows/ci.yml](.github/workflows/ci.yml)。
预编译二进制(无 Rust 工具链时用):[GitHub Releases](https://github.com/raystyle/reader_rs/releases) 页按平台取资产,解压即得 `reader` 与 `rr`(Windows 为 `.exe`),同附 README、LICENSE、SKILL.md 与 `.sha256` 校验文件:
| 资产 | 平台 |
|---|---|
reader-v<版本>-x86_64-pc-windows-msvc.zip |
Windows x86_64 |
reader-v<版本>-x86_64-unknown-linux-gnu.tar.gz |
Linux x86_64(glibc) |
reader-v<版本>-x86_64-unknown-linux-musl.tar.gz |
Linux x86_64 静态(Alpine / 容器 / 最小镜像;v0.2.1 起) |
reader-v<版本>-aarch64-apple-darwin.tar.gz |
macOS Apple 芯片 |
reader-v<版本>-x86_64-apple-darwin.tar.gz |
macOS Intel |
从源码安装(`reader` 与 `rr` 两个命令一起装):
git clone https://github.com/raystyle/reader_rs
cd reader_rs
cargo install --path .
或直接远端安装:
cargo in
Related Skills
Token Goat
Token burn reducer and focus keeper for Claude Code, Codex, Copilot, Gemini CLI, and more: surgical read hints
Rainman Translate Book
English 中文 Claude Code Skill,使用并行 subagent 将整本书(PDF/DOCX/EPUB)翻译成任意语言。 本项目受 claude_translater 启发。原项目以 shell 脚本
Karpathy Wiki Graph
Enterprise-grade knowledge base agent with interactive knowledge graph. CLI-atomic, drop-in skill for Claude C
Generate Docs
Gera documentação automática para crates Rust e módulos Flutter do GarraRUST. Produz doc comments, README de c
Gdoc Comment Extractor
Claude Code skill to extract all comments, suggestions, and tracked changes from a Google Doc into a CSV
Create Doc
Generate a professional Word document (.docx) using Python and python-docx.
Related Agents
Doc Processor
Generate and parse office documents — PDF, DOCX, XLSX, PPTX, CSV. Pure format utility for creating reports, ex
Dev Document
Generation of documents (PDF, DOCX, XLSX, PPTX). Use to create a document, generate a report, export to PDF/Wo
Document Scout
Use proactively for read-only fact-finding in local non-code documents and on the web: dates, deadlines, amoun