AC tg-file-sender
Send local files directly to Telegram chat. Supports documents, photos, and other media types. Use when user says: "send this file to me", "send to telegram", "把文件发给我", "通过tg发送", or any request to deliver a workspace file via Telegram. Handles file path resolution, size validation, and secure token management.
As a process C 60/100 · Has gaps — weak spots: result and completion, when it triggers, running it twice
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 6
✓ No critical or high findings
Medium and low: 6
-
low Exfiltration
exfil-webhook-urlSKILL.md:71Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument" \placeholder -
low Exfiltration
net-credential-useSKILL.md:71Credential used in a network call (verify the destination is the intended service) (documentation of a security skill; the skill's own vendor host)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument" \security skillvendor-host -
low Exfiltration
exfil-webhook-urlSKILL.md:80Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendPhoto" \placeholder -
low Exfiltration
net-credential-useSKILL.md:80Credential used in a network call (verify the destination is the intended service) (documentation of a security skill; the skill's own vendor host)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendPhoto" \security skillvendor-host -
low Exfiltration
exfil-webhook-urlSKILL.md:158Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument" \placeholder -
low Exfiltration
net-credential-useSKILL.md:158Credential used in a network call (verify the destination is the intended service) (documentation of a security skill; the skill's own vendor host)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument" \security skillvendor-host
Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 60/100
- 0Result and completion. Does not say what the result is
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 14 mutating operations with no state check
- 60Tools and files. Uses tools (web) that frontmatter does not declare
- 70Inputs and preconditions. Inputs and preconditions are listed
- 70Failures and branches. 8 branches
- 100Steps. 44 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1101 tokens
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- -212 emoji in the instructions: noise for the model
- +1No license
- +2Single-language instructions
- +5Description quotes 4 example trigger phrases
- +3Description length 311: enough signal without eating the budget
- +4Structure: 18 headings
- +3Step-by-step instructions: 44 items
- +4Has examples (5 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 87.