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 oaustegard/claude-skills --skill uploading-filesgit clone --depth 1 https://github.com/oaustegard/claude-skillsWrote 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/oaustegard/claude-skills/uploading-files)<a href="https://agentmods.dev/skills/oaustegard/claude-skills/uploading-files"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/uploading-files/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/oaustegard/claude-skills/uploading-files"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/uploading-files.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.00090 | $0.01181 |
| Opus 5.5 | $0.00036 | $0.00472 |
| Sonnet 5.5 | $0.00018 | $0.00236 |
| Haiku 4.5 | $0.00009 | $0.00118 |
Grade C, and why
uploading-files scanned grade C with 1 finding 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 2mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
Local files in `./.uploads/` are kept (they're gitignored). If the user might want them again, leave them; otherwise `rm -rf .uploads` after cleanup. How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Uploading Files
Claude Code on the Web has no file-upload widget and no shared mount. Whenever the user needs to get a file (image, PDF, CSV, doc, archive, anything) into the session, route them through a temporary GitHub branch on the working repo's origin remote.
When to use
Trigger this skill when:
- The user asks to upload, attach, share, or send a file
- A task clearly needs a file the user has locally that isn't in the repo (e.g. "summarize this PDF", "the spreadsheet I exported", "the screenshot from earlier")
- You're about to ask the user to paste a long binary or large text blob — offer upload instead
Don't trigger when the file is already in the repo, on a public URL you can fetch, or short enough to paste inline.
Workflow
The script lives at /mnt/skills/user/uploading-files/scripts/upload.py once installed. It must be run from inside the working git repo (it uses origin and cwd).
Step 1 — Create the upload branch
python3 /mnt/skills/user/uploading-files/scripts/upload.py init
This creates upload-<short-session-id> on origin (from the default branch) and prints a GitHub upload URL. Show that URL to the user on its own line, with no surrounding markdown — no **bold**, no [link](...), no backticks. Some chat renderers concatenate trailing punctuation/markup onto the URL when the user clicks it, breaking the branch name. Bare URL only. Then tell them:
Open that link, drag the file(s) into the page, scroll to the bottom and click Commit changes (the default options are fine). Reply here when done.
Then stop and wait for the user. Do not pretend they've uploaded.
Step 2 — Fetch files
After the user confirms the upload:
python3 /mnt/skills/user/uploading-files/scripts/upload.py fetch
This downloads everything on the branch (vs default) into ./.uploads/ (filenames are flattened to basenames) and ensures .uploads/ is in .gitignore. Treat the files in .uploads/ like any other local input.
What ships with it
3 files 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.
- 2mo ago First seen · 88 lines · 90 tokens per session scan C 2869e9543379
uploading-files is a skill published in the GitHub repository oaustegard/claude-skills (423 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 1,181 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
uploading-files compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| uploading-filesoaustegard/claude-skills | Skill | 423 | today | MIT | C | 90 | Claude Code |
| superdesignsuperdesigndev/superdesign-skill | Skill | 1.1k | 3mo ago | MIT | A | 115 | Claude Code, Codex |
| figma-to-codescoobynko/claude-code-design-skills | Skill | 40 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| bpmn-xml-generatorstateway-io/bpmn-xml-generator | Skill | 4 | 10d ago | Apache-2.0 | A | 177 | Claude Code |
| free-public-rest-apisaisenseapi/aisense-free-public-rest-apis | Skill | 1 | 3d ago | MIT | A | 372 | Claude Code, Codex |
| Linearwrsmith108/linear-claude-skill | Skill | 142 | 4mo ago | MIT | A | 32 | Claude Code |
| aisense-free-toolsaisenseapi/aisense-free-public-rest-apis | Skill | 1 | 3d ago | MIT | A | 50 | Claude Code, Codex |