一键导入
pdf-processor
A skill for processing PDFs, including creation, merging, and info extraction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
A skill for processing PDFs, including creation, merging, and info extraction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when exercising or debugging the complete ocint daemon LCH lifecycle, from a labelled GitHub issue through task execution, pull-request publication, and issue reply.
Use when adding, moving, or reviewing ocint modules, shared models, configuration, repositories, CLI commands, rendering, or package imports.
Use ocint ctx when specifically asked to search OpenCode history. This can be useful for anlyazing OpenCode sessions to find context or citations however it is not fuzzy search and requires exact terms for searching.
Use tmux for manual terminal testing of CLI and TUI behavior. Use when validating real TTY rendering, ANSI styling, wrapping at different widths, interactive output, progress displays, or long-running terminal commands.
Helps the user create, install, and test new OpenCode skills with a self-correction feedback loop.
| name | pdf-processor |
| description | A skill for processing PDFs, including creation, merging, and info extraction. |
I help you manipulate and create PDF files using the pdfcpu tool.
You can generate complex PDFs with text, images, and tables using a JSON configuration.
pdfcpu create content.json output.pdf
JSON Schema for PDF Creation: (Note: pdfcpu does not support comments in JSON files. Remove them before use.)
{
"paper": "A4", // Optional: A4, Letter, A4L, etc.
"margin": { "width": 20 }, // Optional: global page margin
"header": { // Optional: Page header
"font": { "name": "Helvetica", "size": 10 },
"center": "Report Header",
"height": 30
},
"footer": { // Optional: Page footer
"font": { "name": "Helvetica", "size": 10 },
"center": "Page %p of %P",
"height": 30
},
"pages": { // Define content per page
"1": {
"content": {
"table": [
{
"rows": 4, // Total number of rows including header
"cols": 2, // Total number of columns
"colWidths": [60, 40], // Relative column widths (percentage)
"width": 400, // Total table width in points
"anchor": "center", // Table positioning (center, left, right, etc.)
"lheight": 20, // Line height for cells
"grid": true, // Toggle internal grid lines (true/false)
"bgCol": "#FFFFFF", // Background color for the whole table
"border": {
"width": 1, // Border thickness
"col": "#000000" // Border color in Hex
},
"values": [ // Array of row data
["Expense", "Amount"],
["Uber", "$50"],
["Meal", "$30"],
["Hotel", "$120"]
],
"font": {
"name": "Helvetica", // Font family
"size": 12 // Font size in points
}
}
]
}
}
}
}
Combine multiple PDF files into one.
pdfcpu merge output.pdf file1.pdf file2.pdf
Get metadata or validate the structure of a PDF.
pdfcpu info file.pdf
pdfcpu validate file.pdf
pdfcpu rotate file.pdf 90pdfcpu split file.pdf out_dirpdfcpu extract -mode=image file.pdf out_dirAlways verify your operations
Use this skill when you need to automate PDF generation,
especially when it involves tables or merging documents for reports.
Always use pdfcpu help <command> to explore more specific flags and options.