Agent Skill · UiPath

uipath-platform

UiPath platform ops via the uip CLI — use this skill for ANY task hitting UiPath Cloud / Orchestrator / Studio Web / Integration Service / LLM Gateway. Load BEFORE writing any code that calls a UiPath API. Covers auth, folders, assets, queues, storage buckets, bucket files, libraries, webhooks, triggers, processes, jobs, machines, users, roles, sessions, calendars, IS connectors/connections/activities, BYO LLM product configurations (`uip llm-configuration byo-connections` — register / audit / re-probe / troubleshoot tenant-owned OpenAI / Azure OpenAI / Bedrock / Vertex / Anthropic keys against UiPath products), traces, licensing. For `uip solution` lifecycle and PDD/SDD authoring→uipath-solution. For workflow code (.xaml/.cs)→uipath-rpa, .flow→uipath-maestro-flow, .bpmn→uipath-maestro-bpmn, agents (.py/agent.json)→uipath-agents, Test Manager→uipath-test.

Provider: UiPath Path in repo: skills/uipath-platform/SKILL.md

Skill body

UiPath Platform — uip CLI Assistant

Comprehensive guide for UiPath Cloud / Orchestrator / Studio Web / Integration Service, end-to-end via the uip CLI. For uip solution lifecycle and PDD/SDD authoring, load uipath-solution.

Use the CLI. Don’t roll your own REST.

Always reach for uip CLI commands first. The CLI covers auth, Orchestrator (folders, processes, jobs, machines, users, roles, sessions, calendars, settings, audit logs, credential stores, feeds, attachments), resources (assets, queues, queue items, storage buckets, bucket files, libraries, webhooks, triggers), Integration Service (connectors, connections, activities, IS triggers), traces, and licensing end-to-end.

Hand-rolling HTTP calls — reading ~/.uipath/.auth and POSTing to /odata/... or /orchestrator_/... — almost always misses something the CLI gets right: the X-UIPATH-OrganizationUnitId folder header, OData filter shape (Key eq '...' with escaped single quotes), pagination envelope, retry semantics, validation error shape, or Result/Code/Data output contract. Reach for raw REST only after you’ve searched references/uip-commands.md for your task and confirmed no uip command covers it. The CLI is the source of truth.

If you find yourself about to curl https://cloud.uipath.com/... — stop. Search the command index first. Examples of what people often miss:

When to Use This Skill

Load this skill BEFORE writing any code that talks to UiPath. Specific triggers:

For uip solution lifecycle (init / pack / publish / deploy / activate / upload) and CI/CD pipelines that build and deploy UiPath solutions, load uipath-solution.

Auth token location

The CLI stores credentials at ~/.uipath/.auth after login:

UIPATH_URL=https://alpha.uipath.com
UIPATH_ORG_NAME=my_org
UIPATH_TENANT_NAME=my_tenant
UIPATH_ACCESS_TOKEN=eyJ...
UIPATH_ORGANIZATION_ID=...
UIPATH_TENANT_ID=...

This token can be reused for direct Orchestrator REST API calls when CLI commands don’t cover a use case.

Quick Start

Step 1 — Authenticate

Before interacting with Orchestrator, solutions, or Integration Service, the user must be logged in.

Interactive login (browser OAuth2):

uip login --output json

For a custom authority (e.g., alpha.uipath.com):

uip login --authority "https://alpha.uipath.com/identity_" --it --output json

For non-interactive (CI/CD) scenarios, use client credentials:

uip login --client-id "<ID>" --client-secret "<SECRET>" --tenant "<TENANT>" --output json

Check login status:

uip login status --output json

Step 2 — Select a Tenant

List available tenants and set the active one:

uip login tenant list --output json
uip login tenant set "<TENANT_NAME>" --output json

Step 3 — Explore Orchestrator

List folders to orient yourself:

uip or folders list --output json

Step 4 — Work with Orchestrator Resources

Choose the appropriate operation from the Task Navigation table below. For uip solution ops, load uipath-solution.

Task Navigation

