Agent skill

Cxas Drawio Ingestor

by GoogleCloudPlatform in GoogleCloudPlatform/cxas-scrapi

Extracts conversational transcripts from .drawio XML files. An agent skill from GoogleCloudPlatform/cxas-scrapi.

Apache-2.0Auto-check passedDevelopment

Install Cxas Drawio Ingestor

skills CLI
$ npx skills add GoogleCloudPlatform/cxas-scrapi --skill cxas-drawio-ingestor -a claude-code

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

GitHub CLI
$ gh skill install GoogleCloudPlatform/cxas-scrapi cxas-drawio-ingestor --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/ingestors/files/drawio .claude/skills/cxas-drawio-ingestor && 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-drawio-ingestor
GitHub stars
107
Token cost
~1.3k tokens
SKILL.md length
496 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Extracts conversational transcripts from .drawio XML files. An agent skill from GoogleCloudPlatform/cxas-scrapi.

  • Works in 4 steps: Parse Graph Structural Topology → Dialogue State & Path Traversal → Brand and Domain Consistency Mapping → …
  • Tasks that involve Diagrams
  • SKILL.md covers Protocol for Flowchart &…, Example Target Schema and Linguistic & Voice Naturalness…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cxas Drawio Ingestor is an agent skill from GoogleCloudPlatform/cxas-scrapi. Extracts conversational transcripts from .drawio XML files.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Diagrams. It works with draw.io. 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 Diagrams

Example prompts

  • “Use the cxas-drawio-ingestor skill to extract conversational transcripts from .drawio XML files. An agent skill from GoogleCloudPlatform/cxas-scrapi”
  • “/cxas-drawio-ingestor”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Parse Graph Structural Topology
  2. Dialogue State & Path Traversal
  3. Brand and Domain Consistency Mapping
  4. Format the Resulting CXAS Transcript

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    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 Drawio Ingestor loads about 1.3k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 496 words of instructions outside code blocks.

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

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). 496 words, ~1,262 tokens.

