byted-tos-audio-process

byted-tos-audio-process is a skill for Claude Code from bytedance/agentkit-samples. It costs 94 tokens per session (821 once invoked), scanned A, original, Apache-2.0.

An audio conversion tool for files stored in Volcengine TOS, a cloud object-storage service. It creates WAV audio with settings such as PCM encoding, sample rate, channel count, and sample format.

In plain words
What is it for?
Use it to convert TOS audio to WAV or PCM, resample it to 16 kHz, make it mono, change its sample format, or normalize it for speech-processing pipelines.
Why use it?
It prepares stored audio in a consistent format for systems that process speech, such as automatic speech recognition (ASR).

Skill for Claude Code ✓ vendor

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it to convert TOS audio to WAV or PCM, resample it to 16 kHz, make it mono, change its sample format, or normalize it for speech-processing pipelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-tos-audio-process
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 · 449 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 byted-tos-audio-process
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

Made for: Claude Code.

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 byted-tos-audio-process

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-audio-process.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-audio-process)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-audio-process"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-audio-process.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 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.00094 $0.00821
Opus 5 $0.00047 $0.00411
Sonnet 5 $0.00019 $0.00164
Haiku 4.5 $0.00009 $0.00082

Measured 4d ago against content hash 847a98e2fc85, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

byted-tos-audio-process 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/audio_to_pcm.py, scripts/tos_jobs_client.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/byted-tos-audio-process/SKILL.md · 90 lines

How it starts

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

Volcengine TOS Audio Process

Convert audio files stored in Volcengine TOS into PCM-oriented WAV output through the TOS gateway's media_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 Variable Required Description
TOS_ACCESS_KEY Yes TOS access key ID
TOS_SECRET_KEY Yes TOS secret access key
TOS_ENDPOINT Yes TOS endpoint URL
TOS_REGION Yes TOS region
TOS_BUCKET Yes Source bucket that stores the audio object
TOS_OBJECT_KEY No Source object key of the audio file. Can be overridden with --key
TOS_SECURITY_TOKEN No STS session token when using temporary credentials

Quick start

# Convert an audio object to 16k mono s16 WAV and wait for completion
python3 {baseDir}/scripts/audio_to_pcm.py \
  --key test.wav \
  --sample-rate 16000 \
  --channels 1 \
  --sample-format s16 \
  --output-object skill-test/audio/test_pcm.wav \
  --wait

Available scripts

Script Purpose
scripts/audio_to_pcm.py Submit an async AudioConvert job via the TOS gateway's media_jobs API that converts TOS audio into PCM-oriented WAV output. Supports --wait to poll until completion.
scripts/tos_jobs_client.py Shared client for TOS gateway doc_jobs/media_jobs APIs using pre-signed URL auth.

Rules

  • TOS gateway API: This skill uses the TOS gateway's media_jobs API with job_type=AudioConvert. Authentication is handled via pre_signed_url from the TOS Python SDK and the TOS identity declared in the metadata block above.
  • Current output format: The output is a WAV file (PCM container), not raw headerless .pcm bytes.
  • Async job model: The script creates async jobs and optionally waits for completion with the --wait flag.
  • Language: Reply in the user's preferred language.

Read the full file on GitHub · 90 lines

Files

What ships with it

7 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. 4d ago First seen · 90 lines · 94 tokens per session scan A 847a98e2fc85

Subscribe to this mod's changes

byted-tos-audio-process is a skill published in the GitHub repository bytedance/agentkit-samples (449 stars, last pushed 3d ago), licensed Apache-2.0. It adds 94 tokens to every session and 821 once invoked, about $0.0005 per session on Opus 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-09-03.

Related

Other skills, from other repositories

runway-video

Build and operate production-safe Runway API video generation, video editing, and character-performance workflows with native Runway models, explicit paid-call approval, duplicate-create protection, asynchronous task handling, secure media transfer, and evidence-aware governance.

calesthio/generative-media-skills · 50 tokens

xai-grok-imagine-video

Produce, edit, extend, and govern short videos with xAI's direct Grok Imagine Video API. Use for text-to-video, image-to-video, multi-reference video, natural-language video edits, video continuation, exact media-cost approval, asynchronous request recovery, Files/Batch integration, moderation review, and API privacy…

calesthio/generative-media-skills · 120 tokens

tencent-hunyuanvideo

Generate and operate Tencent Hunyuan video through the managed TokenHub HY-Video-1.5 API or official local HunyuanVideo repositories. Use for text-to-video, image-to-video, hosted job lifecycle, pricing and region planning, local checkpoint selection, hardware and acceleration, prompt design, licensing, safety…

calesthio/generative-media-skills · 77 tokens

video-generation-gateways

Select, integrate, and operate multi-model video-generation gateways — hosted inference aggregators such as fal.ai, Replicate, and WaveSpeed that expose many third-party video (and video-adjacent audio) models behind one account, one API surface, and one bill. Use when deciding whether to route video generation…

calesthio/generative-media-skills · 168 tokens

podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/deer-flow · 38 tokens

vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/deer-flow · 69 tokens