I need to… Read these
Authenticate / manage tenants references/uip-commands.md
Set up folders, users, machines references/orchestrator/setup-environment.md
Run and monitor jobs references/orchestrator/run-jobs.md
Manage sessions and runtimes references/orchestrator/manage-sessions.md
Tenant settings, calendars, audit logs references/orchestrator/tenant-admin.md
Understand Orchestrator concepts references/orchestrator/orchestrator.md
Manage assets references/resources/manage-assets.md
Work with queues and queue items references/resources/process-queues.md
Work with storage buckets and files references/resources/work-with-storage.md
Set up triggers and webhooks references/resources/triggers-and-webhooks.md
Develop / pack / publish / deploy / activate solutions; set up CI/CD /uipath:uipath-solution
Debug LLM/agent traces (spans) references/traces/traces.md
Annotate traces with feedback references/traces/feedback.md
Use Integration Service references/integration-service/integration-service.md
Configure BYO LLM keys (OpenAI / Azure OpenAI / Bedrock / Vertex / Anthropic) references/llmgateway/byo-connections.md
Diagnose / audit / re-probe a BYO LLM configuration references/llmgateway/byo-connections.md#diagnostics
Allocate licenses to tenants references/licensing/tenant-allocations.md
Assign user/group license bundles references/licensing/user-licenses-allocations.md
Report on license consumption references/licensing/consumables-report.md
Understand licensing concepts references/licensing/licensing.md
Full CLI command reference references/uip-commands.md
Build/run/validate coded workflows /uipath:uipath-rpa

Resolving UiPath Studio

Some operations (creating projects, validating, running workflows, packing) require UiPath Studio. When Studio is needed:

  1. Check for a running instance first:
    rpa-tool list-instances --output json
    
  2. If no instance is running, try the standard install location:
    rpa-tool start-studio --output json
    
  3. If that fails (version too old, not found, etc.) — ASK THE USER where their Studio build is located. Do NOT search the entire filesystem. Common locations include:
    • C:\Program Files\UiPath\Studio
    • A dev build directory (e.g., dev4/Studio/Output/bin/Debug)
    • A custom install path
  4. Once you have the path, pass it explicitly:
    rpa-tool start-studio --studio-dir "<STUDIO_DIR>" --output json
    

Never spend time searching for Studio automatically. If the default doesn’t work, ask immediately — the user knows where their build is.

Key Concepts

UiPath Platform Hierarchy

Organization
  └── Tenant(s)
        └── Folder(s)              ← Orchestrator folders (logical containers)
              ├── Processes         ← Published automation packages
              ├── Assets            ← Key-value configuration (Text, Bool, Integer, Credential, Secret)
              ├── Queues            ← Work item queues for distributed processing
              ├── Jobs              ← Running/completed process executions
              ├── Triggers          ← Event-based or queue-based job triggers
              ├── Schedules         ← Time-based job scheduling (cron)
              ├── Storage Buckets   ← File storage for automation data
              ├── Machines          ← Robot execution environments
              └── Robots            ← Attended/Unattended execution agents

Robot Types

Type Description Use Case
Attended Runs alongside a human user, triggered via UiPath Assistant Front-office tasks, user-assisted automation
Unattended Runs autonomously in virtual environments, managed by Orchestrator Back-office tasks, scheduled processing, 24/7 operations

Folder Types

Type Description
Standard Default folder for organizing automations
Personal User-specific workspace
Virtual Logical grouping without physical separation
Solution Folder created by solution deployment
DebugSolution Debug variant of a solution folder

Asset Types

Type Description
Text Plain text value
Bool Boolean (true/false)
Integer Numeric integer value
Credential Username + password pair
Secret Encrypted secret value
DBConnectionString Database connection string
HttpConnectionString HTTP connection string
WindowsCredential Windows credential pair

CLI Overview

The UiPath CLI (uip) is a unified command-line tool for interacting with the UiPath platform:

Command Group Prefix Description Status
Authentication login, logout OAuth2, client credentials, PAT, tenant management Available
Orchestrator or Folders, jobs, processes, releases Available
Resource resource Assets, queues, queue items, storage buckets, bucket files Available
Integration Service is Connectors, connections, activities, resources Available
Test Manager tm Test projects, test sets, test cases, executions, reports Available
Tools tools CLI tool extension management Available
MCP mcp Model Context Protocol server Available
Coded Agents codedagent Python agent lifecycle (setup, exec) Available
RPA rpa RPA workflow management (create, compile, validate, execute) Available

