agentleFS
witi-projectswiti-projects/Skills/network-request-auditing/SKILL.md

network-request-auditing

Skill2 starsChanged 6 months agoMITView on GitHub

After navigating and interacting in Cursor's built-in browser, use browser_network_requests to audit every fetch/XHR for failures, slowness, duplicate calls, and suspicious payloads. Use for API-heavy pages and after backend or client networking changes. Use when the user says "/network-request-auditing", "network request auditing", or asks about network request auditing.

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call browser_network_requests after meaningful interactions (and after navigation settles).

    line 14
  2. Very specific:

    Follow cursor-ide-browser workflow rules: use browser_snapshot before structural interactions.

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Network Request Auditing

Deep-dive network health using the cursor-ide-browser MCP. This skill focuses on browser_network_requests — not just “any 500s” but patterns that indicate bugs, waste, or security issues.

How it works

  1. Drive the app in the browser (navigate, click, submit forms) so real requests fire.
  2. Call browser_network_requests after meaningful interactions (and after navigation settles).
  3. Classify and report findings using the criteria below.

Follow cursor-ide-browser workflow rules: use browser_snapshot before structural interactions; after actions that change the page, take a fresh snapshot before the next interaction.

Audit checklist

Failures

  • 4xx / 5xx — list method, URL (path + query), status, and whether the UI handled the error.
  • CORS or network errors — often misconfigured origins or mixed content.

Performance

  • Slow requests — flag requests with high latency (e.g. > 500 ms server time if timings are visible; otherwise note unusually large waterfalls).
  • Duplicate calls — same URL + method fired multiple times in one user action (often a React effect or missing deduplication).
  • Oversized payloads — responses that look huge for what the UI needs (suggest pagination, field selection, or compression).

Security and privacy

  • Sensitive data in URLs — tokens or PII in query strings.
  • Missing auth — API calls that should send credentials or bearer tokens but do not (compare with adjacent authenticated calls).

Correctness

  • Unexpected hosts — calls to third parties not documented for the feature (trackers, accidental leaks).
  • Preflight storms — excessive OPTIONS requests may indicate wrong CORS caching or too many distinct origins.

Steps

  1. Start from a clean navigation — browser_navigate to the target URL (or use an existing tab via browser_tabs).
  2. Exercise the feature — interactions that trigger API usage (filters, infinite scroll, form save, modal open).
  3. Fetch network log — browser_network_requests after each logical step if the page does multiple round-trips.
  4. Report — structured output:
    • Summary counts (failed, slow, duplicate groups).
    • Table or bullet list of issues with URL pattern (not necessarily full secrets), status, category (failure / perf / security / correctness).
    • Recommended next code changes or investigations.

Notes

  • Iframe traffic may not appear in the same log — note if the feature runs inside an iframe.
  • Compare against expected API design; a 404 might be correct for “optional resource not found” if handled in UI.
  • Pair with browser_console_messages for errors that do not surface as failed HTTP (e.g. parse errors after 200).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.