Logo: Aftereffects Py Aep

Aftereffects Py Aep

Communautéit
yumehiko
aftereffects-py-aep

Edit, inspect, create, and validate After Effects .aep projects offline with py-aep, without opening After Effects for file-level work. Use for existing AEP template edits, composition/layer/property/keyframe/text/shape/footage/render-queue changes, batch processing, or new AEP creation. Use the bundled ae-cli only when live After Effects is required for rendering, snapshots, expression evaluation/errors, text or shape visual bounds, installed fonts/effects, or open-project runtime state.

Iwwersiicht

Editeuryumehiko
Repositoryae-agent-skills
Skill-Nummaftereffects-py-aep
Stären
38
Forks
3
Matgeliwwert Dateien
13
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 13 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    yumehiko huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Aftereffects Py Aep an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/yumehiko/ae-agent-skills/tree/main/skills/aftereffects-py-aep
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yumehiko/ae-agent-skills.git /tmp/ae-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ae-agent-skills/skills/aftereffects-py-aep .claude/skills/aftereffects-py-aep
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Aftereffects Py Aep an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Aftereffects Py Aep automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Aftereffects Py Aep net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

After Effects with py-aep

Release: ae-agent-skills@0.14.0

Use py_aep directly in one task-specific Python script. Do not translate the edit into scene JSON or a sequence of mutation CLI commands.

Safety contract

  • Never overwrite an input or foundation .aep.
  • Resolve every path and require a nonexistent output path.
  • For an existing project, parse once; for a new project, call py_aep.new() once. Build and mutate the same object graph, then save once.
  • Save to a new .aep; py-aep itself rejects an existing output.
  • Reparse the output and assert the intended semantic result before reporting success.
  • Preserve the task script beside the project, preferably under _automation/.
  • Do not claim visual correctness from a successful binary round-trip.
  • Write trial outputs under _automation/scratch/<task>/; promote only a validated, nonexistent final filename instead of accumulating _v2, _v3, and similar guesses.

Choose the starting point

  • Parse an existing template when matching a series, brand system, or proven AE structure.
  • Start with py_aep.new() when native layers, imported footage, properties, and keyframes can express the job without borrowing complex project parts.
  • Use a minimal foundation AEP when required effects, third-party plugins, color/render setup, or styled components cannot be synthesized reliably from an empty project.

Do this capability check before writing the build script. Prefer the path that minimizes total build and validation work, not the path that uses the fewest tools. For a new project, read references/new-project.md and copy assets/new_project_template.py into the job's _automation/ directory.

Existing-project workflow

  1. Confirm the input path and record its SHA-256.
  2. Get a compact inventory. Run scripts/inspect_aep.py <input.aep> from this skill; it prints a comp summary by default. Add --comp <name> or --comp-id <id> and --brief for timing, source, and evaluated transform data. Use --output to keep large results out of conversation context.
  3. Inspect objects in Python. Filter by type, ID, name, comment, source, or match name; do not dump every property tree into context.
  4. Write one Python script that parses, mutates, saves to a new path, reparses, and asserts.
  5. Run the script and confirm the input SHA-256 did not change.
  6. Use live AE checks only for the runtime-dependent facts listed below.
  7. Copy references/preview-feedback.ja.md beside the task script and record evidence there; no user-specific installation path is required.

Use the installed package source and py-aep documentation for API details instead of copying the API surface into task context. Read references/api-notes.md when property, item, keyframe, or shape traversal is unclear.

Editing pattern

python
from pathlib import Path
import py_aep

source = Path("/absolute/project.aep").resolve()
output = Path("/absolute/project.py-aep-preview.aep").resolve()
if source == output or output.exists():
    raise RuntimeError("Use a new output path")

app = py_aep.parse(source)
project = app.project

matches = [c for c in project.compositions if c.name == "Main"]
if len(matches) != 1:
    raise RuntimeError(f"Expected one Main comp, found {len(matches)}")
comp = matches[0]

# Perform all task mutations here on the same object graph.

project.save(output)

check = py_aep.parse(output).project
check_matches = [c for c in check.compositions if c.name == "Main"]
assert len(check_matches) == 1

