Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/del4pdf
删除 PDF 文件中指定的页面。当用户提到 PDF 删除页、PDF 删页、删 PDF 页 时使用。
Passed 22 of 22 test cases with the skill, and 3 of 22 without it.
and 18 more in the full report
19 fixed3 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
Could you help me edit presentation.pdf by removing page 1, page 3, and page 4? The output file should be written to presentation_trimmed.pdf.
| Checked | Without skill | With skill |
|---|---|---|
| Calls `del4pdf` from `skills.pdf` | Missed | Passed |
| Passes `page_nums=[0, 2, 3]` using 0-based page indexing | Missed | Passed |
The instructions your model reads when the skill loads.
删除 PDF 文件中的指定页面
从 PDF 文件中删除指定的页面。
office/skills/pdf/del4pdf/
from skills.pdf import del4pdf
del4pdf(
input_file='./test.pdf',
output_file='./deleted.pdf',
page_nums=[0, 2]
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_file | str | 否 | - | PDF 文件路径 |
output_file | str | 否 | - | 输出 PDF 文件路径 |
page_nums | list | 否 | - | 要删除的页码列表 |
None
from skills.pdf import del4pdf
test cases passed, vs 3 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.