Skip to main content

Examples

This page is generated from the shared example catalog in docs/source/examples/manifest.json.

Currently included in docs: 48 example(s).

Patterns

Apply One Audio Effect On An Isolated Sequence

Apply One Audio Effect On An Isolated Sequence

Creates a fresh sequence from one source item, applies one audio effect to the first audio clip, and verifies that the component count increases by one.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-audio-effect-apply-on-isolated-sequence

Topics: effects and component parameters, audio

Source: patterns/ex-audio-effect-apply-on-isolated-sequence.json

Download JSON

Apply One Transition On An Isolated Sequence

Apply One Transition On An Isolated Sequence

Creates a fresh sequence from one source item, applies a single-sided transition to the first clip, and verifies that one transition item was added.

kind: Pattern · format: runtime-dsl · validation: Schema only · id: pattern-transition-apply-single-sided-on-isolated-sequence

Topics: transitions, track item mutation

Source: patterns/ex-transition-apply-single-sided-on-isolated-sequence.json

Download JSON

Apply One Video Effect On An Isolated Sequence

Apply One Video Effect On An Isolated Sequence

Creates a fresh sequence from one source item, applies one video effect to the first clip, and verifies that the component count increases by one.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-video-effect-apply-on-isolated-sequence

Topics: effects and component parameters, track item mutation

Source: patterns/ex-video-effect-apply-on-isolated-sequence.json

Download JSON

Build A Prompt Dialog

Build A Prompt Dialog

Shows how to build a multi-field dialog from several `UI Prompt Field` values and one `UI Prompt Form` block.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-ui-build-prompt-form

Topics: dialogs, user input

Source: patterns/ex-ui-build-prompt-form.json

Download JSON

Copy File Into Created Folder

Copy File Into Created Folder

Builds a sibling destination folder and file path, creates the folder, then copies the file into it.

kind: Pattern · format: runtime-dsl · validation: Schema only · id: pattern-files-copy-into-created-folder

Topics: files, path handling

Source: patterns/ex-files-copy-into-created-folder.json

Download JSON

Create Empty Sequence Matching Selected Item And Place It

Create Empty Sequence Matching Selected Item And Place It

Creates an empty sequence whose settings match the first selected project item, stores the returned sequence ref, then places the item explicitly into that sequence.

kind: Pattern · format: runtime-dsl · validation: Manual workspace · id: pattern-sequence-create-matching-item-and-place

Topics: sequence creation, project inspection, timeline placement, matched sequence settings

Source: patterns/ex-sequence-create-matching-item-and-place.json

Download JSON

Create Sequence And Reuse Its Ref

Create Sequence And Reuse Its Ref

Creates a sequence, stores the returned sequence ref, then uses that ref in a later read.

kind: Pattern · format: runtime-dsl · validation: Manual workspace · id: pattern-sequence-create-store-ref

Topics: sequence creation

Source: patterns/ex-sequence-create-store-ref.json

Download JSON

Create Sequence From Local .sqpreset Path

Create Sequence From Local `.sqpreset` Path

Creates a sequence from a fixed local `.sqpreset` path. This stays visible as the canonical local-path counterpart to the portable embedded-preset example, and its runtime check confirms that the unusual 2000x1000 frame size really came from the preset.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-sequence-create-from-preset-fixed-path

Topics: sequence creation, presets, runtime validation

Source: patterns/ex-sequence-create-from-preset-fixed-path.json

Download JSON

Create Sequence From Selected Item And Place Into It

Create Sequence From Selected Item And Place Into It

Creates a sequence from the first selected project item, then uses the stored sequence ref for a follow-up placement.

kind: Pattern · format: runtime-dsl · validation: Manual workspace · id: pattern-sequence-create-from-selected-and-place

Topics: sequence creation, project inspection, timeline placement

Source: patterns/ex-sequence-create-from-selected-and-place.json

Download JSON

Export Spreadsheet With Save Dialog

Export Spreadsheet With Save Dialog

Uses `saveFileDialog` with supported spreadsheet suffixes, writes a header row, then appends data rows.

kind: Pattern · format: runtime-dsl · validation: Schema only · id: pattern-spreadsheet-export-with-save-dialog