Download SKILL.mdSave it as .claude/skills/cxas-drawio-ingestor/SKILL.md (or your agent's skills folder).
name
cxas-drawio-ingestor
description
Extracts conversational transcripts from .drawio XML files.

Draw.io Ingestor Skill

Use this skill when you need to extract dialogue turns and conversation flows from .drawio diagram files.

Protocol for Flowchart & Diagram Traversal

When processing .drawio flowchart designs, you must parse them as complete directed graphs to construct dialogue paths, rather than extracting flat text turns.

1. Parse Graph Structural Topology
  • Scan <mxCell> tags where vertex="1". Extract their id and value (text label).
  • Scan <mxCell> tags where edge="1". Match source and target vertex IDs to identify directed pathways.
  • Clean cell text by stripping internal HTML styling, tags, and formatting metadata (e.g., &lt;div&gt;, <font>, CSS styles). Unescape HTML entities (e.g., &quot; or &lt;) to obtain clean text.
2. Dialogue State & Path Traversal
  • Locate the start node (typically a top-level cell labeled "Start", "Welcome", or "Entry").
  • Perform a step-by-step traversal (DFS/BFS) along the directed edges. Each unique path from start to a terminal node constitutes a distinct conversation flow.
  • State Mapping:
    • Prompt Node: Maps to an Agent Turn (using the node's cleaned label).
    • Directed Edge Label: Maps to a User Input (representing speech utterances or DTMF keys that trigger that transition).
    • Computational Node: Maps to a System Action / Webhook (e.g., database lookups or validation calls).
    • Decision Diamond: Represents logical branching.
3. Brand and Domain Consistency Mapping

Ensure that you map all domain concepts consistently to the target brand or theme requested by the user or specified in the requirements. Do not mix multiple industrial domains in a single report.

  • If the target brand has specific concepts, map requirements to fit that brand's services.
  • If no brand is specified, use clean, generic customer service phrasing suitable for the context.
  • Avoid using technical or backend-specific terminology in spoken Agent turns.
Show full SKILL.md (218 more words)Show less
4. Format the Resulting CXAS Transcript

Compile the traversed paths into a structured CXAS YAML format complying with the root-level turn structures (turns containing speaker: Agent|User, text, and optional actions). Ensure every scenario starts with the standardized Agent welcome greeting, is voice-realistic, and ends with the standardized sign-off calling the end_session tool.

Example Target Schema

yaml
subintent_id: check_loyalty_status
subintent_name: "Check Loyalty VIP Status"
parent_cuj: "Loyalty Rewards"
turns:
  - speaker: Agent
    text: "Hello! Thanks for calling [Brand]. How can I help you today?"
  - speaker: User
    text: "I need to check my loyalty rewards point balance."
  - speaker: Agent
    text: "I'd be happy to help you check your loyalty rewards point balance. May I have your membership phone number?"
  - speaker: User
    text: "Yes, it is 555-0199."
  - speaker: Agent
    text: "Thank you. Let me verify your rewards balance."
    webhook_call:
      name: check_rewards_balance
      payload:
        phone_number: "5550199"
      response:
        vip_status: "ELITE"
        points_balance: 1500
  - speaker: Agent
    text: "I've found your account. You are an Elite member with a balance of 1,500 points. Is there anything else I can help you with today?"
  - speaker: User
    text: "No, that's all. Thank you."
  - speaker: Agent
    text: "Thank you for calling [Brand]! Goodbye."
    tool_call:
      name: end_session
      payload:
        session_escalated: false
        reason: "Conversation completed successfully"

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 and Phone Numbers: Must be written digit-by-digit separated by spaces or commas: "five five five, zero, one, nine, nine".
  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: Agent turns must maintain standard polite voice markers (please, thank you, thanks, certainly, happy to help, welcome, goodbye, great day).

© 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

Just SKILL.md in .agents/skills/cxas-cuj-report-generator/ingestors/files/drawio of GoogleCloudPlatform/cxas-scrapi.

Open the folder on GitHubat commit ffba639

Compare with similar skills

Cxas Drawio Ingestor 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 Drawio Ingestor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cxas Drawio Ingestor this skillGoogleCloudPlatform/cxas-scrapi107—~1.3kAutomated safety check: PassApache-2.0
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT
Draw.io Diagram ReconstructionHKUSTDial/Supervisor-Skills8.5k—~5.4kAutomated safety check: PassMIT
Scibox Diagramjihe520/sci-box2481 repos~983Automated safety check: NotesNone
Drawio Diagram BuilderWill-hxw/drawio-diagram-builder412—~5.9kAutomated safety check: PassMIT

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • Draw.io Diagram Reconstruction

    HKUSTDial/Supervisor-Skills

    Rebuilds a reference diagram image as an editable, high-fidelity Draw.io file, mixing native elements, SVG icons and cropped PNGs, with a batch workflow for a folder of images.

    8.5k GitHub stars~5.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Scibox Diagram

    jihe520/sci-box

    制作与修改可编辑的 draw.io / diagrams.net 示意图(.drawio XML),产出 .drawio + PNG/PDF。三条路径:套用内置模板(五带技术路线图、三栏研究框架图、三栏阶段流程图、横版任务流水线图)、从零手写…

    248 GitHub starsUsed in 1 repo~983 tokens
    DevelopmentAuto-check: notes
  • Drawio Diagram Builder

    Will-hxw/drawio-diagram-builder

    Create, edit, replicate, and iteratively refine editable research and technical diagrams in diagrams.net/draw.io (.drawio XML) from prompts, papers, repositories, screenshots, or existing diagrams.

    412 GitHub stars~5.9k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Drawio Azure

    sparklabx/drawio-ai-kit

    A skill your agent uses when the user asks for an Azure architecture diagram — VNet/networking, App Service, AKS, landing zone, multi-region, or any diagram built with Azure service icons.

    652 GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-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

Works with

Categories

Questions about Cxas Drawio Ingestor

What does Cxas Drawio Ingestor do?

Extracts conversational transcripts from .drawio XML files. An agent skill from GoogleCloudPlatform/cxas-scrapi. Cxas Drawio Ingestor is an agent skill from GoogleCloudPlatform/cxas-scrapi.drawio XML files.

When should I use Cxas Drawio Ingestor?

Cxas Drawio Ingestor fits situations like: tasks that involve Diagrams.

How do I install Cxas Drawio Ingestor in Claude Code?

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

How do I install Cxas Drawio Ingestor in Codex?

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

Can I use Cxas Drawio Ingestor 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-drawio-ingestor -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-drawio-ingestor, .gemini/skills/cxas-drawio-ingestor, .github/skills/cxas-drawio-ingestor and .opencode/skills/cxas-drawio-ingestor in your project.

What does Cxas Drawio Ingestor need to run?

SKILL.md names no scripts, command-line tools or credentials: Cxas Drawio Ingestor is instructions for the agent only.

Does Cxas Drawio Ingestor 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 Drawio Ingestor 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 Drawio Ingestor use?

Cxas Drawio Ingestor 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 Drawio Ingestor use?

About 1.3k tokens (SKILL.md is roughly 5k 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 Drawio Ingestor?

Skills that share tags, products or a category with Cxas Drawio Ingestor: Diagram Design (cathrynlavery/diagram-design, 45k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars), Draw.io Diagram Reconstruction (HKUSTDial/Supervisor-Skills, 8.5k stars) and Scibox Diagram (jihe520/sci-box, 248 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cxas Drawio Ingestor?

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.