Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bytedance avatar

Byted Tos File Process

  • 8 installs
  • 411 repo stars
  • Updated August 4, 2026
  • bytedance/agentkit-samples

byted-tos-file-process is a Claude skill that compresses and uncompresses file objects in Volcengine TOS through TOS file_jobs async jobs.

About

This skill compresses and uncompresses file objects stored in Volcengine TOS through TOS data-process async jobs. A developer uses it to zip or unzip archives, create tar or zstd archives, pack multiple TOS objects into one archive, or extract compressed files. It submits async jobs through the TOS gateway file_jobs API and can poll until completion.

  • Compresses and uncompresses TOS objects via async file jobs
  • Supports zip, tar, and zst archive formats
  • Packs multiple TOS objects into a single archive

Byted Tos File Process by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #1,519 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

byted-tos-file-process capabilities & compatibility

Requires Volcengine TOS credentials (access key, secret, endpoint, region, bucket)

Capabilities
file compression · archive management · media processing
Pricing
Bring your own API key
From the docs

What byted-tos-file-process says it does

Compresses and uncompresses file objects stored in Volcengine TOS through TOS data-process async jobs.
SKILL.md
Compress supports `zip`, `tar`, and `zst`.
SKILL.md
npx skills add https://github.com/bytedance/agentkit-samples --skill byted-tos-file-process

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars411
Last updatedAugust 4, 2026
Repositorybytedance/agentkit-samples

What it does

Compress or extract Volcengine TOS file objects into zip, tar, or zst archives via async jobs.

When should I use this skill?

You need to zip or unzip files in TOS, create tar or zstd archives, pack multiple TOS objects into one archive, or extract compressed files.

What you get

Submits FileCompress or FileUncompress jobs that pack or extract TOS archives, optionally waiting for completion.

By the numbers

  • Bundles 3 scripts (compress, uncompress, client)
  • Supports 3 archive formats: zip, tar, zst

Files

SKILL.mdMarkdownGitHub ↗

Volcengine TOS File Process

Compress and uncompress file objects stored in Volcengine TOS through the TOS gateway's file_jobs API.

Setup (once per environment)

Install dependencies on first use:

cd {baseDir}
pip install -r {baseDir}/requirements.txt

Then run scripts with Python 3.7+:

python3 {baseDir}/scripts/<script>.py <args>

Environment Variables

This skill relies on the TOS identity declared in the metadata block. Common runtime variables are:

Environment VariableRequiredDescription
TOS_ACCESS_KEYYesTOS access key ID
TOS_SECRET_KEYYesTOS secret access key
TOS_ENDPOINTYesTOS endpoint URL
TOS_REGIONYesTOS region
TOS_BUCKETYesSource bucket that stores the file objects
TOS_OBJECT_KEYNoSource object key. Can be overridden with --key or --keys
TOS_SECURITY_TOKENNoSTS session token when using temporary credentials

Quick start

# Compress multiple TOS objects into a zip archive and wait for completion
python3 {baseDir}/scripts/file_compress.py \
  --keys file1.jpg,file2.txt \
  --format zip \
  --output-key output/archive.zip \
  --wait

# Uncompress a zip archive and wait for completion
python3 {baseDir}/scripts/file_uncompress.py \
  --key output/archive.zip \
  --prefix output/unzipped/ \
  --wait

Available scripts

ScriptPurpose
scripts/file_compress.pySubmit an async FileCompress job via the TOS gateway's file_jobs API that compresses TOS objects into an archive (zip/tar/zst). Supports --wait to poll until completion.
scripts/file_uncompress.pySubmit an async FileUncompress job via the TOS gateway's file_jobs API that extracts an archive in TOS. Supports --wait to poll until completion.
scripts/tos_jobs_client.pyShared client for TOS gateway file_jobs APIs using pre-signed URL auth.

Rules

  • TOS gateway API: This skill uses the TOS gateway's file_jobs API with job_type=FileCompress or job_type=FileUncompress. Authentication is handled via pre_signed_url from the TOS Python SDK and the TOS identity declared in the metadata block above.
  • Supported archive formats: Compress supports zip, tar, and zst. The output object key suffix must match the chosen format (.zip, .tar, .zst).
  • Async job model: The scripts create async jobs and optionally wait for completion with the --wait flag.
  • Language: Reply in the user's preferred language.

Further reading

  • Setup and environment: README.md
  • Parameter reference: REFERENCE.md
  • End-to-end workflows: WORKFLOWS.md

Related skills

Automation & Workflowsintegrationsbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.