Koskamo

Generate and Apply After Effects Expressions

The agent writes, applies, and debugs complex After Effects expressions (e.g., wiggle, bounce, text formatting) directly on selected layers, ensuring they function correctly within the composition without manual coding.

How it works

Changes data in your accountsDesign and content

The agent reads the current composition to identify the selected layer and property. It generates the appropriate JavaScript expression based on the user's natural language request. It applies the expression to the specific property. If After Effects returns an error, the agent reads the error message, rewrites the expression, and re-applies it until it works. The user should verify the visual result by scrubbing the timeline.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Generate and Apply After Effects Expressions
Wiggle the selected layer's position, with a slider on the layer for the amount. Then, give this scale an inertial bounce when it lands on its last keyframe.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Connected, ChatGPT writes each expression against the property's real name and type, applies it, and rewrites it when After Effects rejects it.
ChatGPT for After Effects, connected to your comp | OnePrism

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.