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…
от 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
- Know the version.
app.versionis a string, so compare it withparseFloat(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. - 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. - Know what it touches. Writing, renaming or removing files, creating
folders, and using
Socketneed the preference Allow Scripts To Write Files And Access Network (see Running scripts); reading a file does not. Without it those calls throw, butopen("w")still empties the file: check it first. - 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,filterandindexOf,Object.keys,String.prototype.trim. Writevarand plainforloops. - No
JSONobject. ExtendScript has never had one natively. AJSONyou happen to find was polyfilled by something else (the Libraries panel does this) and can vanish. Bringjson2.jswith#includeor$.evalFile, or useextendscript-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#includepathpull in other files; a missing include is a run-time error.$.evalFile(path[, timeout])runs another file..jsxbinis a compiled form that "may not be usable with all of the scripting integration features". $.osnames the operating system;system.osNameis blank on Windows.- Use
generateRandomNumber()rather thanMath.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.itemis documented as[0..numItems]; treat it as 1-based like every other collection. Remove items while counting down, not up. instanceofmatches only the most specific class. A text layer isinstanceof TextLayerbut notinstanceof AVLayer.item instanceof CompItemis the usual test before treatingactiveItemas 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].setValuealso accepts[r, g, b]there (alpha becomes 1), but an expression on it must return four values ("expression result must be of dimensi
Установить 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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic