Logo van Aftereffects Py Aep

Aftereffects Py Aep

Community
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.

Overzicht

Uitgeveryumehiko
Repositoryae-agent-skills
Skillnaamaftereffects-py-aep
Sterren
38
Forks
3
Meegeleverde bestanden
13
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 13

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door yumehiko op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Aftereffects Py Aep in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/yumehiko/ae-agent-skills/tree/main/skills/aftereffects-py-aep
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Aftereffects Py Aep in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Aftereffects Py Aep automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Aftereffects Py Aep niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Aftereffects Py Aep gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Aftereffects Py Aep bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Aftereffects Py Aep in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/yumehiko/ae-agent-skills/tree/main/skills/aftereffects-py-aep. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Aftereffects Py Aep gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Aftereffects Py Aep gebruiken?

Zoveel als je wilt. Je kunt Aftereffects Py Aep gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Aftereffects Py Aep gratis?

Ja. Deze skill is door yumehiko op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