Rename Pdfs
realspqrk/autorename-pdf
[Dev] Rename PDF files using AI (Python, requires venv). An agent skill from realspqrk/autorename-pdf.
A skill your agent uses when scanned Chinese PDFs or image-only books need text EPUB conversion on macOS, Windows, or Linux, especially when OCR text, original underlined proper names, 专名号, or…
$ npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install longhaiqwe/scanned-pdf-to-epub scanned-pdf-to-epub --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "scanned-pdf-to-epub" agent skill from https://github.com/longhaiqwe/scanned-pdf-to-epub/tree/main into .claude/skills/scanned-pdf-to-epub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scanned-pdf-to-epub", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install longhaiqwe/scanned-pdf-to-epub scanned-pdf-to-epub --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "scanned-pdf-to-epub" agent skill from https://github.com/longhaiqwe/scanned-pdf-to-epub/tree/main into .agents/skills/scanned-pdf-to-epub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scanned-pdf-to-epub", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install longhaiqwe/scanned-pdf-to-epub scanned-pdf-to-epub --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "scanned-pdf-to-epub" agent skill from https://github.com/longhaiqwe/scanned-pdf-to-epub/tree/main into .cursor/skills/scanned-pdf-to-epub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scanned-pdf-to-epub", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install longhaiqwe/scanned-pdf-to-epub scanned-pdf-to-epub --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "scanned-pdf-to-epub" agent skill from https://github.com/longhaiqwe/scanned-pdf-to-epub/tree/main into .gemini/skills/scanned-pdf-to-epub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scanned-pdf-to-epub", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install longhaiqwe/scanned-pdf-to-epub scanned-pdf-to-epubInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "scanned-pdf-to-epub" agent skill from https://github.com/longhaiqwe/scanned-pdf-to-epub/tree/main into .github/skills/scanned-pdf-to-epub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scanned-pdf-to-epub", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install longhaiqwe/scanned-pdf-to-epub scanned-pdf-to-epub --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "scanned-pdf-to-epub" agent skill from https://github.com/longhaiqwe/scanned-pdf-to-epub/tree/main into .opencode/skills/scanned-pdf-to-epub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scanned-pdf-to-epub", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
scanned-pdf-to-epubA skill your agent uses when scanned Chinese PDFs or image-only books need text EPUB conversion on macOS, Windows, or Linux, especially when OCR text, original underlined proper names, 专名号, or…
Scanned PDF To Epub is an agent skill from longhaiqwe/scanned-pdf-to-epub. Use when scanned Chinese PDFs or image-only books need text EPUB conversion on macOS, Windows, or Linux, especially when OCR text, original underlined proper names, 专名号, or WeRead/微信读书 compatibility matters.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts and reference files (for example `README.md`, `agents/openai.yaml` and `references/environment-setup.md`).
It sits in Documents & Office, covering PDF. It works with Linux and macOS. The repository describes itself as: Cross-platform skill for converting scanned Chinese PDFs into WeRead-friendly text EPUBs. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0e95243. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Scanned PDF To Epub loads about 1.9k tokens when it runs, and up to ~6.8k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 984 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from longhaiqwe/scanned-pdf-to-epub at commit 0e95243, republished under its MIT licence (© longhaiqwe). 984 words, ~1,903 tokens.
.claude/skills/scanned-pdf-to-epub/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.Convert scanned Chinese PDFs into readable text EPUBs without losing editorial aids such as underlined names. The workflow is cross-platform: choose OCR and rendering tools available on the user's machine, verify a small sample first, then scale.
Start every conversion with an environment check; the user should not need to ask separately for tool installation. Follow environment setup to detect the OS and usable runtimes, reuse host-provided tools, and install only missing dependencies for the chosen pipeline in a task-local virtual environment. Reuse a previously verified environment when its executable paths still work.
Explain the selected tools briefly and continue within the user's existing authorization. Do not require confirmation for each routine local dependency. For system-level installation, paid services, or uploading book content, check existing authorization and host permissions; ask only for the concrete missing authorization. Do not silently switch from local to cloud OCR.
Before processing the whole book, run one real body page through rendering, Chinese OCR with coordinates, and a minimal text EPUB package. An installed command or successful import alone does not establish readiness. If setup fails, diagnose the error or choose an available equivalent; report the exact blocker rather than claiming the environment is ready.
Inspect the PDF.
pdfinfo/Poppler when available, or Python libraries such as pypdf, PyMuPDF, or pypdfium2 for page count, metadata, page size, text layer, outline/bookmarks.extract_text() is empty on early pages, treat it as scan/OCR work.Build a sample before full conversion.
OCR text with coordinates.
<p> per page.Preserve original underlined proper names.
<span class="proper-name">周威烈王</span>.Choose WeRead marking strategy.
<strong class="proper-name" style="font-family:'Kaiti SC','STKaiti','KaiTi','楷体','FangSong','STFangsong',serif;font-weight:700;text-decoration:none;border:0;background:transparent;">周威烈王</strong>border-bottom for WeRead web; its column layout can stretch borders across lines/columns.Package and validate EPUB.
mimetype, META-INF/container.xml, OEBPS/content.opf, nav.xhtml, and toc.ncx.mimetype first and uncompressed.unzip -t; parse OPF/nav/NCX/XHTML with XML parser.join, new-paragraph, or section transition; inspect ambiguous cases in the source. Check known continuations in the generated XHTML are inside one <p>, and verify actual new paragraphs and chapter boundaries remain separate. Include front matter and indented commentary in this check; XML/ZIP validity does not validate reading order or paragraph structure.border-bottom as an underline fallback in WeRead web.Read implementation-notes.md for cross-platform OCR choices, Windows PaddleOCR setup, macOS Vision helper shape, underline detection heuristics, EPUB packaging checks, and WeRead compatibility variants.
© longhaiqwe, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (scripts, references) in the repository root of longhaiqwe/scanned-pdf-to-epub.
Open the folder on GitHubat commit 0e95243
Scanned PDF To Epub next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Scanned PDF To Epub this skilllonghaiqwe/scanned-pdf-to-epub | 161 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Rename Pdfsrealspqrk/autorename-pdf | 122 | — | ~541 | Automated safety check: Pass | MIT | |
| Seeoil-oil/see-skill | 160 | — | ~632 | Automated safety check: Notes | MIT | |
| Editaplotliushunqi8-hash/editaplot2026 | 128 | — | ~5.8k | Automated safety check: Pass | Apache-2.0 | |
| Prismer NotionPrismer-AI/PrismerCloud | 1.6k | 3 repos | ~4.6k | Automated safety check: Pass | MIT | |
| File Documentsiamlukethedev/Herald-OS | 408 | — | ~1.7k | Automated safety check: Pass | MIT |
realspqrk/autorename-pdf
[Dev] Rename PDF files using AI (Python, requires venv). An agent skill from realspqrk/autorename-pdf.
oil-oil/see-skill
使用外部视觉服务或本地 OCR 分析本地图片、截图、视频及明确提供的媒体 URL,输出 Markdown。用户明确要求 see,或当前主模型缺少完成媒体分析所需的视觉能力时使用。不拦截普通文本、任意 URL 或已有原生视觉可以直接完成的任务;不用于生图、编辑图片或自动操作屏幕。使用外部服务前说明发送的媒体与服务范围,无法识别时如实说明限制。
liushunqi8-hash/editaplot2026
Analyze local scientific CSV, TXT, XLS, or XLSX data; recommend publication-informed charts and Chinese scientific palettes; freeze a reproducible plan; and automate editable figures through a…
Prismer-AI/PrismerCloud
Notion API + ntn CLI: pages, databases, markdown, Workers. An agent skill from Prismer-AI/PrismerCloud.
iamlukethedev/Herald-OS
Find documents such as invoices among badly named files, read them, name them clearly and file them where the person keeps them, with a plan they approve and an undo
KaimingWan/oh-my-kiro
Generate professional PDF documents with correct CJK (Chinese/Japanese/Korean) rendering.
Categories
A skill your agent uses when scanned Chinese PDFs or image-only books need text EPUB conversion on macOS, Windows, or Linux, especially when OCR text, original underlined proper names, 专名号, or…. Scanned PDF To Epub is an agent skill from longhaiqwe/scanned-pdf-to-epub. Use when scanned Chinese PDFs or image-only books need text EPUB conversion on macOS, Windows, or Linux, especially when OCR text, original underlined proper names, 专名号, or WeRead/微信读书 compatibility matters.
Scanned PDF To Epub fits situations like: scanned Chinese PDFs; image-only books need text EPUB conversion on macOS; especially when OCR text; original underlined proper names.
Run `npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a claude-code`. Or copy the skill folder (the longhaiqwe/scanned-pdf-to-epub repository) into .claude/skills/scanned-pdf-to-epub in your project. Claude Code loads it when a task matches its description.
Run `npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a codex`. Or copy the skill folder (the longhaiqwe/scanned-pdf-to-epub repository) into .agents/skills/scanned-pdf-to-epub in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add longhaiqwe/scanned-pdf-to-epub --skill scanned-pdf-to-epub -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scanned-pdf-to-epub, .gemini/skills/scanned-pdf-to-epub, .github/skills/scanned-pdf-to-epub and .opencode/skills/scanned-pdf-to-epub in your project.
Going by SKILL.md and its folder, Scanned PDF To Epub needs Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Scanned PDF To Epub is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Scanned PDF To Epub: Rename Pdfs (realspqrk/autorename-pdf, 122 stars), See (oil-oil/see-skill, 160 stars), Editaplot (liushunqi8-hash/editaplot2026, 128 stars) and Prismer Notion (Prismer-AI/PrismerCloud, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
longhaiqwe (a GitHub user) maintains it in longhaiqwe/scanned-pdf-to-epub, which has 161 GitHub stars. The repository was last updated on September 15, 2026.
Source: longhaiqwe/scanned-pdf-to-epub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.