Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/split4pdf
按指定页码范围拆分 PDF 文件。当用户提到 PDF 拆分、PDF 分割、PDF 切分、拆 PDF 时使用。
Passed 22 of 22 test cases with the skill, and 5 of 22 without it.
and 21 more in the full report
17 fixed5 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 17 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a complete 2-line Python script that imports `split4pdf` and splits `guide.pdf` pages 2 to 4 into `out_guide.pdf`.
| Checked | Without skill | With skill |
|---|---|---|
| Imports split4pdf via from skills.pdf import split4pdf | Missed | Passed |
| Invokes split4pdf with from_page=1 and to_page=3 | Missed | Passed |
The instructions your model reads when the skill loads.
拆分 PDF 文件
按指定页码范围拆分 PDF 文件。
office/skills/pdf/split4pdf/
from skills.pdf import split4pdf
split4pdf(
input_file='./test.pdf',
output_file='./split.pdf',
from_page=0,
to_page=5
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_file | str | 否 | - | PDF 文件路径 |
output_file | str | 否 | './output_path/split_pdf.pdf' | 输出拆分后的 PDF 文件路径 |
from_page | int | 否 | -1 | 起始页码(-1 表示从第一页开始) |
to_page | int | 否 | -1 | 结束页码(-1 表示到最后一页结束) |
None
test cases passed, vs 5 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.