PDF processing
暂无简介
- License 许可
- MIT
- 所属仓库
- rhCat/skillChip
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- PDF processing
- perks
- [ "extract", "info" ]
- skill
02 资源文件 20
- 其他blueprint.drawio2.7 KB
- 参考文档blueprint.json3.7 KB
- 资产文件blueprint.svg8.9 KB
- 参考文档index.json2.1 KB
- 参考文档ledger.json271 B
- 参考文档perks.json438 B
- 参考文档perks/extract/manifesto.json299 B
- 参考文档perks/extract/metadata.json526 B
- 参考文档perks/extract/src/contracts.json330 B
- 脚本perks/extract/src/pdf_extract.py1.9 KB
- 脚本perks/extract/src/pdf_extract.sh840 B
- 参考文档perks/extract/test/case.json125 B
- 资产文件perks/extract/test/fixture/doc.pdf489 B
- 参考文档perks/info/manifesto.json290 B
- 参考文档perks/info/metadata.json545 B
- 参考文档perks/info/src/contracts.json324 B
- 脚本perks/info/src/pdf_info.py2.4 KB
- 脚本perks/info/src/pdf_info.sh536 B
- 参考文档perks/info/test/case.json122 B
- 资产文件perks/info/test/fixture/doc.pdf489 B
03 SKILL.md 正文
pdf — PDF processing
Extract text or read metadata from a PDF — read-only. Both perks open the file, read it,
and write a report to record_store; neither modifies the source PDF.
What to look out for
Each tool emits one line of structured JSON (the audit + debug log) and writes its artifact under
record_store. LOGS TO CHECK: that line + the named report + the executor run-ledger.
Best-effort extractors: these tools prefer poppler's
pdftotext/pdfinfo, falling back to thepypdf(orPyPDF2/pdfminer) Python package. If none is installed the tool still succeeds — it writes a one-line note to its report so the contract'soutput_existsalways holds.
Perks
| perk | tool | nature |
|---|---|---|
extract |
pdf_extract |
read-only / safe |
info |
pdf_info |
read-only / safe |
extract— setPDF_FILE; writes the document's text toextracted.txt.info— setPDF_FILE; writes page count + document metadata topdf_info.json.
How to use it
Pick a perk, copy ledger.json → task-ledger.json, fill PDF_FILE + record_store, then
validate → compose → compile → oversight → executor.
04 同仓库更多 Skills
Vercel Deploy
暂无简介
Audio Transcribe
暂无简介
Speech (OpenAI TTS)
暂无简介
Skill Installer
暂无简介
demo-skill
A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.
demo-skill
A demo skill used as a test fixture for generating agents/openai.yaml. Use when validating the gen_openai_yaml perk.