tos-file-access

tos-file-access is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 53 tokens per session (2,226 once invoked), scanned A, original, Apache-2.0.

A file-transfer skill for TOS-compatible object storage, the cloud storage used by Volcano Engine and BytePlus and similar to Amazon S3. It moves files or directories between local work and storage, or downloads files from URLs.

In plain words
What is it for?
Use it to download data files before processing, or upload generated files, videos, charts, reports, and output folders for sharing.
Why use it?
It removes the manual steps involved in preparing input files for an agent and sharing generated output files. It can handle both individual files and whole directories.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it to download data files before processing, or upload generated files, videos, charts, reports, and output folders for sharing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/tos-file-access
About the project

bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.

bytedance/agentkit-samples · 496 stars · on GitHub

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 bytedance/agentkit-samples --skill tos-file-access
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

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 tos-file-access

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/tos-file-access/github.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/tos-file-access)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/tos-file-access"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/tos-file-access/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 tos-file-access

Your own site · 80×15
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/tos-file-access"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/tos-file-access.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,226 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.02226
Opus 5.5 $0.00021 $0.00890
Sonnet 5.5 $0.00011 $0.00445
Haiku 4.5 $0.00005 $0.00223

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

Security

Grade A, and why

tos-file-access 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 3mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/file_download.py, scripts/tos_upload.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/agentkit/tos-file-access/SKILL.md · 242 lines

How it starts

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

TOS File Access

This skill provides utilities for uploading files and directories to TOS-compatible object storage for Volcano Engine or BytePlus, and downloading files from URLs.

Overview

TOS-compatible object storage is used by Volcano Engine and BytePlus, similar to AWS S3. This skill enables:

  • Upload: Upload Agent-generated files or entire directories to TOS and get shareable signed URLs (for files) or TOS paths (for directories)
  • Download: Download files from URLs to local storage for Agent processing

Typical Workflows

Pre-Agent Execution: Download User Files

When users provide file URLs (TOS or external), download them before processing:

# Download single file
python scripts/file_download.py https://example.com/data.csv

# Download multiple files
python scripts/file_download.py https://example.com/data.csv https://example.com/config.json

# Specify save directory and filenames
python scripts/file_download.py https://example.com/data.csv --save-dir /workspace --filenames dataset.csv

Post-Agent Execution: Upload Output Files or Directories

After generating files or directories (videos, charts, reports, output folders, etc.), upload them to TOS for user access:

# Upload single file (auto-detected)
python scripts/tos_upload.py /path/to/output.mp4 --bucket my-bucket

# Upload entire directory (auto-detected)
python scripts/tos_upload.py /path/to/output_folder --bucket my-bucket

# Upload to BytePlus with custom expiration
TOS_REGION=ap-southeast-1 python scripts/tos_upload.py /path/to/report.pdf --bucket my-bucket --expires 86400

Scripts

scripts/file_download.py

Download files from URLs to local storage.

Usage:

python scripts/file_download.py <url1> [url2 ...] [--save-dir DIR] [--filenames NAME1 NAME2 ...]

Arguments:

  • urls: One or more URLs to download (positional, required)
  • --save-dir: Save directory (optional, defaults to /tmp)
  • --filenames: Custom filenames for downloaded files (optional, must match number of URLs)

Read the full file on GitHub · 242 lines

Files

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.

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. 3mo ago First seen · 242 lines · 53 tokens per session scan A dc3c7f4b8d04

Subscribe to this mod's changes

tos-file-access is a skill published in the GitHub repository bytedance/agentkit-samples (496 stars, last pushed 5d ago), licensed Apache-2.0. It adds 53 tokens to every session and 2,226 once invoked, about $0.0002 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

tos-file-access compared with skills from other repositories

tos-file-access next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tos-file-accessbytedance/agentkit-samplesSkill4965d agoApache-2.0A53Claude Code, Codex
latchbio-integrationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A45Claude Code, Codex
claw-adminx-cmd/x-cmdSkill4.8k6d agoApache-2.0A48Claude Code, Codex
x-netsx-cmd/x-cmdSkill4.8k6d agoApache-2.0A69Claude Code, Codex
installx-cmd/x-cmdSkill4.8k6d agoApache-2.0A99Claude Code, Codex
x-themex-cmd/x-cmdSkill4.8k6d agoApache-2.0A74Claude Code, Codex
x-arpx-cmd/x-cmdSkill4.8k6d agoApache-2.0A64Claude Code, Codex