cxas-protocol-robust-extraction

cxas-protocol-robust-extraction is a skill for Claude Code, Codex from GoogleCloudPlatform/cxas-scrapi. It costs 57 tokens per session (993 once invoked), scanned A, original, Apache-2.0.

A method for collecting complete requirements from large or scattered customer materials. It divides the work, processes each part, and checks the result for missing items.

In plain words
What is it for?
Use it to extract sub-intents, critical user journeys, and business rules from many files or other customer artifacts.
Why use it?
It reduces the risk of skipped information, incomplete extraction, or losing track of details when the source material is too large for one pass.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it to extract sub-intents, critical user journeys, and business rules from…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/googlecloudplatform/cxas-scrapi/cxas-protocol-robust-extraction
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.

Any agent
npx skills add GoogleCloudPlatform/cxas-scrapi --skill cxas-protocol-robust-extraction
Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/cxas-scrapi

Made for: Claude Code, Codex.

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 cxas-protocol-robust-extraction

README.md
[![agentmods](https://agentmods.dev/badge/skills/googlecloudplatform/cxas-scrapi/cxas-protocol-robust-extraction.svg)](https://agentmods.dev/skills/googlecloudplatform/cxas-scrapi/cxas-protocol-robust-extraction)
Your own site
<a href="https://agentmods.dev/skills/googlecloudplatform/cxas-scrapi/cxas-protocol-robust-extraction"><img src="https://agentmods.dev/badge/skills/googlecloudplatform/cxas-scrapi/cxas-protocol-robust-extraction.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00057 $0.00993
Opus 5 $0.00028 $0.00496
Sonnet 5 $0.00011 $0.00199
Haiku 4.5 $0.00006 $0.00099

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

Security

Grade A, and why

cxas-protocol-robust-extraction 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 7d 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/protocols/cxas-protocol-robust-extraction/SKILL.md · 90 lines

How it starts

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

Robust Extraction Protocol

This protocol defines the standard operating procedure for extracting exhaustive requirements (like subintents, CUJs, or logic rules) from large, complex, or fragmented customer artifacts.

It prevents the common LLM pitfalls of "context drift" and "truncation" by enforcing a strict "Divide, Conquer, and Verify" methodology.

General Principles & Anti-Hallucination Guardrails

To ensure 100% coverage and prevent data loss due to tool limits or implicit filtering, follow these principles across all phases:

  • Quantify the Scope: Before spawning any subagents or starting extraction, determine the exact total count of target items (files, directories, database rows). Record this number as your "Success Target." You must verify that the sum of items processed equals this target before proceeding to consolidation.
  • Coverage over Curation: Default to 100% extraction coverage. Never assume the user only wants the "top" or "most interesting" items unless explicitly instructed to apply a quality filter. A standard or repetitive item is still data that must be reported.
  • Circumvent Tool Caps: Be aware that search and listing tools often have display limits (e.g., capped at 50 or 1000 results). If the expected scale (from the Quantify step) exceeds the tool's limit, you must partition the work (e.g., by alphabet or ID range) to ensure no items are hidden by the tool's cap.
  • Maintain Traceability: For every extracted requirement or item, record the source file or location it was extracted from. This allows for easy verification and provides context when reviewing the consolidated results.

Core Directives

When tasked with comprehensive extraction or generation from a large corpus, you MUST follow this four-phase methodology:

Phase 1: Parallel Expert Discovery

Never use a single generalist agent or a single prompt to read all files.

  1. Categorize the input artifacts (e.g., Code/ADK, Diagrams, Test Cases).
  2. Spawn specialized expert subagents (e.g., cxas-ingestor-adk) in parallel, providing each with only the context relevant to their expertise.
  3. Consolidate their initial findings into a centralized list.

Read the full file on GitHub · 90 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. 7d ago First seen · 90 lines · 57 tokens per session scan A 03dc960bf60a

Subscribe to this mod's changes

cxas-protocol-robust-extraction is a skill published in the GitHub repository GoogleCloudPlatform/cxas-scrapi (95 stars, last pushed 3d ago), licensed Apache-2.0. It adds 57 tokens to every session and 993 once invoked, about $0.0003 per session on Opus 5. 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens