CtrlK
BlogDocsLog inGet started
Tessl Logo

encrypt4pdf

对 PDF 文件设置密码进行加密保护。当用户提到 PDF 加密、PDF 密码、PDF 保护、加 PDF 密码时使用。

72

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

High

Do not use without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

85%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a well-organized, actionable reference for a simple single-purpose skill with executable code and a full parameter table. Its main weakness is redundancy — the description is restated and the two code examples are near-duplicates.

Suggestions

Collapse the near-identical "调用方式" and "使用示例" code blocks into a single example, or differentiate the second example to show the input_path/output_path parameter alternative currently only mentioned in the table.

Remove the "功能描述" section since it restates the YAML description verbatim, or replace it with behavior the description does not already cover (e.g., that the output is a separate encrypted file and the input is left unchanged).

Consider adding a one-line verification step (e.g., open the encrypted PDF to confirm it prompts for a password) so users can confirm encryption succeeded.

DimensionReasoningScore

Conciseness

The body is lean and avoids explaining concepts Claude already knows, but the "功能描述" section restates the description and the "调用方式" and "使用示例" code blocks are near-identical, so it could be tightened. It is not level 3 because of this redundancy, and not level 1 because there is no concept padding.

2 / 3

Actionability

It provides fully executable, copy-paste-ready Python (import + encrypt4pdf call with concrete password/input/output) plus a complete parameter table, matching the 'fully executable code, specific examples' anchor.

3 / 3

Workflow Clarity

This is a simple single-task skill with one unambiguous action; the task is non-destructive (output separate from input) and not batch, so the simple-skill carve-out lets it score 3 without an explicit validation checkpoint.

3 / 3

Progressive Disclosure

The body is under 50 lines, needs no external bundle references (none exist), and is organized into clear sections (功能描述, 调用方式, 参数说明, 返回值, 使用示例), satisfying the simple-skill progressive-disclosure carve-out.

3 / 3

Total

11

/

12

Passed

Description

90%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is concise, uses third-person voice, and clearly answers both what it does and when to use it with natural trigger terms. Its only weakness is that it describes a single action rather than enumerating multiple capabilities.

DimensionReasoningScore

Specificity

It names one concrete action — "对 PDF 文件设置密码进行加密保护" (set a password to encrypt/protect PDFs) — but does not list multiple distinct concrete actions, so it matches the 'names domain and some actions' anchor rather than the 'lists multiple specific actions' anchor.

2 / 3

Completeness

It states what it does ("对 PDF 文件设置密码进行加密保护") and gives an explicit when-trigger clause ("当用户提到…时使用"), clearly answering both what and when.

3 / 3

Trigger Term Quality

The phrase "当用户提到 PDF 加密、PDF 密码、PDF 保护、加 PDF 密码时使用" gives good coverage of natural terms a Chinese user would actually say (PDF encryption, password, protection, add password).

3 / 3

Distinctiveness Conflict Risk

Password-based PDF encryption is a clear niche with distinct triggers unlikely to overlap with other PDF skills (extraction, merge, etc.).

3 / 3

Total

11

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
CoderWanFeng/python-office
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.