obto-upload

obto-upload is a skill for Claude Code, Codex from obto-inc/platform. It costs 144 tokens per session (756 once invoked), scanned A, original, Apache-2.0.

A procedure for uploading local images, videos, PDFs, and other binary files to OBTO and receiving a served URL. OBTO is the storage and delivery service described by the add-on.

In plain words
What is it for?
Use it to upload a local asset through a direct signed URL or, when necessary, staged chunks, and return an OBTO viewer or file URL.
Why use it?
It avoids sending large file contents directly through the agent's tool messages, which can truncate or corrupt them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to upload a local asset through a direct signed URL or, when necessary, staged chunks, and return an OBTO viewer or file URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/obto-inc/platform/obto-upload
Install

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.

Any agent
npx skills add obto-inc/platform --skill obto-upload
Clone the repo
git clone --depth 1 https://github.com/obto-inc/platform

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for obto-upload

README.md
[![agentmods](https://agentmods.dev/badge/skills/obto-inc/platform/obto-upload/github.svg)](https://agentmods.dev/skills/obto-inc/platform/obto-upload)
Your own site
<a href="https://agentmods.dev/skills/obto-inc/platform/obto-upload"><img src="https://agentmods.dev/badge/skills/obto-inc/platform/obto-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.

agentmods 80×15 button for obto-upload

Your own site · 80×15
<a href="https://agentmods.dev/skills/obto-inc/platform/obto-upload"><img src="https://agentmods.dev/badge/skills/obto-inc/platform/obto-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 756 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00144 $0.00756
Opus 5.5 $0.00058 $0.00302
Sonnet 5.5 $0.00029 $0.00151
Haiku 4.5 $0.00014 $0.00076

Measured 19d ago against content hash e381cd81c31b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

obto-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 19d 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.

plugins/obto-codex/skills/obto-upload/SKILL.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Uploading local media/binary into OBTO

OBTO stores media/binary in a file worker and serves it at https://{domain}.obto.co/ms/filereader.bto?n=<fileName> (video via videoplayer.bto). This is a different subsystem from artifact-source deploys (obto-deploy): here the goal is to get file bytes into the store and receive a served viewer URL back.

The hard rule: never inline file bytes into a tool-call argument. The agent→tool channel truncates and corrupts large or dense values. Any path that pushes the bytes through a chunk / base64 tool arg is unreliable on its own. Move the bytes by a side channel and pass only a small reference.

Decision order

  1. Bytes already at an https URL OBTO can reach → obto_upload_media({ url, filename, domain }). The server fetches it directly. Done.
  2. Local file → ask the user for an https link to it (then step 1), or to upload it through the app's own upload page.
  3. Neither is possible → chunked staging through MCP (below): no grant, no credential.

obto_request_upload_url returns a one-time signed link for a person or the app to use. Never use it yourself from the user's machine, and never put it in a command.

Fallback: chunked staging with per-chunk integrity (obto_stage_chunk)

  1. obto_stage_chunk({ action:"begin", domain, transferEncoding:"base64" }) → uploadId.
  2. In the shell, base64 the file and split into ≤ ~1KB chunks. For each chunk: compute its sha256 (shell), then obto_stage_chunk({ action:"append", domain, uploadId, seq, chunk, chunkSha256 }). On a hash mismatch the server rejects the chunk without storing or advancing the seq — re-send the same seq until it lands byte-exact. (This defeats the agent's unreliable emission at the source instead of as a downstream commit failure.)
  3. obto_stage_chunk({ action:"status", domain, uploadId }) → verify the assembled sha256 matches sha256sum <file>.
  4. Commit: obto_upload_media({ uploadId, filename, domain }) → served URL.

Read the full file on GitHub · 53 lines

Changes

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.

  1. 19d ago Changed · -35 lines · -8 tokens per session e381cd81c31b
  2. 3mo ago First seen · 88 lines · 152 tokens per session scan A d7cbedfe33cb

Subscribe to this mod's changes

obto-upload is a skill published in the GitHub repository obto-inc/platform (1 stars, last pushed 18d ago), licensed Apache-2.0. It adds 144 tokens to every session and 756 once invoked, about $0.0006 per session on Opus 5.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-31.

Related

obto-upload compared with skills from other repositories

obto-upload next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
obto-uploadobto-inc/platformSkill118d agoApache-2.0A144Claude Code, Codex
build-from-this-conversationlovablelabs/mcpSkill1514d agoApache-2.0A110Claude Code
claude-design-to-applovablelabs/mcpSkill1514d agoApache-2.0A111Claude Code
first-customerslovablelabs/mcpSkill1514d agoApache-2.0A126Claude Code
fix-and-shiplovablelabs/mcpSkill1514d agoApache-2.0A122Claude Code
interview-trackerlovablelabs/mcpSkill1514d agoApache-2.0A159Claude Code
know-my-businesslovablelabs/mcpSkill1514d agoApache-2.0A119Claude Code