Topics: spreadsheet export, save dialogs

Source: patterns/ex-spreadsheet-export-with-save-dialog.json

Download JSON

Flush Buffered File Write With Sleep

Flush Buffered File Write With Sleep

Writes a text file into the runtime buffer, then uses sleep as a zero-delay sync point to flush buffered file writes before continuing.

kind: Pattern · format: runtime-dsl · validation: Schema only · id: pattern-files-flush-buffered-write-with-sleep

Topics: files, synchronization

Source: patterns/ex-files-flush-buffered-write-with-sleep.json

Download JSON

Import Local Media File Into Project

Import Local Media File Into Project

Imports a fixed local media file into the current Premiere project with `avoidDuplicates=true`. This stays visible as the canonical local-path counterpart to the portable embedded-media ABSCRIPT example.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-project-import-local-media-file

Topics: project import, embedded assets, runtime validation

Source: patterns/ex-project-import-local-media-file.json

Download JSON

Insert Local MOGRT Into Active Sequence

Insert Local MOGRT Into Active Sequence

Minimal API pattern for placing a local `.mogrt` file into the active sequence. This stays visible as the canonical local-path counterpart to the portable embedded-MOGRT ABSCRIPT example.

kind: Pattern · format: runtime-dsl · validation: Schema only · id: pattern-sequence-insert-local-mogrt

Topics: motion graphics templates, timeline placement

Source: patterns/ex-sequence-insert-local-mogrt.json

Download JSON

Iterate All Video Tracks

Iterate All Video Tracks

Iterates all video tracks in the active sequence and collects their names.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-tracks-iterate-active-video

Topics: track iteration, sequence inspection

Source: patterns/ex-tracks-iterate-active-video.json

Download JSON

Iterate Clips In V1

Iterate Clips In V1

Resolves V1 and loops over all clip items on that track.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-track-items-iterate-v1-clips

Topics: track iteration, clip iteration

Source: patterns/ex-track-items-iterate-v1-clips.json

Download JSON

List Selected Project Items

List Selected Project Items

Minimal pattern for reading selected project items and counting them.

kind: Pattern · format: runtime-dsl · validation: Manual workspace · id: pattern-project-items-list-selected

Topics: project inspection, selection

Source: patterns/ex-project-items-list-selected.json

Download JSON

List Sequence Markers

List Sequence Markers

Loops over sequence markers on the active sequence and collects their names.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-markers-list-active-sequence

Topics: markers, sequence inspection

Source: patterns/ex-markers-list-active-sequence.json

Download JSON

Mutate And Restore One Project Item

Mutate And Restore One Project Item

Renames and relabels the source project item, then restores both properties so the fixture remains clean.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-project-item-mutate-and-restore

Topics: project items, metadata mutation

Source: patterns/ex-project-item-mutate-and-restore.json

Download JSON

Mutate One Track Item On An Isolated Sequence

Mutate One Track Item On An Isolated Sequence

Creates a fresh sequence from one source item, renames, disables, moves, and clones the first clip, then verifies each observable mutation.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-track-item-mutate-on-isolated-sequence

Topics: track items, timeline mutation

Source: patterns/ex-track-item-mutate-on-isolated-sequence.json

Download JSON

Place Multiple Source Ranges From One Clip

Place Multiple Source Ranges From One Clip

Creates an empty sequence, then fills it with three explicit source ranges from one clip while verifying the original project-item in/out gets restored afterward.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-sequence-place-multiple-source-ranges-from-one-clip

Topics: timeline placement, source range placement, sequence creation

Source: patterns/ex-sequence-place-multiple-source-ranges-from-one-clip.json

Download JSON

Read Active Sequence Summary

Read Active Sequence Summary

Reads the active sequence name and video track count.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-sequence-read-active-summary

Topics: sequence inspection

Source: patterns/ex-sequence-read-active-summary.json

Download JSON

Rename File By Changing Extension

Rename File By Changing Extension

Builds a new leaf name from the original file name without extension, then renames the file inside its current parent folder.

kind: Pattern · format: runtime-dsl · validation: Schema only · id: pattern-files-rename-by-changing-extension

Topics: files, path handling

Source: patterns/ex-files-rename-by-changing-extension.json

