agentleFS
drinkspillerdrinkspiller/skills/ae-inspect-describe/SKILL.md

ae-inspect-describe

Skill1 starsChanged 6 days agoUnlicenseView on GitHub

Inspects active Adobe After Effects compositions via the AE MCP bridge to generate technical motion specs and interactive HTML/CSS/JS WAAPI prototypes. Use when auditing AE keyframes/expressions or translating AE animations to web UI.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 6 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before executing the inspection workflow:

    line 16
  2. Very specific:

    Verify MCP Server Availability: Check if the After Effects MCP server tools (e.g., run-script, get-results, setLayerKeyframe, …

    line 18
  3. Distinctive:

    Do not attempt to guess or hallucinate composition layers, keyframes, or effect parameters without the live MCP bridge.

    line 34
  4. Very specific:

    Call the get-help tool first to retrieve the server's current capability documentation, available predefined scripts, and supported …

    line 46
  5. Very specific:

    Read the aftereffects://compositions resource via read_resource to list all compositions in the current project.

    line 53
  6. Very specific:

    If any run-script or get-results call returns an error:

    line 96
  7. Distinctive:

    Never hallucinate results: after a failed MCP call. Always report the failure and ask the user how to proceed.

    line 106
  8. Distinctive:

    Before generating the final implementation plan, check with the user regarding their motion accessibility preference:

    line 113
  9. Very specific:

    Ask how they want to handle prefers-reduced-motion preferences (e.g., providing an instant opacity fade fallback, zero-amplitude resting …

    line 116
  10. Distinctive:

    Document keyframe data: spatial interpolation, temporal easing handles (influence & speed percentages), and cycle durations.

    line 145
  11. Very specific:

    When requested or when validating complex multi-layer or sequential animations, generate a fully interactive, self-contained HTML/CSS/JS …

    line 178
  12. Very specific:

    Track 1 (Spatial Translation): Use dedicated 2-point keyframe tracks (translateX/translateY) driven continuously by After Effects easing …

    line 191
  13. Distinctive:

    Track 2 (Concurrent Opacity Cross-Dissolve): Run opacity fades on an independent animation track across smooth cross-dissolve windows.

    line 194
  14. Very specific:

    CRITICAL ANTI-PATTERN: NEVER combine spatial displacement and opacity into a single multi-point keyframe array with intermediate offsets …

    line 196

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

After Effects Inspect & Describe

Prerequisite: This skill requires the After Effects MCP server (https://github.com/Dakkshin/after-effects-mcp).

Pre-Flight Check: MCP Server Availability

Before executing the inspection workflow:

  1. Verify MCP Server Availability: Check if the After Effects MCP server tools (e.g., run-script, get-results, setLayerKeyframe, setLayerExpression, apply-effect, or mcp_aftereffects_* tools) are available in the active session.
  2. If NOT Found or Unreachable:

    • Stop execution immediately.
    • Reply to the user with the following message:

      The After Effects MCP server could not be found. Please ensure
      After Effects is running with the MCP bridge active, and
      install/configure the MCP server from:
      https://github.com/Dakkshin/after-effects-mcp
    • Do not attempt to guess or hallucinate composition layers, keyframes, or effect parameters without the live MCP bridge.
  3. If Found: Proceed with the inspection workflow below.

MCP Tool Execution Flow

Query the active After Effects state systematically using the MCP bridge.

Step 0: Discover Server Capabilities

Call the get-help tool first to retrieve the server's current capability documentation, available predefined scripts, and supported operations. This orients the agent to the specific server version and configuration before committing to an extraction sequence.

Step 1: Discover Compositions

Read the aftereffects://compositions resource via read_resource to list all compositions in the current project. This is the simplest path to discover composition names and IDs.

Alternatively, use the list-compositions MCP prompt (note: this is a prompt, not a tool — invoke it via the prompt interface, not call_mcp_tool).

Step 2: Inspect Project & Composition Settings

Execute run-script to extract canvas resolution, frame rate, duration, and background color. The run-script tool accepts the following JSON input shape:

{
  "script": "<predefined-script-name>",
  "parameters": { "<key>": "<value>" }
}

The script parameter accepts predefined script names registered with the MCP server (e.g., project info or layer info scripts). The exact names depend on the server's configuration — consult the get-help output from Step 0 to identify available scripts. After calling run-script, always call get-results to retrieve the output.

Step 3: Extract Layer Tree

Execute run-script with the appropriate layer info script and pass the target composition name via the parameters field. Follow with get-results to extract the complete layer stack, parent-child hierarchies, blend modes, track mattes, and key transform properties.

Step 4: Deep Effect & Expression Introspection

For custom effect pipelines, individual parameter controls, or expression strings not fully captured in the top-level dump, execute targeted ExtendScript snippets via run-script to read layer.property("Effects"), expression text, and keyframe easing handles.


Error Handling

If any run-script or get-results call returns an error:

  • No project open: Inform the user that After Effects has no active project. Do not proceed with inspection.
  • Composition not found: Report the exact name that failed and list available compositions from the aftereffects://compositions resource so the user can select the correct one.
  • Script execution timeout or unknown script: Fall back to get-help to re-check available predefined scripts, or ask the user to confirm the server version supports the requested operation.
  • Never hallucinate results after a failed MCP call. Always report the failure and ask the user how to proceed.

User Consultation: Motion Accessibility

Before generating the final implementation plan, check with the user regarding their motion accessibility preference:

  • Ask how they want to handle prefers-reduced-motion preferences (e.g., providing an instant opacity fade fallback, zero-amplitude resting state, static layout snapshot, or standard animation only).
  • Incorporate their preference directly into the engineering and implementation sections of the specification.

Motion Inspection & Translation Specification

Generate an exhaustive technical and motion design specification for translating the inspected composition into a production web/app UI animation.

Your analysis must include:

  1. Composition & Layer Hierarchy:

    • Canvas resolution, frame rate, duration, and background color.
    • Complete layer stack (names, types, parent-child hierarchies, blending modes, track mattes).
    • Where appropriate to the composition's structure, describe the natural layer hierarchy without forcing artificial tiering.
  2. Effects, Expressions & Keyframe Audit:

    • Extract every applied effect (e.g., Gaussian Blur, Turbulent Displace, Gradient Ramp, Noise) with exact property values.
    • Transcribe and deconstruct all ExtendScript / AE expressions (e.g., time * x, wiggle(), linear(), ease(), ping-pong evolution).
    • Document keyframe data: spatial interpolation, temporal easing handles (influence & speed percentages), and cycle durations.
  3. Motion Designer's Visual Breakdown:

    • Character and visual aesthetic of the animation (cadence, rhythm, breathing cycles, spatial weight distribution).
    • Behavior at screen boundaries (e.g., edge pinning, bounce vs. translation/drift).
  4. Engineering & Algorithmic Translation:

    • Map each After Effects technique to its modern web/native counterpart (e.g., WebGL fragment shader, Canvas 2D, Three.js, or CSS/SVG).
    • Provide the mathematical formulation reproducing the visual physics of all motions (harmonic oscillations, 3D simplex noise slices, Gaussian diffusion kernels, transition easing curves).
    • Color architecture: exact hex values, color chord pairs, hold durations, and cross-fade math.
    • Accessibility handling: concrete implementation details adhering to the user's selected reduced-motion approach.
  5. Production Implementation Plan:

    • Minimal code skeleton implementing the motion in a standalone static page.
    • Interactive control handles (sliders/dropdowns) with recommended default values matching the AE composition.

Interactive Local Prototype Generation

When requested or when validating complex multi-layer or sequential animations, generate a fully interactive, self-contained HTML/CSS/JS prototype:

  1. Standalone & Zero External Runtime Dependencies:

    • Embed all footage and graphic assets directly as base64 data URIs or clean relative paths.
    • Implement background shaders via standard WebGL canvas with real-time simplex noise domain warping matching AE turbulent displace and gradient ramps.
  2. Dual-Track Web Animations API (WAAPI) Engine:

    • Track 1 (Spatial Translation): Use dedicated 2-point keyframe tracks (translateX/translateY) driven continuously by After Effects easing (e.g., AE Quintic Deceleration: cubic-bezier(0.20, 0.0, 0.0, 1.0)).
    • Track 2 (Concurrent Opacity Cross-Dissolve): Run opacity fades on an independent animation track across smooth cross-dissolve windows.
    • CRITICAL ANTI-PATTERN: NEVER combine spatial displacement and opacity into a single multi-point keyframe array with intermediate offsets (offset: 0.25, offset: 0.4) when using non-linear easing in WAAPI. Browsers evaluate easing independently per sub-segment, causing elements to move invisibly and pop/snap into place.
  3. Physical Layer Stacking & Occlusion Geometry:

    • Establish explicit physical z-index hierarchies (e.g., foreground cards at z-index: 5, underlays at z-index: 2).
    • Calculate launch coordinates relative to foreground bounding boxes so underlay layers start $100%$ hidden behind foreground elements and glide naturally into view with appropriate stagger delays.
  4. Continuous Transition Lifecycle:

    • In multi-state carousels, execute outgoing and incoming transitions simultaneously in parallel without globally canceling resting animations, preventing DOM elements from abruptly resetting to baseline hidden states.
  5. Interactive HUD Controls:

    • Equip the prototype with real-time tuning sliders for animation duration, stagger delays, opacity windows, and shader speed.
    • Include navigation controls, slow-motion toggles, an intro replay button, and a prefers-reduced-motion accessibility toggle.
    • Implement responsive auto-scaling (scale(min(scaleX, scaleY))) so the fixed composition stage fits comfortably in any browser viewport.

Output Artifact & Reporting Format

  1. Write Specification Artifact: Persist the complete, exhaustive specification to a dedicated Markdown artifact (ae_motion_spec.md).
  2. Prototype Deliverable: Persist the standalone interactive prototype to index.html (e.g. within an *-prototype directory) and verify in the browser.
  3. Chat Summary: In the chat response, deliver a high-level executive summary covering the composition identity, core visual physics, key technical translation decisions, and accessibility strategy, accompanied by a direct reference to the generated ae_motion_spec.md artifact and prototype.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.