debugging-network-issues

debugging-network-issues is a skill for Claude Code, Codex from daymade/claude-code-skills. It costs 91 tokens per session (14,021 once invoked), scanned A, original, MIT.

A method for investigating network, streaming, and protocol failures through layered experiments that try to disprove likely causes.

In plain words
What is it for?
It is for diagnosing connection resets, HTTP/2 stream errors, stalled SSE or long-polling requests, timeout patterns, certificate errors, and routing problems.
Why use it?
It helps avoid blaming the first plausible log message and narrows failures across clients, proxies, tunnels, CDNs, and servers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit It is for diagnosing connection resets, HTTP/2 stream errors, stalled SSE or long-polling requests, timeout patterns, certificate errors, and routing problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/debugging-network-issues
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,557 stars · on GitHub

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 daymade/claude-code-skills --skill debugging-network-issues
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin debugging-network-issues — /plugin install debugging-network-issues after adding the marketplace above.

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 debugging-network-issues

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/debugging-network-issues/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/debugging-network-issues)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/debugging-network-issues"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/debugging-network-issues/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 debugging-network-issues

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/debugging-network-issues"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/debugging-network-issues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,021 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket warn 18 Nov 2026
  • Snyk warn 18 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 418
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Privilege Escalation · line 419
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Prompt Injection · line 28
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 31
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 32
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Rogue Agent · line 419
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00091 $0.14021
Opus 5.5 $0.00036 $0.05608
Sonnet 5.5 $0.00018 $0.02804
Haiku 4.5 $0.00009 $0.01402

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

Security

Grade A, and why

debugging-network-issues scanned grade A with 1 finding 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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/layered-isolation-probe.sh, scripts/mock-idle-upstream.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| macOS Tailscale ⨯ proxy/VPN conflict (Shadowrocket / Clash / Surge): `tailscale ping` works but SSH/curl/git fails, `Connection closed by 198.18.x.x`, TUN DNS hijack, ~60s `getaddrinfo` resolver stall | **tunnel-doctor
debugging-network-issues/SKILL.md · 549 lines

How it starts

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

Debugging Network Issues

Evidence-driven investigation methodology for incidents where the obvious cause is probably wrong. Built from a real 5-hour production case (see references/case-sse-rst-130s.md) where assumption-stacking wasted hours that a 10-minute layered experiment would have resolved.

Apply this skill when the user reports a network/streaming/protocol symptom and the investigator feels tempted to diagnose from one log line or one circumstantial data point. The skill's job is to slow that reflex down.

Triage first — is this a known domain?

Before applying the general methodology below, check whether the symptom points at a stack with a dedicated skill available to the consumer. Those carry the domain-specific symptom→cause→fix tables this skill deliberately stays general about — start there, and come back here for methodology if the root cause turns out to be elsewhere.

If the symptom is… Start with
Codex session Bad Request / HTTP 400, native request or SSE failure, or a question about failure time versus a fix codex-request-diagnostics, when available; otherwise continue this Skill's evidence-first method using available native/session evidence and explicit coverage gaps
macOS Tailscale ⨯ proxy/VPN conflict (Shadowrocket / Clash / Surge): tailscale ping works but SSH/curl/git fails, Connection closed by 198.18.x.x, TUN DNS hijack, ~60s getaddrinfo resolver stall tunnel-doctor
Cloudflare config: ERR_TOO_MANY_REDIRECTS, SSL-mode mismatch, DNS / proxy-status issues behind the orange cloud cloudflare-troubleshooting
Windows App / AVD / W365 RDP connection quality: WebSocket instead of UDP Shortpath, high RTT, STUN/TURN interference windows-remote-desktop-connection-doctor
Client-side proxy / VPN / TUN misrouting: one specific site fails with ERR_CONNECTION_CLOSED or SSL_ERROR_SYSCALL, other sites work, DNS returns fake/TUN IPs, and adding a PROXY rule did not help this skill — read references/case-proxy-tun-cname-override.md first
TLS certificate-verification errors (UNKNOWN_CERTIFICATE_VERIFICATION_ERROR, a cert for the wrong site) or mid-handshake EOFs on every DIRECT-routed/domestic domain at once, while proxied domains work — and any proxy health watchdog still reports green tunnel-doctor (TUN DIRECT split-brain step)
The proxy is reachable and the OS/Tailscale route is healthy, but bulk transfers are slow and changing the active exit/node changes the measured rate tunnel-doctor — proxy node / exit / chain capacity branch
A page or API completes slowly, including small responses that return 200; the slow layer is unknown Read latency investigation priorities before selecting a lower-level probe
Bulk transfers crawl, jobs overrun their estimates, or files arrive truncated while latency and health checks look fine this skill — go straight to Step 0.7; preserve the throughput comparison
A whole group of smart-home / IoT devices is offline at once — often weeks after a router/AP swap or Wi-Fi settings change; the hub is "right there" but its children are all dead, plus some direct-Wi-Fi devices this skill — read references/case-iot-router-migration-wpa3.md first

Read the full file on GitHub · 549 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. 13d ago Changed · +2 lines 38ff857b276b
  2. 16d ago Changed · +1 lines 347d8680837c
  3. 17d ago Changed · +5 lines 68041c950239
  4. 18d ago Changed · +5 lines 782d28fc6c65
  5. 21d ago Changed · +24 lines b8758c39c67d
  6. 25d ago Changed · +3 lines adfa62199a7e
  7. 26d ago Changed · +1 lines 2f9cce643110
  8. 1mo ago Changed 7c2e24eedad9
  9. 1mo ago Changed 35385615ac5b
  10. 1mo ago First seen · 508 lines · 91 tokens per session scan A c420d27e9b85

Subscribe to this mod's changes

debugging-network-issues is a skill published in the GitHub repository daymade/claude-code-skills (1,557 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 14,021 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

debugging-network-issues compared with skills from other repositories

debugging-network-issues next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debugging-network-issuesdaymade/claude-code-skillsSkill1.6ktodayMITA91Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337yesterdayMITA28Claude Code, Codex