#580 by GitHub stars
DUNHKpcc/Claude-Guardian
带着作者和社区的真实经验,陪用户准备 Claude 的订阅、账号、固定出口 IP 和运行环境:订阅与支付渠道、注册与养号节奏、本机(Clash TUN、Windows 防火墙、Mac LuLu)/ VM / VPS 三条路线的搭建与防火墙、整机只走 IPv4 的出口验证、线路优化、403/429/529 等故障分诊、旧设备清理规划;改动按 A/B/C 三档授权。也可直接用作 VPS、家宽、线路和封号经验的帖子与论坛搜索工具。
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
skills/claude-guardian/SKILL.md
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → 316ca2060288
No earlier version was observed for comparison.
Verified commit 316ca20602887a672a3b8fcecc7f397f7109351f
git clone --filter=blob:none --no-checkout https://github.com/DUNHKpcc/Claude-Guardian.git .hotskills/dunhkpcc-claude-guardian && git -C .hotskills/dunhkpcc-claude-guardian checkout --detach 316ca20602887a672a3b8fcecc7f397f7109351f
# Copy each selected skill directory from .hotskills/dunhkpcc-claude-guardian into .claude/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/DUNHKpcc/Claude-Guardian.git .hotskills/dunhkpcc-claude-guardian && git -C .hotskills/dunhkpcc-claude-guardian checkout --detach 316ca20602887a672a3b8fcecc7f397f7109351f
# Copy each selected skill directory from .hotskills/dunhkpcc-claude-guardian into .agents/skills/<skill-name>/Heat
8.4- Star growth, last 7 daysAhead of 100% of tracked repositories
- Star growth, last 24 hoursAhead of 99% of tracked repositories
- Rank movement, last 7 daysNot available
- Commits, last 30 daysAhead of 97% of tracked repositories
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekAhead of 0% of tracked repositories
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
- claude-guardian
skills/claude-guardian
How it works
claude-guardian
When your agent uses it
带着作者和社区的真实经验,陪用户准备 Claude 的订阅、账号、固定出口 IP 和运行环境:订阅与支付渠道、注册与养号节奏、本机(Clash TUN、Windows 防火墙、Mac LuLu)/ VM / VPS 三条路线的搭建与防火墙、整机只走 IPv4 的出口验证、线路优化、403/429/529 等故障分诊、旧设备清理规划;改动按 A/B/C 三档授权。也可直接用作 VPS、家宽、线路和封号经验的帖子与论坛搜索工具。
What it loads into context
Frontmatter
142 tokensAlways available to the agent
SKILL.md
8,691 tokensWhen the skill is activated
Reference documents
151,203 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 和用户说话的方式(先读这一节)
- 开始方式
- 环境入口顺序(2026-10-19 用户确认更新)
- 同一电脑默认统一代理路径,可明确指定分流例外
- 完整访谈入口
- 内置脚本与宿主库
- 首问示例
- 来源原文阅读
- Agent 补充资料来源
- 按需加载
- 授权档位
- 少打扰用户
- 每台机器环境不同
- 始终保护
- 选定设备经历与完整本地数据清理
Scripts executed separately
assets/remote-hardening/flclash-crash-heal.shassets/remote-hardening/install-reverse-tunnel.shassets/vm-killswitch/enable-guest-ssh.shassets/vm-killswitch/install-flclash-killswitch.shassets/vm-killswitch/install-flclash-tun.shassets/vps-firewall/vps-guard.shscripts/agent_remediation.pyscripts/agent_rules_task.pyscripts/clash_inventory.pyscripts/clash_verge_258.pyscripts/cleanup_cli.pyscripts/cleanup_transactions.pyscripts/config_edit_plan.pyscripts/egress_verifier.pyscripts/environment_entry.pyscripts/guardian.pyscripts/interview_cli.pyscripts/interview_flow.pyscripts/inventory_cli.pyscripts/native_clash_verge_mac.pyscripts/native_claude_state_mac.pyscripts/native_cleanup_mac.pyscripts/network_check.pyscripts/probe_evidence.pyscripts/recovery_cli.pyscripts/remedy_plans.pyscripts/repair_cli.pyscripts/repair_execution.pyscripts/rules_extension_plan.pyscripts/serve_webrtc.pyscripts/status_dashboard.pyscripts/stun_probe.pyscripts/traffic_policy.pyscripts/transactions.py../../tools/gen_section_index.py
Files
SKILL.mdcore31,995 bytesassets/remote-hardening/flclash-crash-heal.shruns5,717 bytesassets/remote-hardening/install-reverse-tunnel.shruns3,971 bytesassets/vm-killswitch/enable-guest-ssh.shruns1,310 bytesassets/vm-killswitch/install-flclash-killswitch.shruns12,210 bytesassets/vm-killswitch/install-flclash-tun.shruns4,212 bytesassets/vps-firewall/vps-guard.shruns5,233 bytesassets/webrtc-probe.htmlasset10,253 bytesreferences/account-onboarding.mddoc9,821 bytesreferences/accounts-and-payments.mddoc27,679 bytesreferences/advanced-route.mddoc16,419 bytesreferences/agent-remediation.mddoc14,054 bytesreferences/agent-rules-task.mddoc9,865 bytesreferences/authorization-tiers.mddoc9,322 bytesreferences/ban-appeal.mddoc2,601 bytesreferences/cleanup-cli-usage.mddoc17,258 bytesreferences/contact-and-safety.mddoc8,504 bytesreferences/egress-ip-options.mddoc5,194 bytesreferences/evidence-policy.mddoc12,512 bytesreferences/host-libraries.mddoc24,162 bytesreferences/illegal-tools-cleanup.mddoc8,694 bytesreferences/incidents-and-integrations.mddoc27,662 bytesreferences/intake.mddoc39,409 bytesreferences/line-optimization.mddoc11,559 bytesreferences/linux-cleanup.mddoc6,060 bytesreferences/local-firewall-prompts.mddoc19,405 bytesreferences/macos-dns-case-lessons.mddoc8,118 bytesreferences/mobile-guidance.mddoc3,860 bytesreferences/network-and-remedies.mddoc10,844 bytesreferences/routes-and-platforms.mddoc31,518 bytesreferences/scripts-index.mddoc6,103 bytesreferences/section-index.mddoc28,163 bytesreferences/source-library.mddoc10,560 bytesreferences/trace-cleanup.mddoc8,367 bytesreferences/vm-guidance.mddoc12,574 bytesreferences/vps-guidance.mddoc16,613 bytesreferences/whole-machine-ipv4.mddoc13,692 bytesreferences/windows-cleanup.mddoc16,906 bytesscripts/agent_remediation.pyruns31,509 bytesscripts/agent_rules_task.pyruns20,214 bytesscripts/clash_inventory.pyruns19,314 bytesscripts/clash_verge_258.pyruns10,733 bytesscripts/cleanup_cli.pyruns17,336 bytesscripts/cleanup_transactions.pyruns41,777 bytesscripts/config_edit_plan.pyruns13,667 bytesscripts/egress_verifier.pyruns8,594 bytesscripts/environment_entry.pyruns13,886 bytesscripts/guardian.pyruns58,044 bytesscripts/interview_cli.pyruns8,411 bytesscripts/interview_flow.pyruns175,289 bytesscripts/inventory_cli.pyruns10,733 bytesscripts/native_clash_verge_mac.pyruns4,922 bytesscripts/native_claude_state_mac.pyruns10,037 bytesscripts/native_cleanup_mac.pyruns28,378 bytesscripts/network_check.pyruns20,707 bytesscripts/probe_evidence.pyruns3,055 bytesscripts/recovery_cli.pyruns15,139 bytesscripts/remedy_plans.pyruns19,543 bytesscripts/repair_cli.pyruns22,842 bytesscripts/repair_execution.pyruns13,001 bytesscripts/rules_extension_plan.pyruns14,183 bytesscripts/serve_webrtc.pyruns17,870 bytesscripts/status_dashboard.pyruns17,492 bytesscripts/stun_probe.pyruns4,682 bytesscripts/traffic_policy.pyruns1,258 bytesscripts/transactions.pyruns42,787 bytessources/R02-images/dual-tunnel.pngasset11,933 bytessources/R02-images/single-relay.pngasset12,703 bytessources/R02-vps-line-optimization.mddoc12,718 bytessources/S01-server-glossary.mddoc6,565 bytessources/S02-ai-payments.mddoc24,119 bytessources/S03-claude-experience.pdfasset758,369 bytessources/S03-extracted-text.mddoc7,639 bytessources/S03-source-text.mddoc6,024 bytessources/S04-claude-guide.mddoc15,847 bytessources/S05-local-protection.mddoc20,163 bytessources/S06-macos-cleanup-sanitized.mddoc11,769 bytessources/S07-vps-script-catalog.mddoc1,939 bytessources/S08-extracted-text.mddoc10,399 bytessources/S08-vps-claude-tutorial.pdfasset968,967 bytessources/manifest.jsonasset17,290 bytessources/vps-recommendations/INDEX.mddoc3,295 bytessources/vps-recommendations/biz-aws-ec2-taipei.pdfasset1,079,782 bytessources/vps-recommendations/biz-aws-lightsail-my.pdfasset1,376,376 bytessources/vps-recommendations/biz-azure-jp-b2pts.pdfasset221,345 bytessources/vps-recommendations/biz-azure-sg-b2ats.pdfasset225,612 bytessources/vps-recommendations/biz-dmit.pdfasset1,519,204 bytessources/vps-recommendations/home-aaitr.pdfasset2,294,479 bytessources/vps-recommendations/home-nodemach.pdfasset837,391 bytessources/vps-recommendations/home-novixlink.pdfasset725,099 bytessources/vps-recommendations/home-qqpw.pdfasset603,180 bytessources/vps-recommendations/home-radonet.pdfasset771,648 bytessources/vps-recommendations/home-residentialvps.pdfasset744,111 bytessources/vps-recommendations/home-tokyonline.pdfasset570,252 bytessources/vps-recommendations/home-zorocloud.pdfasset471,197 bytessources/vps-recommendations/value-bandwagon.pdfasset930,642 bytessources/vps-recommendations/value-qiansu.pdfasset1,050,276 bytessources/vps-recommendations/value-vmiss.pdfasset1,213,266 bytessources/vps-recommendations/value-vmrack.pdfasset626,692 bytes../../tools/gen_section_index.pyruns2,822 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubSkills included
- claude-guardian
Repository facts
- License
- GPL-3.0
- Created
- Oct 15, 2026
- Last pushed
- Nov 6, 2026
- Forks
- 239
- Open issues
- 5
- Project activity
- Active
Rank over the last 12 weeks
Now #580 · best #579
- #605 on Nov 1
- #601 from Nov 2 to Nov 3
- #590 on Nov 4
- #587 on Nov 5
- #579 on Nov 6
- #580 since Nov 7
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 3, 2026
- No broad tool permissions
- 94 dangerous shell commandsin 20 files: claude-guardian/assets/vm-killswitch/install-flclash-tun.sh:13 claude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:4 claude-guardian/sources/S08-extracted-text.md:76 and 17 more
- 406 network referencesin 33 files: claude-guardian/references/evidence-policy.md:33 claude-guardian/sources/S02-ai-payments.md:148 claude-guardian/scripts/network_check.py:17 and 30 more
- 1 obfuscation signalin 1 file: claude-guardian/scripts/transactions.py:367
- No instruction overrides
- 35 executable scriptsin 35 files: claude-guardian/assets/remote-hardening/flclash-crash-heal.sh:1 claude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:1 claude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:1 and 32 more
- 45 references to secretsin 13 files: claude-guardian/scripts/native_claude_state_mac.py:3 claude-guardian/sources/S08-extracted-text.md:83 claude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:36 and 10 more
- No requests to vote in Hot
Show all 581 signals by file
skills/claude-guardian/SKILL.md
- Network accessline 50
整机是否达标用 [whole-machine-ipv4.md](references/whole-machine-ipv4.md) 的取证和 `scripts/egress_verifier.py` 判定;`traffic_policy`、访谈评估和面板只输出旧的目标范围结论,不拿它们当整机结论。没取到的证据标 unknown,单次 curl 成功不算整机通过。环境修复后的浏览器验收网址是 https://ip.net.coffee/claude/:用户本人在实际用的浏览器打 - Network accessline 93
| Windows 本机:关闭网卡 IPv6(默认,B 档) | [agent-remediation.md 的 Windows 网卡 IPv6](references/agent-remediation.md#windows-adapter-ipv6-hint) | | **账号被封或被限、问“多久被封的”、KYC 触发或身份核验**(任一出现就附,不必等用户问) | **[account-onboarding.md 的 A0b 短期封号时间线](references/ac - Network accessline 94
| **账号被封或被限、问“多久被封的”、KYC 触发或身份核验**(任一出现就附,不必等用户问) | **[account-onboarding.md 的 A0b 短期封号时间线](references/account-onboarding.md#a0b短期封号时间线出问题时先对照排查方向)**(五个时间段对应的排查方向,来自 [S03 第 5 页](sources/S03-claude-experience.pdf),必附)、[accounts-and-payments. - Network accessline 95
| Windows 清理 Claude 本机数据(官方路径、分档、备份、隔离、还原;无内置宿主) | [windows-cleanup.md](references/windows-cleanup.md)(必附)、官方 [.claude 目录说明](https://code.claude.com/docs/en/claude-directory) | - Network accessline 113
| 渠道 | 地址 | 适合找什么 | | --- | --- | --- | | Linux.do | https://linux.do | 国内用户的 Claude、代理、VPS、家宽、支付讨论和教程 | - Network accessline 114
| --- | --- | --- | | Linux.do | https://linux.do | 国内用户的 Claude、代理、VPS、家宽、支付讨论和教程 | | NodeSeek | https://www.nodeseek.com | VPS、线路、家宽、中转、服务器评测与教程 | - Network accessline 115
| Linux.do | https://linux.do | 国内用户的 Claude、代理、VPS、家宽、支付讨论和教程 | - Network accessline 116
| NodeSeek | https://www.nodeseek.com | VPS、线路、家宽、中转、服务器评测与教程 | - Network accessline 117
| V2EX | https://www.v2ex.com | 技术讨论、封号与支付经验、工具选型 | - Network accessline 118
| Reddit | https://www.reddit.com(如 r/ClaudeAI) | 英文社区的 Claude 使用、账号、限额与新功能讨论 | - Network accessline 119
| X | https://x.com | 作者和社区的最新动态、教程原帖、工具发布 | - Network accessline 120
| IDC Flare | https://idcflare.com/ | VPS 渠道、家宽拼车(所有者指定;该站有 Cloudflare 验证,Agent 自动抓取可能被拦,被拦时如实说读不到,请用户在浏览器里打开,不绕过) | - Network accessline 121
| VPSHub | https://vpshub.org/zh/ | VPS 商家与线路信息(所有者指定) | - Network accessline 123
所有者在 S03 第 5 页指的路:找 VPS 搜 IDC Flare、NodeSeek、Linux.do 的 VPS 分区、VPSHub;**家宽去 Linux.do(L 站)的 VPS 分区找,家宽拼车去 IDC Flare 找**。所有者列出的帖子:[最新退款教程](https://linux.do/t/topic/2971757)、[NodeSeek 教程](https://www.nodeseek.com/post-968032-1)、[Linux.do 家宽总结篇
skills/claude-guardian/assets/remote-hardening/flclash-crash-heal.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 11
# 环境变量: GUI_USER(默认 sudo 用户)、TUN_DEV(默认 FlClash)、FLCLASH_BIN(默认 /opt/FlClash/FlClash)、 - Dangerous shell operationline 47
rm -f "$DEAD_SINCE" - Dangerous shell operationline 58
rm -f "$DEAD_SINCE" - Dangerous shell operationline 128
rm -f /etc/systemd/system/flclash-core-watchdog.service /etc/systemd/system/flclash-core-watchdog.timer \
skills/claude-guardian/assets/remote-hardening/install-reverse-tunnel.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 8
# sudo VPS_HOST=<中转VPS的IPv4> VPS_SSH_PORT=<VPS的sshd端口> KEY_PATH=<已有私钥路径> bash install-reverse-tunnel.sh install - Dangerous shell operationline 10
# 可选: VPS_USER(默认 root)、REMOTE_BIND_PORT(VPS 回环上的落点端口,默认 2222)、LOCAL_SSH_PORT(默认 22)、TARGET_USER(默认 sudo 用户) - Dangerous shell operationline 35
# sudo 下复制出的文件属主是 root,sshd 客户端会拒读;必须 chown 和 chmod 600 - Access to secretsline 36
[Credential-related source omitted] - Access to secretsline 37
[Credential-related source omitted] - Access to secretsline 48
[Credential-related source omitted] - Access to secretsline 54
[Credential-related source omitted] - Dangerous shell operationline 63
install -Dm644 "$UNIT.tmp" "$UNIT" && rm -f "$UNIT.tmp" - Dangerous shell operationline 76
rm -f "$UNIT" - Access to secretsline 78
[Credential-related source omitted] - Dangerous shell operationline 85
*) die "用法: sudo VPS_HOST=... VPS_SSH_PORT=... KEY_PATH=... $0 install | status | uninstall" ;;
skills/claude-guardian/assets/vm-killswitch/enable-guest-ssh.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 5
# 用法: sudo SSH_SRC=<管理机地址或网段> NIC=<客机网卡名> bash enable-guest-ssh.sh - Dangerous shell operationline 12
sudo pacman -S --needed --noconfirm openssh - Dangerous shell operationline 13
sudo sshd -t - Dangerous shell operationline 14
sudo systemctl enable --now sshd - Dangerous shell operationline 16
if sudo ufw status 2>/dev/null | grep -q '^Status: active'; then - Dangerous shell operationline 18
sudo ufw allow in on "$NIC" from "$SSH_SRC" to any port 22 proto tcp - Dangerous shell operationline 22
sudo systemctl is-active sshd
skills/claude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 4
# EXPECTED_EXIT_IP 可选,用于 test 比对固定出口;服务用户改为当前 sudo 用户。 - Dangerous shell operationline 37
# sudo 会重置 HOME,还原真实用户家目录 - Dangerous shell operationline 41
s() { sudo "$@"; } - Network accessline 71
echo " $srv: 系统解析疑似 fake-ip,走 DoH..." >&2 local doh doh=$(curl -4 -s --max-time 15 -H 'accept: application/dns-json' \ - Network accessline 72
local doh doh=$(curl -4 -s --max-time 15 -H 'accept: application/dns-json' \ "https://1.1.1.1/dns-query?name=${srv}&type=A" 2>/dev/null || true) - Network accessline 73
doh=$(curl -4 -s --max-time 15 -H 'accept: application/dns-json' \ - Network accessline 74
"https://1.1.1.1/dns-query?name=${srv}&type=A" 2>/dev/null || true) - Dangerous shell operationline 108
[ -n "$LAN_NET" ] || die "请先设置 LAN_NET(客机局域网网段,如 192.168.1.0/24),例如: sudo LAN_NET=192.168.1.0/24 $0 install" - Dangerous shell operationline 165
rm -f "$NFT_FILE.tmp" - Dangerous shell operationline 173
rm -f $CONFIRM_FLAG - Dangerous shell operationline 207
s install -Dm644 "$UNIT.tmp" "$UNIT" && rm -f "$UNIT.tmp" - Dangerous shell operationline 222
s install -Dm644 "$RUNIT.tmp" "$RUNIT" && rm -f "$RUNIT.tmp" - Dangerous shell operationline 236
s install -Dm644 "$RTIMER.tmp" "$RTIMER" && rm -f "$RTIMER.tmp" - Network accessline 267
do_test() { echo "[1] 经隧道出口(应为 ${EXPECTED_EXIT_IP:-你固定的出口 IP}):" EXPECTED_EXIT_IP="$EXPECTED_EXIT_IP" curl -4 -s --max-time 12 https://ipinfo.io/json | python3 -c ' - Network accessline 268
echo "[1] 经隧道出口(应为 ${EXPECTED_EXIT_IP:-你固定的出口 IP}):" EXPECTED_EXIT_IP="$EXPECTED_EXIT_IP" curl -4 -s --max-time 12 https://ipinfo.io/json | python3 -c ' import json,os,sys - Dangerous shell operationline 269
EXPECTED_EXIT_IP="$EXPECTED_EXIT_IP" curl -4 -s --max-time 12 https://ipinfo.io/json | python3 -c ' - Network accessline 269
EXPECTED_EXIT_IP="$EXPECTED_EXIT_IP" curl -4 -s --max-time 12 https://ipinfo.io/json | python3 -c ' - Access to secretsline 272
[Credential-related source omitted] - Dangerous shell operationline 286
s rm -f "$UNIT" "$RUNIT" "$RTIMER"
skills/claude-guardian/assets/vm-killswitch/install-flclash-tun.sh
- Executable scriptline 1
#!/usr/bin/env bash - Network accessline 9
version="${FLCLASH_VERSION:-0.9.1}" arch="${ARCH:-arm64}" base="https://github.com/chen08209/FlClash/releases/download/v${version}" - Network accessline 10
arch="${ARCH:-arm64}" base="https://github.com/chen08209/FlClash/releases/download/v${version}" tmp=$(mktemp -d) - Network accessline 11
base="https://github.com/chen08209/FlClash/releases/download/v${version}" - Dangerous shell operationline 13
trap 'rm -rf "$tmp"' EXIT - Network accessline 15
echo "Downloading and verifying FlClash ${arch}..." curl -L --silent --show-error --fail --max-time 90 \ - Network accessline 16
curl -L --silent --show-error --fail --max-time 90 \ - Network accessline 17
-o "$tmp/FlClash.deb" \ "$base/FlClash-${version}-linux-${arch}.deb" curl -L --silent --show-error --fail --max-time 30 \ - Network accessline 18
"$base/FlClash-${version}-linux-${arch}.deb" - Network accessline 19
curl -L --silent --show-error --fail --max-time 30 \ - Network accessline 20
-o "$tmp/SHA256SUMS" \ "$base/SHA256SUMS" expected=$(awk -v name="./FlClash-${version}-linux-${arch}.deb" '$2==name{print $1}' "$tmp/SHA256SUMS") - Network accessline 21
"$base/SHA256SUMS" - Dangerous shell operationline 29
echo 'Installing runtime libraries (sudo password required)...' - Dangerous shell operationline 30
sudo pacman -S --needed libayatana-indicator ayatana-ido - Dangerous shell operationline 35
sudo zstd -dc "$tmp/ar/data.tar.zst" | sudo tar -xpf - -C / - Dangerous shell operationline 36
sudo chown -R root:root /opt/FlClash - Dangerous shell operationline 37
sudo chmod 0755 /opt/FlClash /opt/FlClash/FlClash /opt/FlClash/FlClashCore /opt/FlClash/FlClashHelperService - Dangerous shell operationline 51
sudo install -Dm644 "$tmp/flclash.desktop" /usr/share/applications/flclash.desktop - Dangerous shell operationline 69
sudo modprobe tun - Dangerous shell operationline 71
echo tun | sudo tee /etc/modules-load.d/tun.conf >/dev/null - Dangerous shell operationline 74
sudo /opt/FlClash/FlClashHelperService install - Dangerous shell operationline 82
sudo install -d /etc/systemd/system/flclash-helper.service.d - Dangerous shell operationline 83
sudo tee /etc/systemd/system/flclash-helper.service.d/guardian.conf >/dev/null <<DROPIN - Dangerous shell operationline 89
sudo systemctl daemon-reload - Dangerous shell operationline 90
sudo systemctl restart flclash-helper.service
skills/claude-guardian/assets/vps-firewall/vps-guard.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 12
# 用法(sudo 运行): - Dangerous shell operationline 35
[ -n "$ADMIN_NET" ] || die "请先设置 ADMIN_NET(你的管理来源,如 203.0.113.7/32 或 100.64.0.0/10),例如: sudo ADMIN_NET=203.0.113.7/32 $0 install" - Dangerous shell operationline 73
rm -f $CONFIRM_FLAG - Dangerous shell operationline 117
rm -f "$UNIT" "$NFT_FILE"
skills/claude-guardian/references/accounts-and-payments.md
- Network accessline 127
1. **先准备环境:**按选定路线把出口修好,用平时用 Claude 的同一个出口和浏览器。 2. **打开官网:**浏览器打开 https://account.apple.com ,点“创建你的 Apple 账户”(Create Your Apple Account)。 - Network accessline 128
2. **打开官网:**浏览器打开 https://account.apple.com ,点“创建你的 Apple 账户”(Create Your Apple Account)。 - Network accessline 133
7. **补全商店信息:**网页注册的账号还没有付款信息。在 iPhone 或 iPad 的 App Store 用这个账号登录,按提示检查账户信息,付款方式选“无”(None)。**用礼品卡支付不需要填账单地址,也不需要绑卡**(所有者 2026-10-27)。 8. **确认商店地区:**登录后在 App Store 的账户页确认商店地区是美国,再按 B2 第 2 步继续。 9. **养 3 到 7 天再充值:****新 Apple ID 注册后立马充值、没有养 3 到 - Network accessline 135
9. **养 3 到 7 天再充值:****新 Apple ID 注册后立马充值、没有养 3 到 7 天,容易遇到 Apple 支付风控**,具体表现是:礼品卡扣款不成功、卡在支付页面、会员不到账。遇到了要**联系 Apple 客服解决**(https://getsupport.apple.com ),不要换账号反复兑换,也不要再买一份。 - Network accessline 214
- O05 [支持地区](https://support.claude.com/en/articles/8461763-where-can-i-access-claude)、O08 [身份核验](https://support.claude.com/en/articles/14328960-identity-verification-on-claude) - Network accessline 215
- O07 [付费计划账单](https://support.claude.com/en/articles/8325618-paid-plan-billing-faqs)、O10 [退款](https://support.claude.com/en/articles/12386328-request-a-refund-for-a-paid-claude-plan) - Network accessline 216
- O12 [Apple 兑换](https://support.apple.com/en-us/118242)、O13 [Apple 余额用途](https://support.apple.com/en-us/118245)、O14 [兑换错误](https://support.apple.com/en-us/108285)、O15 [Apple 账户国家或地区](https://support.apple.com/en-my/118283) - Network accessline 217
- O16 [iOS 购买入口说明](https://support.claude.com/en/articles/9266495-how-do-i-sign-up-for-claude-pro-on-the-claude-app-for-ios)、O17 [Android 购买入口说明](https://support.claude.com/en/articles/9612892-how-do-i-sign-up-for-claude-pro-on-claude-for-a
skills/claude-guardian/references/advanced-route.md
- Dangerous shell operationline 31
[Credential-related source omitted] - Access to secretsline 31
[Credential-related source omitted] - Network accessline 46
ssh -p <VPS端口> <用户>@<VPS> "nohup python3 -m http.server 18080 --directory /root >/dev/null 2>&1 &" # 目标机:拉取 curl -o /tmp/install.sh http://<VPS>:18080/${TOKEN}-install.sh - Network accessline 47
# 目标机:拉取 curl -o /tmp/install.sh http://<VPS>:18080/${TOKEN}-install.sh # 下载完立即关闭并删除 - Network accessline 48
curl -o /tmp/install.sh http://<VPS>:18080/${TOKEN}-install.sh - Dangerous shell operationline 50
ssh -p <VPS端口> <用户>@<VPS> 'pkill -f "[h]ttp.server 18080"; rm -f /root/'"${TOKEN}"'-install.sh' - Dangerous shell operationline 90
sudo -n bash -c "setsid env DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_RUNTIME_DIR=/run/user/<uid> \ - Network accessline 102
| --- | --- | --- | | 应用绕过代理直连 | TUN 策略路由截获,与进程无关 | 出口 IP 实测 | | FlClashCore 崩溃或被 kill | TUN 消失 → policy drop 全断,看门狗约 t+140 秒恢复 | `pkill -x FlClashCore` 后 curl 和 DNS 全失败,再恢复 | - Network accessline 103
| 应用绕过代理直连 | TUN 策略路由截获,与进程无关 | 出口 IP 实测 | | FlClashCore 崩溃或被 kill | TUN 消失 → policy drop 全断,看门狗约 t+140 秒恢复 | `pkill -x FlClashCore` 后 curl 和 DNS 全失败,再恢复 | | 节点或订阅失效 | TUN 还在但上游不通,等于断网而不是直连 | 断开节点后 curl 失败 | - Network accessline 104
| FlClashCore 崩溃或被 kill | TUN 消失 → policy drop 全断,看门狗约 t+140 秒恢复 | `pkill -x FlClashCore` 后 curl 和 DNS 全失败,再恢复 | - Network accessline 105
| 节点或订阅失效 | TUN 还在但上游不通,等于断网而不是直连 | 断开节点后 curl 失败 | - Network accessline 117
1. **IPv6 出口:**规则表是 `inet` 家族,IPv6 已随 policy drop 一起拦截;盲区在于换桥接或换宿主后环境变了。接入新环境时先 `ip -6 addr show scope global`,有全局 v6 就 `curl -6` 实测应当失败,再武装。 - Network accessline 131
timedatectl && date # 时区和时钟 curl -s ipinfo.io | grep -E 'ip|city' # 出口钉死验证 - Network accessline 132
curl -s ipinfo.io | grep -E 'ip|city' # 出口钉死验证
skills/claude-guardian/references/agent-remediation.md
- Network accessline 18
1. **自启和持久化:**代理客户端开机自启、服务模式、订阅和扩展合并顺序要和这次改动一致;只改生成配置可能被应用回写或订阅更新覆盖,改在持久化源上。没有受支持的自启入口就告诉用户,不自建服务。 2. **整机覆盖:**按下一节,所有普通应用和子进程走同一 IPv4 出口;用户明确要求的例外分开记录。 3. **四层分开报:**规则写进去了、应用载入了、程序实际用了、端到端测通了。一次 curl 成功只代表那一次。 - Network accessline 19
2. **整机覆盖:**按下一节,所有普通应用和子进程走同一 IPv4 出口;用户明确要求的例外分开记录。 3. **四层分开报:**规则写进去了、应用载入了、程序实际用了、端到端测通了。一次 curl 成功只代表那一次。 4. **按变化复测:**节点失效、GUI 退出但核心还在、核心停止、重启、睡眠唤醒、换网、订阅或客户端更新后,用 `network_check.py run` 再测;故障演练加 `--failure-drill`,要有独立恢复办法、不能切断唯一的控制通道 - Network accessline 20
3. **四层分开报:**规则写进去了、应用载入了、程序实际用了、端到端测通了。一次 curl 成功只代表那一次。 - Dangerous shell operationline 24
7. **Fake-IP 回滚后清 DNS 缓存:**代理或 TUN 关掉后,缓存里的 198.18.0.0/15 假地址会让网络不通。Windows 用 `ipconfig /flushdns`;macOS 用 `sudo dscacheutil -flushcache` 加 `sudo killall -HUP mDNSResponder`;用户同意后执行。 - Network accessline 53
1. **装插件(Chrome):**在 Chrome 应用商店装 Google 出品的 **WebRTC Network Limiter**(ID `npeicpdbkakmehahjeeohfdhnlpdklia`,[商店页](https://chromewebstore.google.com/detail/webrtc-network-limiter/npeicpdbkakmehahjeeohfdhnlpdklia)),认准开发者是 Google,不装来源不明的同名插件 - Dangerous shell operationline 117
限制:macOS 没有强制文件锁,适配器只能发现并失败,不能阻止别的进程在两次复查之间写入。只有应用 `clash-verge`(及应用包路径下的进程)算写入者,已在一台真实 Mac 上核对;核心和服务不算(真机上退出应用后它们仍在运行,旧版本把它们也算进去,逼用户 `sudo launchctl bootout`,已取消)。拒绝路径、真实写入、重启后规则在场和回滚都已在一台真实 Mac(macOS 15.7.4)上验证(ADR-039)。
skills/claude-guardian/references/cleanup-cli-usage.md
skills/claude-guardian/references/egress-ip-options.md
- Network accessline 22
- **机场**:本项目不提供机场推荐或教程,请用户自己上网搜索,并自行判断商家、价格和风险;Agent 可按 [补充资料来源](../SKILL.md#agent-补充资料来源) 帮忙检索讨论,只列出带来源和日期的信息,不替商家背书。 - **家宽拼车**:同样不提供渠道和教程,请用户自己搜索;Agent 只提醒上表的风险(黑车、渠道沟通不便),不推荐具体卖家。所有者指路:**家宽拼车去 IDC Flare 找,家宽去 Linux.do(L 站)的 VPS 分区找**([家 - Network accessline 23
- **家宽拼车**:同样不提供渠道和教程,请用户自己搜索;Agent 只提醒上表的风险(黑车、渠道沟通不便),不推荐具体卖家。所有者指路:**家宽拼车去 IDC Flare 找,家宽去 Linux.do(L 站)的 VPS 分区找**([家宽总结篇](https://linux.do/t/topic/585764));Agent 可在这些渠道检索并带来源汇报,邀请码、返佣和推广只当线索。
skills/claude-guardian/references/evidence-policy.md
- Network accessline 33
- O01: https://agentskills.io/specification - Network accessline 34
- O02: https://code.claude.com/docs/en/skills - Network accessline 35
- O03: https://code.claude.com/docs/en/legal-and-compliance - Network accessline 36
- O04: https://code.claude.com/docs/en/network-config - Network accessline 37
- O05: https://support.claude.com/en/articles/8461763-where-can-i-access-claude - Network accessline 38
- O06: https://platform.claude.com/docs/en/api/errors - Network accessline 39
- O07: https://support.claude.com/en/articles/8325618-paid-plan-billing-faqs - Network accessline 40
- O08: https://support.claude.com/en/articles/14328960-identity-verification-on-claude - Network accessline 41
- O09: https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan - Network accessline 42
- O10: https://support.claude.com/en/articles/12386328-request-a-refund-for-a-paid-claude-plan - Network accessline 43
- O11: https://support.claude.com/en/articles/8241253-safeguards-warnings-and-appeals - Network accessline 44
- O12: https://support.apple.com/en-us/118242 - Network accessline 45
- O13: https://support.apple.com/en-us/118245 - Network accessline 46
- O14: https://support.apple.com/en-us/108285 - Network accessline 47
- O15: https://support.apple.com/en-my/118283 - Network accessline 48
- O16: https://support.claude.com/en/articles/9266495-how-do-i-sign-up-for-claude-pro-on-the-claude-app-for-ios - Network accessline 49
- O17: https://support.claude.com/en/articles/9612892-how-do-i-sign-up-for-claude-pro-on-claude-for-android - Network accessline 50
- O18: https://support.microsoft.com/en-us/windows/hardware/input-devices/check-whether-a-version-of-windows-supports-multiple-languages - Network accessline 51
- O19: https://support.microsoft.com/en-us/windows/experience/personalization/set-time-date-and-time-zone-settings-in-windows - Network accessline 52
- O20: https://support.microsoft.com/en-us/windows/hardware/input-devices/manage-the-language-and-keyboard-input-layout-settings-in-windows - Network accessline 53
- O21: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/tzutil - Network accessline 54
- O22: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/change-the-time-zone - Network accessline 55
- O23: https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/cannot-set-timezone-automatically - Network accessline 56
- O24: https://support.microsoft.com/en-us/servicing/os/windows-10/2025/10/windows-10-extended-security-updates-esu-program - Network accessline 57
- O25: https://support.apple.com/guide/mac-help/change-the-system-language-mh26684/mac - Network accessline 58
- O26: https://support.apple.com/en-gb/guide/mac-help/mchlp2996/mac - Network accessline 59
- O27: https://learn.microsoft.com/en-us/questions/5953658/how-to-enable-group-policy-editor-gpedit-msc-on-wi - Network accessline 60
- O28: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 - Network accessline 61
- ENV-SPEC:E01: https://www.clashverge.dev/guide/term.html - Network accessline 62
- ENV-SPEC:E02: https://www.clashverge.dev/guide/extend.html - Network accessline 63
- ENV-SPEC:E03: https://www.clashverge.dev/guide/rules.html - Network accessline 64
- ENV-SPEC:E04: https://wiki.metacubex.one/api/ - Network accessline 65
- ENV-SPEC:E05: https://wiki.metacubex.one/config/dns/ - Network accessline 66
- ENV-SPEC:E06: https://wiki.metacubex.one/config/inbound/tun/ - Network accessline 67
- ENV-SPEC:E07: https://www.rfc-editor.org/rfc/rfc8828.html - Network accessline 68
- ENV-SPEC:E08: https://code.claude.com/docs/en/network-config - Network accessline 69
- ENV-SPEC:E09: https://v2.hysteria.network/docs/developers/Protocol/ - Network accessline 70
- ENV-SPEC:E10: https://v2.hysteria.network/docs/advanced/Full-Client-Config/ - Network accessline 71
- ENV-SPEC:E11: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/webrtciphandlingurl - Network accessline 72
- ENV-SPEC:E12: https://support.microsoft.com/en-us/windows/hardware/input-devices/check-whether-a-version-of-windows-supports-multiple-languages - Network accessline 73
- ENV-SPEC:E13: https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/cannot-set-timezone-automatically - Network accessline 74
- ENV-SPEC:E14: https://support.microsoft.com/en-us/windows/experience/personalization/set-time-date-and-time-zone-settings-in-windows - Network accessline 75
- ENV-SPEC:E15: https://support.apple.com/guide/mac-help/set-the-date-and-time-automatically-mchlp2996/mac - ENV-SPEC:E16: https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/type - ENV-SPEC:E17: https://curl.se/docs/manpage.ht - Network accessline 76
- ENV-SPEC:E16: https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/type - ENV-SPEC:E17: https://curl.se/docs/manpage.html - ENV-SPEC:E18: https://learn.microsoft.com/en-za/windows/security/operating-system-security/network-sec - Network accessline 77
- ENV-SPEC:E17: https://curl.se/docs/manpage.html - Network accessline 78
- ENV-SPEC:E18: https://learn.microsoft.com/en-za/windows/security/operating-system-security/network-security/windows-firewall/rules - Network accessline 79
- ENV-SPEC:E19: https://support.apple.com/guide/mac-help/block-connections-to-your-mac-with-a-firewall-mh34041/mac - Network accessline 80
- ENV-SPEC:E20: https://support.ntp.org/Support/DaylightSavingTime - Network accessline 81
- ENV-SPEC:E21: https://datatracker.ietf.org/doc/html/rfc1928 - Network accessline 82
- ENV-SPEC:E22: https://www.rfc-editor.org/rfc/rfc9110.html#name-connect - Network accessline 83
- ENV-SPEC:E23: https://github.com/gorhill/uBlock/wiki/Prevent-WebRTC-from-leaking-local-IP-address - Network accessline 84
- ENV-SPEC:E24: https://wiki.metacubex.one/config/proxies/tls/ - Network accessline 85
- ENV-SPEC:E25: https://wiki.metacubex.one/config/general/ - Network accessline 86
- ENV-SPEC:E26: https://wiki.metacubex.one/config/rules/ - Network accessline 87
- ENV-SPEC:E27: https://platform.claude.com/docs/en/api/rate-limits - Network accessline 88
- ENV-SPEC:E28: https://platform.claude.com/docs/en/api/ip-addresses - Network accessline 89
- ENV-SPEC:E29: https://code.claude.com/docs/en/data-usage#telemetry-services - Network accessline 90
- ENV-SPEC:E30: https://code.claude.com/docs/en/desktop#network-access-requirements - Network accessline 91
- ENV-SPEC:E31: https://support.microsoft.com/en-US/Windows/Apps/repair-apps-and-programs-in-windows - Network accessline 92
- ENV-SPEC:E32: https://developers.cloudflare.com/bots/concepts/bot-score/ - Network accessline 93
- ENV-SPEC:E33: https://developers.openai.com/codex/skills/ ; https://learn.chatgpt.com/docs/build-skills - Network accessline 94
- ENV-SPEC:E34: https://developers.openai.com/codex/app-server/ ; https://learn.chatgpt.com/docs/app-server - Network accessline 95
- ENV-SPEC:E35: https://developers.openai.com/codex/permissions/ ; https://learn.chatgpt.com/docs/permissions - Network accessline 96
- ENV-SPEC:E36: https://learn.chatgpt.com/docs/environments/modes - Network accessline 97
- ENV-SPEC:E37: https://learn.chatgpt.com/docs/agent-approvals-security - Network accessline 98
- ENV-SPEC:E38: https://developers.openai.com/codex/windows/ ; https://learn.chatgpt.com/docs/windows/windows-sandbox - Network accessline 99
- ENV-SPEC:E39: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-operatingsystem - Network accessline 100
- ENV-SPEC:E40: https://learn.microsoft.com/en-us/powershell/module/nettcpip/get-nettcpconnection ; https://learn.microsoft.com/en-us/powershell/module/nettcpip/get-netudpendpoint - Network accessline 101
- ENV-SPEC:E41: https://learn.microsoft.com/en-us/windows/win32/api/winhttp/nf-winhttp-winhttpgetieproxyconfigforcurrentuser - Network accessline 102
- ENV-SPEC:E42: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netsh-winhttp - Network accessline 103
- ENV-SPEC:E43: https://learn.microsoft.com/en-us/powershell/module/dnsclient/get-dnsclientserveraddress - Network accessline 104
- ENV-SPEC:E44: https://learn.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings - Network accessline 105
- ENV-SPEC:E45: https://github.com/apple-oss-distributions/configd/blob/main/scutil.tproj/scutil.8 - Network accessline 106
- ENV-SPEC:E46: https://support.apple.com/en-md/guide/remote-desktop/apdd0c5a2d5/mac - Network accessline 107
- ENV-SPEC:E47: https://support.apple.com/guide/remote-desktop/about-systemsetup-apd95406b8d/mac - Network accessline 108
- ENV-SPEC:E48: https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment - Network accessline 109
- ENV-SPEC:E49: https://www.clashverge.dev/uninstall.html - Network accessline 110
- ENV-SPEC:E50: https://www.clashverge.dev/privacy.html - Network accessline 111
- ENV-SPEC:E51: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-timezone - Network accessline 112
- ENV-SPEC:E52: https://learn.microsoft.com/en-us/powershell/module/international/get-winuilanguageoverride - Network accessline 113
- ENV-SPEC:E53: https://www.ipify.org/ - Network accessline 114
- ENV-SPEC:E54: https://developers.cloudflare.com/realtime/turn/ ; https://developers.cloudflare.com/realtime/sfu/get-started/connection-patterns/ - Network accessline 115
- ENV-SPEC:E55: https://www.rfc-editor.org/rfc/rfc8489.html - Network accessline 116
- ENV-SPEC:E56: https://www.w3.org/TR/webrtc/ - Network accessline 117
- ENV-SPEC:E57: https://github.com/chromium/chromium/blob/main/components/policy/resources/templates/policy_definitions/WebRtc/WebRtcIPHandlingUrl.yaml - Network accessline 118
- ENV-SPEC:E58: https://github.com/chromium/chromium/blob/main/components/policy/resources/templates/policy_definitions/WebRtc/WebRtcIPHandling.yaml - Network accessline 119
- ENV-SPEC:E59: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/WebRtcLocalhostIpHandling - Network accessline 120
- ENV-SPEC:E60: https://learn.microsoft.com/en-us/powershell/module/dnsclient/resolve-dnsname - Network accessline 121
- ENV-SPEC:E61: https://chromeenterprise.google/policies/url-patterns/ - ENV-SPEC:E62: https://chromeenterprise.google/intl/en_ca/policies/dns-over-https-mode/ - ENV-SPEC:E63: https://docs.python.org/3/library/socket.html#socket.getaddrinfo - Network accessline 122
- ENV-SPEC:E62: https://chromeenterprise.google/intl/en_ca/policies/dns-over-https-mode/ - ENV-SPEC:E63: https://docs.python.org/3/library/socket.html#socket.getaddrinfo - ENV-SPEC:E64: https://developer.mozilla.org/en-US/docs/Web/API/RTCPe - Network accessline 123
- ENV-SPEC:E63: https://docs.python.org/3/library/socket.html#socket.getaddrinfo - Network accessline 124
- ENV-SPEC:E64: https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode ; https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/icecandidateerror_event
skills/claude-guardian/references/illegal-tools-cleanup.md
skills/claude-guardian/references/incidents-and-integrations.md
- Access to secretsline 28
[Credential-related source omitted] - Access to secretsline 30
[Credential-related source omitted] - Network accessline 34
The requested upstream cleanup reference is S09 at commit `423473db6b618c7e040f1a5a6879bc83e69e8b3b`: https://github.com/suyuan2022/suyuan-skill/blob/423473db6b618c7e040f1a5a6879bc83e69e8b3b/claude-cleanup/SKILL.md . This is an inherited re - Network accessline 193
- O03 [认证与合规](https://code.claude.com/docs/en/legal-and-compliance)、O04 [网络配置](https://code.claude.com/docs/en/network-config)、O09 [Agent SDK 与计划](https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-pla - Network accessline 194
- O06 [API 错误](https://platform.claude.com/docs/en/api/errors)、O11 [警告与申诉](https://support.claude.com/en/articles/8241253-safeguards-warnings-and-appeals)、O10 [退款](https://support.claude.com/en/articles/12386328-request-a-refund-for-a-paid-
skills/claude-guardian/references/line-optimization.md
- Network accessline 65
首次连接核对 B 的主机指纹,指纹不明就停下,不关闭主机密钥检查。 2. **在 A 的浏览器里设置代理:**类型 SOCKS5,地址 `127.0.0.1`,端口 `1080`;浏览器支持时启用通过 SOCKS5 解析域名。这里的 `127.0.0.1` 指 **A 自己**;浏览器在容器里时,容器的本地地址指向容器,要另行配置可达的代理地址。 3. **验证出口:**在 A 另开终端运行 `curl --proxy socks5h://127.0.0.1:1080 htt - Network accessline 66
2. **在 A 的浏览器里设置代理:**类型 SOCKS5,地址 `127.0.0.1`,端口 `1080`;浏览器支持时启用通过 SOCKS5 解析域名。这里的 `127.0.0.1` 指 **A 自己**;浏览器在容器里时,容器的本地地址指向容器,要另行配置可达的代理地址。 3. **验证出口:**在 A 另开终端运行 `curl --proxy socks5h://127.0.0.1:1080 https://api.ipify.org`,返回值应是 B 的预期出口( - Network accessline 67
3. **验证出口:**在 A 另开终端运行 `curl --proxy socks5h://127.0.0.1:1080 https://api.ipify.org`,返回值应是 B 的预期出口(NAT 产品的公网出口可能与 SSH 入口不同)。再在**已设置代理的浏览器**里确认出口。curl 成功只证明这一条请求走通,不能证明浏览器的 DNS、WebRTC 或其他进程都用同一出口;WebRTC 可用包内的[本地探测页](../assets/webrtc-probe.ht - Network accessline 75
假设 A 的 VNC 服务已监听 `127.0.0.1:5901`、已有 noVNC。在 A 的 noVNC 目录启动只监听本地的网页入口:`./utils/novnc_proxy --vnc 127.0.0.1:5901 --listen 127.0.0.1:6080`;在用户自己的电脑建立本地转发:`ssh -N -L 127.0.0.1:6080:127.0.0.1:6080 -p A_SSH_PORT A_USER@A_IP`,然后打开 `http://127.0.0 - Network accessline 81
只在 A 安装 Realm(按系统架构选 [Realm 发布版本](https://github.com/zhboner/realm/releases))。在 A 保存 `config.toml`: - Dangerous shell operationline 96
2. 可用列表里没有 `bbr` 时,可以尝试 `sudo modprobe tcp_bbr` 再看一次;仍没有就**跳过,不为教程更换内核**。 - Dangerous shell operationline 97
3. **临时切换:**`sudo sysctl -w net.ipv4.tcp_congestion_control=bbr`。它只影响新建的 TCP 连接,已建立的不变。重连实际业务,观察同一用途有没有改善。 - Dangerous shell operationline 99
5. **确定保留、且不存在同名配置文件时才持久化:**`printf '%s\n' 'net.ipv4.tcp_congestion_control=bbr' | sudo tee /etc/sysctl.d/90-vps-bbr.conf`,再 `sudo sysctl -p /etc/sysctl.d/90-vps-bbr.conf`。撤销要删除自己新增的这一文件**并**恢复记录的原算法,只删文件不会立即恢复运行值。
skills/claude-guardian/references/local-firewall-prompts.md
- Network accessline 27
2. **防火墙读回:**三个配置文件默认出站都是 Block,`guardian-*` 规则齐全。上不了网时才用分层诊断。 3. **重启演练:**重启后、客户端起来之前外网不通;自启、TUN 恢复后正常;默认出站仍是 Block。客户本人在场的本机按 B 档,远程按 C 档(重启后可能连不回来)。 4. **浏览器验收:**客户本人在实际用的浏览器打开 https://ip.net.coffee/claude/,除语言外全绿([做法](whole-machin - Network accessline 28
3. **重启演练:**重启后、客户端起来之前外网不通;自启、TUN 恢复后正常;默认出站仍是 Block。客户本人在场的本机按 B 档,远程按 C 档(重启后可能连不回来)。 4. **浏览器验收:**客户本人在实际用的浏览器打开 https://ip.net.coffee/claude/,除语言外全绿([做法](whole-machine-ipv4.md#browser-acceptance))。 5. **前四项都过,客户本人登录 Claude。** - Network accessline 29
4. **浏览器验收:**客户本人在实际用的浏览器打开 https://ip.net.coffee/claude/,除语言外全绿([做法](whole-machine-ipv4.md#browser-acceptance))。 - Network accessline 42
3. **TUN 模式:**在客户端设置里开启 TUN。macOS 上通常需要先安装“服务模式”来获得创建虚拟网卡的权限,会弹系统授权,由用户自己确认。说明影响:TUN 会接管整机流量,局域网、VPN、DNS 可能受影响。 4. **DNS:**TUN 下的 DNS 解析和 Fake-IP 的边界按 [macOS DNS 经验](macos-dns-case-lessons.md) 逐层核对:系统实际解析器、核心配置、浏览器自带 DoH 分开看;Fake-IP 本身不泄漏,但 - Network accessline 43
4. **DNS:**TUN 下的 DNS 解析和 Fake-IP 的边界按 [macOS DNS 经验](macos-dns-case-lessons.md) 逐层核对:系统实际解析器、核心配置、浏览器自带 DoH 分开看;Fake-IP 本身不泄漏,但 `fake-ip-filter` 里的域名会真实解析,要核对由谁应答。 5. **验证出口:**浏览器和终端分别确认出口 IP 是预期的那个;WebRTC 用包内的[本地探测页](../assets/webrtc-prob - Network accessline 44
5. **验证出口:**浏览器和终端分别确认出口 IP 是预期的那个;WebRTC 用包内的[本地探测页](../assets/webrtc-probe.html)检查,有泄露按 [WebRTC 堵法](agent-remediation.md#webrtc-block)装插件或写策略;DNS 用检测页确认没有明显的本地运营商解析。最后由用户在浏览器打开 https://ip.net.coffee/claude/ 做浏览器环境验收,除语言外必须全绿(时区要和出口一致)([做法 - Network accessline 102
默认出站切成阻止后正常上网失败,在**同一个保险丝窗口里**按下面顺序各测一次,每步记 curl 退出码和 HTTP 状态码,不记返回的 IP 和节点地址。一个窗口测不完就先回滚,下个窗口接着测,不要每次从头猜。 - Network accessline 104
| 顺序 | 测什么 | 命令形式 | 说明哪一层 | | --- | --- | --- | --- | | 1 | 显式本地代理 | `curl.exe -sS -o NUL -w "%{http_code}" -x http://127.0.0.1:<mixed 端口> https://example.com` | 通:核心到节点这条允许规则没问题;不通:先查核心程序路径、节点 IP、TCP/UDP 协议 | - Network accessline 105
| --- | --- | --- | --- | | 1 | 显式本地代理 | `curl.exe -sS -o NUL -w "%{http_code}" -x http://127.0.0.1:<mixed 端口> https://example.com` | 通:核心到节点这条允许规则没问题;不通:先查核心程序路径、节点 IP、TCP/UDP 协议 | | 2 | IPv4 字面地址经 TUN | `curl.exe -sS -o NUL -w "%{http_cod - Network accessline 106
| 1 | 显式本地代理 | `curl.exe -sS -o NUL -w "%{http_code}" -x http://127.0.0.1:<mixed 端口> https://example.com` | 通:核心到节点这条允许规则没问题;不通:先查核心程序路径、节点 IP、TCP/UDP 协议 | - Network accessline 107
| 2 | IPv4 字面地址经 TUN | `curl.exe -sS -o NUL -w "%{http_code}" -k https://<中性站点的 IPv4>` | 1 通而 2 不通:TUN 网卡规则或 TUN 路由有问题 | | 3 | 系统 DNS | `Resolve-DnsName example.com -Type A` | 1、2 通而 3 不通:DNS 劫持或 DNS 放行有问题 | | 4 | 域名 HTTPS | `curl.exe -sS - - Network accessline 109
| 4 | 域名 HTTPS | `curl.exe -sS -o NUL -w "%{http_code}" https://example.com` | 前三步都通而 4 不通:看 TLS 或规则分流 | - Network accessline 111
curl 退出码对照:`6` 解析失败(DNS 层);`7` 连接被拒或被拦(TCP 层,IPv6 字面地址在核心关了 IPv6 时就是 7,属预期);`28` 超时(包发出去没回应,最常见是核心到节点被拦);`35` 或 `60` 是 TLS 层。四步都通过后才进入第 5 步故障演练。 - Network accessline 137
- 三个防火墙配置文件的 `Enabled` 和 `DefaultOutboundAction`。 - `guardian-*` 规则的名称、方向、动作和过滤类型(程序/接口/端口),不含地址。 - 分层诊断四步各自的 curl 退出码和 HTTP 状态码。 - Network accessline 138
- `guardian-*` 规则的名称、方向、动作和过滤类型(程序/接口/端口),不含地址。 - 分层诊断四步各自的 curl 退出码和 HTTP 状态码。 - WFP 或审计查询的退出码与错误类别。 - Network accessline 139
- 分层诊断四步各自的 curl 退出码和 HTTP 状态码。
skills/claude-guardian/references/macos-dns-case-lessons.md
- Network accessline 16
Mihomo 的 `default-nameserver` 用于解析 DNS 服务器域名,`proxy-server-nameserver` 用于代理节点域名;`respect-rules` 让 DNS 连接遵循路由规则,并不强制固定出口。规划时保留无循环依赖的引导路径。见 [Mihomo DNS 配置](https://wiki.metacubex.one/en/config/dns/)。 - Network accessline 22
Mihomo 文档说明,`dns-hijack` 未指定协议时默认 UDP;`any:53` 因而不能当成 TCP DNS 接管证据。TCP 匹配须单独核对。文档还明确 macOS/Windows 无法自动劫持发送到局域网的 DNS 请求,不能假设 DHCP 提供的局域网解析器必然进入 TUN。见 [Mihomo TUN 的 dns-hijack](https://wiki.metacubex.one/en/config/inbound/tun/#dns-hijack)。 - Network accessline 28
`dns.ipv6: false` 表示对 AAAA 记录返回空解析结果,并不等于关闭操作系统接口 IPv6,也不构成所有 IPv6 连接被阻断的证明。见 [Mihomo DNS 的 IPv6 选项](https://wiki.metacubex.one/en/config/dns/#ipv6)。 - Network accessline 34
Tailscale 接受 DNS 设置与 VPN 连通是不同事项;更改前应明确 MagicDNS、split DNS、exit node 及现有管理策略的影响。官方文档将接受 DNS 设置作为独立客户端选项。见 [Tailscale 客户端偏好](https://tailscale.com/docs/features/client/manage-preferences)。 - Network accessline 36
Quad100 是设备本地 stub 服务,既处理本地名称也可能转发请求;其存在本身不能说明公共查询最终去向。见 [Tailscale Quad100](https://tailscale.com/docs/reference/quad100)。不要复制来源的私有域名、网卡名或接口编号;重连后需重新确认绑定。关闭 DNS 接管不是通用修复步骤,也不能假设私有名称仍可用。 - Network accessline 54
WebRTC 的 STUN 与媒体路径可能不同于传统应用代理;限制策略也可能影响媒体质量。应独立评估,而不是为了让检测页通过预先改变候选行为。见 [RFC 8828](https://www.rfc-editor.org/rfc/rfc8828.html)。
skills/claude-guardian/references/mobile-guidance.md
- Network accessline 31
改完网络后,用户在手机浏览器打开 https://ip.net.coffee/claude/ 做浏览器环境验收,除语言外必须全绿(时区要和出口一致,见[做法](whole-machine-ipv4.md#browser-acceptance))。
skills/claude-guardian/references/network-and-remedies.md
- Network accessline 73
`network_check.py run` contacts only the neutral endpoints it lists (`network_check.py endpoints`), never Claude or Anthropic, and is run after the user approved the check plan (B tier). Add `--proxy http://127.0.0.1:<port>` to also test th
skills/claude-guardian/references/routes-and-platforms.md
- Dangerous shell operationline 24
macOS: identify actual version/architecture and application versus system settings. A translated process does not establish native architecture support. Permission denial is unknown/blocked, never an automatic sudo request. Built-in incomin - Dangerous shell operationline 175
4. 服务器:确认实际用户、目录和 sudo 范围;拟最小权限开发用户,不把日常任务放 root。用户/authorized_keys/安全配置变化另行审批
skills/claude-guardian/references/section-index.md
- Network accessline 405
- [4. 取证(Agent 实际执行,不替用户编造)](whole-machine-ipv4.md#4-取证agent-实际执行不替用户编造) - [5. 判定](whole-machine-ipv4.md#5-判定) - [5a. 浏览器环境验收:[ip.net.coffee/claude](https://ip.net.coffee/claude/)](whole-machine-ipv4.md#5a-浏览器环境验收ipnetcoffeeclaude) - Network accessline 406
- [5. 判定](whole-machine-ipv4.md#5-判定) - [5a. 浏览器环境验收:[ip.net.coffee/claude](https://ip.net.coffee/claude/)](whole-machine-ipv4.md#5a-浏览器环境验收ipnetcoffeeclaude) - [6. 回滚](whole-machine-ipv4.md#6-回滚) - Network accessline 407
- [5a. 浏览器环境验收:[ip.net.coffee/claude](https://ip.net.coffee/claude/)](whole-machine-ipv4.md#5a-浏览器环境验收ipnetcoffeeclaude)
skills/claude-guardian/references/source-library.md
- Network accessline 42
原文来源:[NodeSeek 帖子](https://www.nodeseek.com/post-1033-1) - Network accessline 77
原作者:月落惊征。[原文 X 文章](https://x.com/yueluo_jz/status/2105578466309808617)。原文署名、整理说明及配图链接保留。 - Dangerous shell operationline 89
[阅读清单](../sources/S07-vps-script-catalog.md)。2026-10-21 由所有者精简为 IP 质量、网络质量、流媒体解锁、性能测试的脚本和在线网站,原目录中的重装系统、改网络、改防火墙等命令不再收录。这些是第三方脚本,多数为 `curl | bash` 远程执行:先审阅脚本内容,再在用户的 VPS 上运行:用户自己运行,或 Agent 在授权的 SSH 会话里运行(说明目标、地址和流量成本)。结果只描述当时该 IP 的观测,不能推导免封 - Network accessline 89
[阅读清单](../sources/S07-vps-script-catalog.md)。2026-10-21 由所有者精简为 IP 质量、网络质量、流媒体解锁、性能测试的脚本和在线网站,原目录中的重装系统、改网络、改防火墙等命令不再收录。这些是第三方脚本,多数为 `curl | bash` 远程执行:先审阅脚本内容,再在用户的 VPS 上运行:用户自己运行,或 Agent 在授权的 SSH 会话里运行(说明目标、地址和流量成本)。结果只描述当时该 IP 的观测,不能推导免封
skills/claude-guardian/references/vm-guidance.md
- Dangerous shell operationline 30
- **用 AppImage 安装时:**解包出的文件属主是执行用户,而 helper 要求 root 属主、组和其他用户不可写,否则 GUI 报 `couldn't authorized`。修法:`sudo chown -R root:root /opt/FlClash && sudo chmod -R go-w /opt/FlClash`,再重跑 `sudo /opt/FlClash/FlClashHelperService install`(官方 install 会重写 - Dangerous shell operationline 59
sudo LAN_NET=<局域网网段> bash install-flclash-killswitch.sh install - Network accessline 75
**IPv6:**规则表是 `inet` 家族,OUTPUT 和 INPUT 都是 policy drop,所以 IPv6 除 DHCPv6、回环和 TUN 外不放行,不需要另写 ip6 规则。网络环境一变(换桥接、换宿主)就重测:`ip -6 addr show scope global` 看有没有全局 v6 地址,有就 `curl -6 --max-time 8 https://ipinfo.io`,应当失败。 - Network accessline 79
**保险丝与验收:**应用规则后有 180 秒保险丝,没有执行 `confirm` 就自动回滚,避免锁死。装好后手动验收:出口 IP 是固定出口;浏览器打开 browserleaks.com/webrtc 和 dnsleaktest.com(WebRTC 也可用包内的[本地探测页](../assets/webrtc-probe.html)),确认没有真实 IP 和真实 DNS;`pkill FlClashCore` 后确认 curl 和 DNS 全部失败,重启 FlClash
skills/claude-guardian/references/vps-guidance.md
- Dangerous shell operationline 25
选型参考所有者的 [VPS 推荐报告索引](../sources/vps-recommendations/INDEX.md)(业务、性价比、高端家宽三类),回答时点名具体报告并附链接。创建后用 `bash <(curl -sL IP.Check.Place)` 检查 IP(见 [S07 清单](../sources/S07-vps-script-catalog.md));如果随机到的 IP 不好,能找客服换就换。好的机房 IP 不用担心,最后都可以套静态 ISP 出口。 - Network accessline 25
选型参考所有者的 [VPS 推荐报告索引](../sources/vps-recommendations/INDEX.md)(业务、性价比、高端家宽三类),回答时点名具体报告并附链接。创建后用 `bash <(curl -sL IP.Check.Place)` 检查 IP(见 [S07 清单](../sources/S07-vps-script-catalog.md));如果随机到的 IP 不好,能找客服换就换。好的机房 IP 不用担心,最后都可以套静态 ISP 出口。 - Dangerous shell operationline 29
创建服务器后运行 `bash <(curl -sL IP.Check.Place)`(Agent 在授权的 SSH 会话里运行,或用户自己运行,见 [S07 清单](../sources/S07-vps-script-catalog.md))。Agent 按报告的六部分帮用户看: - Network accessline 29
创建服务器后运行 `bash <(curl -sL IP.Check.Place)`(Agent 在授权的 SSH 会话里运行,或用户自己运行,见 [S07 清单](../sources/S07-vps-script-catalog.md))。Agent 按报告的六部分帮用户看: - Network accessline 45
不管哪种,登录后都要在远程桌面浏览器里确认出口 IP 是预期的那个(WebRTC 不泄漏真实 IP 可用包内的[本地探测页](../assets/webrtc-probe.html)),再由用户在远程桌面浏览器里打开 https://ip.net.coffee/claude/ 做浏览器环境验收,除语言外必须全绿(时区要和出口一致)([做法](whole-machine-ipv4.md#browser-acceptance)),然后再继续注册和订阅。 - Access to secretsline 55
[Credential-related source omitted] - Dangerous shell operationline 63
2. **Swap 兜底:**没有 swap 就建 swapfile,内存 2G 及以下建 2G,4G 建 2 到 4G,8G 建 4G;先确认磁盘剩余空间够。`sudo fallocate -l 4G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile`,再在 `/etc/fstab` 加 `/swapfile none swap sw 0 0` 持久 - Dangerous shell operationline 64
3. **用户态 OOM 守护(earlyoom):**`sudo apt install earlyoom`,在 `/etc/default/earlyoom` 写 `EARLYOOM_ARGS="-m 10 -s 10 -r 3600 --avoid ^(sshd|systemd|tmux) --prefer ^(chrome|Xvfb|x11vnc)$"`(正则里不加引号、不留空格:systemd 读这个文件时不处理引号,并按空格拆参数),`sudo systemctl - Access to secretsline 67
[Credential-related source omitted] - Dangerous shell operationline 75
[Credential-related source omitted] - Network accessline 75
[Credential-related source omitted] - Access to secretsline 75
[Credential-related source omitted] - Network accessline 81
- S08 的做法:Xvfb 虚拟显示 + Openbox + x11vnc + noVNC,浏览器直接打开,无需安装客户端;也可以用 TigerVNC / Xvnc 或 Xpra,按自己的需求选。 - 浏览器用 Google Chrome,独立的用户数据目录。内存不够先建 swap,实在不行再升级配置;正常只有 Claude 单个标签页,约 500MB 上下。 - **5900 和 6080 绝不直接开放到公网。**x11vnc 只监听本地,从本机用 SSH 本地转发(`s - Network accessline 82
- 浏览器用 Google Chrome,独立的用户数据目录。内存不够先建 swap,实在不行再升级配置;正常只有 Claude 单个标签页,约 500MB 上下。 - **5900 和 6080 绝不直接开放到公网。**x11vnc 只监听本地,从本机用 SSH 本地转发(`ssh -L 6080:127.0.0.1:6080 …`)后,在本机浏览器打开 `http://127.0.0.1:6080/vnc.html`。看到的 Chrome 实际运行在 VPS 上,所以出口 - Network accessline 83
- **5900 和 6080 绝不直接开放到公网。**x11vnc 只监听本地,从本机用 SSH 本地转发(`ssh -L 6080:127.0.0.1:6080 …`)后,在本机浏览器打开 `http://127.0.0.1:6080/vnc.html`。看到的 Chrome 实际运行在 VPS 上,所以出口是 VPS。不用公网无密码 VNC。 - Dangerous shell operationline 97
- **用 mosh 要加 `MOSH=1`:**mosh 握手走 SSH,会话走 UDP 60000–61000;`vps-guard` 默认不放行这段 UDP,启用后 mosh 能握手但会话建不起来。安装时加 `MOSH=1`(例如 `sudo ADMIN_NET=203.0.113.7/32 MOSH=1 vps-guard.sh install`),只对 `ADMIN_NET` 放行这段 UDP;端口段可用 `MOSH_PORTS=60000-61000` 改,只接受 - Access to secretsline 106
[Credential-related source omitted]
skills/claude-guardian/references/whole-machine-ipv4.md
- Network accessline 58
python3 scripts/network_check.py run --target-ref <别名> --proxy http://127.0.0.1:<mixed 端口> --evidence-output <私有目录>/evidence.json - Network accessline 66
| --- | --- | --- | | TUN 开启、默认路由经 TUN | `route -n get default` 看接口是 `utun*`;`ifconfig | grep utun` | `Get-NetRoute -DestinationPrefix 0.0.0.0/0 | Sort-Object RouteMetric`;`Get-NetAdapter` 找 TUN 网卡 | | IPv4 出口(浏览器、终端、其他应用、后台各取一次) | 终端 `curl - Network accessline 67
| TUN 开启、默认路由经 TUN | `route -n get default` 看接口是 `utun*`;`ifconfig | grep utun` | `Get-NetRoute -DestinationPrefix 0.0.0.0/0 | Sort-Object RouteMetric`;`Get-NetAdapter` 找 TUN 网卡 | | IPv4 出口(浏览器、终端、其他应用、后台各取一次) | 终端 `curl -4 -sS --max-time 1 - Network accessline 68
| IPv4 出口(浏览器、终端、其他应用、后台各取一次) | 终端 `curl -4 -sS --max-time 10 https://ifconfig.me`;浏览器打开检测页 | `curl.exe -4 -sS --max-time 10 https://ifconfig.me`;浏览器同上 | - Network accessline 69
| IPv6 不可达 | `curl -6 -sS --max-time 10 https://ifconfig.me`,应失败 | `curl.exe -6 -sS --max-time 10 https://ifconfig.me`,应失败 | - Network accessline 75
**IPv6 探测的两种结果要分清:**`curl -6` 失败,或者**返回的其实是 IPv4 字符串**(TUN 下 IPv6 连接被代理核心接管、从代理的 IPv4 出口出去),都记 `ipv6_probe: unreachable`,不要把这个 IPv4 字符串当成 IPv6 样本填进 `samples`(判定器会因此拒绝);只有返回真正的 IPv6 地址,才是 `reachable` 并填 `family: ipv6` 样本,判 `violated`。 - Network accessline 77
AAAA 为空、`curl -4` 成功、一次 HTTPS 成功都不能单独证明整机通过;故障演练里不能让本来就断网的状态冒充"没有直连"。 - Network accessline 120
<a id="browser-acceptance"></a> ## 5a. 浏览器环境验收:[ip.net.coffee/claude](https://ip.net.coffee/claude/) - Network accessline 121
## 5a. 浏览器环境验收:[ip.net.coffee/claude](https://ip.net.coffee/claude/) - Network accessline 123
所有者 2026-10-26 指定:**环境修复后,用户在实际要用 Claude 的那个浏览器里打开 https://ip.net.coffee/claude/ 做验收,除了“语言”一项,其他必须全绿。**所有者 2026-10-28 补充:**本机和手机也要求时区与出口一致**,时区一项同样要绿(VM、VPS 原本就这样要求)。
skills/claude-guardian/references/windows-cleanup.md
- Network accessline 13
| 对象 | Windows 路径 | 来源 | | --- | --- | --- | | Claude Code 用户目录 | `%USERPROFILE%\.claude`(设了 `CLAUDE_CONFIG_DIR` 则在那个目录下) | [Explore the .claude directory](https://code.claude.com/docs/en/claude-directory) | - Network accessline 14
| --- | --- | --- | | Claude Code 用户目录 | `%USERPROFILE%\.claude`(设了 `CLAUDE_CONFIG_DIR` 则在那个目录下) | [Explore the .claude directory](https://code.claude.com/docs/en/claude-directory) | | 全局配置、账号信息 | `%USERPROFILE%\.claude.json` | 同上;[卸载说明](ht - Network accessline 15
| Claude Code 用户目录 | `%USERPROFILE%\.claude`(设了 `CLAUDE_CONFIG_DIR` 则在那个目录下) | [Explore the .claude directory](https://code.claude.com/docs/en/claude-directory) | - Network accessline 16
| 全局配置、账号信息 | `%USERPROFILE%\.claude.json` | 同上;[卸载说明](https://code.claude.com/docs/en/setup#uninstall-claude-code) | - Network accessline 17
| 登录凭据 | `%USERPROFILE%\.claude\.credentials.json`(继承用户目录的访问控制) | [Authentication - Credential management](https://code.claude.com/docs/en/authentication#credential-management) | - Network accessline 18
| Claude Code 程序 | `%USERPROFILE%\.local\bin\claude.exe`、`%USERPROFILE%\.local\share\claude` | [Uninstall a native installation](https://code.claude.com/docs/en/setup#uninstall-a-native-installation) | - Network accessline 19
| WinGet 安装 | `winget uninstall Anthropic.ClaudeCode` | 同上 | | VS Code 扩展数据 | `%APPDATA%\Code\User\globalStorage\anthropic.claude-code` | [卸载说明](https://code.claude.com/docs/en/setup#remove-configuration-files) | | Anthropic 配置目录(profile) | - Network accessline 20
| VS Code 扩展数据 | `%APPDATA%\Code\User\globalStorage\anthropic.claude-code` | [卸载说明](https://code.claude.com/docs/en/setup#remove-configuration-files) | - Network accessline 21
| Anthropic 配置目录(profile) | `%APPDATA%\Anthropic` | [Authentication](https://code.claude.com/docs/en/authentication#anthropic-profiles-and-federation-credentials) | - Network accessline 22
| 会话临时目录 | `%TEMP%\claude\<project>\<session-id>\scratchpad\` | [claude-directory](https://code.claude.com/docs/en/claude-directory#session-scratchpad-directory) | - Network accessline 23
| Claude 桌面端配置、日志 | `%APPDATA%\Claude\claude_desktop_config.json`、`%APPDATA%\Claude\logs` | [MCP:连接本地服务器](https://modelcontextprotocol.io/docs/develop/connect-local-servers) | - Network accessline 25
**官方没有写出的:**桌面端其余本地数据(登录状态、网页存储、MSIX 包的本地应用数据)的具体路径。[部署指南](https://support.claude.com/en/articles/12622703-deploy-claude-desktop-for-windows)只说安装器的自动修复会删除“上一个包的本地应用数据,包括应用设置”,聊天记录和你自己文件夹里的文件不受影响。所以先用只读命令列出实际有什么(第 3 步),拿给用户看,**不按猜测的路径动手**。 - Access to secretsline 155
[Credential-related source omitted]
skills/claude-guardian/scripts/agent_remediation.py
- Executable scriptline 1
#!/usr/bin/env python3
skills/claude-guardian/scripts/agent_rules_task.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/clash_inventory.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/clash_verge_258.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/cleanup_cli.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/cleanup_transactions.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/config_edit_plan.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/egress_verifier.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/environment_entry.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/guardian.py
- Executable scriptline 1
#!/usr/bin/env python3
skills/claude-guardian/scripts/interview_cli.py
- Executable scriptline 1
#!/usr/bin/env python3
skills/claude-guardian/scripts/interview_flow.py
skills/claude-guardian/scripts/inventory_cli.py
- Executable scriptline 1
#!/usr/bin/env python3
skills/claude-guardian/scripts/native_clash_verge_mac.py
skills/claude-guardian/scripts/native_claude_state_mac.py
- Executable scriptline 1
Executable file - Access to secretsline 3
[Credential-related source omitted] - Access to secretsline 4
[Credential-related source omitted] - Access to secretsline 5
[Credential-related source omitted] - Access to secretsline 9
[Credential-related source omitted] - Dangerous shell operationline 13
``sudo systemsetup``. The password is typed by the user into the native hidden sudo - Access to secretsline 88
[Credential-related source omitted] - Access to secretsline 97
[Credential-related source omitted] - Access to secretsline 100
[Credential-related source omitted] - Access to secretsline 104
[Credential-related source omitted] - Access to secretsline 107
[Credential-related source omitted] - Access to secretsline 157
[Credential-related source omitted] - Dangerous shell operationline 185
'后果: 修改整台 Mac 的系统时区(影响所有应用的时间显示和时间戳)。需要管理员密码:只在随后出现的 sudo 隐藏提示里输入,本工具不读取。', - Dangerous shell operationline 186
'恢复: sudo systemsetup -settimezone %s' % (before or '<原时区>')] - Access to secretsline 198
[Credential-related source omitted] - Access to secretsline 204
[Credential-related source omitted]
skills/claude-guardian/scripts/native_cleanup_mac.py
skills/claude-guardian/scripts/network_check.py
- Executable scriptline 1
Executable file - Network accessline 17
import argparse import http.client - Network accessline 18
import http.client - Network accessline 37
LEAK_HOST = 'bash.ws' STUN_HOST, STUN_PORT = 'stun.cloudflare.com', 3478 ENDPOINTS = ('https://%s%s' % (EXIT_HOST, EXIT_PATH), 'https://%s%s' % (V6_HOST, V6_PATH), - Network accessline 38
STUN_HOST, STUN_PORT = 'stun.cloudflare.com', 3478 ENDPOINTS = ('https://%s%s' % (EXIT_HOST, EXIT_PATH), 'https://%s%s' % (V6_HOST, V6_PATH), 'https://%s/id , <n>.<id>.%s , https://%s/dnsleak/test/<id>' % (LEAK_HOST, LEAK_HOST, - Network accessline 39
ENDPOINTS = ('https://%s%s' % (EXIT_HOST, EXIT_PATH), 'https://%s%s' % (V6_HOST, V6_PATH), - Network accessline 40
'https://%s/id , <n>.<id>.%s , https://%s/dnsleak/test/<id>' % (LEAK_HOST, LEAK_HOST, LEAK_HOST), - Network accessline 56
class _FamilyConnection(http.client.HTTPSConnection): - Network accessline 63
def connect(self): info = socket.getaddrinfo(self.host, self.port, self._family, socket.SOCK_STREAM)[0] sock = socket.socket(info[0], info[1], info[2]) - Network accessline 64
info = socket.getaddrinfo(self.host, self.port, self._family, socket.SOCK_STREAM)[0] sock = socket.socket(info[0], info[1], info[2]) sock.settimeout(self.timeout) - Network accessline 65
sock = socket.socket(info[0], info[1], info[2]) - Network accessline 77
if proxy: conn = http.client.HTTPSConnection(proxy[0], proxy[1], timeout=timeout, context=ssl.create_default_context()) - Network accessline 78
conn = http.client.HTTPSConnection(proxy[0], proxy[1], timeout=timeout, context=ssl.create_default_context()) - Network accessline 137
data = _json(https_get(EXIT_HOST, EXIT_PATH, socket.AF_INET, timeout, proxy)) address = ipaddress.ip_address(data.get('ip', '')) except (OSError, CheckError, ValueError, http.client.HTTPException): - Network accessline 138
address = ipaddress.ip_address(data.get('ip', '')) except (OSError, CheckError, ValueError, http.client.HTTPException): return {'status': 'error'}, None - Network accessline 139
except (OSError, CheckError, ValueError, http.client.HTTPException): - Network accessline 150
data = _json(https_get(V6_HOST, V6_PATH, socket.AF_INET6, timeout)) address = ipaddress.ip_address(data.get('ip', '')) except (OSError, CheckError, ValueError, http.client.HTTPException): - Network accessline 151
address = ipaddress.ip_address(data.get('ip', '')) except (OSError, CheckError, ValueError, http.client.HTTPException): return {'status': 'pass', 'probe': 'unreachable'} - Network accessline 152
except (OSError, CheckError, ValueError, http.client.HTTPException): - Network accessline 202
try: socket.getaddrinfo(name, 80, socket.AF_INET, socket.SOCK_STREAM) socket.create_connection((name, 80), timeout=4).close() - Network accessline 203
socket.getaddrinfo(name, 80, socket.AF_INET, socket.SOCK_STREAM) socket.create_connection((name, 80), timeout=4).close() except OSError: - Network accessline 204
socket.create_connection((name, 80), timeout=4).close() - Network accessline 207
time.sleep(2) rows = _json(https_get(LEAK_HOST, '/dnsleak/test/%s?json' % test_id, socket.AF_INET, timeout + 5)) except (OSError, CheckError, http.client.HTTPException): - Network accessline 208
rows = _json(https_get(LEAK_HOST, '/dnsleak/test/%s?json' % test_id, socket.AF_INET, timeout + 5)) except (OSError, CheckError, http.client.HTTPException): return {'status': 'error', 'servers': []} - Network accessline 209
except (OSError, CheckError, http.client.HTTPException): - Network accessline 218
except OSError: return {'status': 'error'} with socket.socket(info[0], socket.SOCK_DGRAM) as sock: - Network accessline 219
return {'status': 'error'} with socket.socket(info[0], socket.SOCK_DGRAM) as sock: sock.settimeout(timeout) - Network accessline 220
with socket.socket(info[0], socket.SOCK_DGRAM) as sock: - Network accessline 380
def _proxy(value): match = re.fullmatch(r'(?:http://)?(127\.0\.0\.1|localhost|\[::1\]):(\d{1,5})/?', value or '') - Network accessline 381
match = re.fullmatch(r'(?:http://)?(127\.0\.0\.1|localhost|\[::1\]):(\d{1,5})/?', value or '') - Network accessline 382
if not match or not 0 < int(match.group(2)) < 65536: raise argparse.ArgumentTypeError('只接受本机代理端口,例如 http://127.0.0.1:7897') return (match.group(1).strip('[]'), int(match.group(2))) - Network accessline 383
raise argparse.ArgumentTypeError('只接受本机代理端口,例如 http://127.0.0.1:7897') - Network accessline 393
go.add_argument('--target-ref', required=True) go.add_argument('--home-country', default='cn', help='two-letter code of the user\'s real country (default cn)') go.add_argument('--proxy', type=_proxy, help='also test through the loca - Network accessline 394
go.add_argument('--home-country', default='cn', help='two-letter code of the user\'s real country (default cn)') go.add_argument('--proxy', type=_proxy, help='also test through the local HTTP/mixed port, e.g. http://127.0.0.1:7897') - Network accessline 395
go.add_argument('--proxy', type=_proxy, help='also test through the local HTTP/mixed port, e.g. http://127.0.0.1:7897')
skills/claude-guardian/scripts/probe_evidence.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/recovery_cli.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/remedy_plans.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/repair_cli.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/repair_execution.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/rules_extension_plan.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/serve_webrtc.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/status_dashboard.py
- Executable scriptline 1
#!/usr/bin/env python3
skills/claude-guardian/scripts/stun_probe.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/traffic_policy.py
- Executable scriptline 1
Executable file
skills/claude-guardian/scripts/transactions.py
- Executable scriptline 1
Executable file - Access to secretsline 12
[Credential-related source omitted] - Network accessline 193
Darwin ABI verified against Apple's xnu/bsd/sys/xattr.h and flistxattr(2): https://github.com/apple-oss-distributions/xnu/blob/main/bsd/sys/xattr.h - Network accessline 194
https://github.com/apple-oss-distributions/xnu/blob/main/bsd/sys/xattr.h - Network accessline 195
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/flistxattr.2.html - Possible obfuscationline 367
proposed = base64.b64decode(p['proposed_base64'], validate=True)
skills/claude-guardian/sources/R02-vps-line-optimization.md
- Network accessline 21
**BBR 调整 TCP 拥塞控制,不能把普通线路变成 CN2 GIA;更换 DNS 也不会直接替换运营商的国际路由。** [Linux 内核说明](https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html)明确区分了拥塞控制等 TCP 参数。 - Network accessline 34
[V2EX 的国内云中转讨论](https://www.v2ex.com/t/1177513)就涉及晚间连接海外 VPS 不稳定的问题;讨论中的经验提示,增加一台云服务器能否改善连接,仍取决于它与目标机器的互联。不能只凭云厂商品牌或地理距离下结论。 - Network accessline 66
[Linux.do 的 Realm 教程](https://linux.do/t/topic/920558)用 SSH 演示了单端中转,下面的链路图可用于理解方案 B;图中端口和机器名称是教程示例。 - Network accessline 70
**把连接桌面的入口转发了,不等于把浏览器的出口改了。** [NodeSeek 的 Realm 功能说明](https://www.nodeseek.com/post-391214-1)也区分了端口转发与链式代理。先确定程序运行在哪台机器,再决定在哪里配置出站。 - Network accessline 86
这会在 A 的 `127.0.0.1:1080` 提供 SOCKS 入口,连接通过 SSH 到 B,再由 B 访问目标。首次连接核对 B 的主机指纹;保留此终端,按 `Ctrl+C` 即可停止。此示例是前台连接,不包含开机启动配置。[OpenSSH 动态转发说明](https://man.openbsd.org/ssh#D) - Network accessline 101
curl --proxy socks5h://127.0.0.1:1080 https://api.ipify.org - Network accessline 104
返回值应为 B 的预期公网出口;NAT 产品的公网出口可能与 SSH 入口不同。`socks5h` 让该请求的域名由代理端解析,见 [curl 说明](https://curl.se/docs/manpage.html#--socks5-hostname)。 - Network accessline 106
再在**已设置代理的浏览器**中确认出口。curl 成功只证明这一条请求走通,不能证明浏览器的 DNS、WebRTC 或其他进程全部使用同一出口。最后以实际网站访问结果验收;IP 标签和解锁脚本不能保证 Claude 账号状态。 - Network accessline 110
[Xvfb](https://xorg.freedesktop.org/releases/X11R6.8.2/doc/Xvfb.1.html)提供虚拟显示。要看见并操作画面,还需要浏览器或桌面程序、VNC 服务端,以及客户端;[noVNC](https://github.com/novnc/noVNC#server-requirements)是网页 VNC 客户端,通常配合 WebSocket 服务使用。 - Network accessline 126
然后打开本地的 `http://127.0.0.1:6080/vnc.html`,进入 VNC 连接。示例中的网页入口仅监听本地地址,通过 SSH 访问;如果已有桌面面板,使用其实际地址和认证方式即可。[noVNC 启动示例](https://github.com/novnc/noVNC#quick-start)、[SSH 本地转发](https://man.openbsd.org/ssh#L) - Network accessline 128
画面设置可以从 **1280×720** 开始。软件支持时降低画质、帧率上限,关闭不必要的视频和动态背景;这是减少画面传输量的起点,不是统一硬件门槛。带宽不足时先保留文字可读性,再追求清晰度。不同客户端可调项目不同,可参考 [KasmVNC 的画质与帧率设置](https://www.kasmweb.com/kasmvnc/docs/latest/clientside.html)。 - Network accessline 132
采用方案 B,或者想先改善 SSH 到 B 的连接时,可以只在 A 安装 Realm。安装包选择与系统架构匹配的 [Realm 发布版本](https://github.com/zhboner/realm/releases),本节假设 `realm` 已可执行。 - Network accessline 154
最终登录的是 B,主机指纹应核对 B。这个前台示例按 `Ctrl+C` 停止;同一监听端口不能同时被其他程序占用。配置语法见 [Realm 官方说明](https://github.com/zhboner/realm#configuration)。 - Network accessline 156
已有加密业务可以按其协议转发;普通端口转发本身不提供额外加密。需要双端隧道、流量统计等功能时,可进一步阅读 [NodeSeek 的脚本教程](https://www.nodeseek.com/post-391214-1),双端链路的形态如下: - Dangerous shell operationline 176
sudo modprobe tcp_bbr - Dangerous shell operationline 185
sudo sysctl -w net.ipv4.tcp_congestion_control=bbr - Network accessline 188
它是新建 TCP 连接的默认算法,已经建立的连接不会因此全部切换。重连实际业务后,观察同一用途是否有改善;效果不好,就将命令末尾的 `bbr` 换回刚才记录的原值。[内核 TCP 参数说明](https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html#tcp-variables) - Dangerous shell operationline 193
printf '%s\n' 'net.ipv4.tcp_congestion_control=bbr' | sudo tee /etc/sysctl.d/90-vps-bbr.conf - Dangerous shell operationline 194
sudo tee /etc/sysctl.d/90-vps-bbr.conf - Dangerous shell operationline 195
sudo sysctl -p /etc/sysctl.d/90-vps-bbr.conf - Network accessline 200
`default_qdisc` 与当前实际网卡队列分开看;多队列设备还可能显示 `mq`,虚拟设备可能是 `noqueue`。已有队列配置时先保留,避免直接覆盖 CAKE 或其他整形规则。[内核队列说明](https://docs.kernel.org/admin-guide/sysctl/net.html#default-qdisc) - Network accessline 213
[NodeSeek 的 DMIT 品川与 Zouter 排障记录](https://www.nodeseek.com/post-902010-1)中,终点延迟较低且没有显示丢包,实际 TCP 两个方向却差异明显;改用两机间的 IPv6 后,部分 TCP 业务恢复。记录中的清洗原因仍属推断,不能推广为所有 DMIT 或 IPv4 线路的问题,也不能推导出 IPv6 一定更快。
skills/claude-guardian/sources/S01-server-glossary.md
skills/claude-guardian/sources/S02-ai-payments.md
- Network accessline 148
[^openai-region]: [OpenAI — ChatGPT supported countries](https://help.openai.com/en/articles/7947663-chatgpt-supported-countries);[Unsupported countries/payment methods](https://help.openai.com/zh-hans-cn/articles/9131992-chatgpt-and-api-se - Network accessline 149
[^claude-region]: [Anthropic — Where can I access Claude?](https://support.claude.com/en/articles/8461763-where-can-i-access-claude);[Get started with Claude](https://support.claude.com/en/articles/8114491-get-started-with-claude) - Network accessline 150
[^claude-billing]: [Anthropic — Paid plan billing FAQs](https://support.claude.com/en/articles/8325618-paid-plan-billing-faqs) - Network accessline 151
[^openrouter]: [OpenRouter Support — payment methods](https://openrouter.ai/support/) - Network accessline 152
[^mercury-eligibility]: [Mercury — Eligibility and requirements](https://support.mercury.com/hc/en-us/articles/28770467511060-Eligibility-and-requirements-for-opening-a-Mercury-account) - Network accessline 153
[^mercury-prohibited]: [Mercury — Prohibited countries](https://support.mercury.com/hc/en-us/articles/28771710754580-Prohibited-countries) - Network accessline 154
[^mercury-card-country]: [Mercury — Restricted countries for card issuance](https://support.mercury.com/hc/en-us/articles/34087163095572-Restricted-countries-for-card-issuance) - Network accessline 155
[^airwallex-delivery]: [Airwallex — Physical card delivery](https://www.airwallex.com/docs/issuing/get-started/create-cards/specify-delivery-method) - Network accessline 156
[^airwallex-api]: [Airwallex — Issuing Cards API](https://www.airwallex.com/docs/api/2024-08-07/issuing/cards) - Network accessline 157
[^slash-signup]: [Slash — Signing Up: requirements](https://www.slash.com/help-center/getting-started/signing-up-for-slash-what-you-ll-need-to-get-started) - Network accessline 158
[^slash-virtual]: [Slash — Creating Virtual Cards](https://www.slash.com/help-center/corporate-cards/creating-virtual-cards) - Network accessline 159
[^slash-physical]: [Slash — Physical Card](https://www.slash.com/help-center/corporate-cards/how-to-order-and-activate-a-physical-slash-card);[Metal Card / international destinations](https://www.slash.com/help-center/corporate-cards/how-to - Network accessline 160
[^relay-card]: [Relay — Create Virtual/Physical Visa Debit](https://relayfi.com/hc/en-us/articles/360038310212-Creating-a-Relay-debit-card/);[Physical cards ship only in U.S.](https://relayfi.com/hc/en-us/articles/17608030214548-Updating-yo - Network accessline 161
[^relay-owner]: [Relay — Required documents / beneficial owner](https://relayfi.com/hc/en-us/articles/38049251551636-Required-Documents-and-Organization-Details-to-Open-a-Relay-Account-by-Entity-Type/) - Network accessline 162
[^velo-china]: [East West Bank — Global Checking terms: China card shipping](https://www.eastwestbank.com/content/dam/ewb-dotcom/disclosures/products/apye_global_checking_velo_final.pdf) - Network accessline 163
[^velo-fee]: [East West Bank — Global Checking Fact Sheet](https://www.eastwestbank.com/en/personal-banking/global-checking-fact-sheet) - Network accessline 164
[^bybit-region]: [Bybit — Service Restricted Countries, updated 2026-09-01](https://www.bybit.com/en/help-center/article/Service-Restricted-Countries) - Network accessline 165
[^starry-kyc]: [Starryblu — KYC](https://blog.starryblu.com/why-does-starryblu-require-kyc-frequently-asked-questions-about-identity-verification/);[Starryblu Card](https://www.starryblu.com/en/starrycard) - Network accessline 169
[^ld-mercury-gpt]: [LinuxDo — O/充值变得好严格,2026-09-28](https://linux.do/t/topic/2963782) - Network accessline 170
[^ld-starry]: [LinuxDo — Starryblu 全球账户支持 AI 订阅](https://linux.do/t/topic/2589181) - Network accessline 171
[^ld-starry-gpt]: [LinuxDo — 我使用 Starryblu 卡购买 ChatGPT 的实践,2026-09-17](https://linux.do/t/topic/2913461) - Network accessline 172
[^ld-starry-fail]: [LinuxDo — Starryblu 支付/试用 ChatGPT,2026-09-18](https://linux.do/t/topic/2916719) - Network accessline 173
[^ld-starry-claude]: [LinuxDo — starryblu卡有人开吗,2026-09-10](https://linux.do/t/topic/2883588) - Network accessline 174
[^ld-bybit-gpt]: [LinuxDo — GPT 当前 U 卡冲 Pro 风险,2026-09](https://linux.do/t/topic/2868072) - Network accessline 175
[^ld-bybit-fail]: [LinuxDo — Bybit EU/格鲁吉亚卡 GPT 拒付,2026-08](https://linux.do/t/topic/2692118) - Network accessline 176
[^ld-bybit-claude]: [LinuxDo — Bybit 卡 + Claude,持续使用记录,2026-07/08](https://linux.do/t/topic/2510746) - Network accessline 177
[^ld-bybit-claude-fail]: [LinuxDo — Bybit 台湾卡无法绑定 GPT/Claude,2026-08](https://linux.do/t/topic/2694634) - Network accessline 178
[^v2ex-google-gpt]: [V2EX — 招行信用卡支付 OpenAI/Claude 讨论,2026-09](https://v2ex.com/t/1241005) - Network accessline 179
[^v2ex-google-claude]: [V2EX — 国内卡通过 Google Play 订阅 Claude,2026-04](https://v2ex.com/t/1205258) - Network accessline 180
[^v2ex-visa-claude]: [V2EX — 国内 Visa 经 Claude Android App + Google Pay 成功,2026-10](https://www.v2ex.com/t/1246025) - Network accessline 181
[^v2ex-cn-card]: [V2EX — 招行 Visa/Amex 网页直付失败讨论,2026-09](https://v2ex.com/t/1241005) - Network accessline 182
[^v2ex-gpt-pay]: [V2EX — 如何充值 ChatGPT,2026-09](https://www.v2ex.com/t/1240984) - Network accessline 183
[^v2ex-velo]: [V2EX — Velo 云开是否要 ITIN,2026-04](https://www.v2ex.com/t/1209203) - Network accessline 184
[^github-indie]: [GitHub — hua1995116/indiehackers-steps](https://github.com/hua1995116/indiehackers-steps) - Network accessline 188
- X 上的 Starryblu、U 卡、Bybit 类帖子大量带邀请码/返佣,只作为“存在该产品/社区关注度”的线索,不用于判断开户资格或支付稳定性。 - 示例:[X — Starryblu 推广帖](https://x.com/zstmfhy/status/2091829968208883772)。 - Network accessline 189
- 示例:[X — Starryblu 推广帖](https://x.com/zstmfhy/status/2091829968208883772)。
skills/claude-guardian/sources/S03-extracted-text.md
- Network accessline 9
年claude使用经验,封过不下40个号 up 2 相关链接:https://ip.net.coffee/claude/ - Network accessline 10
up 2 相关链接:https://ip.net.coffee/claude/ 通过🌟 数量表示重要程度 5颗🌟 最高最重要 - Network accessline 11
相关链接:https://ip.net.coffee/claude/ - Network accessline 19
WebRtc 🌟🌟🌟🌟🌟 浏览器功能:WebRTC 在建立连接时,会通过 STUN 服务器主动获取你的真实外网 IP 测试链接:https://ip.net.coffee/webrtc/ - Network accessline 20
浏览器功能:WebRTC 在建立连接时,会通过 STUN 服务器主动获取你的真实外网 IP 测试链接:https://ip.net.coffee/webrtc/ IPv6 不要开 🌟🌟🌟🌟🌟 - Network accessline 21
测试链接:https://ip.net.coffee/webrtc/ - Network accessline 26
的服务同时有 A 记录(IPv4)和 AAAA 记录(IPv6) 工具至少吧主要的策略ipv6关闭保持ipv4 相关文章: https://ip.net.coffee/claude/ipv6.html - Network accessline 27
工具至少吧主要的策略ipv6关闭保持ipv4 相关文章: https://ip.net.coffee/claude/ipv6.html 指纹浏览器 🌟🌟🌟 - Network accessline 28
相关文章: https://ip.net.coffee/claude/ipv6.html - Network accessline 116
其余扩展 找 vps 搜 idc flare nodeseek linuxdo(vps分区) vpshub 最新退款教程 https://linux.do/t/topic/2971757 - Network accessline 117
找 vps 搜 idc flare nodeseek linuxdo(vps分区) vpshub 最新退款教程 https://linux.do/t/topic/2971757 https://www.nodeseek.com/post-968032-1 这篇教程可以看一下 - Network accessline 118
最新退款教程 https://linux.do/t/topic/2971757 - Network accessline 119
https://www.nodeseek.com/post-968032-1 这篇教程可以看一下 - Network accessline 120
https://linux.do/t/topic/585764 家宽总结篇 - Network accessline 121
https://github.com/alchaincyf/zhangxuefeng-skill/issues/63
skills/claude-guardian/sources/S03-source-text.md
- Network accessline 1
up 2年claude使用经验,封过不下40个号 相关链接:[[https://ip.net.coffee/claude/]] - Network accessline 2
相关链接:[[https://ip.net.coffee/claude/]] - Network accessline 9
## WebRtc 🌟🌟🌟🌟🌟 浏览器功能:WebRTC 在建立连接时,会通过 STUN 服务器主动获取你的真实外网 IP 测试链接:[[https://ip.net.coffee/webrtc/]] - Network accessline 10
浏览器功能:WebRTC 在建立连接时,会通过 STUN 服务器主动获取你的真实外网 IP 测试链接:[[https://ip.net.coffee/webrtc/]] ## IPv6 不要开 🌟🌟🌟🌟🌟 - Network accessline 11
测试链接:[[https://ip.net.coffee/webrtc/]] - Network accessline 14
你配的代理规则,大多数情况下只匹配 IPv4,或者 domain 匹配时只命中 A 记录。但 Anthropic 的服务同时有 A 记录(IPv4)和 AAAA 记录(IPv6) 工具至少吧主要的策略ipv6关闭保持ipv4 相关文章: [[https://ip.net.coffee/claude/ipv6.html]] - Network accessline 15
工具至少吧主要的策略ipv6关闭保持ipv4 相关文章: [[https://ip.net.coffee/claude/ipv6.html]] ## 指纹浏览器 🌟🌟🌟 - Network accessline 16
相关文章: [[https://ip.net.coffee/claude/ipv6.html]]
skills/claude-guardian/sources/S04-claude-guide.md
- Network accessline 7
[](LICENSE) - Network accessline 8
[](CONTRIBUTING.md) - Network accessline 9
 - Network accessline 10
 - Network accessline 247
- [PANews 2026 Claude 防封号 & KYC 避坑完整指南](https://www.panewslab.com/en/articles/019db34c-eb93-707b-9c25-dfe946dc11b1) - Network accessline 248
- [博客园 · 折腾侠:2026 最新 Claude 订阅防封全攻略](https://www.cnblogs.com/notlate-cn/p/20002343) - Network accessline 249
- [GitHub · imarvinle/Claude-Pro](https://github.com/imarvinle/Claude-Pro) - Network accessline 250
- [知乎 · Claude 封号潮来袭?2026 最新 Claude 封号原因解析与防封号策略](https://zhuanlan.zhihu.com/p/2019847407014293704) - Network accessline 251
- [腾讯云开发者社区 · Claude 防封指南](https://cloud.tencent.com/developer/news/3854714) - Network accessline 338
- 你被封号了?开 [Issue](https://github.com/Fishason/Claude-anti-ban/issues/new?template=share_experience.md) 分享经验,帮其他人避坑
skills/claude-guardian/sources/S05-local-protection.md
- Network accessline 3
作者:月落惊征([@yueluo_jz](https://x.com/yueluo_jz)) - Network accessline 4
原文链接:[X 文章](https://x.com/yueluo_jz/status/2105578466309808617) - Network accessline 41
[查看原文配图](https://pbs.twimg.com/media/HTh4sZ9aYAAuqmy.jpg) - Network accessline 94
重度使用 Claude 桌面端的大佬大多会配置 MCP(Model Context Protocol)插件或跑本地脚本。虽然母体客户端挂着代理,但母体在后台派生拉起的 Node.js、Python、npm、curl 子进程,默认根本不读取操作系统的图形代理设置!后台插件抓取网页或调接口时,实际上全在用你家国内宽带直连裸奔。 - Network accessline 168
enhanced-mode: fake-ip nameserver-policy: "+.claude.ai": "https://1.1.1.1/dns-query#你的订阅名称" - Network accessline 169
nameserver-policy: "+.claude.ai": "https://1.1.1.1/dns-query#你的订阅名称" "+.anthropic.com": "https://1.1.1.1/dns-query#你的订阅名称" - Network accessline 170
"+.claude.ai": "https://1.1.1.1/dns-query#你的订阅名称" - Network accessline 171
"+.anthropic.com": "https://1.1.1.1/dns-query#你的订阅名称" - Network accessline 222
--user-data-dir="%LOCALAPPDATA%\Google\Chrome\ClaudeData" --lang="en-US" --proxy-server="http://127.0.0.1:7897" - Network accessline 247
:: 注入全量双写代理环境变量(Node.js / Python / Electron / MCP 插件无损继承) set HTTP_PROXY=http://127.0.0.1:7897 - Network accessline 248
set HTTP_PROXY=http://127.0.0.1:7897 - Network accessline 249
set HTTPS_PROXY=http://127.0.0.1:7897 - Network accessline 253
set http_proxy=http://127.0.0.1:7897 - Network accessline 254
set https_proxy=http://127.0.0.1:7897 - Network accessline 266
:: 追加代理锁启动 start "" "%CLAUDE_EXE%" --proxy-server="http://127.0.0.1:7897" - Network accessline 267
start "" "%CLAUDE_EXE%" --proxy-server="http://127.0.0.1:7897" - Network accessline 326
- 在沙箱 Chrome 中打开 [WebRTC 检测](https://browserleaks.com/webrtc) 和 [DNS 检测](https://browserleaks.com/dns),确认绝无任何国内真实 IP 或中国国旗的 DNS 出现。 - Network accessline 327
- 打开 [Scamalytics](https://scamalytics.com),确认出口 IP 欺诈分良好。
skills/claude-guardian/sources/S06-macos-cleanup-sanitized.md
skills/claude-guardian/sources/S07-vps-script-catalog.md
- Network accessline 1
--- title: VPS IP 质量与网络测试清单(精简版) source: https://www.nodeseek.com/post-183694-1 - Network accessline 2
title: VPS IP 质量与网络测试清单(精简版) source: https://www.nodeseek.com/post-183694-1 updated: 2026-10-21 - Network accessline 3
source: https://www.nodeseek.com/post-183694-1 - Dangerous shell operationline 17
- 下面是第三方脚本和网站,**不是本项目的代码,也未经本项目审计**。多数是 `curl | bash` 远程执行,请先打开脚本地址看过内容,再在**你自己的 VPS** 上运行。 - Network accessline 17
- 下面是第三方脚本和网站,**不是本项目的代码,也未经本项目审计**。多数是 `curl | bash` 远程执行,请先打开脚本地址看过内容,再在**你自己的 VPS** 上运行。 - Dangerous shell operationline 27
bash <(curl -Ls https://Net.Check.Place) - Network accessline 27
bash <(curl -Ls https://Net.Check.Place) - Dangerous shell operationline 31
bash <(curl -Ls https://IP.Check.Place) - Network accessline 31
bash <(curl -Ls https://IP.Check.Place) - Dangerous shell operationline 37
curl -fsSL https://raw.githubusercontent.com/spiritLHLS/ecs/main/ecs.sh -o ecs.sh && bash ecs.sh -m 1 - Network accessline 37
curl -fsSL https://raw.githubusercontent.com/spiritLHLS/ecs/main/ecs.sh -o ecs.sh && bash ecs.sh -m 1 - Dangerous shell operationline 43
bash <(curl -Ls https://check.unlock.media) - Network accessline 43
bash <(curl -Ls https://check.unlock.media) - Dangerous shell operationline 47
curl -fsSL https://raw.githubusercontent.com/oneclickvirt/UnlockTests/main/ut_install.sh | bash - Network accessline 47
curl -fsSL https://raw.githubusercontent.com/oneclickvirt/UnlockTests/main/ut_install.sh | bash - Dangerous shell operationline 54
curl -sL https://yabs.sh | bash - Network accessline 54
curl -sL https://yabs.sh | bash - Dangerous shell operationline 58
curl -fsL https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast - Network accessline 58
curl -fsL https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast - Network accessline 63
- https://ping.pe/ - Network accessline 64
- https://ping0.cc/ - Network accessline 65
- https://ipdata.co/ - Network accessline 66
- https://www.ipqualityscore.com/
skills/claude-guardian/sources/S08-extracted-text.md
- Dangerous shell operationline 76
查询命令 bash <(curl -sL IP.Check.Place) - Network accessline 76
查询命令 bash <(curl -sL IP.Check.Place) - Dangerous shell operationline 81
usermod -aG sudo dev - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 84
[Credential-related source omitted] - Access to secretsline 85
[Credential-related source omitted] - Access to secretsline 86
[Credential-related source omitted] - Access to secretsline 87
[Credential-related source omitted] - Network accessline 97
基本环境 node npm git等 Node https://nodejs.org/en Git https://git-scm.com/ - Network accessline 102
安装 Claude Code 官方 Linux 安装方式: curl -fsSL https://claude.ai/install.sh | bash - Dangerous shell operationline 104
curl -fsSL https://claude.ai/install.sh | bash - Network accessline 104
curl -fsSL https://claude.ai/install.sh | bash - Access to secretsline 120
[Credential-related source omitted] - Access to secretsline 126
[Credential-related source omitted] - Dangerous shell operationline 158
sudo apt install -y \ - Network accessline 161
安装 Google Chrome: wget https://dl.google.com/linux/direct/google-chrome- - Network accessline 162
wget https://dl.google.com/linux/direct/google-chrome- - Dangerous shell operationline 165
sudo apt install -y ./google-chrome-stable_current_amd64.deb - Network accessline 204
本地浏览器打开: http://127.0.0.1:6080/vnc.html - Network accessline 205
http://127.0.0.1:6080/vnc.html - Network accessline 215
1. 打开 https://claude.ai - Dangerous shell operationline 305
sudo fallocate -l 4G /swapfile - Dangerous shell operationline 306
sudo chmod 600 /swapfile - Dangerous shell operationline 307
sudo mkswap /swapfile - Dangerous shell operationline 308
sudo swapon /swapfile - Dangerous shell operationline 309
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab - Network accessline 329
关于如何套家宽IP出口,自己搜索Ai或者查询教程即可 官方参考 Claude 计划:https://support.claude.com/en/articles/11049762-choose-a-claude-plan - Network accessline 330
官方参考 Claude 计划:https://support.claude.com/en/articles/11049762-choose-a-claude-plan Claude Code 安装:https://support.claude.com/en/articles/14552382-your-first-day-in- - Network accessline 331
Claude 计划:https://support.claude.com/en/articles/11049762-choose-a-claude-plan - Network accessline 332
Claude Code 安装:https://support.claude.com/en/articles/14552382-your-first-day-in- - Network accessline 333
claude-code VS Code Remote-SSH :https://code.visualstudio.com/docs/remote/ssh Anthropic 支持地区:https://www.anthropic.com/supported-countries - Network accessline 334
VS Code Remote-SSH :https://code.visualstudio.com/docs/remote/ssh - Network accessline 335
Anthropic 支持地区:https://www.anthropic.com/supported-countries - Network accessline 336
Vultr IPv4:https://docs.vultr.com/support/products/compute/how-do-i-get-a-vultr-compute-
skills/claude-guardian/sources/manifest.json
- Network accessline 13
"distributed_sha256": "e2660c1b049d73e7a927594743f079cb0a5f10be9f72bad7928f10a5838bb68b", "changes": [], "attribution": "来源页 https://www.nodeseek.com/post-1033-1;保留原文来源声明", - Network accessline 14
"changes": [], "attribution": "来源页 https://www.nodeseek.com/post-1033-1;保留原文来源声明", "redistribution": "用户已确认公开分发;保留第三方原有署名和许可声明,不构成统一重新许可" - Network accessline 15
"attribution": "来源页 https://www.nodeseek.com/post-1033-1;保留原文来源声明", - Network accessline 79
"distributed_sha256": "f2a975d359161312763f02d6c5d2b4e796e52a57edf2a9ecb233445c8d2389d9", "changes": [], "attribution": "原文作者 月落惊征;https://x.com/yueluo_jz/status/2105578466309808617;保留整理说明与署名", - Network accessline 80
"changes": [], "attribution": "原文作者 月落惊征;https://x.com/yueluo_jz/status/2105578466309808617;保留整理说明与署名", "redistribution": "用户已确认公开分发;保留第三方原有署名和许可声明,不构成统一重新许可" - Network accessline 81
"attribution": "原文作者 月落惊征;https://x.com/yueluo_jz/status/2105578466309808617;保留整理说明与署名", - Network accessline 109
"2026-10-21 所有者将原目录精简为 IP 质量与网络测试清单,删除其余命令(重装系统、改网络、改防火墙等)" ], "attribution": "原帖 https://www.nodeseek.com/post-183694-1;本版为所有者精简清单", - Network accessline 110
], "attribution": "原帖 https://www.nodeseek.com/post-183694-1;本版为所有者精简清单", "redistribution": "用户在允许公开来源资料后新增的原设计 S07 参考,不延伸到下载或再分发上游脚本", - Network accessline 111
"attribution": "原帖 https://www.nodeseek.com/post-183694-1;本版为所有者精简清单", - Network accessline 113
"limitations": [ "第三方脚本和网站,未经本项目审计,未执行其中任何命令", "多数为 curl | bash 远程执行,须先审阅再在用户的 VPS 上运行", - Network accessline 114
"第三方脚本和网站,未经本项目审计,未执行其中任何命令", "多数为 curl | bash 远程执行,须先审阅再在用户的 VPS 上运行", "测试结果不能推导免封概率或 IP 纯净度门槛", - Dangerous shell operationline 115
"多数为 curl | bash 远程执行,须先审阅再在用户的 VPS 上运行", - Network accessline 115
"多数为 curl | bash 远程执行,须先审阅再在用户的 VPS 上运行",
tools/gen_section_index.py
- Executable scriptline 1
Executable file
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Combined signals: 2 facts
- Reads SSH keys, and the same file sends data over the network or runs a command (line 63)claude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:37High confidence
- Passes content downloaded from ipinfo.io to an interpreterclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:269High confidence
Declared and executed: 6 facts
- Uses SSH keys, which the skill description does not mentionclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:37High confidence
- Uses SSH keys, which the skill description does not mentionclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:54High confidence
- Uses SSH keys, which the skill description does not mentionclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:78High confidence
- Contacts 1.1.1.1, which SKILL.md, the README and the plugin manifest do not mentionclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:74High confidence
- Contacts ipinfo.io, which SKILL.md, the README and the plugin manifest do not mentionclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:269High confidence
- Contacts json-schema.org, which SKILL.md, the README and the plugin manifest do not mentionclaude-guardian/scripts/interview_flow.py:2754High confidence
Signal confidence: 492 facts
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:50Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:93Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:94Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:95Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:113Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:114Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:115Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:116Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:117Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:118Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:119Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:120Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:121Low confidence
- Network access in prose of the SKILL.mdclaude-guardian/SKILL.md:123Low confidence
- Executable script in code of a file that runsclaude-guardian/assets/remote-hardening/flclash-crash-heal.sh:1High confidence
- Dangerous shell operation in a comment of a file that runsclaude-guardian/assets/remote-hardening/flclash-crash-heal.sh:11Low confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/remote-hardening/flclash-crash-heal.sh:47High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/remote-hardening/flclash-crash-heal.sh:58High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/remote-hardening/flclash-crash-heal.sh:128High confidence
- Executable script in code of a file that runsclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:1High confidence
- Dangerous shell operation in a comment of a file that runsclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:8Low confidence
- Dangerous shell operation in a comment of a file that runsclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:10Low confidence
- Dangerous shell operation in a comment of a file that runsclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:35Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valueclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:36Low confidence
- Access to secrets in code of a file that runs: reads a credential storeclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:37High confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valueclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:48Low confidence
- Access to secrets in code of a file that runs: reads a credential storeclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:54High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:63High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:76High confidence
- Access to secrets in code of a file that runs: reads a credential storeclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:78High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/remote-hardening/install-reverse-tunnel.sh:85High confidence
- Executable script in code of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:1High confidence
- Dangerous shell operation in a comment of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:5Low confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:12High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:13High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:14High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:16High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:18High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/enable-guest-ssh.sh:22High confidence
- Executable script in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:1High confidence
- Dangerous shell operation in a comment of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:4Low confidence
- Dangerous shell operation in a comment of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:37Low confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:41High confidence
- Network access in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:71High confidence
- Network access in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:72High confidence
- Network access in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:73High confidence
- Network access in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:74High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:108High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:165High confidence
- Dangerous shell operation in code of a file that runsclaude-guardian/assets/vm-killswitch/install-flclash-killswitch.sh:173High confidence
and 442 more
Only the first 500 facts are listed.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Path CLAUDE.md | .claude/skills/<skill-name>/ |
| Codex | Native | Manifest AGENTS.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md skills/claude-guardian/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md skills/claude-guardian/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md skills/claude-guardian/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md skills/claude-guardian/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.
Explore alternatives and comparisons
Add this badge to your README
It updates every night and links to this page.
[](https://hotskills.dev/skill/dunhkpcc-claude-guardian/)