Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/encrypt4pdf
对 PDF 文件设置密码进行加密保护。当用户提到 PDF 加密、PDF 密码、PDF 保护、加 PDF 密码时使用。
Passed 23 of 25 test cases with the skill, and 4 of 25 without it.
and 32 more in the full report
19 fixed4 passed either way2 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.
Give me a 3-line Python snippet that imports the PDF encryption function from `skills.pdf` and encrypts `./demo.pdf` to `./demo_encrypted.pdf` with password `my_secret_key`.
| Checked | Without skill | With skill |
|---|---|---|
| Includes from skills.pdf import encrypt4pdf | Missed | Passed |
| Calls encrypt4pdf with password='my_secret_key' | Missed | Passed |
The instructions your model reads when the skill loads.
加密 PDF 文件
对 PDF 文件进行加密处理,设置用户密码保护 PDF 文件。
office/skills/pdf/encrypt4pdf/
from skills.pdf import encrypt4pdf
encrypt4pdf(
password='123456',
input_file='./test.pdf',
output_file='./encrypted.pdf'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
password | str | 是 | - | 加密密码 |
input_file | str | 否 | - | 输入 PDF 文件名(包含路径) |
output_file | str | 否 | - | 输出的加密 PDF 文件名(包含路径) |
input_path | str | 否 | - | 输入文件的完整路径(另一种传入方式) |
output_path | str | 否 | - | 输出文件的完整路径(另一种传入方式) |
None
test cases passed, vs 4 / 25 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.