convert-audio-mono

convert-audio-mono is a skill for Claude Code from jackfranklin/dotfiles. It costs 34 tokens per session (482 once invoked), scanned A, original, MIT.

An audio-conversion procedure for changing stereo sound into mono, including recordings where sound comes through only one ear.

In plain words
What is it for?
Converting video or audio files to mono while keeping the video stream unchanged when possible.
Why use it?
It fixes one-sided or unbalanced playback and avoids making the result quieter when one stereo channel is silent.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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.

agentmods
npx agentmods add skills/jackfranklin/dotfiles/convert-audio-mono
Any agent
npx skills add jackfranklin/dotfiles --skill convert-audio-mono
Clone the repo
git clone --depth 1 https://github.com/jackfranklin/dotfiles

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 convert-audio-mono

README.md
[![agentmods](https://agentmods.dev/badge/skills/jackfranklin/dotfiles/convert-audio-mono.svg)](https://agentmods.dev/skills/jackfranklin/dotfiles/convert-audio-mono)
Your own site
<a href="https://agentmods.dev/skills/jackfranklin/dotfiles/convert-audio-mono"><img src="https://agentmods.dev/badge/skills/jackfranklin/dotfiles/convert-audio-mono.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 482 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00034 $0.00482
Opus 5 $0.00017 $0.00241
Sonnet 5 $0.00007 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured 6d ago against content hash 34460457b16e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

convert-audio-mono 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 6d 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.

claude/skills/convert-audio-mono/SKILL.md · 32 lines

What it actually says

Convert Audio to Mono

Overview

This skill converts the stereo audio channel of a media file (typically video or audio) to mono. It optimizes the process by copying the video stream without re-encoding to preserve video quality, and handles silent channels by extracting the active channel rather than a simple downmix.

When to Use

Use when a video or audio file's sound plays in only one ear/channel, or when a mono mix is requested.

Core Pattern

  1. Analyze Channel Volumes: Run ffmpeg -i <input> -filter_complex "[0:a]astats=metadata=1" -f null - to identify the peak and RMS volume of each channel. Note: Do not use reset=1 in the filter, as it resets stats per frame.
  2. Determine Extraction Strategy:
    • If one channel is silent (volume ~ -90 dB or less) and the other has sound, isolate the active channel to avoid a 6 dB volume drop from normal averaging:
      • Left channel only: -af "pan=mono|c0=c0" (or FL)
      • Right channel only: -af "pan=mono|c0=c1" (or FR)
    • If both channels have active sound, use standard downmixing:
      • -ac 1
  3. Execute Conversion: Run ffmpeg, copying the video stream to save time and preserve quality: ffmpeg -i <input> -c:v copy -af "<filter>" -c:a aac -b:a 256k <output>

Common Mistakes

  • Re-encoding video: Re-encoding the video stream degrades quality and takes significant time. Always use -c:v copy.
  • Averaging silent channels: A simple -ac 1 downmix of a one-eared track averages it with silence, dropping the overall volume by 6 dB. Always analyze first and use the pan filter for single-channel isolation.
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. 6d ago First seen · 32 lines · 34 tokens per session scan A 34460457b16e

Subscribe to this mod's changes

convert-audio-mono is a skill published in the GitHub repository jackfranklin/dotfiles (254 stars, last pushed 5d ago), licensed MIT. It adds 34 tokens to every session and 482 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

剪辑环境的唯一管理者:就绪检查(skills 是否最新 → Runtime 是否配套)、Skills 更新激活、Runtime 安装与体检。用户说检查更新、安装剪辑环境、装播放器、检查剪辑环境、剪辑环境就绪了吗、配置转录凭证时使用;业务 Skill(剪口播/字幕/画面/导出)第 0 步也引用本 Skill 的就绪检查。不用于剪辑、字幕、画面、导出本身或项目数据迁移。.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens