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 ryan-haver/fusebase-mcp --skill file-uploadgit clone --depth 1 https://github.com/ryan-haver/fusebase-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/ryan-haver/fusebase-mcp/file-upload)<a href="https://agentmods.dev/skills/ryan-haver/fusebase-mcp/file-upload"><img src="https://agentmods.dev/badge/skills/ryan-haver/fusebase-mcp/file-upload/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/ryan-haver/fusebase-mcp/file-upload"><img src="https://agentmods.dev/badge/skills/ryan-haver/fusebase-mcp/file-upload.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.00035 | $0.00864 |
| Opus 5.5 | $0.00014 | $0.00346 |
| Sonnet 5.5 | $0.00007 | $0.00173 |
| Haiku 4.5 | $0.00003 | $0.00086 |
Grade A, and why
file-upload 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 3d 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.
This is a copy
100% identical to file-upload — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
File Upload
This skill is the single source of truth for the low-level file upload lifecycle.
Load Upload Lifecycle for the canonical tempStoredFileName -> storedFileUUID -> readUrl / relative url -> file descriptor flow.
It also holds the three upload flows (presigned single PUT, multipart, note attachments), when to use each,
and how an app lists and edits the organization's files through the Gate bucket-attachment operations.
Hard rules
- Never store user file/binary bytes in a FuseBase PostgreSQL isolated store (
base64/bytea/ data URL), including “MVP” shortcuts. Upload with this skill / Gate files ops; persist onlystoredFileUUID,readUrl, and small metadata in SQL or dashboard cells. - Needing
files.writeis not a reason to put attachments in SQL. Sync Gate permissions (fusebase app update <appId> --sync-gate-permissions) instead. - Visitor / anonymous / public-link apps: browser visitor tokens usually cannot call
files.write. Broker upload on the app feature backend withFBS_FEATURE_TOKEN, then returnstoredFileUUID/readUrlto the client. - Public app files (
createBucketAttachmentwithoutprivate): theurldoes not expire. Removing the file stops a link to the attachment, but older public links can keep opening it, so make a file private when it must stop opening later. Store theglobalId; use theurlas is, never build, prefix or parse it. - Private app files (
createBucketAttachmentwithprivate: true): store theglobalId, never theurl; theurlis a signed link that expires (at most 1 day). Get fresh links withlistBucketAttachmentsandattachmentIds, and use them as is. See Private files. - Ordinary isolated-SQL write/
executepaths are not the 64MiBimportIsolatedStoreSqlRowscap — practical bodies are ~100–150 KB. Do not design attachments against SQL payload size.
When NOT To Use This Skill
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3d ago Changed · +4 lines f110ca529a11
- 1mo ago First seen · 38 lines · 35 tokens per session scan A f62094faea2f
file-upload is a skill published in the GitHub repository ryan-haver/fusebase-mcp (8 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 864 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to file-upload, differing in 8 lines, and is treated as a copy.
file-upload compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| file-uploadryan-haver/fusebase-mcp | Skill | 8 | 3d ago | MIT | A | 35 | Claude Code |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 69k | yesterday | Apache-2.0 | A | 217 | Claude Code, Codex |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.0k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 529 | 3d ago | MIT | A | 105 | Claude Code, Codex |
| migrate-segw-to-raparc-mcp/arc-1 | Skill | 253 | today | MIT | A | 106 | Claude Code |