Global Options

Every uip command accepts:

Option Description Default
--output <format> Output format: table, json, yaml, plain table (interactive), json (non-interactive)
--output-filter <expression> JMESPath expression to filter JSON output
--verbose Enable verbose/debug logging Off
--help / -h Display help for the command
--version / -v Display CLI version

Always use --output json when calling uip commands programmatically. JSON is compact and machine-readable.

To narrow list results, use the noun’s own filter flag (--state Faulted, --type Text, --status New, --name, --process-name, --search). The backend filters before sending; pagination stays correct. Per-noun flags: references/uip-commands.md. Never list-everything-then-filter-mentally.

Use --output-filter (JMESPath) for output reshaping or for fields with no server-side flag — e.g., --output-filter "Data[].{id: id, name: name}", or filtering by a derived/computed value. Don’t reach for it when the server already has a filter for that attribute.

Deployment Notes

Orchestrator REST API (Fallback)

When CLI commands are insufficient, use the Orchestrator REST API directly with the stored access token:

source ~/.uipath/.auth

# Upload a .nupkg package
curl -X POST "${UIPATH_URL}/${UIPATH_ORG_NAME}/${UIPATH_TENANT_NAME}/orchestrator_/odata/Processes/UiPath.Server.Configuration.OData.UploadPackage" \
  -H "Authorization: Bearer ${UIPATH_ACCESS_TOKEN}" \
  -H "X-UIPATH-OrganizationUnitId: <FOLDER_ID>" \
  -F "file=@./MyProject.1.0.0.nupkg"

# Create a process (release) from an uploaded package
curl -X POST "${UIPATH_URL}/${UIPATH_ORG_NAME}/${UIPATH_TENANT_NAME}/orchestrator_/odata/Releases" \
  -H "Authorization: Bearer ${UIPATH_ACCESS_TOKEN}" \
  -H "Content-Type: application/json" \
  -H "X-UIPATH-OrganizationUnitId: <FOLDER_ID>" \
  -d '{"Name":"MyProcess","ProcessKey":"MyProject","ProcessVersion":"1.0.0"}'

# Start a job
curl -X POST "${UIPATH_URL}/${UIPATH_ORG_NAME}/${UIPATH_TENANT_NAME}/orchestrator_/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs" \
  -H "Authorization: Bearer ${UIPATH_ACCESS_TOKEN}" \
  -H "Content-Type: application/json" \
  -H "X-UIPATH-OrganizationUnitId: <FOLDER_ID>" \
  -d '{"startInfo":{"ReleaseKey":"<RELEASE_KEY>","Strategy":"ModernJobsCount","JobsCount":1,"RuntimeType":"Unattended","InputArguments":"{}"}}'

The X-UIPATH-OrganizationUnitId header is the folder ID (get it from uip or folders list).

References

Trouble? If something didn’t work as expected, use /uipath-feedback to send a report.

Skill frontmatter

when_to_use: User mentions UiPath / Orchestrator / Studio Web / Integration Service / LLM Gateway / 'uip' CLI / package / agent / process / workflow / asset / queue / bucket / library / webhook / trigger / connector / connection / activity / tenant / folder / robot / BYO LLM / bring-your-own LLM / tenant-owned OpenAI/Azure OpenAI/Bedrock/Vertex/Anthropic key / `llm-configuration byo-connections`. Also any 'upload to UiPath', 'create asset', 'start job', 'list queues', 'deploy a single package to Orchestrator', 'IS connection', 'OAuth2 token', 'register my own LLM key', 'configure a model substitution for a UiPath product feature', 'my BYO LLM key stopped working / is failing / returns errors', 'audit which BYO configs point at dead connections', 're-probe / re-validate a BYO configuration', or 'uipath.com REST' phrasing. Load BEFORE composing any HTTP request — almost every UiPath task has a `uip` command that does it correctly. For `uip solution` ops or `.uipx` deploys→uipath-solution. allowed-tools: Bash, Read, Write, Glob, Grep