agentleFS
godot-fungodot-fun/godot-agent/.agents/skills/audio-to-ogg/SKILL.md

audio-to-ogg

Skill210 starsChanged 2 days agoMITView on GitHub

Converts a single audio file to OGG Vorbis using FFmpeg for Godot-ready compressed assets. Use when the user wants to convert audio to OGG, transcode WAV/MP3/FLAC/AAC to OGG, export a Godot-ready OGG asset, or mentions Vorbis, libvorbis, or Godot audio import.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When this skill applies, read and follow dependency-manager — run scripts as documented, install missing tools into .dependency/.

    line 12
  2. Very specific:

    Use the bundled script, not hand-written ffmpeg -i … commands.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Audio to OGG

Convert a supported audio file to OGG Vorbis via FFmpeg. Defaults preserve source sample rate and encode at Vorbis quality 10 (maximum) for minimal generation loss.

Rules

When this skill applies, read and follow dependency-manager — run scripts as documented, install missing tools into .dependency/.

Quick Start

Default output: <audio-dir>/audio-to-ogg/<basename>.ogg

.dependency/python/python .ai/audio-to-ogg/convert.py --audio path/to/audio.wav

Example: audio/sfx/tank/tank_move.wav → audio/sfx/tank/audio-to-ogg/tank_move.ogg

Format Defaults

SettingDefaultNotes
CodecOGG Vorbis (libvorbis)Godot-native compressed format
Sample ratePreserve sourceAlways keeps source rate; no resampling
Quality10 (-q 10)Maximum Vorbis quality (~500 kbps VBR); use lower -q to shrink files
ChannelsPreserve sourceUse --mono or --stereo to force
Existing Vorbis OGGStream copyBit-perfect when no overrides

Quality Guide

-qApprox. bitrateTypical use
10~500 kbpsDefault — highest fidelity
7–8~224–256 kbpsSmaller music/voice exports
5–6~160–192 kbpsGameplay SFX, BGM
3–4~96–128 kbpsShort UI clicks, ambient loops

Common Flags

--audio · -o / --output · -q / --quality · --mono · --stereo

Lower quality for UI sounds:

.dependency/python/python .ai/audio-to-ogg/convert.py --audio path/to/click.wav -q 4

Custom output path:

.dependency/python/python .ai/audio-to-ogg/convert.py --audio path/to/audio.wav --output path/to/out.ogg

Never overwrite source files. The script writes only under audio-to-ogg/ (or --output). Input must be a single audio file (--audio), not a directory. Supported inputs: .mp3, .ogg, .flac, .aac, .m4a, .wma, .wav.

Agent Notes

  1. Use the bundled script, not hand-written ffmpeg -i … commands.
  2. Sample rate is always preserved — use the audio-sample-rate-standardize skill if resampling is needed.
  3. Already Vorbis OGG? Stream-copied by default (no generation loss).
  4. Missing Python/FFmpeg → populate .dependency/ per dependency-manager, retry same command.
  5. Do not copy, move, or replace the source with converted output — tell the user where output files are; they swap assets manually when ready.
  6. FFmpeg codec and quality details: reference.md

Tests

From repo root:

.dependency/python/python .ai/audio-to-ogg/test_convert.py

Manual CLI examples: cli/audio-to-ogg.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.