Pdf2zh
PDF英文转中文翻译。使用PDFMathTranslate进行PDF文档翻译,保留公式、图表、布局。 当用户提到PDF翻译、pdf2zh、英文PDF转中文、科学文档翻译时触发。
Install
npx skills add haorantang1999/cc-pdf2zh-skill --skill pdf2zhgit clone --depth 1 https://github.com/haorantang1999/cc-pdf2zh-skill.git /tmp/cc-pdf2zh-skill
mkdir -p ~/.claude/skills
cp -r /tmp/cc-pdf2zh-skill/. ~/.claude/skills/pdf2zhPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# PDF to Chinese Translation Skill PDF 英→中 翻译,基于 [PDFMathTranslate](https://github.com/PDFMathTranslate/PDFMathTranslate) (Apache-2.0)。保留原版公式、图表与排版,输出**纯中文**与**中英双语**两个 PDF。 ## 0. 定位本 skill(每次使用前) 安装器会把 skill 装到: | Agent | 路径 | |------------|-----------------------------------------| | Claude Code | `~/.claude/skills/pdf2zh` | | OpenCode | `~/.config/opencode/skills/pdf2zh` | 若当前环境没有 `PDF2ZH_SKILL_DIR` 变量,先定位并固定: ```bash # bash(按实际安装位置调整) SKILL_DIR="$HOME/.claude/skills/pdf2zh" set -a; source "$SKILL_DIR/.env"; set +a # 载入 服务/模型/API key/术语 prompt ``` > `.env` 由 `install.py` 生成:内含 `PDF2ZH_SKILL_DIR`、`PDF2ZH_SERVICE`、 > `PDF2ZH_MODEL`、`PDF2ZH_PROMPT` 与所选服务的 `xxx_API_KEY`。 > 没装过就提示用户先运行 `python install.py`(见仓库 README)。 ## 1. 翻译(一行命令) ```bash "$SKILL_DIR/run.sh" document.pdf -o output/ # bash / Git Bash / macOS "%SKILL_DIR%\run.cmd" document.pdf -o output\ # Windows cmd / PowerShell ``` `run.sh` / `run.cmd` 自动完成:加载 `.env` → 按配置选服务与模型 → 注入术语约束 prompt → 调用 `pdf2zh`(`.venv` 内的官方包)。 常用选项(直接透传给 pdf2zh): ```bash run.sh document.pdf -o output/ # 指定输出目录 run.sh document.pdf -li en -lo zh # 源/目标语言(默认已是 en->zh) run.sh --dir /path/to/pdfs/ # 批量翻译整个目录 run.sh -i # 启动 GUI 界面 ``` 输出文件(在输出目录): - `<文件名>-mono.pdf` — 纯中文版 - `<文件名>-dual.pdf` — 中英双语版 ## 2. 术语约束(避免 LLM 翻出「法学硕士」) 默认 Google 翻译不支持自定义 prompt,`LLM` 常被翻成「法学硕士」。两条修复路线: ### 路线 A:翻译前约束(推荐,仅 LLM 服务)
Details
- Skill name
pdf2zh- Repository
- haorantang1999/cc-pdf2zh-skill
- Repo updated
- 20 October 2026
FAQ
What does the Pdf2zh skill do?
PDF英文转中文翻译。使用PDFMathTranslate进行PDF文档翻译,保留公式、图表、布局。 当用户提到PDF翻译、pdf2zh、英文PDF转中文、科学文档翻译时触发。
How do I install the Pdf2zh skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add haorantang1999/cc-pdf2zh-skill --skill pdf2zh. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Pdf2zh popular?
It lives in haorantang1999/cc-pdf2zh-skill, which has 32 GitHub stars and 1 forks.
Related skills
Book
29chesley-veko/book_skill
用多 agent 工作流从零生成一整本【带设计感、可直接出 PDF 的书/教材/手册/读本】——含广泛调研定目录、逐章并行写作、每章主题插画、Typst 精排、事实核查与统稿。当用户想"写一本书/教材/手册/小册子/读本"、"把某个主题系统整理成一本书"、"做一本带封面和插画的 PDF 电子书"、"生成一本 XX 风格的书",或提到 Anthropic 风格出版物排版时,主动使用本 skill——即使没明说"用 book skill"。多章节、需要统一设计与排版、要出 PDF 的长篇成书任务都该用它。 不要用于:单篇文章/博客、PPT/幻灯片、海报、网页/落地页、单张图(那些另有工具)。
Zine Deck Maker
36VigoZhao/zine-deck-maker
Create visually driven 7-8 page PDF zine decks from a topic, idea, product, trend, campaign, story, or brief using the bundled K-pop apocalypse ransom-zine style. Use for PDF/deck/PPT/slide/poster-zine requests that need content-relevant cutouts, distressed typography, torn paper, stickers, scan texture, and bottom masthead bands. Not for ordinary business decks, generic image prompts, single images, or unrelated visual styles.
Itu T Recommendation Reviewer
27openitu/itu-t-recommendation-reviewer
Review draft ITU-T Recommendations (and ITU-T | ISO/IEC common texts) for compliance with the ITU-T Author's Guide, presentation rules, and quality checklist before submission for consent/determination/approval. Use this skill whenever the user asks to review, check, audit, proofread, or improve a draft ITU-T Recommendation, standard contribution, amendment, corrigendum, or common text — including requests phrased as "检查/审查/校对 ITU-T 建议书", "does my draft follow ITU-T rules", "prepare my draft for TSB submission", or when a user uploads a document identified as a draft Recommendation. Also use i
Ifq Design Skills
26peixl/ifq-design-skills
Use this skill whenever the user asks for an HTML-first visual design deliverable or design judgment: interactive prototype, slide deck, motion demo, infographic, dashboard, landing page, whitepaper, changelog, business card, social cover, brand system, design critique, multi-variant exploration, or export to MP4, GIF, PPTX, PDF, or SVG. It is optimized to make AI agents do the routing, template selection, verification, and export prep so humans spend less time prompt-engineering. Do not use for production web apps, SEO sites, backend systems, or pure copy edits.
Career Manager
24muggl3mind/career-manager
Orchestrate the complete career-manager system across job-search, company-research, job-tracker, and cv-tailor. Use when coordinating multi-step job hunt workflows, routing requests to the right sub-skill, and enforcing shared data ownership boundaries.
Gen Tb
27gokeshenzhen/gen-tb-skill
Generate a complete UVM testbench scaffold for a single IP from its spec documents (docx/pdf/md) and register table (xlsx/csv/md/IP-XACT). Use whenever the user asks to "generate a UVM tb", "build a verification environment", "scaffold a testbench", "create a UVC", "set up DV for this IP", or anything equivalent in Chinese ("帮我生成验证环境", "搭一个 tb", "做 UVM 环境", "做这个 IP 的验证"). Also trigger when the user points at a directory containing an IP spec and asks Claude to "verify it" / "test it" without naming UVM explicitly. Produces a runnable UVM tb (APB / AHB-Lite / AXI4-Lite as first-class buses; oth
Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.