agentleFS
madisonrickertmadisonrickert/ableton-tools/skills/engine/SKILL.md

engine

Skill15 starsChanged 5 months agoMITView on GitHub

Shared engine for the ableton-tools skills — a uv-managed Python library behind the single 'ableton' dispatcher (stem verification, tempo/drift analysis, MIDI transcription/comparison, safe .als editing, stem import). Invoke a specific ableton-tools skill for a task; use this directly to run a raw subcommand, extend the library, or when the 'ableton' command cannot be found.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. illodev/drawn-by-code★ 16same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

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:

    If ableton is not on PATH (plugin disabled, headless quirk), call the dispatcher directly: <plugin-root>/engine/bin/ableton, where …

    line 20
  2. Very specific:

    Every mutating als subcommand defaults to a dry-run JSON diff.

    line 55

≈ “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

This skill is the engine behind the ableton-tools command skills. It bundles reusable signal-processing and .als-editing logic distilled from a set of one-off analysis scripts (see engine/references/source-scripts.md).

Running the dispatcher

The plugin puts ableton on the Bash PATH:

ableton <subcommand> [args] [--json]

ableton manifest --json lists every subcommand with its arguments, including nested ones. The shim runs under uv and adds the heavy transcribe extra only for ableton midi transcribe.

If ableton is not on PATH (plugin disabled, headless quirk), call the dispatcher directly: <plugin-root>/engine/bin/ableton, where <plugin-root> is this skill's grandparent directory — the plugin cache copy (~/.claude/plugins/cache/ableton-tools/ableton-tools/<version>) or a local checkout of the repo.

Subcommands

  • stem-verify --stems <dir> --master <file> — does a stems folder sum to a master?
  • tempo <file> [--hint-bpm N] — detected BPM, sub-ms precise BPM, and drift.
  • drift --master <file> --stems <dir> — per-window time-drift trace.
  • midi transcribe <audio> [--out file.mid] — audio → MIDI (basic-pitch).
  • midi compare <a.mid> <b.mid> [c.mid] — chroma similarity + timing drift.
  • als inspect <file.als> — tempo, tracks, clips, file refs as JSON.
  • als rename|move <file.als> --manifest map.json — patch file references.
  • als warp-to-grid <file.als> --tempo BPM --clips clips.json — grid-lock clips.
  • als move-clip <file.als> --clip NAME --to-beat B --dur-s S --bpm BPM.
  • als snap <file.als> --manifest snaps.json — batch clip repositioning.
  • als import-stems <file.als> --master-track <id|name> --stems <dir> — clone a warped master per stem and relink (see the als-files skill).

Verdicts are yours, not the tool's

By design, commands emit raw numbers plus threshold bands (e.g. stem-verify returns worst_db, median_db, and bands). Read the JSON and state the verdict yourself — no LLM/API call is built in.

Errors are structured

Operator-correctable failures exit nonzero with {"error": ..., "hint": ...} on stderr (JSON mode) or error:/hint: lines (human mode). A traceback means an engine bug, not a usage problem.

Safety for .als edits

Every mutating als subcommand defaults to a dry-run JSON diff. Pass --commit to write; on commit it first backs up to <project>/Backup/<basename> [YYYY-MM-DD HHMMSS].als (Ableton's native convention — visible in Live's rollback UI), then re-verifies all file refs and restores from the backup if any break. Always close Ableton before committing edits to a .als.

Library API (for extension)

engine/src/ableton_tools/: audio (I/O, mono-sum, envelope), align (xcorr + LSQ lag), cancel (cancellation dB, stem_verify), tempo, midi, transcribe, als (inspect + patchers + clone_track), import_stems (stem-import policy + color convention), errors (UsageError). See engine/CLAUDE.md for JSON shapes and engine/references/ for the .als format notes and source-script lineage. Dev loop: uv run --project <engine> --group dev pytest, uvx ruff check, uvx pyright src.

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.