← Back to Skills Marketplace
dougzl

Browser Network Inspector

by Dougzl · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
104
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install browser-network-inspector
Description
Browser-side request inspection and reporting for user-authorized web debugging. Use when you want one skill to observe page fetch/XHR/WebSocket activity, in...
README (SKILL.md)

Browser Network Inspector

A single-skill browser debugging capture tool for inspecting page requests and turning them into readable reports.

Use this when you want to:

  • see which APIs a page or button triggers
  • inspect login, registration, or form-submit flows
  • capture page-level fetch / XMLHttpRequest / basic WebSocket activity
  • export a clean JSON + Markdown report after browser actions

This skill is packaged as one workflow. Internally it uses a local browser runtime, but the user-facing experience should be treated as one skill from start to finish.

Use this skill for

  • Debugging requests from a web page you are authorized to inspect
  • Understanding login / registration / submit flows at the page level
  • Seeing which APIs a button click or form submit triggers
  • Capturing and summarizing fetch / XMLHttpRequest activity from the current page
  • Producing a redacted request summary for later analysis

Do not use this skill for

  • Extracting or replaying third-party login sessions
  • Capturing full system traffic
  • Pulling access tokens, cookies, session secrets, or passwords for reuse
  • Bypassing captchas, auth, or platform protections

About the capture model

This skill provides browser-side request capture, not raw packet sniffing.

It is designed to help with:

  • page request inspection
  • form submission debugging
  • login / registration flow analysis
  • browser API tracing around user actions

It can observe:

  • page-level fetch
  • page-level XMLHttpRequest
  • basic WebSocket lifecycle + message events

It does not try to replace system/network tools such as:

  • Wireshark
  • mitmproxy
  • Fiddler

It also does not inspect arbitrary native processes or full machine traffic.

In short: this skill is best described as a browser debugging capture and reporting tool.

Runtime expectation

  • This skill expects a local agent-browser CLI runtime to be installed on the machine.
  • The helper script scripts/capture-session.js auto-detects the local binary and drives the browser runtime for you.
  • If agent-browser is missing, install it first before using this skill.

Workflow

  1. Open the target page with the browser runtime managed by this skill.
  2. Inject the network collector into the page:
$collector = Get-Content "$env:USERPROFILE\.openclaw\workspace\skills\browser-network-inspector\scripts\collect-network.js" -Raw
agent-browser eval $collector
  1. Optional: configure include/exclude host filters before the flow:
agent-browser eval "window.__bniSetConfig({ includeHosts: ['example.com'], excludeHosts: ['ads.example.com'], captureWebSocket: true })"
  1. Perform the desired browser actions (open, click, fill, submit, wait).
  2. Read back the captured records:
agent-browser eval "JSON.stringify(window.__bniExport ? window.__bniExport() : [])"
  1. Save the JSON output to a local file.
  2. Run the summarizer:
node "$env:USERPROFILE\.openclaw\workspace\skills\browser-network-inspector\scripts\summarize-network.js" \x3Cinput.json> [output.md]
  1. Or use the bundled one-shot helper after you finish the browser actions:
node "$env:USERPROFILE/.openclaw/workspace/skills/browser-network-inspector/scripts/capture-session.js" --json-out ".capture/session.json" --md-out ".capture/session.md" --include-hosts "example.com,api.example.com"

v2 additions

  • Host include/exclude filtering
  • Basic WebSocket event logging
  • One-shot export helper: scripts/capture-session.js
  • Improved summary report with source breakdown

Polished workflow helpers

Additional JS-only helpers included:

  • scripts/clear-session.js — clear the in-page capture buffer
  • scripts/capture-and-report.js — create a timestamped report directory and save both JSON + Markdown
  • Export helpers sanitize non-JSON wrapper output before writing capture files

Example:

node "$env:USERPROFILE/.openclaw/workspace/skills/browser-network-inspector/scripts/clear-session.js"
node "$env:USERPROFILE/.openclaw/workspace/skills/browser-network-inspector/scripts/capture-and-report.js" --include-hosts "example.com,api.example.com" --label login-flow --open-report