Download JSON

Render Active Sequence With Preset

Render Active Sequence With Preset

Builds an explicit output path from a preset-derived extension, then renders the active sequence directly.

kind: Pattern · format: runtime-dsl · validation: Schema only · id: pattern-sequence-render-active-with-preset

Topics: rendering and export, sequence export, presets

Source: patterns/ex-sequence-render-active-with-preset.json

Download JSON

Render Active-Sequence Frames At Equal Distances To Fixed Folder

Render Active-Sequence Frames At Equal Distances To Fixed Folder

Exports a small evenly spaced set of `.png` frames across the active sequence to a fixed folder path, so visual timeline sampling can be runtime-validated deterministically.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-sequence-render-active-sequence-frames-equal-distances-fixed-folder

Topics: frame export, visual probing, timeline sampling, runtime validation

Source: patterns/ex-sequence-render-active-sequence-frames-equal-distances-fixed-folder.json

Download JSON

Render Frames At Sequence Markers To Fixed Folder

Render Frames At Sequence Markers To Fixed Folder

Exports one `.png` frame per active-sequence marker to a fixed folder path, so marker-driven still export can be runtime-validated deterministically.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-markers-render-active-sequence-frames-fixed-folder

Topics: markers, frame export, review stills, runtime validation

Source: patterns/ex-markers-render-active-sequence-frames-fixed-folder.json

Download JSON

Set One Component Parameter

Set One Component Parameter

Resolves a component and parameter, then writes a new value.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-component-param-set-opacity

Topics: effects and component parameters

Source: patterns/ex-component-param-set-opacity.json

Download JSON

Set Project Item In/Out Then Place It

Set Project Item In/Out Then Place It

Sets a clip project item's source in/out, places it into a new sequence without explicit source-range overrides, then verifies that placement used the current project-item range.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-sequence-set-project-item-in-out-and-place

Topics: timeline placement, project item properties, source range placement

Source: patterns/ex-sequence-set-project-item-in-out-and-place.json

Download JSON

Traverse Nested Sequences With Deduped Worklist

Traverse Nested Sequences With Deduped Worklist

Traverses the active sequence and nested sequences through a pending/seen worklist so nested sequence refs are not processed twice.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-sequence-traverse-nested-deduped

Topics: sequence traversal, nested sequences, clip iteration, lists

Source: patterns/ex-sequence-traverse-nested-deduped.json

Download JSON

Write Text File At Fixed Path

Write Text File At Fixed Path

Writes a short text file with `append=false` and `flushNow=true`, then reads it back to verify the exact content.

kind: Pattern · format: runtime-dsl · validation: MCP fixture · id: pattern-files-write-text-file-fixed-path

Topics: files, text output

Source: patterns/ex-files-write-text-file-fixed-path.json

Download JSON

Recipes

Export Sequence Markers To SRT

Export Sequence Markers To SRT

Prompts for the subtitle text source first, then exports active-sequence markers to an `.srt` file while skipping empty resolved text and zero-duration markers.

kind: Recipe · format: persisted-document · validation: Schema only · id: recipe-markers-export-active-sequence-to-srt

Topics: markers, subtitles, SRT export, save dialogs, marker comments

Source: recipes/ex-markers-export-active-sequence-to-srt.json

Download JSON

Export Sequence Markers To YouTube Chapter Text

Export Sequence Markers To YouTube Chapter Text

Prompts for the chapter title source and output mode, then exports active-sequence markers as YouTube chapter lines to the clipboard or a `.txt` file while skipping empty resolved text.

kind: Recipe · format: persisted-document · validation: Schema only · id: recipe-markers-export-active-sequence-to-youtube-chapter-text

Topics: markers, YouTube chapters, text export, clipboard workflows, save dialogs, marker comments

Source: recipes/ex-markers-export-active-sequence-to-youtube-chapter-text.json

Download JSON

Export Transcript And Reference Frame

Export Transcript And Reference Frame

Creates a temporary sequence from the first selected project item, waits briefly, exports transcript JSON if available, and writes one reference frame for visual verification.

kind: Recipe · format: runtime-dsl · validation: Schema only · id: recipe-semantic-export-transcript-and-reference-frame

