Agent skill

Cxas Cuj Report Generator

by GoogleCloudPlatform in GoogleCloudPlatform/cxas-scrapi

Automates the ingestion of customer requirement documents such as diagrams, BRDs, code etc., synthesizes high-fidelity natural transcripts, and compiles them into highly interactive, responsive…

Apache-2.0Auto-check passedProduct & Project Management

Install Cxas Cuj Report Generator

skills CLI
$ npx skills add GoogleCloudPlatform/cxas-scrapi --skill cxas-cuj-report-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GoogleCloudPlatform/cxas-scrapi cxas-cuj-report-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/cxas-scrapi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cxas-cuj-report-generator .claude/skills/cxas-cuj-report-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cxas-cuj-report-generator
GitHub stars
107
Token cost
~3.1k tokens
SKILL.md length
1,546 words
Files
101
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Automates the ingestion of customer requirement documents such as diagrams, BRDs, code etc., synthesizes high-fidelity natural transcripts, and compiles them into highly interactive, responsive…

  • Works in 5 steps: Scoping & Type Discovery: Prepare the… → Discovery: Spawn specialized expert… → Exhaustion: Loop until no new intents… → …
  • Tasks that involve Customer journey mapping
  • SKILL.md covers Core Protocols, Core Workflow Steps, Autonomous Execution Guardrails and Core Schema, plus 3 more sections
  • Runs Python scripts from its folder

What it does

Cxas Cuj Report Generator is an agent skill from GoogleCloudPlatform/cxas-scrapi. Automates the ingestion of customer requirement documents such as diagrams, BRDs, code etc., synthesizes high-fidelity natural transcripts, and compiles them into highly interactive, responsive Critical User Journey (CUJ) reports.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 103 other files (for example `README.md`, `agents/cuj_standardizer.md` and `agents/execution_subagent.md`).

It sits in Product & Project Management, covering Customer journey mapping and Diagrams. The repository describes itself as: A powerful Python API, CLI, and set of Agent Skills for CX Agent Studio to automate, evaluate, and scale your agents with ease. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Customer journey mapping
  • Tasks that involve Diagrams

Example prompts

  • “Use the cxas-cuj-report-generator skill to automate the ingestion of customer requirement documents such as diagrams, BRDs, code etc., synthesizes…”
  • “/cxas-cuj-report-generator”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Scoping & Type Discovery: Prepare the environment and identify required
  2. Discovery: Spawn specialized expert subagents based on the discovered
  3. Exhaustion: Loop until no new intents are found.
  4. Clustering: Group into Parent CUJs. To ensure consistent and accurate
  5. Execution: Generate transcripts and reports using the tools in this

What it can do on your machine

Read from SKILL.md and the folder at commit ffba639. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cxas Cuj Report Generator loads about 3.1k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 1,546 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from GoogleCloudPlatform/cxas-scrapi at commit ffba639, republished under its Apache-2.0 licence (© GoogleCloudPlatform). 1,546 words, ~3,129 tokens.

