/uipath-maestro-flow
UiPath Maestro Flow, UiPath Flow and Maestro Automate (`.flow` / `.flow.ts` files): build, edit, run, debug, fix, or evaluate a flow. Author with the TypeScript builder SDK (`@uipath/maestro-builder-sdk`): nodes, triggers, schedules, connectors, document extraction (published
Claude Code
$ npx -y skills add uipath/skills --skill uipath-maestro-flow --agent claude-code
Codex
$ npx skills add uipath/skills --skill uipath-maestro-flow -a codex -y
Cursor
$ npx skills add uipath/skills --skill uipath-maestro-flow -a cursor -y
Gemini CLI
$ npx skills add uipath/skills --skill uipath-maestro-flow -a gemini-cli -y
GitHub Copilot
$ npx skills add uipath/skills --skill uipath-maestro-flow -a github-copilot -y
OpenCode
$ npx skills add uipath/skills --skill uipath-maestro-flow -a opencode -y
Windsurf
$ npx skills add uipath/skills --skill uipath-maestro-flow -a windsurf -y
SKILL.md
uipath-maestro-flow.SKILL.mdname: uipath-maestro-flow
description: "UiPath Maestro Flow, UiPath Flow and Maestro Automate (`.flow` / `.flow.ts` files): build, edit, run, debug, fix, or evaluate a flow. Author with the TypeScript builder SDK (`@uipath/maestro-builder-sdk`): nodes, triggers, schedules, connectors, document extraction (published IXP models, or the Extract document node with an inline taxonomy), inline agents, HITL, chat/voice flows, bindings, brownfield edits, and the check/compile/validate loop. Operate: upload, publish, deploy, debug a real run, trigger a process, job status/traces, pause/resume/cancel/retry an instance. Diagnose: faulted runs, incidents, runtime variables, why validate passed but the run failed. Evaluate: eval sets, evaluators, simulations, eval runs. Case plans (`caseplan.case` / `caseplan.json`)→uipath-maestro-case; BPMN (`.bpmn`, `.bpmn.ts`)→uipath-maestro-bpmn. For raw IXP labelling or prompt tuning outside a Flow→uipath-ixp; standalone agents→uipath-agents; C#/XAML→uipath-rpa."
allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
<!-- CANONICAL — edit here, not in UiPath/flow-builder-sdk. Why: docs/SKILLS_PROMOTION_PLAN.md in that repo. -->
UiPath Flow — TypeScript Builder SDK
UiPath Flow uses `@uipath/maestro-builder-sdk` to build type-safe graphs compiled to executable Flow JSON; existing Flow JSON can be decompiled for editing.
Critical Rules
1. **Before writing or editing any flow source, read [`references/author.md`](references/author.md) in full.** It contains separately numbered critical rules, the scope gate, and the required completion report. 2. Before writing a node, read its `Reference` in [Supported node types](#supported-node-types), including signature, example, and hazards. 3. Choose every node from a registry search, never a brand name. 4. Ask when the request leaves a finite decision open, including an input value, range, or combination no stated rule covers; never fold it into a stated value. When the request says no one will answer (headless, CI), use the most defensible stated value and list it under Open questions as **[REQUIRED]**. 5. Handle an error only when the request specifies what should happen. 6. Never re-run `flow debug` to inspect a failed run. 7. Simulate every side-effecting component before an eval set; never `solution upload` in an eval workflow without asking. 8. Run the final pass with the workspace's selected [Lifecycle](#lifecycle) loop after the last edit.
Project layout
<!--skill-flavor:sdk-project-layout:start--> Install `@uipath/maestro-builder-sdk` globally (`npm install -g`), unless present. Examples are in `examples/`; routed details are in `references/`.
A Flow source is `.flow-sdk/<Name>.flow.ts` under `<Solution>/<Name>/`; compiled `<Name>.flow` is not in `.flow-sdk/`. The SDK work directory contains source, `bindings.json`, `connectors/`, and `connectors-local/`, relative to the directory running `uip`; each project has its own. Studio Web does not read it, and `uip solution pack`/`upload` and `flow debug` omit it. Run SDK verbs (`flow check`, `compile`, `decompile`, `merge`, `registry pull`/`prepare`) from `<Solution>/<Name>/`, using `( cd "<Solution>/<Name>" && … )` when your shell does not keep its directory between commands; other commands run from the workspace root. Every `.flow-sdk/` path is project-relative.
Scaffold first, seed from the scaffold, and emit into it; `compile -o` determines the emitted file. `<Solution>` and `<Name>` come from the request: one name given for both ("inside a solution of the same name"), or only the Flow's, serves both. Preserve `<Solution>` exactly, including spaces; normalize `<Name>` to letters, numbers, `_`, and `-` (`Headcount report form` → `HeadcountReportForm`).
Before `uip solution init`, run `find . -maxdepth 2 -name '*.uipx'`. If solutions exist and a user can answer, ask which one (one option per solution, then "Create a new solution", then "Something else") and scaffold only after the answer; never silently create another. Headless: use the named solution, otherwise the only existing one, otherwise create one named above, and record the choice in the final response.
uip solution init "<Solution>"
( cd "<Solution>" && uip maestro flow init <Name> --sdk-source )
# edit <Solution>/<Name>/.flow-sdk/<Name>.flow.ts, then run the Lifecycle loop below
Do not hand-write the skeleton. `--sdk-source` decompiles the trigger-only artifact into `.flow-sdk/<Name>.flow.ts`, creates the folder, and preserves the product-assigned flow id/name; a hand-written `flow('<name>')` invents an id. The first `compile -o` overwrites the stub. `init` answering "already exists and is not empty. Use --force to overwrite" means it exists: never pass `--force`; edit it. An Extract document node is `dynamicExtract()` ([`references/document-pipeline.md`](references/document-pipeline.md)); it needs SDK 6.118.0 or later, else use the CLI.
When the request names **Maestro Automate** as the product, run `( cd "<Solution>" && uip maestro flow init <Name> --automate --sdk-source )`; bare "automate invoice intake" means a plain Flow. Nothing after `init` changes: it writes `runtimeOptions.profile` to `operate.json` and a `.maestro_automate` marker; `compile -o` rewrites only `.flow`, so both survive.
When `<Solution>/<Name>/` existed before this turn, skip `init`; edit its `<Name>.flow` via [Editing an existing flow](#editing-an-existing-flow), never by compiling an earlier turn's source over it. Keep `.flow-sdk/<Name>.flow.ts`, the `<Name>` directory, and `<Name>.flow` aligned. Exactly one `<Name>.flow` may exist at `<Solution>/<Name>/<Name>.flow`, never at the workspace root. Root emission is only for packaged-SDK local gates, which do not scaffold; choose [Lifecycle](#lifecycle) first and do not mix loops.
**Install the SDK first, once per machine:** `npm install -g @uipath/maestro-builder-sdk`; skip it when already installed, and see [`references/CLI-LOOP.
Read more
name: uipath-maestro-flow description: "UiPath Maestro Flow, UiPath Flow and Maestro Automate (`.flow` / `.flow.ts` files): build, edit, run, debug, fix, or evaluate a flow. Author with the TypeScript builder SDK (`@uipath/maestro-builder-sdk`): nodes, triggers, schedules, connectors, document extraction (published IXP models, or the Extract document node with an inline taxonomy), inline agents, HITL, chat/voice flows, bindings, brownfield edits, and the check/compile/validate loop. Operate: upload, publish, deploy, debug a real run, trigger a process, job status/traces, pause/resume/cancel/retry an instance. Diagnose: faulted runs, incidents, runtime variables, why validate passed but the run failed. Evaluate: eval sets, evaluators, simulations, eval runs. Case plans (`caseplan.case` / `caseplan.json`)→uipath-maestro-case; BPMN (`.bpmn`, `.bpmn.ts`)→uipath-maestro-bpmn. For raw IXP labelling or prompt tuning outside a Flow→uipath-ixp; standalone agents→uipath-agents; C#/XAML→uipath-rpa." allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
<!-- CANONICAL — edit here, not in UiPath/flow-builder-sdk. Why: docs/SKILLS_PROMOTION_PLAN.md in that repo. -->
UiPath Flow — TypeScript Builder SDK
UiPath Flow uses `@uipath/maestro-builder-sdk` to build type-safe graphs compiled to executable Flow JSON; existing Flow JSON can be decompiled for editing.
Critical Rules
1. **Before writing or editing any flow source, read [`references/author.md`](references/author.md) in full.** It contains separately numbered critical rules, the scope gate, and the required completion report. 2. Before writing a node, read its `Reference` in [Supported node types](#supported-node-types), including signature, example, and hazards. 3. Choose every node from a registry search, never a brand name. 4. Ask when the request leaves a finite decision open, including an input value, range, or combination no stated rule covers; never fold it into a stated value. When the request says no one will answer (headless, CI), use the most defensible stated value and list it under Open questions as **[REQUIRED]**. 5. Handle an error only when the request specifies what should happen. 6. Never re-run `flow debug` to inspect a failed run. 7. Simulate every side-effecting component before an eval set; never `solution upload` in an eval workflow without asking. 8. Run the final pass with the workspace's selected [Lifecycle](#lifecycle) loop after the last edit.
Project layout
<!--skill-flavor:sdk-project-layout:start--> Install `@uipath/maestro-builder-sdk` globally (`npm install -g`), unless present. Examples are in `examples/`; routed details are in `references/`.
A Flow source is `.flow-sdk/<Name>.flow.ts` under `<Solution>/<Name>/`; compiled `<Name>.flow` is not in `.flow-sdk/`. The SDK work directory contains source, `bindings.json`, `connectors/`, and `connectors-local/`, relative to the directory running `uip`; each project has its own. Studio Web does not read it, and `uip solution pack`/`upload` and `flow debug` omit it. Run SDK verbs (`flow check`, `compile`, `decompile`, `merge`, `registry pull`/`prepare`) from `<Solution>/<Name>/`, using `( cd "<Solution>/<Name>" && … )` when your shell does not keep its directory between commands; other commands run from the workspace root. Every `.flow-sdk/` path is project-relative.
Scaffold first, seed from the scaffold, and emit into it; `compile -o` determines the emitted file. `<Solution>` and `<Name>` come from the request: one name given for both ("inside a solution of the same name"), or only the Flow's, serves both. Preserve `<Solution>` exactly, including spaces; normalize `<Name>` to letters, numbers, `_`, and `-` (`Headcount report form` → `HeadcountReportForm`).
Before `uip solution init`, run `find . -maxdepth 2 -name '*.uipx'`. If solutions exist and a user can answer, ask which one (one option per solution, then "Create a new solution", then "Something else") and scaffold only after the answer; never silently create another. Headless: use the named solution, otherwise the only existing one, otherwise create one named above, and record the choice in the final response.
uip solution init "<Solution>" ( cd "<Solution>" && uip maestro flow init <Name> --sdk-source ) # edit <Solution>/<Name>/.flow-sdk/<Name>.flow.ts, then run the Lifecycle loop below
Do not hand-write the skeleton. `--sdk-source` decompiles the trigger-only artifact into `.flow-sdk/<Name>.flow.ts`, creates the folder, and preserves the product-assigned flow id/name; a hand-written `flow('<name>')` invents an id. The first `compile -o` overwrites the stub. `init` answering "already exists and is not empty. Use --force to overwrite" means it exists: never pass `--force`; edit it. An Extract document node is `dynamicExtract()` ([`references/document-pipeline.md`](references/document-pipeline.md)); it needs SDK 6.118.0 or later, else use the CLI.
When the request names **Maestro Automate** as the product, run `( cd "<Solution>" && uip maestro flow init <Name> --automate --sdk-source )`; bare "automate invoice intake" means a plain Flow. Nothing after `init` changes: it writes `runtimeOptions.profile` to `operate.json` and a `.maestro_automate` marker; `compile -o` rewrites only `.flow`, so both survive.
When `<Solution>/<Name>/` existed before this turn, skip `init`; edit its `<Name>.flow` via [Editing an existing flow](#editing-an-existing-flow), never by compiling an earlier turn's source over it. Keep `.flow-sdk/<Name>.flow.ts`, the `<Name>` directory, and `<Name>.flow` aligned. Exactly one `<Name>.flow` may exist at `<Solution>/<Name>/<Name>.flow`, never at the workspace root. Root emission is only for packaged-SDK local gates, which do not scaffold; choose [Lifecycle](#lifecycle) first and do not mix loops.
**Install the SDK first, once per machine:** `npm install -g @uipath/maestro-builder-sdk`; skip it when already installed, and see [`references/CLI-LOOP.
UiPath Agent Skills give AI coding agents the domain knowledge to build, run, test, and deploy UiPath automations and agents — directly from your development environment.
Other skills on uipath.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about uipath-maestro-flow.
- Which coding agents can use uipath-maestro-flow?
- uipath-maestro-flow installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