Topics: semantic probing, transcript, frame export, visual verification

Source: recipes/ex-semantic-export-transcript-and-reference-frame.json

Download JSON

Import SRT As Sequence Markers

Import SRT As Sequence Markers

Prompts for marker text-target options, optionally clears existing active-sequence markers, then imports subtitle entries from an `.srt` file as sequence markers.

kind: Recipe · format: persisted-document · validation: Schema only · id: recipe-markers-import-srt-as-sequence-markers

Topics: markers, subtitles, SRT import, file dialogs, marker comments

Source: recipes/ex-markers-import-srt-as-sequence-markers.json

Download JSON

Import YouTube Chapter Text As Sequence Markers

Import YouTube Chapter Text As Sequence Markers

Prompts for a pasted chapter block or a text file, optionally clears existing active-sequence markers, then imports YouTube-style chapter lines as sequence markers.

kind: Recipe · format: persisted-document · validation: Schema only · id: recipe-markers-import-youtube-chapter-text-as-sequence-markers

Topics: markers, YouTube chapters, text import, file dialogs, multiline prompts, marker comments

Source: recipes/ex-markers-import-youtube-chapter-text-as-sequence-markers.json

Download JSON

Prepare Selected Clip Transcript After Sequence Placement

Prepare Selected Clip Transcript After Sequence Placement

Creates a temporary sequence from the first selected project item, waits briefly, then exports the clip transcript JSON to a deterministic file path.

kind: Recipe · format: runtime-dsl · validation: Schema only · id: recipe-semantic-export-transcript-after-sequence-placement

Topics: semantic probing, transcript, sequence placement, transcript readiness

Source: recipes/ex-semantic-export-transcript-after-sequence-placement.json

Download JSON

Render Frames At Sequence Markers

Render Frames At Sequence Markers

Prompts for an output folder, then exports one `.png` still image per active-sequence marker at the sequence's native frame size.

kind: Recipe · format: persisted-document · validation: Schema only · id: recipe-markers-render-active-sequence-frames

Topics: markers, frame export, review stills, folder dialogs

Source: recipes/ex-markers-render-active-sequence-frames.json

Download JSON

Render Marker Ranges With Export Preset

Render Marker Ranges With Export Preset

Prompts for an `.epr` preset and an output folder, then renders one file per non-zero-duration active-sequence marker by setting sequence in/out and exporting that range.

kind: Recipe · format: persisted-document · validation: Schema only · id: recipe-markers-render-active-sequence-ranges-with-preset

Topics: markers, rendering and export, sequence export, presets, file dialogs, folder dialogs

Source: recipes/ex-markers-render-active-sequence-ranges-with-preset.json

Download JSON

Probes

Probe Active Sequence Time Settings

Probe Active Sequence Time Settings

Logs the active sequence timebase, display formats, frame rate, sample rate, zero point, and player position.

kind: Probe · format: runtime-dsl · validation: Manual workspace · id: probe-time-sequence-settings-audit

Topics: time and timecode, sequence metadata, discovery probes

Source: probes/ex-time-sequence-settings-audit.json

Download JSON

Probe Basic Transcript Readiness

Probe Basic Transcript Readiness

Checks transcript presence for the first selected project item, exports transcript JSON when present, and logs obvious placeholder signals without pretending to certify completion.

kind: Probe · format: runtime-dsl · validation: Schema only · id: probe-transcript-readiness-selected-project-item

Topics: semantic probing, transcript readiness, discovery probes

Source: probes/ex-transcript-readiness-selected-project-item.json

Download JSON

Probe Transcript Export From Selected Project Item

Probe Transcript Export From Selected Project Item

Exports transcript JSON from the first selected project item when available and logs the resulting file path, JSON length, and transcript-presence state.

kind: Probe · format: runtime-dsl · validation: Schema only · id: probe-transcript-export-selected-project-item

Topics: semantic probing, transcript, discovery probes

Source: probes/ex-transcript-export-selected-project-item.json

Download JSON

Formats

Create Sequence From Embedded Preset As ABSCRIPT Build Spec

Create Sequence From Embedded Preset As ABSCRIPT Build Spec

