PDF Toolkit
XiaomiMiMo/MiMo-Code
Reads, transforms, composes and fills PDFs with Python scripts for extraction, merging, watermarking, encryption, OCR and form filling.
“PDF 工具箱 - 合并/拆分/提取文字/转图片,纯命令行处理本地 PDF”
$ npx skills add dongsheng123132/u-claw --skill pdf-toolkit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dongsheng123132/u-claw pdf-toolkit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/portable/skills-cn/pdf-toolkit .claude/skills/pdf-toolkit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pdf-toolkit" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/pdf-toolkit into .claude/skills/pdf-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-toolkit", 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.
$skill-installer install https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/pdf-toolkitType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dongsheng123132/u-claw --skill pdf-toolkit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dongsheng123132/u-claw pdf-toolkit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/portable/skills-cn/pdf-toolkit .agents/skills/pdf-toolkit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pdf-toolkit" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/pdf-toolkit into .agents/skills/pdf-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-toolkit", 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 dongsheng123132/u-claw --skill pdf-toolkit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dongsheng123132/u-claw pdf-toolkit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/portable/skills-cn/pdf-toolkit .cursor/skills/pdf-toolkit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pdf-toolkit" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/pdf-toolkit into .cursor/skills/pdf-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-toolkit", 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.
$ gemini skills install https://github.com/dongsheng123132/u-claw.git --path portable/skills-cn/pdf-toolkit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dongsheng123132/u-claw --skill pdf-toolkit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dongsheng123132/u-claw pdf-toolkit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/portable/skills-cn/pdf-toolkit .gemini/skills/pdf-toolkit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pdf-toolkit" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/pdf-toolkit into .gemini/skills/pdf-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-toolkit", 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 dongsheng123132/u-claw pdf-toolkitInstalls 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 dongsheng123132/u-claw --skill pdf-toolkit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .github/skills && cp -r skills-src/portable/skills-cn/pdf-toolkit .github/skills/pdf-toolkit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pdf-toolkit" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/pdf-toolkit into .github/skills/pdf-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-toolkit", 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 dongsheng123132/u-claw --skill pdf-toolkit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dongsheng123132/u-claw pdf-toolkit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/portable/skills-cn/pdf-toolkit .opencode/skills/pdf-toolkit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pdf-toolkit" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/pdf-toolkit into .opencode/skills/pdf-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-toolkit", 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.
pdf-toolkitPDF Toolkit is a skill in dongsheng123132/u-claw (1.8k stars). Its SKILL.md is about 318 tokens. Licence: MIT.
Read from SKILL.md and the folder at commit 9e769e6. 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.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
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.
PDF Toolkit loads about 318 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 47 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); files beside SKILL.md are not scanned.
The full file from dongsheng123132/u-claw at commit 9e769e6, republished under its MIT licence (© dongsheng123132). 47 words, ~318 tokens.
.claude/skills/pdf-toolkit/SKILL.md (or your agent's skills folder).帮用户对本地 PDF 文件做常见处理:合并、拆分、提取文字、转图片。优先用系统已有工具,
没有就用 Python 的 pypdf(轻量纯 Python,必要时 pip install pypdf 自动安装)。
用 Bash 工具执行。下面以 pypdf 为例(跨平台、无需 Office/Acrobat):
# 确保依赖(仅首次,已装会秒过)
python -c "import pypdf" 2>/dev/null || pip install -q pypdf
# 合并 a.pdf b.pdf -> merged.pdf
python - <<'PY'
from pypdf import PdfWriter
w = PdfWriter()
for f in ["a.pdf", "b.pdf"]:
w.append(f)
w.write("merged.pdf"); w.close()
print("已合并 -> merged.pdf")
PY
# 提取全部文字
python - <<'PY'
from pypdf import PdfReader
r = PdfReader("input.pdf")
print("\n".join((p.extract_text() or "") for p in r.pages))
PY
# 抽取第 1-3 页 -> sub.pdf
python - <<'PY'
from pypdf import PdfReader, PdfWriter
r = PdfReader("input.pdf"); w = PdfWriter()
for i in range(0, 3):
w.add_page(r.pages[i])
w.write("sub.pdf"); w.close()
print("已抽取 1-3 页 -> sub.pdf")
PYls 确认文件存在、用 python -c "from pypdf import PdfReader;print(len(PdfReader('x.pdf').pages))" 看页数© dongsheng123132, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in portable/skills-cn/pdf-toolkit of dongsheng123132/u-claw.
Open the folder on GitHubat commit 9e769e6
PDF Toolkit 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 |
|---|---|---|---|---|---|---|
| PDF Toolkit this skilldongsheng123132/u-claw | 1.8k | — | ~318 | Automated safety check: Pass | MIT | |
| PDF ToolkitXiaomiMiMo/MiMo-Code | 14k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| PDF Generation, Forms and Extractionpipeshub-ai/pipeshub-ai | 3.8k | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| PDFNousResearch/hermes-agent | 253k | — | ~3.1k | Automated safety check: Pass | MIT | |
| PDF ExploreHughYau/AcademicForge | 2.6k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| PDF ExploreJimLiu/science-skills | 228 | 2 repos | ~3.6k | Automated safety check: Pass | Apache-2.0 |
XiaomiMiMo/MiMo-Code
Reads, transforms, composes and fills PDFs with Python scripts for extraction, merging, watermarking, encryption, OCR and form filling.
pipeshub-ai/pipeshub-ai
Picks the right library for generating a new PDF, filling an existing PDF form, or extracting text and tables, defaulting to Node where possible.
NousResearch/hermes-agent
PDF files: create, read, merge, fill, OCR, edit text. An agent skill from NousResearch/hermes-agent.
HughYau/AcademicForge
A skill your agent uses when the user has attached a PDF, paper, report, or other document and the answer needs content from more than one place in it: summarize the methods or any other section…
JimLiu/science-skills
A skill your agent uses when the user has attached a PDF, paper, report, or other document and the answer needs content from more than one place in it: summarize the methods or any other section…
espennilsen/pi
Read and extract content from PDF files — text, tables, metadata, and images.
dongsheng123132/u-claw
DeepSeek API 助手 - 编程辅助、模型选择、API调用指南、定价信息. An agent skill from dongsheng123132/u-claw.
dongsheng123132/u-claw
图片压缩/转换 - 批量压缩、改尺寸、转格式(jpg/png/webp),本地处理不失隐私. An agent skill from dongsheng123132/u-claw.
dongsheng123132/u-claw
网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作. An agent skill from dongsheng123132/u-claw.
dongsheng123132/u-claw
中英互译 + 本地化 - 技术翻译、UI本地化、文化适配、避免机翻腔
dongsheng123132/u-claw
PPT 演示助手 - 幻灯片设计、内容结构、视觉优化、动画建议、演讲稿
dongsheng123132/u-claw
B站内容助手 - 视频标题描述优化、标签策略、封面设计建议、分区选择、评论互动
Categories
Run `npx skills add dongsheng123132/u-claw --skill pdf-toolkit -a claude-code`. Or copy the skill folder (portable/skills-cn/pdf-toolkit in dongsheng123132/u-claw) into .claude/skills/pdf-toolkit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dongsheng123132/u-claw --skill pdf-toolkit -a codex`. Or copy the skill folder (portable/skills-cn/pdf-toolkit in dongsheng123132/u-claw) into .agents/skills/pdf-toolkit 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 dongsheng123132/u-claw --skill pdf-toolkit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdf-toolkit, .gemini/skills/pdf-toolkit, .github/skills/pdf-toolkit and .opencode/skills/pdf-toolkit in your project.
Going by SKILL.md and its folder, PDF Toolkit needs the command-line tools its instructions call (python and pip).
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. 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. Review the folder before installing.
PDF Toolkit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 318 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with PDF Toolkit: PDF Toolkit (XiaomiMiMo/MiMo-Code, 14k stars), PDF Generation, Forms and Extraction (pipeshub-ai/pipeshub-ai, 3.8k stars), PDF (NousResearch/hermes-agent, 253k stars) and PDF Explore (HughYau/AcademicForge, 2.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dongsheng123132 (a GitHub user) maintains it in dongsheng123132/u-claw, which has 1,759 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.
Source: dongsheng123132/u-claw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.