agentleFS
madisonrickertmadisonrickert/ableton-tools/skills/als-files/SKILL.md

als-files

Skill15 starsChanged 5 months agoMITView on GitHub

Inspect an Ableton .als project (tempo, tracks, clips, file references) and safely rename or move the audio files it references while patching the .als so links stay intact. Use when reorganizing a project's sample files or auditing what a .als points to. Mutations are dry-run by default and auto-backup before committing. Also imports a folder of Suno stems as color-coded, tempo-follower clones of a warped master track (als import-stems).

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Write a manifest map.json: {"old/rel/path.wav": "new/rel/path.wav", ...}.

    line 16
  2. Very specific:

    Commit: add --commit. The engine first writes a backup into <project>/Backup/<basename> [YYYY-MM-DD HHMMSS].als (Ableton's native …

    line 19
  3. Distinctive:

    Always show the user the dry-run diff before committing.

    line 26
  4. Distinctive:

    When the user has imported and warped a master in Ableton and wants the matching Suno stems loaded as separate, in-sync tracks:

    line 29

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

You inspect and re-link .als projects using the bundled Ableton engine (the ableton command on PATH). Close Ableton before committing edits.

Inspect

ableton als inspect <FILE.als> --json Returns tempo, tracks, and every clip's name, beat bounds, relative path, and warp state.

Rename / move referenced files

  1. Move/rename the actual audio files on disk yourself (or describe the intent).
  2. Write a manifest map.json: {"old/rel/path.wav": "new/rel/path.wav", ...}.
  3. Dry-run: ableton als rename <FILE.als> --manifest map.json --json — prints the diff, writes nothing.
  4. Commit: add --commit. The engine first writes a backup into <project>/Backup/<basename> [YYYY-MM-DD HHMMSS].als (Ableton's native auto-backup convention, so it shows up in Live's rollback UI), patches refs, then re-verifies every reference resolves and auto-restores from backup if any break.

als move is identical to als rename (same patcher); use whichever verb fits. Always show the user the dry-run diff before committing.

Import Suno stems aligned to a master

When the user has imported and warped a master in Ableton and wants the matching Suno stems loaded as separate, in-sync tracks:

ableton als import-stems <FILE.als> --master-track <id|name> --stems <DIR> [--pattern '*.wav'] [--colors colors.json] [--commit] --json

The command clones the master track per stem (warp markers and all), repoints each clone's sample refs, names clips with bare labels (numeric filename prefixes stripped, so Live's <track-index>-<clip-name> auto-naming stays clean), demotes IsSongTempoLeader on every clone, and applies the default track-color convention (Lead Vocals 20, Backing Vocals 7, Drums 3, Bass 17, Synth/Keys 14, Other/FX 23 — override with --colors).

It refuses to run unless every stem matches the master's frame count and sample rate — the clones inherit the master's warp markers verbatim, which is only valid for identical audio timelines. Suno stems satisfy this by construction; other sources may not.

Workflow: confirm Ableton is closed, dry-run, show the user the diff (new track names, colors, sample refs), then --commit. XML-level mechanics live in the engine's references/als-format.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.