Portable ABSCRIPT BUILD SPEC example that prompts for an `.sqpreset` file, embeds it, and feeds it into `prSequenceCreate.inputs.presetPath`. This is the portable counterpart to the visible local `.sqpreset` path example.

kind: Format · format: abscript-build-spec · validation: Schema only · id: format-abscript-build-spec-prompt-sequence-create-from-preset

Topics: format selection, embedded assets, sequence creation, presets

New to bundled files? Read Embedding Files.

Source: formats/ex-format-abscript-build-spec-prompt-sequence-create-from-preset.json

Download JSON

Import Embedded Media As ABSCRIPT Build Spec

Import Embedded Media As ABSCRIPT Build Spec

Portable ABSCRIPT BUILD SPEC example with a `PROMPT_FILE` asset source and an `embedded://...` import. This is the portable counterpart to the visible local-path media-import pattern.

kind: Format · format: abscript-build-spec · validation: Schema only · id: format-abscript-build-spec-prompt-file-import

Topics: format selection, embedded assets

New to bundled files? Read Embedding Files.

Source: formats/ex-format-abscript-build-spec-prompt-file-import.json

Download JSON

Insert Embedded MOGRT As ABSCRIPT Build Spec

Insert Embedded MOGRT As ABSCRIPT Build Spec

Portable ABSCRIPT BUILD SPEC example that prompts for a `.mogrt` file, embeds it, and inserts it into the active sequence via `prInsertMogrtFromPath`. This is the portable counterpart to the visible local-path MOGRT pattern.

kind: Format · format: abscript-build-spec · validation: Schema only · id: format-abscript-build-spec-prompt-mogrt-insert

Topics: format selection, embedded assets, motion graphics templates

New to bundled files? Read Embedding Files.

Source: formats/ex-format-abscript-build-spec-prompt-mogrt-insert.json

Download JSON

Log Active Sequence As ABSCRIPT Build Spec

Log Active Sequence As ABSCRIPT Build Spec

The same minimal workflow wrapped as ABSCRIPT Build Spec output.

kind: Format · format: abscript-build-spec · validation: Schema only · id: format-abscript-build-spec-log-active-sequence

Topics: format selection

New to bundled files? Read Embedding Files.

Source: formats/ex-format-abscript-build-spec-log-active-sequence.json

Download JSON

Log Active Sequence As Persisted Document

Log Active Sequence As Persisted Document

The same minimal workflow wrapped as persisted document JSON.

kind: Format · format: persisted-document · validation: Schema only · id: format-persisted-document-log-active-sequence

Topics: format selection

Source: formats/ex-format-persisted-document-log-active-sequence.json

Download JSON

Log Active Sequence As Runtime DSL

Log Active Sequence As Runtime DSL

Minimal direct-execution example as raw runtime DSL.

kind: Format · format: runtime-dsl · validation: MCP fixture · id: format-runtime-log-active-sequence

Topics: format selection

Source: formats/ex-format-runtime-log-active-sequence.json

Download JSON

Open Embedded Project As ABSCRIPT Build Spec

Open Embedded Project As ABSCRIPT Build Spec

Portable ABSCRIPT BUILD SPEC example that prompts for a `.prproj` file, embeds it, and opens it with `prProjectOpen`.

kind: Format · format: abscript-build-spec · validation: Schema only · id: format-abscript-build-spec-prompt-project-open

Topics: format selection, embedded assets, project management

New to bundled files? Read Embedding Files.

Source: formats/ex-format-abscript-build-spec-prompt-project-open.json

Download JSON

Render Sequence With Embedded Preset As ABSCRIPT Build Spec

Render Sequence With Embedded Preset As ABSCRIPT Build Spec

Portable ABSCRIPT BUILD SPEC example that prompts for an `.epr` preset file, embeds it, derives the output suffix, and renders the active sequence. This is the portable embedded-preset counterpart to the runtime render patterns that use known preset paths.

kind: Format · format: abscript-build-spec · validation: Schema only · id: format-abscript-build-spec-prompt-sequence-render

Topics: format selection, embedded assets, rendering and export, presets

New to bundled files? Read Embedding Files.

Source: formats/ex-format-abscript-build-spec-prompt-sequence-render.json

Download JSON