after-effects
БесплатноЗапускает вложенные скриптыНе проверенAutomate Adobe After Effects via ExtendScript. Use when the user asks to create, modify, or query anything in an After Effects project — layers, keyframes…
от aedev-tools★ 120 звёзд на GitHubОб этом скилле
Overview
This skill automates After Effects by generating ExtendScript (.jsx) and executing it via osascript. It reads project state through query scripts, uses rule files for domain knowledge, and wraps all mutations in undo groups.
First-Time Setup
- Run
scripts/runner.shwith any query script to detect the AE version - If multiple AE versions are installed, the user must choose one — runner.sh will prompt
- Ensure AE Preferences > Scripting & Expressions > "Allow Scripts to Write Files and Access Network" is enabled
Workflow
For every user request:
Step 1: Gather context (auto-run, no confirmation needed)
Use --background for all query scripts — this skips ae.activate() so AE doesn't steal focus:
bash scripts/runner.sh --background scripts/active-state.jsx
Then read /tmp/ae-assistant-result.json for active comp, selected layers, CTI.
If this is the first interaction or the project context is unknown, also run:
bash scripts/runner.sh --background scripts/project-overview.jsx
This returns a summary by default: folder tree with counts, all comps listed, footage grouped by file type. NOT every individual file.
To drill into a specific folder:
bash scripts/runner.sh --background scripts/project-overview.jsx '{"mode": "folder", "folderName": "Images"}'
Only use full mode when you actually need every item listed:
bash scripts/runner.sh --background scripts/project-overview.jsx '{"mode": "full"}'
Step 2: Drill down if needed (auto-run)
If the task targets a specific comp:
bash scripts/runner.sh --background scripts/comp-detail.jsx '{"compName": "Comp Name"}'
If the task targets specific layers:
bash scripts/runner.sh --background scripts/layer-detail.jsx '{"layerNames": ["Layer 1", "Layer 2"]}'
Omit compName to use the active comp. Omit layerNames to use selected layers.
Additional query scripts
Expression errors — scan for broken expressions:
bash scripts/runner.sh --background scripts/expression-errors.jsx
bash scripts/runner.sh --background scripts/expression-errors.jsx '{"compName": "Main Comp"}'
Font inventory — list all fonts used across the project:
bash scripts/runner.sh --background scripts/font-inventory.jsx
Project audit — comprehensive health check (unused footage, missing files, expression errors, duplicate solids, font issues, empty folders):
bash scripts/runner.sh --background scripts/project-audit.jsx
bash scripts/runner.sh --background scripts/project-audit.jsx '{"checks": ["unused", "missing", "expressions"]}'
Step 3: Load domain knowledge
Read the relevant rule file from rules/. Always read rules/extendscript-fundamentals.md — it contains ES3 constraints that apply to every generated script.
| Task involves | Load rule file |
|---|---|
| Layers (create, move, parent, duplicate) | rules/layer-manipulation.md |
| Keyframes, animation, easing | rules/keyframes-animation.md |
| Expressions | rules/expressions.md |
| Compositions (create, precompose, nest) | rules/composition-management.md |
| Effects and parameters | rules/effects.md |
| Import, footage, assets | rules/assets-footage.md |
| Render queue, export | rules/rendering.md |
| Bulk/batch operations | rules/batch-operations.md |
| Version-specific features | references/ae-api-versions.md |
Step 4: Generate the action script
CRITICAL: Resolve the skill's real path first
Before writing or executing any action script, resolve the skill's real (non-symlinked) path. ExtendScript #include cannot follow symlinks, so you MUST use the real filesystem path.
Run this once at the start of each session:
SKILL_SCRIPTS="$(readlink -f ~/.claude/skills/after-effects-assistant/scripts 2>/dev/null || readlink ~/.claude/skills/after-effects-assistant/scripts)"
echo "$SKILL_SCRIPTS"
Use the resolved path ($SKILL_SCRIPTS) for all subsequent Write and Bash commands in this session.
Why this matters:
~/.claude/skills/is typically a symlink — ExtendScript#includefails through symlinks- Writing to the real
scripts/directory lets#include "lib/json2.jsx"resolve correctly - The resolved path changes per machine, so never hardcode it
Every generated script MUST follow this template:
#include "lib/json2.jsx"
#include "lib/utils.jsx"
(function() {
app.beginUndoGroup("AE Assistant: <action description>");
try {
var args = readArgs();
var comp = getActiveComp();
if (!comp) return;
// ... action code ...
writeResult({ success: true, message: "<what was done>" });
} catch (e) {
try { writeResult({ error: e.toString(),
Установить after-effects в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(osascript *)Bash(chmod *)Bash(bash *)ReadWriteВложенные файлы
FAQ
Что делает скилл after-effects?
Automate Adobe After Effects via ExtendScript. Use when the user asks to create, modify, or query anything in an After Effects project — layers, keyframes, expressions, effects, compositions, assets, rendering, batch operations. Generates and executes JSX ExtendScript via osascript on macOS.
Как установить скилл after-effects?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл after-effects запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic