Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/txt2pdf
将文本文件转换为 PDF 文件。当用户提到文本转 PDF、txt 转 PDF、TXT 生成 PDF 时使用。
Passed 19 of 21 test cases with the skill, and 4 of 21 without it.
and 20 more in the full report
16 fixed4 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 15 test cases the skill fixed. Same model, same prompt, with and without the skill.
What is the default output file name when calling `txt2pdf` with `input_file='LICENSE.txt'` without specifying `output_file`?
| Checked | Without skill | With skill |
|---|---|---|
| States that default output filename is `txt2pdf.pdf`. | Missed | Passed |
The instructions your model reads when the skill loads.
将文本文件转换为 PDF 文件
将文本文件(.txt)转换为 PDF 格式。
office/skills/pdf/txt2pdf/
from skills.pdf import txt2pdf
txt2pdf(
input_file='./test.txt',
output_file='./test.pdf'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_file | str | 否 | - | 文本文件路径 |
output_file | str | 否 | 'txt2pdf.pdf' | 输出 PDF 文件路径 |
None
from skills.pdf import txt2pdf
txt2pdf(input_file='./article.txt', output_file='./article.pdf')
test cases passed, vs 4 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.