Contributing automation templates
An enabled plugin can add immutable starter workflows to the Automation Templates
catalog. Declare each portable automation envelope in manifest.yml; no Python import
or handler is required:
automation_templates:
- id: clear-runtime-memory
title: Clear runtime memory
description: Release memory held by this runtime after a generation finishes.
category: system
icon: trash
tags: [memory, gpu]
path: automations/clear-runtime-memory.jsonid must contain lowercase letters, numbers, underscores, or hyphens and is namespaced
at runtime as plugin:<plugin-id>:<id> (core templates use core:<id>). path is
relative to the plugin directory and cannot escape it. The JSON file uses the same
potionui.automation schema produced by the automation export endpoint.
Templates are catalog entries, not live automations. Choosing one creates a new, user-owned, disabled automation through the normal import validation path. If its node types are unavailable, the catalog explains which requirements are missing and prevents instantiation. Disabling the plugin removes its templates from the catalog; automations users already created from them remain theirs.