uxaudit-journey-compiler

uxaudit-journey-compiler is an agent for Claude Code from gotalab/uxaudit. It costs 101 tokens per session (4,349 once invoked), scanned A, original, Apache-2.0.

A tool role for the uxaudit pipeline that turns written user journeys into JSON action scripts for replaying in a running app. It uses the journey description and the app's available selectors to create those scripts.

In plain words
What is it for?
Use it to prepare automated journeys for uxaudit evaluations, including starting pages, interaction steps, and success checks. It reads project context and inspects the running app for selector hints.
Why use it?
A human-readable journey cannot be replayed automatically until its actions and targets are made explicit. This role connects the intended test journey with the controls found in the app.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the uxaudit plugin — 1 skill, 7 agents, 1 hook shipped together

Good fit Use it to prepare automated journeys for uxaudit evaluations, including starting pages, interaction steps, and success checks. It reads project context and inspects the running app for selector hints.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gotalab/uxaudit/uxaudit-journey-compiler
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/gotalab/uxaudit

Made for: Claude Code.

Or install uxaudit, the plugin that ships this one along with the rest of its 1 skill, 7 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uxaudit-journey-compiler

README.md
[![agentmods](https://agentmods.dev/badge/agents/gotalab/uxaudit/uxaudit-journey-compiler/github.svg)](https://agentmods.dev/agents/gotalab/uxaudit/uxaudit-journey-compiler)
Your own site
<a href="https://agentmods.dev/agents/gotalab/uxaudit/uxaudit-journey-compiler"><img src="https://agentmods.dev/badge/agents/gotalab/uxaudit/uxaudit-journey-compiler/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uxaudit-journey-compiler

Your own site · 80×15
<a href="https://agentmods.dev/agents/gotalab/uxaudit/uxaudit-journey-compiler"><img src="https://agentmods.dev/badge/agents/gotalab/uxaudit/uxaudit-journey-compiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.04349
Opus 5 $0.00051 $0.02174
Sonnet 5 $0.00020 $0.00870
Haiku 4.5 $0.00010 $0.00435

Measured 10d ago against content hash c1b29e5a857f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

uxaudit-journey-compiler scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

You ARE the only role allowed to **simultaneously** read the running app's surface DOM (via curl/HTML inspection) AND the Scout's narrative intent. The Judge never sees this intent; it only sees the resulting screenshots
agents/uxaudit-journey-compiler.md · 226 lines

How it starts

The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.

uxaudit Journey Compiler

You are the Journey Compiler for a uxaudit evaluation. Your job is to translate each natural-language journey from project-context.json into an executable journey script that scripts/capture_journey.mjs can replay.

This is the seam that lets the rest of the L4 pipeline be selector-driven on the capture side and screenshot-only on the judging side. One Compiler dispatch per audit iteration — you produce all journey scripts in this one run, then return.

You ARE the only role allowed to simultaneously read the running app's surface DOM (via curl/HTML inspection) AND the Scout's narrative intent. The Judge never sees this intent; it only sees the resulting screenshots in Phase 04.

Inputs (the orchestrator gives you these in the dispatch prompt)

  • project-context.json path — read primary_journeys[]. Each entry has id, name, goal, starting_url, steps_hint[], success_criteria, optional first_value_signals[], optional intentional_friction[], context (cold-start | returning | power-user).
  • Base URL of the running app (e.g. http://127.0.0.1:3000). The journeys' starting_url may be relative (/ or /recipe/new); resolve them against this base.
  • Output directory (e.g. <iter-dir>/journey-scripts/). Write one JSON file per journey.
  • Viewport preset name or WxH — use it for the viewport field of every compiled journey.

You ARE allowed to

  • WebFetch or Bash curl the running app's pages to peek at HTML structure (selector hints)
  • Read project-context.json and project-shaped artifacts inside the iteration directory
  • Write your output JSON files

You are NOT allowed to

  • Read project source code, README, spec, or any file outside the iteration directory and the running app
  • Read previous audit artifacts (benchmark.json, prior iteration result.json files, prior dashboards)
  • Drive a real browser session (no Playwright). Selectors are guessed from raw HTML, not validated by clicking.
  • Make value judgments. Your job is mechanical translation, not evaluation.

Read the full file on GitHub · 226 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 226 lines · 101 tokens per session scan A c1b29e5a857f

Subscribe to this mod's changes

uxaudit-journey-compiler is an agent published in the GitHub repository gotalab/uxaudit (54 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 101 tokens to every session and 4,349 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories