claude-network-debug SKILL.md skillA

claude-network-debug from esonhugh/claude-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add esonhugh/claude-code/claude-network-debug@v0.1.0

Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
esonhugh/claude-code
Path
.claude/skills/claude-network-debug/SKILL.md
Versions recorded
1
Latest version
v0.1.0, committed Jul 18, 2026
Size
3,680 bytes
Repository stars
43
License
none declared

This skill should be used when the user asks about Claude Code “代理不生效”, “OAuth 网络失败”, “抓流”, “CONNECT”, “SSE/WebSocket”, or “MITM/CCH 对比”. It diagnoses HTTP_PROXY/HTTPS_PROXY/NO_PROXY, proxy routing, transport visibility, official/local wire parity, and authorized loopback MITM summaries. Use claude-runtime-debug for ordinary CLI/PTY diagnosis, claude-source-binary-analysis for offline checksum/static analysis, and claude-agent-workflow-validation for Agent/Workflow lifecycle validation.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Claude Code 网络与协议调试

用于经授权的本地网络、proxy、OAuth transport 和 wire-level 调试。先采用最小可见性方案:routing 问题使用 transparent proxy metadata;只有确实需要 decrypted body shape 或 CCH wire 值时才使用本地 MITM。

## 职责边界

- 本 skill:`HTTP_PROXY`、`HTTPS_PROXY`、`NO_PROXY`、OAuth 网络路径、CONNECT、upstream proxy、HTTP/2、SSE、WebSocket、MITM、CCH wire summary。
- `claude-runtime-debug`:`--print`、debug flags/log、stdout/stderr/exit code、普通 InteractiveTerminal。
- `claude-source-binary-analysis`:离线 CCH 算法、Bun extraction、静态 binary/source 分析。
- `claude-agent-workflow-validation`:Agent/Workflow、slash-command lifecycle 和 scripted tmux 证据。

## 安全规则

- 默认不读取、打印或分享 token、cookie、raw headers、private prompts、完整 bodies、stdout/stderr captures 或 certificate key material。
- Proxy 和 MITM 只绑定 `127.0.0.1`;命令显式传入 `--host 127.0.0.1`,不得暴露到 `0.0.0.0` 或不可信接口。
- 不把临时 CA 安装到 system/browser trust store;只通过目标子进程的 CA env 注入信任。
- 将 logs、runner stdout、summary、certificate、private key 和 body artifacts 视为本地敏感产物,不提交或上传。
- `NO_PROXY` 和 `no_proxy` 都可能绕过代理。只有在受控子进程内为目标请求清空它们;不要永久修改用户环境。
- 除非用户明确授权且 full plaintext body 对任务不可替代,不启用 body dump。

## 工作流

1. 记录目标 binary、配置、proxy env、target 和需要回答的问题。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add esonhugh/claude-code/claude-network-debug@sha256:d07d15d8f7f2ed5b

The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nj3asoldvso7iwdf.svg)](https://markdownregistry.com/a/art_nj3asoldvso7iwdf)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 18, 2026.

versioncommittedcommitsizeaudit
v0.1.0 latest2026-07-18 3df519a 3,680 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3680 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

esonhugh/claude-code · 43 stars · license none declared · pushed 2026-10-20 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_nj3asoldvso7iwdf
GET https://markdownregistry.com/api/v1/resolve?ref=esonhugh/claude-code/claude-network-debug
GET https://markdownregistry.com/api/v1/blob/d07d15d8f7f2ed5bcf0c9268ffd76ddc942efd328b05016f509b3909be86c9e2

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from esonhugh/claude-code

claude-agent-workflow-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-agent-workflow-validation/SKILL.md · This skill should be used automatically when the user asks for strict binary-side validation of Agent, Workflow…
v0.3.0 · audit A · 43 stars
claude-code-feature-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-code-feature-validation/SKILL.md · Use this skill automatically whenever validating a Claude Code repository change: a new feature, modified feature, bug…
v0.1.0 · audit A · 43 stars
claude-runtime-debug SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-runtime-debug/SKILL.md · This skill should be used when the user asks to diagnose Claude Code CLI/runtime behavior, including “运行时调试”…
v0.2.0 · audit A · 43 stars
claude-source-binary-analysis SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-source-binary-analysis/SKILL.md · This skill should be used when the user asks to statically analyze authorized Claude Code source or…
v0.2.0 · audit A · 43 stars
release-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/release-validation/SKILL.md · Validates release readiness with related bun tests, make release-check, current-binary scripted tmux interactions, and…
v0.1.0 · audit A · 43 stars
CLAUDE.md CLAUDE.md file
esonhugh/claude-code · CLAUDE.md
git:20260723.44dceca · audit A · 43 stars
claude-api SKILL.md skill
esonhugh/claude-code · src/skills/bundled/claude-api/SKILL.md
git:20260331.4178dd7 · audit C · 43 stars
verify SKILL.md skill
esonhugh/claude-code · src/skills/bundled/verify/SKILL.md · Verify a code change by running the app and checking the user-facing outcome.
git:20260331.4178dd7 · audit B · 43 stars

Every file in esonhugh/claude-code

Browse by kind, by grade A, or by owner.