/uipath:uipath-troubleshootfrom uipath
Diagnoses and explains undesirable behavior in UiPath products, runtimes, and activity packages by correlating runtime, configuration, history, and source evidence to find root causes.
Ships in uipath. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Investigate directly in this context: anchor the entity, extract signals, route to a playbook by grepping the playbook corpus, walk its decision tree, verify, present. Spawn subagents only when an escalation trigger fires (§7).
ALL phases. Never override.
references/investigation_guide.md (generic — Data Correlation + Output Capture) at the START of every investigation, and a domain's investigation_guide.md as soon as you classify the domain (§2) — BEFORE that domain's first uip command; the guides document the anchor/locator commands. Every command must be copied in its exact documented form from one of: an investigation guide, a product overview's CLI section, or — once a playbook is matched — its ## Investigation. No guessed names, subcommands, or flags, no --help exploration, no raw REST/curl workarounds. Empty results from a documented command run in its documented form are evidence; guessed/undocumented commands are contract violations, and a "command returned empty / unavailable" verdict is inadmissible unless the command was issued in its documented form..local/investigations/raw/{command-name}.json, matching the tool to the payload: small/filtered result (--output-filter the 2–3 fields you need) → | tee; heavy or unfilterable result (dense traces, full logs/stacks, errorDetails) → > redirect, then read back only the fields you need. Never tee an unfiltered response. Full pattern + filter-failure fallback: generic guide § Output Capture. Before fetching, check raw/ — reuse prior fetches of the same entity. Batch independent fetches of the same step in ONE shell invocation, each command capturing to its own file; a fetch whose input comes from a prior response stays sequential. Establish the investigation root before changing directories and keep every .local path rooted there. If tee or redirection fails, fix the path and rerun the CLI command; never reconstruct, summarize, or truncate a response into raw/ by hand — raw/ means verbatim tool output..xaml, .cs, project.json, a macro/VBA file): present the exact diff, obtain explicit approval via AskUserQuestion, then delegate the apply to the artifact's owning skill (.xaml/.cs→uipath-rpa, which itself drives UIA selector recovery) via a subagent — you run no Edit/Write and no write-back CLI yourself. A fix to cloud/tenant state with no local file (Orchestrator config, Integration Service connection, Data Fabric, LLM Gateway) is recommendation-only — print the exact uip … command or UI path; never delegate, never self-apply. Diagnostic commands stay autonomous: reads, and playbook-prescribed idempotent re-validations whose purpose is evidence (e.g. a same-values update re-probe). A request for steps or a script is a deliverable, not execution approval — author it, do not run it. On decline, non-answer, unavailable AskUserQuestion, no available delegate, or a delegation that fails: present the proposed fix as text and STOP — a missing/failed approval or a failed delegation is NEVER permission to edit the artifact yourself.Tools: uip CLI (json by default in non-interactive mode). Documentation search: uip docsai ask "<question>" --source docs (product docs) or --source technical_solution_articles (support KB — known bugs, workarounds).
State: .local/investigations/raw/ (full CLI responses — create at start) and .local/investigations/notes.md (running log: anchor, signals, playbook matches, branch decisions with rejecting data, checklist verdicts, escalation record). No other state files.
Progress: track phases with TaskCreate/TaskUpdate, subjects tailored to the user's problem.
references/summary.md domains.project.json, agent.json, caseplan.json). Run the first locator command documented in the system's investigation_guide.md; if the system has no guide, proceed with the user-supplied signals to §3–§4 — the matched playbook's ## Investigation supplies the commands.AskUserQuestion, offering plausible anchor candidates. Do NOT broad-scan, do NOT fetch a placeholder entity, do NOT enumerate folders/queues hoping to find the right one. A bounded locate pass only if the user explicitly authorizes a scan — then confirm the candidate with them.investigation_guide.md when the domain has one (always also read references/investigation_guide.md for generic Data Correlation and Output Capture rules). Gather only what routes: entity headline, error message, exception class, error code, activity/package namespace from error logs. Deeper data (full traces, healing data, secondary entities, pings) waits until a playbook's ## Investigation asks for it.From the raw responses, record in notes.md one line per observed fact: exception class (FQN + leaf), friendly message / resource key, error code, HTTP status, faulting activity + owning package namespace, entity states, cross-product entity keys, package versions. Field locations per signal kind: see the cheatsheet in references/investigation_guide.md § Signal-Extraction Cheatsheet.
Unwrap wrappers at extraction time. System.AggregateException and "One or more errors occurred" are async wrappers — the inner exception is the routable signal. Extract inner exception class, message, and error code before routing. Same for --->-chained inner exceptions in stacks.
Localized error text. Host-side messages (.NET framework, Office/COM) localize with the robot's system language; playbooks store canonical English. Route on language-invariant signals first — exception class/FQN, error codes, resource keys, HTTP status, API state enum values (these never localize). If a message fragment is non-English, grep the playbooks with its canonical English wording (translate before grepping) and record the original text plus locale in notes.md.
Grep the playbook corpus for each extracted signal — fixed-string, filenames only (grep -rlF "<signal>" references/ --include="*.md"): leaf exception class, error code, message fragments, resource keys. Signals are verbatim — a shorter fragment beats a guessed-case variant. Prefer hits under */playbooks/; never read directories wholesale — open only the hits' ## Context sections to check fit.
## Context and keeping the one whose preconditions fit the evidence; honor a playbook's explicit redirects to sibling playbooks. → Load ONLY that playbook + its domain's investigation_guide.md (if the domain has one). Go to §5.references/presenting.md). Deeper than one hop → escalate.references/summary.md) and check that domain's summary.md for a family playbook covering the activity. One dominant family playbook → proceed to §5 with it. Still nothing → escalate.references/escalation.md. For silent failures (no fault signal anywhere: job Successful but wrong output, hang, stuck state), enter via the no-signature routing table in references/summary.md.## Context fully; confirm its signature actually fits the evidence (a contradicted core precondition = wrong playbook → back to §4 with that match excluded, recorded in notes.md).## Investigation steps in decision-tree order; stop at the first matching branch. Record in notes.md the datum that rejects each rejected branch.VerifyOptions, selectors, project.json pins): CHECK THE WORKING DIRECTORY TOP LEVEL FIRST — one listing; if it contains the project (project.json + the workflow named in the activity stack), use it without asking. A playbook-named file not at its standalone path may sit in the other layout — resolve both (solution wrapper at the working-directory root / one level up from the named project dir) per generic guide § Locating Project Source & Resource Files before treating it as missing; absence from one layout is not absence. Only if neither layout resolves, ask for the project path via AskUserQuestion — one question naming the files needed. This precedence overrides any playbook wording that says to ask first. Extract the verbatim attribute values the playbook lists; do not paraphrase.Evidence is decisive. The conclusion is the cause the correlated evidence singles out — follow it. A plausible-but-unsupported alternative (a source-reading theory, a prior, the cause that is "common in production") NEVER overrides a documented cause the evidence supports; strongest correlated evidence wins over narrative plausibility. When the evidence does NOT single out one cause, do not pick — take the insufficient-evidence path below.
Write the answers in notes.md; do not skip items, do not present without them:
Cause named: quote ONE item verbatim from the playbook's "What can cause it" list — not a category, not a vague generalization.
Evidence pinned: cite ≥1 datum (raw file + field) that singles out this cause from each sibling cause in the same list. Symptom-level data fitting several causes is not enough.
Runtime evidence: for runtime failures, ≥1 cited datum from runtime/platform data (logs, job records, instance state, incidents) that passes correlation. Design-time evidence alone (source files, manifests) proves a defect exists, not that it caused this failure. A design-time-only root cause is BLOCKED while any documented runtime command for the entity remains untried — a "runtime unavailable/empty" verdict is valid only after the documented log/incident command was run in its canonical form (e.g. or jobs logs <key> --output json, maestro <type> instance incidents <id>) and returned empty. Every runtime query empty while the user reports active failures = CONTRADICTION — wrong scope; re-verify or ask, never conclude. If the contradiction persists and the user cannot be asked, present the contradiction itself as the finding (runtime evidence unreachable — root cause unconfirmed) — never re-attribute the failure to a design-time observation.
Resolution aligned: the fix is the playbook's ## Resolution branch keyed to that exact cause.
Causal precedence: list every event the conclusion treats as given and answer "why did that occur?" — each answered by evidence, explained by the named cause, or explicitly out of scope. An upstream event may be ruled out of scope ONLY if no documented command (a matched playbook's ## Investigation or an investigation guide) can retrieve the record that explains it; if such a command exists, running it is mandatory before concluding. A persistence/state-transition story (cancelled, stopped, orphaned, disconnected, timed-out) presupposes an upstream condition and is never the root cause while the record explaining it is reachable and unqueried; unexplained upstream → not root cause.
Fix scope: every proposed fix traces to the confirmed cause. A property or code path the failing run never evaluated cannot be asserted as a defect from source reading alone — and a defect claim that rests on how the platform parses or evaluates source syntax (expression bindings, escaping, argument direction) is unverified until confirmed against a playbook or documentation. Surface such suspicions as clearly-labeled unverified observations OUTSIDE the fix list — labeling one a "separate observation" while still listing it as a fix or offering to apply it violates this rule. The same gate applies to solutions: a fix must not presuppose infrastructure or mechanisms absent from the evidence (e.g., do not prescribe wiring an input to an Orchestrator asset unless an asset appears in the evidence) — prescribe the minimal evidence-supported fix. A fix option may name a real-world/production pattern in prose or context, but must NOT prescribe adding an activity, component, connection, asset, or endpoint that is absent from the workflow/evidence — not even as a labeled alternative or fix step. The presented fix MUST match this item's own scope verdict: if the fix touches only property X with no other activities implicated, it cannot introduce a new activity.
Carve-out — unmanaged integration advisory. When the evidence shows the automation authenticating to a third-party system itself (a key or bearer token in a request header, a credential read straight into an HTTP call), you MAY add one labeled Architectural advisory: the call bypasses Integration Service, and an IS connection, or a connector built with uip is connectors builder, would make it rotatable and re-pointable per environment. It is never a fix, never in the fix list, never offered for application, and changes neither the root cause nor the scope verdict. Never infer the direct call from a symptom. If the direct call is the confirmed cause, it is an ordinary fix instead.
The checklist gates the output. Before presenting, re-read your six answers and confirm the final Root Cause and every Fix step are consistent with ALL of them — the cause is quoted verbatim from the playbook's "What can cause it" list (item 1), and no fix exceeds the item-6 scope. A conclusion or fix that contradicts any item is NOT presentable; resolve the contradiction first (re-fetch, re-scope, or downgrade to unconfirmed).
Any check fails → ONE targeted re-fetch for the missing datum. Still failing → insufficient evidence: do NOT pick a cause. Name the surviving candidate causes and, for each, the discriminating signal that would separate them, then:
## Investigation usually names it) → re-evaluate.AskUserQuestion to supply or confirm that signal — then continue the investigation from their answer. Do not guess in their place.Load references/escalation.md when ANY of:
Escalation = 2–4 parallel read-only probe subagents (one per candidate playbook + one "origin is upstream/elsewhere") + your adjudication + a conditional fresh-eyes verifier. Protocol, prompt templates, and spawn budget: references/escalation.md. No subagent-spawning tool in this harness → same protocol, probes executed serially in this context (references/escalation.md § Serial fallback).
Load references/presenting.md and follow it: fixes assembled for the root-cause domain and every propagation domain, every step source-cited, entity display names from raw data, the investigation summary table, and interactive resolutions (Healing Agent apply-flow) executed under the §1 approval gate.
New data mid-investigation (error messages, job IDs, logs) → re-run §2–§4 on it. If the new signals contradict the current match, that is trigger 6. Never patch new data into a concluded narrative.
After presenting and finishing any interactive actions: offer follow-up help and offer to delete or preserve .local/investigations/. If no root cause was found, offer via AskUserQuestion: provide more data (re-anchor) or open a UiPath support ticket with the evidence gathered.
references/activity-packages/classic-activities/overview.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/application-launch-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/browser-open-or-attach-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/browser-scope-errors.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/click-silent-no-op.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/file-operation-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/foreach-row-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/image-target-not-found.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/invoke-code-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/invoke-workflow-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/invoke-workflow-file-design-time-errors.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/kill-process-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/queue-operation-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/trigger-scope-and-local-triggers-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/type-into-wrong-or-incomplete-text.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/ui-activity-configuration-error.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/ui-activity-timeout.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/ui-element-interaction-failed.md (opens in a new tab)references/activity-packages/classic-activities/playbooks/ui-element-not-found.md (opens in a new tab)references/activity-packages/classic-activities/summary.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Trigger when the request is to explain or investigate undesirable existing UiPath behavior. Infer it from the goal; no exact phrase, product name, exception, or identifier is needed. A pasted raw error message, exception stack, or error code alone implies this request, as does a shared UiPath Assistant diagnostic archive (ExportDiagnoseArchive, combined.log / Robot.log). Do not trigger for pure CRUD/list/start/stop/status, aggregate monitoring, or a direct edit to a known local artifact without causal investigation.
Three short reads, in order
npx claudepluginhub uipath/skills --plugin uipath34 skills in this plugin
/uipath-a2a-agentsUiPath Agent Gateway A2A agents (`uip agenthub remote-a2a-agent` / `remote-a2a-agent-user-connections`). Add an external A2A agent (Salesforce Agentforce, Microsoft Foundry, any agent that publishes an agent card) from its card link or card JSON; sign it in with an OAuth Agent 2 Agent connection or with headers from Orchestrator assets; give a person their own Agent 2 Agent connection; change it, refresh its card, show it or remove it. Agents and Maestro flows can then call it. For calling an A2A agent from a flow→uipath-maestro-flow. For MCP servers→uipath-mcp-servers./uipath-activity-migratorUiPath Activity Migrator — migrate Windows-Legacy RPA projects (`targetFramework: Legacy`, classic `ui:` activities) to the Windows framework and rewrite UiPath's own classic activities into their modern UiPath counterparts with `uip rpa project migrate`/`UiPath.Upgrade.exe`. Windows only. Third-party or custom packages are not rewritten, only version-moved. Acquires the tool, resolves the target UIAutomation line, runs analyze then upgrade into a sibling folder, verifies with `uip rpa build`, triages the SARIF. Classic UI Automation→modern UIA, Outlook classic→Microsoft 365, GSuite classic→modern, Microsoft.Activities.Extensions→Invoke Code. Also the post-migration fix for migrated projects whose expression-selector targets fail or silently report not-found. Authoring or editing Legacy `.xaml`→uipath-rpa. Migration-readiness review without running the tool→uipath-review. Post-migration failures with neither marker nor annotation→uipath-troubleshoot. Maestro `instance migrate`→the Maestro skills./uipath-adminUiPath Admin via `uip admin` — Identity Server (users, groups, robot accounts, external OAuth2 apps, secrets, PATs, SMTP), Authorization (custom roles, role assignments, permission catalog, effective-access check-access PDP), OMS (org read/update, tenant lifecycle, service provisioning, regions, async op polling), IP Restriction (allowlist, enforcement, bypass rules, lockout safety), and Audit via `uip admin audit` (event sources, paginated queries, JSON-folder or CSV export, exclusion rules). Troubleshoot access-denied, login failures, role misconfig, IP lockout, PAT/app auth. Owns ALL org/tenant/identity audit — use `uip admin audit`, NOT `uip or audit-logs`, for any audit logs / audit trail / audit events / export / login history / who-did-what request. Also owns audit exclusion rules: stop, suppress, or mute recording of chosen audit events (`audit org exclusions`). Orchestrator-specific roles/permissions/folders/jobs→uipath-platform. RPA workflows→uipath-rpa./uipath-agentsUiPath Agents of all types — end-to-end work: build, integrate with UiPath Products (e.g., Orchestrator, Flow, Maestro), design with UiPath Tools (e.g., Agent Builder/Studio Web), deploy, and configure/validate. Covers Coded Agents (e.g., LangGraph, LlamaIndex, OpenAI Agents) and Low-Code Agents (`agent.json` / Agent Builder). For deterministic Coded Functions — Python or JS/TS (`uip function`, `uipath.json` functions map, no agent runtime/LLM)→uipath-functions./uipath-aopsUiPath StudioAdmin AOps (`uip aops`) — SourceControl discovery plus CICD pipelines. Drives `aops connection` / `repo` / `project` / `solution` to resolve a GitHub or Azure source binding, `aops pipeline processes` to pick an already-published Orchestrator process, then composes a PipelineDto for `pipeline create` / `save-and-run` and follows runs via `aops execution logs --follow`. Replaces the retired `uip sc` and `uip cicd` tools. For AOps governance policies (`uip gov aops-policy`)→uipath-governance. For `uip solution pack/publish/deploy`→uipath-platform. For workflow authoring (.xaml/.cs)→uipath-rpa./uipath-api-workflowUiPath API Workflow assistant — author, run, validate, package, publish, deploy, and troubleshoot JSON workflows for `uip api-workflow`. Load for ANY create/edit of a `Workflow.json` / API workflow project; with `evals/` present, tests come first (TDD). Covers Sequence, Assign, JavaScript, If (#Wrapper/#Then/#Else), ForEach, DoWhile, Break, TryCatch, Wait, Response, nested; files as JobAttachment refs via File to Base64 / Base64 to File (`$helpers.file.*`, `serializeData()`, `--input-file`/`--output-dir`); HTTP / IS connector activities via `uip api-workflow registry`. Operate: run, IS connections, pack/publish/deploy. Test/eval: `evals/*/eval-sets/` datasets (exact-match, Evaluations panel); loop until green. Triggers on API workflows, project type `Api`, JSON with `document.dsl`/`do[]`, those activity types, or file/base64 handling. Agent evals (`evals/eval-sets/`, no scope) & coded agents→uipath-agents. Flow & its evals→uipath-maestro-flow. .xaml/coded RPA→uipath-rpa. Coded Apps→uipath-coded-apps.Other plugins' skills for the same job