Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

adobe-after-effects-scripting

БесплатноБез исполняемых скриптовНе проверен

Automate Adobe After Effects and write, edit, debug or review its scripts and expressions. Covers ExtendScript (.jsx, .jsxbin) and its ECMAScript 3 limits…

jhaugaот jhauga397 установок в других каталогах

Об этом скилле

Adobe After Effects Scripting

Write the scripts After Effects runs, and the expressions it evaluates, so they work the first time on the version that is installed.

Scope

This skill adobe-after-effects-integrations
ExtendScript .jsx and .jsxbin that After Effects runs CEP and UXP panels, and how they call into After Effects
The object model: project, items, layers, properties, render queue C++ effect, AEGP and AEIO plugins built on the SDK
ScriptUI panels in the ScriptUI Panels folder MCP servers and other bridges that drive After Effects from another process
AfterFX.exe -r and -s, AppleScript DoScriptFile, aerender Packaging, signing and installing extensions and plugins
Expressions, and scripts that write them

An MCP server's tools belong to the integrations skill. The ExtendScript those tools send into After Effects belongs here.

Before writing a script

  1. Know the version. app.version is a string, so compare it with parseFloat(app.version). Since After Effects 2022 the major version matches the year: 2026 is 26.x. Every attribute in the scripting guide lists the version that added it; check before using anything recent.
  2. Know how it will run. By hand from File > Scripts > Run Script File, as a docked panel, at startup, or unattended from the command line. An unattended script must never open a dialog: a modal dialog blocks every script after it.
  3. Know what it touches. Writing, renaming or removing files, creating folders, and using Socket need the preference Allow Scripts To Write Files And Access Network (see Running scripts); reading a file does not. Without it those calls throw, but open("w") still empties the file: check it first.
  4. Write ES3, or compile down to it (see The language).

The language

ExtendScript implements ECMAScript 3 plus E4X. It is not the JavaScript engine expressions use.

  • Not available: let, const, arrow functions, template literals, classes, default parameters, destructuring, Array.prototype.forEach, map, filter and indexOf, Object.keys, String.prototype.trim. Write var and plain for loops.
  • No JSON object. ExtendScript has never had one natively. A JSON you happen to find was polyfilled by something else (the Libraries panel does this) and can vanish. Bring json2.js with #include or $.evalFile, or use extendscript-es5-shim.
  • One global namespace is shared by every script for the whole session. Wrap each script in a function, and give any global you mean to keep a name nothing else will use.
  • Files are UTF-8 .jsx. #include "lib.jsxinc" (or //@include) and #includepath pull in other files; a missing include is a run-time error. $.evalFile(path[, timeout]) runs another file. .jsxbin is a compiled form that "may not be usable with all of the scripting integration features".
  • $.os names the operating system; system.osName is blank on Windows.
  • Use generateRandomNumber() rather than Math.random() for values a script sets.

The object model

app
 └ project                       always present; project.file is null until saved
    ├ item(i), numItems          1-based: CompItem, FootageItem, FolderItem
    ├ activeItem                 the item selected in the Project panel, or null
    ├ rootFolder
    └ renderQueue                item(i) → RenderQueueItem → outputModule(i)
CompItem
 ├ layer(i), numLayers           1-based; layer(1) is the top of the stack
 └ width, height, duration, frameRate, frameDuration, workAreaStart, workAreaDuration
Layer, AVLayer, TextLayer, ...
 └ property(matchName)           PropertyGroup → ... → Property
  • Collections start at 1. RenderQueue.item is documented as [0..numItems]; treat it as 1-based like every other collection. Remove items while counting down, not up.
  • instanceof matches only the most specific class. A text layer is instanceof TextLayer but not instanceof AVLayer. item instanceof CompItem is the usual test before treating activeItem as a comp.
  • Reach properties by match name, never by display name, which changes with the language After Effects runs in: layer.property("ADBE Transform Group").property("ADBE Position").
  • Time is in seconds. A frame is frame * comp.frameDuration.
  • Units: Position and Anchor Point in pixels, [x, y] on a 2D layer and [x, y, z] on a 3D one; Scale in percent per axis; Rotation in degrees; Opacity 0 to 100; colours from 0 to 1.
  • Colours: a colour property (PropertyValueType.COLOR: shape fills and strokes, Color Control, effect colours) holds [r, g, b, a]. setValue also accepts [r, g, b] there (alpha becomes 1), but an expression on it must return four values ("expression result must be of dimensi
Полный SKILL.md на ClawHub

Установить adobe-after-effects-scripting в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл adobe-after-effects-scripting?

Automate Adobe After Effects and write, edit, debug or review its scripts and expressions. Covers ExtendScript (.jsx, .jsxbin) and its ECMAScript 3 limits, the object model (app, project, items, folders, compositions, layers, properties, keyframes, effects, text), undo groups, the render queue and the hand-off to Adobe Media Encoder, ScriptUI panels, the Scripts, ScriptUI Panels, Startup and Shutdown folders, running a script from outside with AfterFX.exe -r and -s or AppleScript DoScriptFile, rendering with aerender, and expressions on both expression engines. Use for any code that After Effects itself runs. For CEP or UXP panels, C++ SDK plugins, or an MCP server or other bridge that drives After Effects from another process, use adobe-after-effects-integrations instead; the ExtendScript such a component sends into After Effects is still this skill.

Как установить скилл adobe-after-effects-scripting?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл adobe-after-effects-scripting запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить adobe-after-effects-scripting с