Ableton Extensionsのロゴ

Ableton Extensions

コミュニティ
Ronvaknins
ableton-extensions

Scaffold, write, build, and package Ableton Live extensions with the Ableton Extensions SDK (@ableton-extensions/sdk, TypeScript). Use when creating or editing an Ableton Live extension — adding context-menu actions, modal/progress dialogs, or code that manipulates tracks, clips, MIDI notes, devices, tempo, audio rendering, or selections in a Live Set.

概要

公開者Ronvaknins
リポジトリableton-extensions-skill
スキル名ableton-extensions
スター
82
フォーク
4
同梱ファイル
3
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    RonvakninsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ableton Extensions」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Ronvaknins/ableton-extensions-skill/tree/master
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Ronvaknins/ableton-extensions-skill.git \
  .claude/skills/ableton-extensions
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAbleton Extensionsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAbleton Extensionsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ableton Extensionsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Ableton Extensions SDK

Build tools that run inside Ableton Live. An extension is a Node/TypeScript module bundled to a single CommonJS file that Live's Extension Host loads. It registers commands and wires them to context-menu actions, then reads and mutates the Live Set through a typed object model (tracks, clips, notes, devices, tempo, scenes).

Extensions are an offline editing / automation layer. They are not real-time processors and not devices in the signal chain: they cannot process the live audio or MIDI stream. The SDK has no note-on/off, MIDI-input, or stream callbacks (the only on* callbacks are dialog/registration lifecycle internals) — an extension only acts when the user triggers a command, then mutates the data model. For real-time MIDI/audio transformation (e.g. "play one key, hear a chord"), the right tool is a MIDI/audio effect device in the track chain: Live's built-in MIDI effects (the Chord device does exactly one-note→chord — set Shift voices to e.g. +4, +7) or a Max for Live device — not an Extension. Extensions complement those by transforming clips/notes at edit time, batch-editing the Set, and adding context-menu tools, dialogs, and rendering.

Local SDK location

The SDK distribution lives wherever you unpacked it — referred to below as <sdk-dir>. It contains:

  • docs/ — pre-built HTML documentation (getting-started, essentials, development, design)
  • api/ — TypeDoc HTML API reference
  • examples/ — 7 runnable examples (read these for canonical patterns)
  • ableton-create-extension-<version>.tgz — the scaffolding tool
  • ableton-extensions-cli-<version>.tgz — the build/run/package CLI
  • ableton-extensions-sdk-<version>.tgz — the SDK library

This skill was written against SDK 1.0.0-beta.0 (API version "1.0.0"); newer builds may ship a different <version> — check the actual .tgz filenames in <sdk-dir> and substitute it wherever it appears below. Requires Node.js >= 24.14.1.

Reference files (load as needed)

  • reference/scaffolding.md — create a project, the generated file layout, manifest.json / package.json / build.ts / tsconfig.json, the extensions-cli run|package commands, the .env / EXTENSION_HOST_PATH, debugging, log file locations, packaging to .ablx.
  • reference/api.md — the full object model: ExtensionContext, handles, transactions, Song/Track/Clip/MidiClip/AudioClip/Device/Scene, MIDI NoteDescription, enums (WarpMode, GridQuantization), context-menu scopes, selection types.
  • reference/recipes.md — copy-paste code for every common task: context menus, modal dialogs (with the WebView bridge + Ableton-themed CSS), progress dialogs with cancellation, creating/editing clips and notes, audio import/render, transactions.

The examples/ folder is the source of truth for idiomatic code — prefer reading the closest example to the task over guessing.

The entry point — always this shape

src/extension.ts exports activate. Call initialize once, then register commands and menu actions synchronously:

typescript
import { initialize, type ActivationContext } from "@ableton-extensions/sdk";

export function activate(activation: ActivationContext) {
  const context = initialize(activation, "1.0.0"); // ExtensionContext

  // 1. Register a command (the logic)
  context.commands.registerCommand("myext.doThing", (arg: unknown) => {
    // arg is a Handle, ArrangementSelection, or ClipSlotSelection
    // depending on the scope the menu action was registered for
  });

  // 2. Surface it as a right-click menu item (the trigger)
  context.ui.registerContextMenuAction("AudioClip", "Do Thing", "myext.doThing");
}

context (the ExtensionContext) is the root of everything:

  • context.application.song — the Live Set (tempo, tracks, scenes, …)
  • context.commands — registerCommand(id, cb) / executeCommand(id, …)
  • context.ui — registerContextMenuAction, showModalDialog, withinProgressDialog
  • context.resources — importIntoProject(path), render audio from a track
  • context.environment — storageDirectory, tempDirectory, language
  • context.getObjectFromHandle(handle, Class) — turn a Handle into a typed object
  • context.withinTransaction(() => …) — group mutations into one undo step

Two concepts that trip people up

Handles are not objects. Live passes commands lightweight Handles ({ id: bigint }). Resolve to a typed object with context.getObjectFromHandle(handle, Track). Handles go invalid when the object is deleted, moved in the arrangement, or the Set changes — never cache objects or handles across operations.

Commands receive scope-dependent args. Object scopes ("AudioClip", "MidiTrack", "ClipSlot", "Scene", …) pass a single Handle. Selection scopes pass a structured object: "AudioTrack.ArrangementSelection" / "MidiTrack.ArrangementSelection" pass an ArrangementSelection (time_selection_start, time_selection_end, selected_lanes: Handle[]); "ClipSlotSelection" passes { selected_clip_slots }. Match the scope you register to the arg type you cast.

Standard workflow

  1. Scaffold (new project): npx file:<sdk-dir>/ableton-create-extension-<version>.tgz <dir> — interactive prompts for name, author, Live path, UI support. See reference/scaffolding.md.
  2. Write src/extension.ts — register commands + menu actions; see reference/recipes.md.
  3. Run in Live: npm start (builds with esbuild, then extensions-cli run loads it into the Extension Host). Enable Developer Mode first in Live's Preferences → Extensions.
  4. Debug: console.log/warn/error → ExtensionHost.txt (paths in reference/scaffolding.md). In VS Code, F5 / "Debug Extension".
  5. Package: npm run package → a distributable .ablx archive users drop into Live.

Conventions that matter

  • TypeScript, ESM project, CJS bundle. package.json is "type": "module"; build.ts bundles to format: "cjs", platform: "node". Keep it that way — the Extension Host loads CommonJS.
  • Namespace command IDs ("myext.action") to avoid collisions with other extensions.
  • Most mutations are async (Promise). Batch related edits in context.withinTransaction(() => promises) then await Promise.all(...) so the user gets one undo step and Live updates once.
  • Narrow handle types defensively with instanceof (e.g. resolve to Clip, then check clip instanceof AudioClip) — a menu scope can match objects the code must reject.
  • HTML dialogs are inlined by esbuild (loader: { ".html": "text" }) and passed as a data:text/html, URL — there's no web server.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ableton Extensions」では何ができますか?

Scaffold, write, build, and package Ableton Live extensions with the Ableton Extensions SDK (@ableton-extensions/sdk, TypeScript). Use when creating or editing an Ableton Live extension — adding context-menu actions, modal/progress dialogs, or code that manipulates tracks, clips, MIDI notes, devices, tempo, audio rendering, or selections in a Live Set.

TypingMindでAbleton Extensionsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ableton Extensionsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAbleton Extensionsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Ronvaknins/ableton-extensions-skill/tree/masterを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ableton Extensionsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ableton Extensionsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAbleton Extensionsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ableton Extensions」は無料ですか?

RonvakninsがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