Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NextStat/yacli --skill yacli-attachment-to-diskgit clone --depth 1 https://github.com/NextStat/yacliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nextstat/yacli/yacli-attachment-to-disk)<a href="https://agentmods.dev/skills/nextstat/yacli/yacli-attachment-to-disk"><img src="https://agentmods.dev/badge/skills/nextstat/yacli/yacli-attachment-to-disk/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nextstat/yacli/yacli-attachment-to-disk"><img src="https://agentmods.dev/badge/skills/nextstat/yacli/yacli-attachment-to-disk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.00321 |
| Opus 5 | $0.00028 | $0.00161 |
| Sonnet 5 | $0.00011 | $0.00064 |
| Haiku 4.5 | $0.00006 | $0.00032 |
Grade A, and why
yacli-attachment-to-disk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Сохранить вложение из письма на диск
Кросс-сервисный сценарий: письмо -> вложение -> локальный файл.
Шаги
- Найди письмо по теме, отправителю или ключевой фразе:
yacli mail search "invoice" --limit 10
- Если нужно уточнить вложения, прочитай письмо:
yacli mail read UID
- Сохрани нужное вложение по индексу или точному имени:
yacli mail attachment export UID --index 1 --output ./invoice.pdf
или
yacli mail attachment export UID --name invoice.pdf --output ./invoice.pdf
Заметки
- Если имя вложения известно точно, предпочитай
--name, чтобы не зависеть от порядка attachments. - Если файл уже существует, добавь
--forceтолько после явного подтверждения перезаписи. - Если у письма несколько похожих вложений, сначала покажи список attachments и объясни выбор.
- Если пользователь просит сохранить файл в конкретную папку, явно используй этот путь в
--output.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 44 lines · 57 tokens per session scan A 918fe77b19ab
yacli-attachment-to-disk is a skill published in the GitHub repository NextStat/yacli (18 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 321 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
morph-ppt
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…
officecli-academic-paper
Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…
officecli-word-form
Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…
officecli-data-dashboard
Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…
officecli
Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.
gws-sheets
Google Sheets: Read and write spreadsheets.