Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/decrypt4pdf
对加密的 PDF 文件进行解密。当用户提到 PDF 解密、解除 PDF 密码、解 PDF 时使用。
Passed 20 of 23 test cases with the skill, and 13 of 23 without it.
and 8 more in the full report
8 fixed12 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am refactoring PyMuPDF code `doc = fitz.open('enc.pdf'); doc.authenticate('secret'); doc.save('dec.pdf')` to use `skills.pdf`. Show the equivalent Python code using `decrypt4pdf`.
| Checked | Without skill | With skill |
|---|---|---|
| The code imports decrypt4pdf from skills.pdf. | Passed | Passed |
| The call passes password='secret'. | Passed | Passed |
| The call passes input_file='enc.pdf'. | Missed | Passed |
The instructions your model reads when the skill loads.
解密 PDF 文件
对加密的 PDF 文件进行解密处理。
office/skills/pdf/decrypt4pdf/
from skills.pdf import decrypt4pdf
decrypt4pdf(
password='123456',
input_file='./encrypted.pdf',
output_file='./decrypted.pdf'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
password | str | 是 | - | 解密密码 |
input_file | str | 否 | - | 输入 PDF 文件名(包含路径) |
output_file | str | 否 | - | 输出的解密 PDF 文件名(包含路径) |
input_path | str | 否 | - | 输入文件的完整路径 |
output_path | str | 否 | - | 输出文件的完整路径 |
None
test cases passed, vs 13 / 23 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.