ableton-mind: Skill for Claude Code

.agents/skills/ableton-remote-script/SKILL.md

ableton-remote-script is a skill for Claude Code, Codex from Pantani/ableton-mind. It costs 37 tokens per session (361 once invoked), scanned A, original, MIT.

A set of patterns for building the Python bridge between Ableton Live and Ableton Mind. It covers Live’s control-surface lifecycle, event handlers, listeners, thread safety, undo steps and offline tests.

In plain words
What is it for?
Use it when adding transport or track handlers, managing listeners, processing TCP requests, making grouped changes undoable and testing the bridge with simulated Live objects.
Why use it?
It explains how to work safely with Ableton Live’s programming interface, including its requirement that certain operations run on the main thread. It also helps keep bridge behaviour testable outside Live.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Pantani/ableton-mind's own configuration. It tells Claude Code and Codex how to work on ableton-mind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ableton-mind configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Pantani/ableton-mind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Pantani/ableton-mind/main/.agents/skills/ableton-remote-script/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Pantani/ableton-mind

Made for: Claude Code, Codex.

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 ableton-remote-script

README.md
[![agentmods](https://agentmods.dev/badge/skills/pantani/ableton-mind/ableton-remote-script/github.svg)](https://agentmods.dev/skills/pantani/ableton-mind/ableton-remote-script)
Your own site
<a href="https://agentmods.dev/skills/pantani/ableton-mind/ableton-remote-script"><img src="https://agentmods.dev/badge/skills/pantani/ableton-mind/ableton-remote-script/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ableton-remote-script

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantani/ableton-mind/ableton-remote-script"><img src="https://agentmods.dev/badge/skills/pantani/ableton-mind/ableton-remote-script.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 361 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00037 $0.00361
Opus 5.5 $0.00015 $0.00144
Sonnet 5.5 $0.00007 $0.00072
Haiku 4.5 $0.00004 $0.00036

Measured 2mo ago against content hash 579d69acd5d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ableton-remote-script 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 2mo 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.

.agents/skills/ableton-remote-script/SKILL.md · 38 lines

What it actually says

Ableton Remote Script — Python Bridge Patterns

Use this skill when implementing or reviewing code under live/AbletonMind/.

Constraints

  • LiveAPI must be touched on Live's main thread. TCP worker threads enqueue work.
  • Prefer stdlib only inside Live.
  • Keep handlers idempotent and read-before-write.
  • Wrap composite mutations in Song.begin_undo_step/end_undo_step.
  • Return JSON-serializable data and structured JSON-RPC errors.
  • Test offline with unittest and faked LiveAPI.

ControlSurface Lifecycle

Expose create_instance(c_instance), construct AbletonMind(ControlSurface), start the bridge when the control surface loads and stop it cleanly on disconnect/reload. Use log_message for structured diagnostics.

Handler Pattern

Register handlers with stable method names such as transport.play or track.list. Validate inputs, resolve Live objects at call time, check liveobj_valid before use, mutate only when needed, then read state back and return the contract shape.

Listener Pattern

Use a ListenerRegistry that tracks add/remove pairs. Subscribing twice is a no-op. Unsubscribe on client disconnect and surface reload. Listener callbacks push JSON-RPC notifications with stable event names and compact params.

Transactions

Use transaction helpers for multi-step mutations: create track + rename + load device should become one undo action. Always end the undo step in finally.

Tests

Every handler gets at least one happy path and one error path. Listener tests verify duplicate registration and cleanup. Smoke tests may use a real Live instance, but unit tests must pass without Live.

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. 2mo ago First seen · 38 lines · 0 tokens per session scan A 579d69acd5d5

Subscribe to this mod's changes

ableton-remote-script is a skill published in the GitHub repository Pantani/ableton-mind (10 stars, last pushed 4mo ago), licensed MIT. It adds 37 tokens to every session and 361 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other skills, from other repositories

ableton-extension

Build, modify, and debug Ableton Live extensions written with the @ableton-extensions/sdk — TypeScript/Node.js code that runs in Live's Extension Host. Use this whenever the user is working on an Ableton Live extension: scaffolding a new one, adding context-menu actions or commands, navigating or mutating the Live Set…

aker-dev/ableton-extension-skill · 202 tokens

pennylane

Builds and differentiates PennyLane quantum circuits, hybrid PyTorch or JAX models, molecular VQE and QAOA workflows. Use for variational quantum algorithms, quantum machine learning, simulator validation, and moving validated circuits to provider plugins. For hardware-specific compilation use qiskit or cirq; for…

K-Dense-AI/scientific-agent-skills · 74 tokens

holoscan-install-wheel

Install Holoscan SDK 5.x CUDA 13 Python wheels in an isolated environment, choosing the full stack or version-matched components.

NVIDIA/skills · 34 tokens

rocm-kernels

Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…

huggingface/kernels · 93 tokens

typing-exclusion-worker

Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.

getsentry/skills · 57 tokens

precise

Online (incremental) covariance, correlation, and precision estimation in Python — the streaming complement to sklearn.covariance. Use when code needs a covariance/correlation matrix updated per observation, recomputes np.cov/np.corrcoef in a rolling loop, must judge or compare covariance estimates, or proposes a new…

microprediction/precise · 76 tokens