agentsclimarketplace

Uips log parser

Skill cprima-agents/cpm-agent-skills/skills/uips-log-parser

Install
npx -y skills add cprima-agents/cpm-agent-skills --skill uips-log-parser

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Parse and analyse UiPath Studio local execution logs to diagnose automation runs. Use when a developer asks about errors, warnings, duration, or status of a UiPath process run; when troubleshooting a failed, interrupted, or slow automation; when searching for a specific message across multiple runs. Triggers on: UiPath log, execution log, Studio run, robot error, job failed, process crashed, how long did it run, find in log.

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.1 KB, 886 tokens by cl100k_base, as published. Nobody here has run it

UiPath Studio Execution Log Parser

Parse local UiPath Studio execution logs grouped by job run (jobId).

Run the script

# Last job (default)
uv run skills/uips-log-parser/scripts/parse_logs.py

# Specific file
uv run skills/uips-log-parser/scripts/parse_logs.py --file "C:/Users/<user>/Downloads/2026-03-25_Execution.log"

# Last N runs from auto-discovered logs
uv run skills/uips-log-parser/scripts/parse_logs.py --last 5

# All runs, errors only
uv run skills/uips-log-parser/scripts/parse_logs.py --all --errors-only

# Search for a string across all runs
uv run skills/uips-log-parser/scripts/parse_logs.py --all --needle "Object reference"

# Show all log entries including Trace/Verbose (framework internals)
uv run skills/uips-log-parser/scripts/parse_logs.py --min-level Trace

# Duration between two copied log lines
uv run skills/uips-log-parser/scripts/parse_logs.py --duration "LINE1" "LINE2"

# Structured output for further processing
uv run skills/uips-log-parser/scripts/parse_logs.py --last 3 --format json

All diagnostics go to stderr; --format json sends clean JSON to stdout.

Understanding the output

Each run shows a status flag:

FlagMeaning
[ OK ]Execution ended normally, no errors
[FAIL]Execution ended normally, with errors
[ .. ]No "execution ended" message — may still be running, was interrupted, or log is truncated

Do not assume [ .. ] means failure. The run may be active right now.

Log auto-discovery

The script searches these locations by default:

  • %LOCALAPPDATA%\UiPath\Logs\ — Studio / attended Robot (user-level)
  • C:\ProgramData\UiPath\Logs\ — Robot service (system-level)

Use --log-dir PATH to override, or --file PATH to point at a single file.

Key CLI flags

FlagDefaultPurpose
--last N1Show last N runs
--alloffShow all runs
--days N7Discovery lookback window
--date YYYY-MM-DDFilter to one day
--process NAMEFilter by process name (substring)
--needle TEXTFilter runs containing TEXT; highlights matches
--errors-onlyoffShow only runs with errors
--warningsoffAlso show warning details
--min-level LEVELShow all entries ≥ LEVEL (Trace/Verbose/Information/…) in an "All entries" section
--format json|texttextOutput format
--list-filesoffShow discovered files and exit

Windows encoding

UiPath log messages may contain Unicode characters (e.g. ) that crash the script when the Windows console uses its default cp1252 encoding. Set one of these before running:

$env:PYTHONUTF8 = "1"

or per-invocation:

$env:PYTHONUTF8 = "1"; uv run skills/uips-log-parser/scripts/parse_logs.py --min-level Trace

Gotchas

  • Log files start with a UTF-8 BOM (\xEF\xBB\xBF) — the script strips it automatically.
  • The [ .. ] status does not indicate a crash when the user is actively developing in Studio.
  • Duration (totalExecutionTime) is only present on the final "execution ended" entry. If the run is open, duration will be null in JSON / ? in text.
  • Multiple runs per day are in the same file, separated only by jobId.
  • The execution_log_data/ subfolder contains a SQLite DB (cloud-synced data) — the script does not read it.

What ships with it: 1 file

16.3 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.