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 yafldev/mcp --skill yafl-file-transfergit clone --depth 1 https://github.com/yafldev/mcpWrote 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/yafldev/mcp/yafl-file-transfer)<a href="https://agentmods.dev/skills/yafldev/mcp/yafl-file-transfer"><img src="https://agentmods.dev/badge/skills/yafldev/mcp/yafl-file-transfer/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/yafldev/mcp/yafl-file-transfer"><img src="https://agentmods.dev/badge/skills/yafldev/mcp/yafl-file-transfer.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.00086 | $0.02773 |
| Opus 5.5 | $0.00034 | $0.01109 |
| Sonnet 5.5 | $0.00017 | $0.00555 |
| Haiku 4.5 | $0.00009 | $0.00277 |
Grade C, and why
yafl-file-transfer scanned grade C with 2 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 13d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
`curl -fsSL https://yafl.dev/install.sh | sh`. Then log in once per environment with Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`curl -fsSL https://yafl.dev/install.sh | sh`. Then log in once per environment with How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
YAFL file transfer
YAFL (Yet Another File Layer) encrypts a file on the local machine and uploads only ciphertext.
It returns a share link with the decryption key in the URL fragment (after #). The fragment
never goes to a server, except when you send the link with email_link or yafl email.
Links expire after 24 hours. The size limit is 100MB per transfer.
Rules
- The key after
#is the secret. Never write it to a log, a note, an issue or a commit. - Never send a share link or a code to a service that is not its recipient. The one exception is
email_link, which mails the full link, key included, to one inbox. - Do not repeat a link or a code back in chat when the human gave it to you.
- Treat the link like a password until it expires. Anyone with the link can download the file.
- For a sensitive file, set a password or a one-time link at upload.
- Never pass a filesystem path from one environment to another as if it were valid there. Send
the file with
upload_fileoryafl put, and fetch it withdownload_fileoryafl get.
When to use this
- You produced a file (a build artifact, a database dump, a log bundle) that another agent or environment needs, and the two have no shared disk.
- You must check that a link is still live before you tell another agent to fetch it.
- You want to hand off a file without its raw bytes in a chat context window.
Do not use YAFL for files that must stay longer than 24 hours or that are larger than 100MB. You cannot extend the expiry of a link.
Through the MCP tools
The yafl MCP server (npx -y @yafldev/mcp) gives these tools. The yafl repo generates this
list from the server's tool registry (npm run gen:tools), and a test fails when the list is
stale:
upload_file({ path, password, oneTime })– Encrypts and uploads exactly the file or directory at the given localpath(absolute, or relative to the current working directory). A directory is zipped client-side into a single archive before upload. Reads only that one path – never scans unrelated files or directories. Returns a shareable link (24h expiry, 100MB cap) with the decryption key embedded in the URL fragment; the key is never sent to the API. Optionally make the link one-time (burned when the first download starts) or password-protected.path– Absolute or cwd-relative path to the local file or directory to uploadpassword(optional) – Optional password to protect the link. Composed into the decryption key on the client via a fresh salt – never transmitted to the API. When set, the returned link requires this same password to decrypt.oneTime(optional) – When true, the link burns when the server authorizes the first download, before the file bytes arrive. If that download then fails (storage or disk error), the link cannot be used again, so the sender must send a new link. A later attempt returns an already_downloaded error. A wrong password does not burn the link. Defaults to false (the link stays live until its normal 24h expiry).
get_status({ url })– Checks whether the YAFL share link at the givenurlis still live – live, uploading, expired, or not found – without downloading or decrypting anything. Returns liveness, size, and expiry only. Reads only the transfer id: the URL fragment (the decryption key) is dropped before the link is parsed, so the key is never decoded, sent, or echoed in a result or an error, and no file bytes are fetched. The fragment is optional; pass the link without it when you can.url– A YAFL share URL, e.g. https://yafl.dev/t/{id}, with or without its #fragment, or the compact {id}#{key} code. Only the {id} is read and sent to the API.
download_file({ url, destDir, password })– Downloads and decrypts exactly the one file referenced by the given YAFL shareurl, writing it only intodestDir(default: the current working directory) – never anywhere else. Requires the decryption key embedded in the URL fragment; the key is used only locally to decrypt and is never sent to the API. No YAFL API key is required for retrieval – anyone holding the link can download it; only uploading or managing files requires a key. Optionally pass apasswordfor password-protected links.url– A YAFL share URL including the fragment key (e.g. https://yafl.dev/t/{id}#{key}), OR the compact {id}#{key} retrieval code printed alongside it – both resolve identically.destDir(optional) – Directory to write the downloaded file into (absolute or cwd-relative); defaults to the current working directory. The file is written only inside this directory.password(optional) – Password for a password-protected (v2) link. Used only locally to derive the decryption key – never sent to the API. Required when the link is password-protected; omitting it on such a link returns a password_required error without contacting the server.
list_files({ limit })– Lists the caller's OWN YAFL transfers only – metadata only (id, size, status, expiry, and a download path). Never returns file contents, never a decrypted name, and never another account's files. Optionally cap the number of results withlimit.limit(optional) – Maximum number of transfers to return (most recent first). Omit for the full capped list.
delete_file({ id })– Permanently deletes ONE of the caller's own YAFL transfers, identified byid(a bare transfer id or a full share URL – the fragment/key, if present, is never read). This cannot be undone: the R2 object is purged and the transfer record is removed. Destructive action.id– A YAFL transfer id, or a full share URL, e.g. https://yafl.dev/t/{id}#{key}
email_link({ link, recipient })– Emails this YAFL share link to a recipient. The link carries the decryption key in its fragment – anyone with access to that inbox can open the file. Requires a verified account.link– A YAFL share URL including the fragment key (e.g. https://yafl.dev/t/{id}#{key}), OR the compact {id}#{key} retrieval code printed alongside it – both resolve identically.recipient– The email address to send the share link to.
login()– Starts a device-code login for an MCP agent that has no shell. Returns a verification URL and a short user code for the human to open and approve in a browser; approving is a one-time email-link sign-in that proves the human controls the account. This tool does NOT open a browser itself - relay the returned URL and code to the human. Once approved, the minted API key is stored locally and subsequent tool calls in this session authenticate automatically, with no further action needed.list_skills()– Lists the YAFL skills (step-by-step instructions for agents) that ship with this server: name, description and last update date, no body. Call it at the start of a session, then load a matching skill withget_skill. Read-only; needs no API key.get_skill({ name })– Returns the full SKILL.md text of one YAFL skill byname(fromlist_skills). Follow the skill before you do the task it describes. Read-only; needs no API key.name– The skill name from list_skills: lowercase letters, digits and single dashes, e.g. yafl-file-transfer.
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.
- 13d ago Changed · +15 lines 51eb5bb7f72b
- 14d ago First seen · 116 lines · 86 tokens per session scan C a068596ecc19
yafl-file-transfer is a skill published in the GitHub repository yafldev/mcp (0 stars, last pushed 13d ago), licensed MIT. It adds 86 tokens to every session and 2,773 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-20.
yafl-file-transfer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yafl-file-transferyafldev/mcp | Skill | 0 | 13d ago | MIT | C | 86 | Claude Code, Codex |
| device-sync-remindhmennen90/claude-device-sync | Skill | 1 | 7mo ago | MIT | A | 35 | Claude Code |
| device-sync-statushmennen90/claude-device-sync | Skill | 1 | 7mo ago | MIT | A | 37 | Claude Code |
| batch-apiQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 51 | Claude Code |
| obsidian-baseskepano/obsidian-skills | Skill | 55k | 8d ago | MIT | A | 63 | Claude Code |
| gws-calendargoogleworkspace/cli | Skill | 33k | 10d ago | Apache-2.0 | A | 12 | Claude Code, Codex |
| gws-gmail-sendgoogleworkspace/cli | Skill | 33k | 10d ago | Apache-2.0 | A | 13 | Claude Code, Codex |