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

audio-split

Skill202 starsChanged 13 days agoMITView on GitHub

Splits a single audio file into two segments (part 1 before the split point, part 2 after) using FFmpeg. Use when the user wants to split audio, divide a clip into two parts, cut at a timestamp, or separate intro from body.

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

4 rules. About 0 are common, 0 are distinctive, and 4 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.

  • 4

    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:

    Default: split at 50% of duration, output to <audio-dir>/audio-split/:

    line 16
  3. Very specific:

    If both -s and -p are given, -s wins.

    line 40
  4. Very specific:

    Use the bundled script, not hand-written -ss/-to commands.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Split

Split one audio file into part 1 (start → split point) and part 2 (split point → end).

Rules

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

Quick Start

Default: split at 50% of duration, output to <audio-dir>/audio-split/:

.dependency/python/python .ai/audio-split/split.py --audio path/to/audio.wav

Split at a specific time (seconds):

.dependency/python/python .ai/audio-split/split.py --audio path/to/audio.wav -s 1.25

Outputs: basename_part1.ext and basename_part2.ext.

Split Point

Provide one of:

FlagMeaning
-s / --split-atTime in seconds (e.g. 1.25, 90)
-p / --percentPosition as percent of duration (e.g. 50 = midpoint)
(none)Defaults to 50%

If both -s and -p are given, -s wins.

Common Flags

--audio · -s / --split-at · -p / --percent · -o / --output

.dependency/python/python .ai/audio-split/split.py --audio audio/sfx.wav -s 0.4
.dependency/python/python .ai/audio-split/split.py --audio audio/sfx.wav --output path/to/out/

Originals are never modified. Supported: .wav, .mp3, .ogg, .flac, .aac, .m4a, .wma.

Agent Notes

  1. Use the bundled script, not hand-written -ss/-to commands.
  2. Looping BGM — splitting breaks the loop; prefer two source assets or manual crossfade planning.
  3. Split point at 0 or at/after duration → script errors with a clear message.
  4. Missing Python/FFmpeg → populate .dependency/ per dependency-manager, retry same command.
  5. FFmpeg details and manual fallback: reference.md

Tests

From repo root:

.dependency/python/python .ai/audio-split/test_split.py

Manual CLI examples: cli/audio-split.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.