Download SKILL.mdSave it as .claude/skills/cxas-cuj-report-generator/SKILL.md (or your agent's skills folder). This skill also uses 100 other files; get the full folder from GitHub.
name
cxas-cuj-report-generator
description
Automates the ingestion of customer requirement documents such as diagrams, BRDs, code etc., synthesizes high-fidelity natural transcripts, and compiles them into highly interactive, responsive Critical User Journey (CUJ) reports.

Critical User Journey (CUJ) Transcript & Report Generator Skill

Use this skill when asked to extract dialogue transcripts or compile interactive Critical User Journey (CUJ) reports from a directory of customer requirement documents (such as diagrams, BRDs, code etc.).

Core Protocols

To ensure 100% coverage and zero data loss, you MUST follow these core rules:

  • Robust Extraction: Follow the protocol defined in the cxas-protocol-robust-extraction skill.
  • Two-Phase Ingestion: Follow the protocol defined in the cxas-protocol-two-phase-ingestion sub-protocol inside protocols/cxas-protocol-two-phase-ingestion/.
  • Checklist Mandate: The orchestrator and all subagents MUST follow the agent-protocol-checklist protocol to maintain a local task_checklist.json file, ensuring they track their progress and not lose coverage during execution.
  • Orchestrator Delivery Assurance: The orchestrator MUST act as a strict, independent Delivery Auditor. BEFORE closing subagents, terminating the watchdog, or reporting campaign success to the user, the orchestrator MUST physically verify the existence, size bounds, and schema compliance of all registered deliverables (specifically gecx_customer_report.html and gecx_cuj_report.html) on disk. Under no circumstances may the orchestrator assume completion without executing a physical file-presence check.
  • Auditing: The orchestrator MUST periodically check the subagent's scratch directory to ensure the task_checklist.json file is being created and maintained. If the file is missing or not updated, the orchestrator MUST terminate the subagent and respawn it with stronger enforcement instructions.

Core Workflow Steps

Follow this 5-step structured workflow to execute the task:

  1. Scoping & Type Discovery: Prepare the environment and identify required skills.

    • Access Files: Ensure you have access to the source artifacts in your local workspace.

      • Tip (Drive Links): If the source is a Google Drive link or folder ID, you MUST use the gdrive skill to access them.
    • Detect Inventory Types: To identify framework signatures and map them to correct Ingestors, you MUST use the framework detector agent defined in agents/framework_detector.md. Using this agent, scan the input files to inventory all file extensions and detect potential frameworks. Spawn parallel Framework Detector subagents to scan partitions of the file tree.

    • Map Ingestors: Use the scoping report generated by the Framework Detector to select or create the correct specialized skills in ingestors/frameworks/ or ingestors/files/.

      • Precedence Rule: Framework-specific ingestors take precedence over generic file-extension ingestors (e.g., use ingestors/frameworks/adk/ instead of ingestors/files/py/ if both apply).
  2. Discovery: Spawn specialized expert subagents based on the discovered types to identify sub-intents (see the agents/ directory for role definitions). Dynamically discover and use specialized ingestor skills in ingestors/frameworks/ and ingestors/files/.

    • Mandatory Handoff: Subagents MUST report back:

      1. Frameworks detected,
      2. File types parsed, and
      3. Any files/patterns skipped as out-of-scope.
    • Exhaustive Use: Use all relevant ingestors by applying the most specific one applicable to each file.

    • Fallback: If no specialized ingestor exists for an out-of-scope file type, the orchestrator MUST delegate the analysis:

      1. Spawn Analyzer: Spawn a specialized Analysis Subagent to inspect a sample of the unknown file.
      2. Research: Instruct the subagent to search online or in internal documentation for format standards if the structure is not clear.
      3. Report & Codify: The subagent must report the best parsing strategy back to the orchestrator and SHOULD attempt to create a new specialized skill in ingestors/frameworks/ or ingestors/files/ to capture this knowledge.
  3. Exhaustion: Loop until no new intents are found.

  4. Clustering: Group into Parent CUJs. To ensure consistent and accurate category discovery:

    • Noise Reduction: Do NOT pass full objects with raw transcripts or code.
    • Summary Format: Provide a clean YAML list with id, name (stripped of technical tags), and a 1-sentence synthesized intent.
    • Guidance: Instruct the agent that a reasonable number of categories is typically between 5 and 10.
  5. Execution: Generate transcripts and reports using the tools in this directory.

    • Mandatory: Limit batch sizes to 5-10 items per subagent to prevent LLM context exhaustion and truncation.
    • Title Synthesis: For each transcript, the agent MUST synthesize a short, human-readable scenario title based on the dialogue content and the title of the CUJ and store it in the subintent_name field, rather than using raw technical IDs.
    • Immediate ID Verification: Always assume that sensitive numbers like Account Number or Order ID are checked in a backend system immediately after being provided by the user, and insert a webhook_call or tool_call accordingly.
    • Agent-First Transcripts: Every single transcript MUST start with a standard welcome greeting: "Hello! Thanks for calling [Brand]. How can I help you today?" (or a generic welcoming if no brand is specified, e.g. "Hello! Thanks for calling. How can I help you today?") with absolutely no exceptions or alternative phrasing, even if raw requirements suggest another name.
    • Voice Realism (No Spoken URLs): Agents on the voice channel cannot speak long URLs. You MUST NEVER write raw URLs (e.g., https://...) in Agent turns. Instead, the Agent must verbally state they are texting or emailing the link (e.g., "I've texted that tracking link to your phone").
    • Standardized End Session: Every conversation MUST close with a structured 3-turn sign-off sequence:
      1. Agent: "Is there anything else I can help you with today?"
      2. User: "No, that's all. Thank you."
      3. Agent: "Thank you for calling [Brand]! Goodbye." (or equivalent brand sign-off, e.g., "Thank you for calling Customer Support! Goodbye.", or "Thank you for calling! Goodbye." if no brand is specified) with absolutely no alternative phrasing allowed. The final Agent turn MUST trigger the end_session system tool call. Do NOT omit this tool call under any circumstances. It must match this CXAS schema: yaml tool_call: name: end_session payload: session_escalated: false reason: "Conversation completed successfully" response: result: "success"
    • Dual Reports: The agent MUST generate both a CUJ report (limiting examples to at most 3) AND a comprehensive full report (including all examples).
    • Usage: Run construct_report.py with --cuj_report=True to generate the CUJ report, and with --cuj_report=False to generate the comprehensive full report.
Show full SKILL.md (606 more words)Show less

Autonomous Execution Guardrails

By default, this workflow is long-running and requires autonomous execution. You MUST follow these guardrails:

  1. Automatic Watchdog: Upon starting the task, you MUST automatically schedule a recurring timer (e.g., every 5 minutes using the schedule tool) to interrupt and check for stuck subagents or tasks.
  2. Initial Confirmation: In your very first response to the user, you MUST explicitly state that you are applying the Robust Extraction Protocol and that you have set a watchdog timer.
  3. Dynamic Bisecting: If a batch fails the Verification Gate twice due to missing items, automatically bisect the batch and spawn two parallel subagents to handle the smaller load.

Core Schema

All generated transcripts MUST adhere to the resources/schemas/transcript_schema.yml contract:

  • subintent_id: A unique slug.
  • subintent_name: Human-readable name.
  • parent_cuj: The high-level category.
  • turns: A list of dialogue objects.

Dialogue Turn Requirements

  • Speaker: Must be either Agent or User. Please ensure that function call turn comes immediately after a user turn.
  • Text: The literal string spoken.
  • Root-Level Call Fields: The tool_call (such as end_session) and webhook_call fields MUST be written at the root level of individual turn objects in the YAML transcript, and MUST NOT be nested under enrichment or any other parent key.
  • Enrichment:
    • intent_detected: Specify the NLU intent if applicable.
    • tool_call: Use when the agent invokes a local function.
    • webhook_call: Use when the agent triggers an external API.
    • system_action: Use for state transitions or background logic.

Linguistic & Voice Naturalness Standards

All generated spoken dialogue turns (Agent voice turns) MUST strictly adhere to high-fidelity spoken voice standards. Subagents must ensure:

  1. Numeric Voice Normalization: Spoken Agent turns MUST NOT contain raw digits, formatted currencies, or punctuation symbols representing numbers (e.g., do NOT write "450", "$909", "555-0199"). Instead, numbers must be explicitly spelled out phonetically:
    • Correct: "four hundred fifty points", "nine hundred nine dollars".
    • IDs, Times, Order Numbers, Percentages, and Phone Numbers: All numeric IDs, times, counts, reward points, percentages, or numbers of any kind must be written digit-by-digit or word-by-word phonetically with absolutely no punctuation or colon dividers: "five five five, zero, one, nine, nine", "seven thirty PM", "eight o'clock PM", "order number nine nine eight eight", "twenty percent discount".
    • Scheduling Confirmation: For any reservations or delivery updates that schedule or communicate a specific time, timeframe, or booking date (e.g., "ready in twenty minutes", "arrive in ten minutes", "booked for tomorrow at eight PM"), you MUST explicitly seek confirmation from the user (e.g. "Is that okay?", "Does that work for you?", or "Should we proceed with that?").
  2. Spoken Breath Span Limit: Agent turns must remain concise, natural, and conversational. Individual spoken text blocks MUST NOT exceed 300 characters inside a single turn.
  3. Vocabulary Smoothness: Avoid robotic repetitions of the same long words (do not repeat the same word of length 5+ more than 4 times in a single turn).
  4. Conversational Politeness: Every Agent spoken turn MUST include at least one standard polite voice marker (please, thank you, thanks, certainly, happy to help, welcome, goodbye, great day, my pleasure, certainly help) to ensure a warm, non-robotic user experience.

Execution Phase Details

During the Execution phase, subagents MUST NOT write directly to the transcript files.

  1. Generate a small YAML file containing the data for a single turn.
  2. Pass it to the append_turn.py script to build the transcript incrementally.
  3. Once all batches are verified, run construct_report.py to generate the final interactive HTML report.

Mandatory Subagent Prompting: When spawning subagents for batch execution, the orchestrator MUST include this instruction in their prompt:

"You must use append_turn.py for every turn. Do not summarize the dialogue. Generate a full, natural conversation for every item in your batch."

© GoogleCloudPlatform, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 100 other files in .agents/skills/cxas-cuj-report-generator of GoogleCloudPlatform/cxas-scrapi.

  • SKILL.md
  • README.md
  • agents/cuj_standardizer.md
  • agents/execution_subagent.md
  • agents/expert_ingestor.md
  • agents/framework_detector.md
  • agents/logical_clustering_expert.md
  • append_turn.py
  • compile_deliverables.py
  • construct_report.py
  • evals/EVAL_e2e.yaml
  • evals/EVAL_granular.yaml
  • evals/TESTING.md
  • evals/scripts/compile_optimizer_context.py
  • evals/scripts/grade_eval_batch.py
  • evals/scripts/hill_climber.py
  • evals/scripts/prepare_eval_batch.py
  • evals/scripts/utils
  • … and 83 more

Open the folder on GitHubat commit ffba639

Compare with similar skills

Cxas Cuj Report Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cxas Cuj Report Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cxas Cuj Report Generator this skillGoogleCloudPlatform/cxas-scrapi107—~3.1kAutomated safety check: PassApache-2.0
Blueprintghaida/intent206—~7.2kAutomated safety check: PassCC0-1.0
C4 Contextaiskillstore/marketplace4307 repos~1.3kAutomated safety check: PassNone
Discover Journey Mapproduct-on-purpose/pm-skills715—~3kAutomated safety check: PassApache-2.0
User Journey Mapmohitagw15856/pm-claude-skills1.4k—~797Automated safety check: PassMIT
Idea Ossickn33/agentic-awesome-skills47k1 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Blueprint

    ghaida/intent

    Map, analyze, and redesign the systems behind product experiences.

    206 GitHub stars~7.2k tokensUpdated 2 mo ago
    Product & Project ManagementAuto-check passed
  • C4 Context

    aiskillstore/marketplace

    Expert C4 Context-level documentation specialist. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 7 repos~1.3k tokens
    Product & Project ManagementAuto-check passed
  • Discover Journey Map

    product-on-purpose/pm-skills

    Maps a customer journey across stages, touchpoints, emotional curve, pain points, and moments of truth into a markdown artifact with an optional mermaid timeline or flowchart.

    715 GitHub stars~3k tokensUpdated 4 days ago
    Product & Project ManagementAuto-check passed
  • User Journey Map

    mohitagw15856/pm-claude-skills

    Map a user's journey through a product or experience, phase by phase, with their actions and how they feel.

    1.4k GitHub stars~797 tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Idea Os

    sickn33/agentic-awesome-skills

    Five-phase pipeline (triage → clarify → research → PRD → plan) that turns a raw idea into four linked files: clarifying questions, deep research, a PRD with non-goals and metrics, and a phased…

    47k GitHub starsUsed in 1 repo~1.5k tokens
    Product & Project ManagementAuto-check passed
  • Fable Domain

    Sahir619/fable-method

    Discuss a domain with the user, research it from real sources, then generate a trusted skill bundle for it - a step-by-step workflow with a flowchart, a domain adapter, a trap fixture, and a smoke…

    2.3k GitHub stars~2.6k tokensUpdated 5 days ago
    Product & Project ManagementAuto-check passed

More from GoogleCloudPlatform/cxas-scrapi

All 14 skills in this repo
  • Cxas Agent Foundry

    GoogleCloudPlatform/cxas-scrapi

    End-to-end GECX/CXAS/CES conversational agent lifecycle -- build agents from requirements (PRD-to-agent), create and run evals (goldens, simulations, tool tests, callback tests), debug failures, and…

    107 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Cxas Autolabel Rules

    GoogleCloudPlatform/cxas-scrapi

    Author, validate, and manage Contact Center AI (CCAI) Insights Autolabeling Rules.

    107 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Cxas Configurable Dashboards

    GoogleCloudPlatform/cxas-scrapi

    Author, validate, and manage Contact Center AI (CCAI) Insights Configurable Dashboards.

    107 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Cxas Dfcx Migration

    GoogleCloudPlatform/cxas-scrapi

    Migrate Dialogflow CX (DFCX) agents to CXAS (Customer Experience Agent Studio) agents.

    107 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Cxas Loss Analysis

    GoogleCloudPlatform/cxas-scrapi

    Retrieves non-contained CCAI Insights conversations (losses), uses agent intelligence to cluster them into common failure patterns, and generates a markdown report.

    107 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Cxas Sim Eval

    GoogleCloudPlatform/cxas-scrapi

    Converts CXAS golden evaluations to SCRAPI SimulationEvals test cases.

    107 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Cxas Cuj Report Generator

What does Cxas Cuj Report Generator do?

Automates the ingestion of customer requirement documents such as diagrams, BRDs, code etc., synthesizes high-fidelity natural transcripts, and compiles them into highly interactive, responsive…. Cxas Cuj Report Generator is an agent skill from GoogleCloudPlatform/cxas-scrapi., synthesizes high-fidelity natural transcripts, and compiles them into highly interactive, responsive Critical User Journey (CUJ) reports.

When should I use Cxas Cuj Report Generator?

Cxas Cuj Report Generator fits situations like: tasks that involve Customer journey mapping; tasks that involve Diagrams.

How do I install Cxas Cuj Report Generator in Claude Code?

Run `npx skills add GoogleCloudPlatform/cxas-scrapi --skill cxas-cuj-report-generator -a claude-code`. Or copy the skill folder (.agents/skills/cxas-cuj-report-generator in GoogleCloudPlatform/cxas-scrapi) into .claude/skills/cxas-cuj-report-generator in your project. Claude Code loads it when a task matches its description.

How do I install Cxas Cuj Report Generator in Codex?

Run `npx skills add GoogleCloudPlatform/cxas-scrapi --skill cxas-cuj-report-generator -a codex`. Or copy the skill folder (.agents/skills/cxas-cuj-report-generator in GoogleCloudPlatform/cxas-scrapi) into .agents/skills/cxas-cuj-report-generator in your project. Codex loads it when a task matches its description.

Can I use Cxas Cuj Report Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GoogleCloudPlatform/cxas-scrapi --skill cxas-cuj-report-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cxas-cuj-report-generator, .gemini/skills/cxas-cuj-report-generator, .github/skills/cxas-cuj-report-generator and .opencode/skills/cxas-cuj-report-generator in your project.

What does Cxas Cuj Report Generator need to run?

Going by SKILL.md and its folder, Cxas Cuj Report Generator needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Cxas Cuj Report Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cxas Cuj Report Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cxas Cuj Report Generator use?

Cxas Cuj Report Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cxas Cuj Report Generator use?

About 3.1k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cxas Cuj Report Generator?

Skills that share tags, products or a category with Cxas Cuj Report Generator: Blueprint (ghaida/intent, 206 stars), C4 Context (aiskillstore/marketplace, 430 stars), Discover Journey Map (product-on-purpose/pm-skills, 715 stars) and User Journey Map (mohitagw15856/pm-claude-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cxas Cuj Report Generator?

GoogleCloudPlatform (a GitHub organization) maintains it in GoogleCloudPlatform/cxas-scrapi, which has 107 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.

Source: GoogleCloudPlatform/cxas-scrapi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.