Notes

  • This captures page-level JS network activity. It is not a full packet sniffer.
  • fetch and XMLHttpRequest are supported in v1.
  • v2 adds basic WebSocket event logging and a Node.js export helper.
  • Request and response bodies are truncated and redacted before export.
  • If a site uses service workers, native browser internals, or non-page network paths, results may be incomplete.
  • Keep helper scripts in JavaScript or Python only for this environment.
  • The bundled export helper is Node.js-based, auto-detects the local browser runtime executable, and injects the collector in chunks to avoid Windows command-length limits.

Redaction defaults

The collector and summarizer should redact or suppress obvious sensitive values such as:

  • authorization
  • cookie
  • set-cookie
  • password
  • token
  • accessToken
  • refreshToken
  • session
  • csrf

Output expectation

The summary should tell you:

  • how many requests were captured
  • which endpoints were hit
  • which requests failed
  • rough timing and status distribution
  • likely key requests in the user flow

If the user wants raw logs, save them locally first and avoid echoing full sensitive payloads into chat.

Usage Guidance
This skill appears coherent for browser-level debugging. Before installing: (1) Ensure the 'agent-browser' binary you have is from a trusted source — the scripts will run it and use it to eval JS into pages. (2) Only use the skill on sites you are authorized to inspect — the collector injects code (including eval) into pages and can capture request/response data. (3) Review the collector for any additional header/body fields you consider sensitive — the redaction list is conservative but not guaranteed to catch every secret pattern. (4) Avoid running this against pages containing third-party credentials, payment flows, or other high-risk secrets unless you accept the risk of accidental capture. If you need higher assurance, run captures in an isolated browser/profile or with a controlled test account.
Capability Analysis
Type: OpenClaw Skill Name: browser-network-inspector Version: 1.0.1 The browser-network-inspector skill is a legitimate debugging tool designed to capture and report page-level network activity (fetch, XHR, WebSockets). It includes proactive security features, such as a redaction engine in `scripts/collect-network.js` that masks sensitive keys like 'authorization', 'password', and 'token' before storage. The scripts (`capture-session.js`, `capture-and-report.js`) facilitate local data collection and report generation within the user's workspace, using standard process execution to interface with the required `agent-browser` runtime without any evidence of data exfiltration, persistence, or malicious intent.
Capability Assessment
Purpose & Capability
Name/description match the actual behavior: scripts inject a browser collector that instruments fetch/XHR/WebSocket, redact common sensitive fields, export JSON, and summarize into Markdown. The only external runtime required is a local 'agent-browser' CLI, which is referenced consistently in SKILL.md and scripts.
Instruction Scope
Runtime instructions require injecting the provided collector into the target page via agent-browser eval and then exporting logs. This matches the stated purpose, but the collector uses eval chunking to load itself into pages and the Node helpers execute local binaries (agent-browser) and write files under the user's workspace. Redaction is implemented but may not catch every sensitive pattern, so use only on pages you are authorized to inspect.
Install Mechanism
No install spec — instruction-only with bundled JS helpers. Nothing is downloaded from the network and no archive extraction occurs. The scripts expect an existing agent-browser binary but do not attempt to fetch or install it.
Credentials
The skill requires no environment variables or credentials. It reads typical local paths (HOME/USERPROFILE/APPDATA) to locate agent-browser and writes report files into the user's .openclaw workspace — behavior consistent with the stated purpose.
Persistence & Privilege
always:false and user-invocable. The skill only writes reports and temporary files under the workspace and does not modify other skills or system-wide settings. It does execute a local binary (agent-browser) as part of normal operation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install browser-network-inspector
  3. After installation, invoke the skill by name or use /browser-network-inspector
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Polished release copy: clearer positioning as a browser debugging capture and reporting tool, with improved public-facing capability and limitation notes.
v1.0.0
Initial public release: pure-JS browser request inspector with fetch/XHR/WebSocket capture, reporting helpers, and packet-capture behavior notes.
Metadata
Slug browser-network-inspector
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Browser Network Inspector?

Browser-side request inspection and reporting for user-authorized web debugging. Use when you want one skill to observe page fetch/XHR/WebSocket activity, in... It is an AI Agent Skill for Claude Code / OpenClaw, with 104 downloads so far.

How do I install Browser Network Inspector?

Run "/install browser-network-inspector" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Browser Network Inspector free?

Yes, Browser Network Inspector is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Browser Network Inspector support?

Browser Network Inspector is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Browser Network Inspector?

It is built and maintained by Dougzl (@dougzl); the current version is v1.0.1.

💬 Comments