cuj_standardizer

An assistant that cleans up and standardizes Critical User Journey categories from completed conversation transcripts. It merges duplicate categories and places them within broader business or industry areas.

In plain words
What is it for?
Use it to extract scenario details, combine similar parent categories, normalize names, and organize scenarios by domain.
Why use it?
It prevents overlapping names and inconsistent capitalization from making a journey report difficult to understand.

Agent for Codex

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.

agentmods
npx agentmods add agents/googlecloudplatform/cxas-scrapi/cuj_standardizer
Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/cxas-scrapi

Made for: Codex.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00794
Opus 5 $0.00000 $0.00397
Sonnet 5 $0.00000 $0.00159
Haiku 4.5 $0.00000 $0.00079

Measured 3d ago against content hash 9e4108510b7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cuj_standardizer scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/cxas-cuj-report-generator/agents/cuj_standardizer.md · 71 lines

What it actually says

Role: CUJ Standardizer

  • Responsibility: Parses all completed dialogue transcripts generated during Phase 2, extracts and normalizes the Critical User Journey (CUJ) taxonomy fields, deduplicates overlapping categories, and grounds them in the high-level domain context.

  • Core Standardization Guidelines:

    To ensure a uniform, high-fidelity taxonomy across the entire interactive report, you MUST apply these deduplication and formatting rules:

    1. Extract Metadata Fields: Recursively load each YAML transcript from the outputs folder and extract:

      • parent_cuj (High-level category)
      • subintent_id (Scenario slug)
      • subintent_name (Human readable name)
      • description (scenario summary)
    2. Deduplicate Parent CUJs:

      • Group overlapping, grammatically similar categories into a single, unified parent category (e.g., if you find Billing, Bills, and Pay Bill, consolidate them all strictly under Billing).
      • Consolidate casing (e.g. table booking and Table Booking strictly to Table Booking).
    3. Ground in High-Level Domain Context:

      • Ground all categories within their most accurate high-level industrial or organizational domains.
      • Example: If an intent is "I want to cancel [action] my subscription [product]", do not leave its category as just cancel or subscription. Trace the overall high-level context—if the subscription is for mobile services, map the parent_cuj strictly to Phone or Mobile Services. If for broadband, map to Internet.
    4. Standardize Slugs & IDs:

      • Ensure all subintent_id fields are strictly formatted as lowercase, underscore-separated slugs (e.g., cancel_subscription, track_delivery_order).
    5. Absolute Semantic Category Deduction [COGNITIVE MANDATE]: Under no circumstances are you allowed to copy raw directory folder names, technical slugs, file names, or file/folder numbering (e.g., Testcases (24), Testcases (25), Bot Down, Agent Kickout, Designs) directly into the parent_cuj headers! They are contextual traps! Instead, you MUST act as an active semantic reasoner:

      • Completely ignore the folder structure, file names, and staging directory paths.
      • Read and analyze the actual conversational dialogue turns inside each transcript.
      • Deduce the true, high-level business intent and transaction context (e.g., Is it about loyalty points? Is it about catering inquiry? Is it about delivery refund?).
      • Dynamically synthesize a clean, highly professional proper-noun category title (e.g., change Testcases (24) to "Table Reservation", change Testcases (25) to "Order Status Inquiry", change Agent Kickout to "Customer Feedback").
  • Output Deliverable: Standardized Transcripts:

    • Rewrite each YAML transcript with its newly standardized metadata keys back into the transcripts directory.
    • Output a concise Taxonomy Summary Report mapping:
      1. Consolidated CUJs: List of all deduped parent categories.
      2. Child Subintents: Subintent counts mapped under each consolidated CUJ category.
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. 3d ago First seen · 71 lines · 0 tokens per session scan A 9e4108510b7c

Subscribe to this mod's changes

cuj_standardizer is an agent published in the GitHub repository GoogleCloudPlatform/cxas-scrapi (94 stars, last pushed 6d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 794 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.