rawtrace-debug-browser

rawtrace-debug-browser is a skill for Claude Code, Codex from ss26367098/rawtrace-mcp. It costs 56 tokens per session (550 once invoked), scanned A, original, MIT.

A set of instructions for using RawTrace to investigate browser problems caused by timing or event order. Playwright and Cypress are tools for automated browser testing.

In plain words
What is it for?
Debugging flaky browser tests, unclear clicks, asynchronous page updates, API timing, WebSocket messages, downloads, redirects, authentication callbacks, and response ordering.
Why use it?
It helps explain failures that appear and disappear, or that ordinary page snapshots miss, such as a click, request, redirect, or temporary page change happening in an unexpected order.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the rawtrace-mcp plugin — 1 skill, 1 MCP server shipped together

Good fit Debugging flaky browser tests, unclear clicks, asynchronous page updates, API timing, WebSocket messages, downloads, redirects, authentication callbacks, and response ordering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ss26367098/rawtrace-mcp/rawtrace-debug-browser
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 ss26367098/rawtrace-mcp --skill rawtrace-debug-browser
Clone the repo
git clone --depth 1 https://github.com/ss26367098/rawtrace-mcp

Made for: Claude Code, Codex.

Or install rawtrace-mcp, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 rawtrace-debug-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/ss26367098/rawtrace-mcp/rawtrace-debug-browser/github.svg)](https://agentmods.dev/skills/ss26367098/rawtrace-mcp/rawtrace-debug-browser)
Your own site
<a href="https://agentmods.dev/skills/ss26367098/rawtrace-mcp/rawtrace-debug-browser"><img src="https://agentmods.dev/badge/skills/ss26367098/rawtrace-mcp/rawtrace-debug-browser/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 rawtrace-debug-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/ss26367098/rawtrace-mcp/rawtrace-debug-browser"><img src="https://agentmods.dev/badge/skills/ss26367098/rawtrace-mcp/rawtrace-debug-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 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.00056 $0.00550
Opus 5.5 $0.00022 $0.00220
Sonnet 5.5 $0.00011 $0.00110
Haiku 4.5 $0.00006 $0.00055

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

Security

Grade A, and why

rawtrace-debug-browser 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 17d 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.

skills/rawtrace-debug-browser/SKILL.md · 33 lines

How it starts

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

Diagnose browser transitions with RawTrace

RawTrace 0.4 is a passive recorder with nine capture/query tools. Browser operation belongs to the user's existing controller; no browser action, screenshot, eval, credential-editing or tool-profile interface exists here.

Capture an authorized reproduction

Use the CDP endpoint supplied by the user or established by their authorized development workflow. If it is unknown, obtain it from the controller setup; do not invent an endpoint or attach an unrelated browser.

  1. Call capture_targets with cdpUrl and acknowledgeRawCapture:true; select the relevant real target IDs.
  2. Call capture_start with the endpoint, targetIds and acknowledgeRawCapture:true before reproducing the issue. Retain sessionId and selected target IDs.
  3. Reproduce through the existing browser controller or let the user reproduce manually. RawTrace does not capture that controller's action log; correlate only evidence actually recorded.
  4. Stop with capture_stop when the intended observation is complete, unless the user requested continued recording.
  5. Read trace_info and narrowly filtered trace_events. Use afterSeq/nextAfterSeq for pagination and searchBodies:true only when network body text is relevant.
  6. Use trace_state with pageId equal to a selected targetId and either atSeq or atTime to compare recorded states. Inspect complete/gaps before drawing conclusions.
  7. Read referenced large results with trace_artifact, following nextOffset until hasMore is false. Use base64 for byte-exact assembly.

For already authorized development/test capture, supply the required acknowledgment without asking for duplicate consent. Ask only when the actual target/account/data authorization is unclear. This workflow does not expand the authorization of other browser tools.

All capture categories default to enabled. Disable categories the user excludes; Cookie scope is the selected pages' shared browser contexts, not individual tabs. Incremental storage does not redact passwords, cookies, tokens or personal data.

Read the full file on GitHub · 33 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 17d ago Changed · -32 lines · -21 tokens per session f853be082aa5
  2. 1mo ago First seen · 65 lines · 77 tokens per session scan A c42d78835b69

Subscribe to this mod's changes

rawtrace-debug-browser is a skill published in the GitHub repository ss26367098/rawtrace-mcp (1 stars, last pushed 18d ago), licensed MIT. It adds 56 tokens to every session and 550 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

Other skills, from other repositories

moli-webfetch

Fetch, inspect, crawl, and capture live, JavaScript-rendered websites with Moli. Use when Codex needs current web content, web research, fact lookup, link following, a bounded crawl, client-rendered or response-gated content, network diagnostics, or a standalone HTML, Markdown, JSON, semantic-tree, viewport or…

lexmount/moli · 90 tokens

moli-cdp-server

Start Moli's CDP server and connect Playwright, Puppeteer, or raw CDP clients. Use to run a headless-browser CDP endpoint, replace a Chromium process, attach over CDP, enable real layout and screenshot surfaces, or diagnose CDP discovery, connection, and target startup—even when Moli is not named.

lexmount/moli · 74 tokens

praman-sap-cli

SAP UI5 test automation via Playwright CLI. Use when testing SAP Fiori apps, discovering UI5 controls, debugging Praman tests, or automating SAP workflows. Extends playwright-cli with SAP/UI5 awareness.

mrkanitkar/playwright-praman · 50 tokens

CBrowser

Cognitive Browser — AI browser automation that simulates real user cognition. 122 MCP tools, 21 personas, 25 cognitive traits, constitutional safety, cognitive journeys with LLM-free trace replay, screen capture to GIF/WebP/WebM with an AI-readable frame manifest (v18.69.3). USE WHEN browser automation OR cognitive…

alexandriashai/cbrowser · 142 tokens

gem-pw

Browser-automated Gemini Gem CLI (CDP-first) — chat, CRUD, image gen, deep research, --collab surgical-diff review. No API key.

lesterppo/hermes-gem-pw · 39 tokens

playwright-e2e-testing

Production-grade Playwright end-to-end testing skill for AI coding agents. Provides specialized guidance for writing, debugging, and maintaining Playwright tests in TypeScript, JavaScript, and Python. Covers the full testing lifecycle: test structure and architecture (Page Object Model, fixtures, custom matchers)…

JPeetz/agent-skills · 316 tokens