Prefer object references after resolving them once. Names are not stable identifiers unless uniqueness was checked. Inspect signatures or docstrings when an API is uncertain:

python
import inspect
print(inspect.signature(comp.precompose))
print(inspect.getdoc(type(comp)))

Keep one task script as the orchestrator. For repeated cut, retime, or static reframe work, separate the narrow edit data from the mechanism instead of embedding every cut in that script. Read references/editorial-workflow.md, then use scripts/edit_edl.py and scripts/render_editorial_proxy.py. Do not use this EDL as a general scene-description language.

Project-panel cleanup is a strong offline use case. Before renaming comps, layers, or footage, scan every enabled expression source for name references; reject ambiguous names and preserve nonempty folders. Solid and placeholder footage names persist in the pinned py-aep 0.19.0; still reparse the saved output and assert every intended rename.

Animation verification

For modified numeric animation, read references/keyframe-verification.md. The pinned py-aep 0.19.0 fixes the ease/timebase bugs reproduced in 0.15.1. Use the public keyframe APIs normally; do not apply an unconditional native rewrite. Independently check modified animation in AE (time, value, interpolation and ease), including after save/reopen, before signoff. The guarded native fallback is only for a demonstrated unsupported case or mismatch, not the default authoring route. A file pass is not an animation pass.

Before opening any output in AE, check health and preserve the existing project and unsaved changes. Coordinate shared app access; never auto-save/discard another task.

Runtime boundary

Use the strict offline editorial proxy for source-content, cut-boundary, and axis-aligned crop decisions when its preflight accepts every layer. Use ae-cli only after opening the new output in After Effects when the task needs:

  • purge: clear RAM and disk caches before visual validation
  • snapshot: rendered PNG evidence
  • expression-errors: actual expression-engine diagnostics
  • bounds: text or shape visual ink bounds
  • list-fonts: fonts installed in the running AE environment
  • properties: comparison against AE's runtime-synthesized property state
  • health: identity and dirty state of the project currently open in AE

Expression source can be read and written offline, but its result cannot be evaluated. Text and shape structures can be edited offline, but their rendered visual bounds are not available from py-aep. Arbitrary new effects may require an effect definition already stored in the project; treat failure to add one as unsupported rather than synthesizing binary data.

Treat structural duplication as high risk. Cross-comp copy_to_comp() clears parent and matte references and may change appearance. Do not use it on parented/matted layers. For a duplicated comp containing parents, mattes, effects, or Essential Properties, keep the original until a fresh AE structure and visual check passes.

Validation levels

  • File pass: output reparses and semantic assertions pass.
  • Offline editorial pass: the strict proxy reproduced source selection, timing, and supported crop geometry. This is independent evidence, not an AE render.
  • AE structure pass: AE opens it and expected comps/layers/properties are present.
  • Visual pass: after opening the output, ae-cli purge succeeded and fresh snapshots or renders were reviewed at every modified transition boundary plus representative hold frames.

Offline-derived projects can reuse stale frames from a predecessor project even when the file and live properties are correct. Never claim a visual pass unless all memory and disk caches were purged immediately beforehand. If ae-cli purge is unavailable, use AE's Edit > Purge > All Memory & Disk Cache manually. State exactly which validation level was reached; a file pass alone is not a visual pass.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Aftereffects Py Aep?

Edit, inspect, create, and validate After Effects .aep projects offline with py-aep, without opening After Effects for file-level work. Use for existing AEP template edits, composition/layer/property/keyframe/text/shape/footage/render-queue changes, batch processing, or new AEP creation. Use the bundled ae-cli only when live After Effects is required for rendering, snapshots, expression evaluation/errors, text or shape visual bounds, installed fonts/effects, or open-project runtime state.

Firwat Aftereffects Py Aep op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Aftereffects Py Aep besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Aftereffects Py Aep an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/yumehiko/ae-agent-skills/tree/main/skills/aftereffects-py-aep an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Aftereffects Py Aep benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Aftereffects Py Aep benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Aftereffects Py Aep domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Aftereffects Py Aep gratis?

Jo. yumehiko huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