原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Claude-Guardian Skill

代码仓库 ↗

作者:DUNHKpcc★ 2,1701 个 skill

安装

What it does

Claude Guardian is an all-in-one Claude account safety and risk prevention skill.Claude防封实战 It intelligently assesses your device, account history, network environment, and payment options, then provides personalized guidance for local, VPS, or virtual machine setups.

  • Connects Instruction files the AI reads
  • Account or key No key found in README or SKILL.md
  • Category 写代码
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/dunhkpcc-claude-guardian.svg)](https://mcp.popnx.com/en/skills/dunhkpcc-claude-guardian)

可搭配使用

在同一工作中把 AI 连到服务的 MCP

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto广泛使用↓ 38.9万/周★ 46.9万7天前更新

MCP · 连接服务在你的电脑上运行

Fallow

Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.

作者:fallow-rs广泛使用↓ 244.1万/周★ 5385今天更新

MCP · 连接服务在你的电脑上运行

相似的 Skill

同类工作,排序与 Skill 列表相同

与相似项目对比
本项
Claude-Guardian
reaandrej-karpathy-skillsgraphifyMoneyPrinterTurbo
作者DUNHKpccmorlutomultica-aiGraphify-Labsharry0703
Skill 数11111
GitHub 星标2,170468,733234,332150,287144,566
最近代码更新2026年11月18日2026年11月19日2026年4月20日2026年11月18日2026年11月18日
许可证GPL-3.0MIT–Apache-2.0MIT

DUNHKpcc 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server

Skill 和 MCP 有什么不同

MCP = 手

把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。

Skill = 手册

教 AI 怎么做某项工作的文本文件,不连接任何服务。

有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。

适用的应用

Claude CodeCodex

依据开发者 README 和 repo 中的文件夹

安装

Is it safe?

  • Who made it

    GitHub account DUNHKpcc (person), 2 years old

  • Use and upkeep

    ★ 2,170 stars · code last changed 2026年11月18日

  • Any scripts?

    43 scripts that can run on a computer: assets/mac-killswitch/guardian-pf-killswitch.sh, assets/remote-hardening/flclash-crash-heal.sh, assets/remote-hardening/install-reverse-tunnel.sh, assets/killswitch/switch.js and 39 more

  • Uses the internet?

    Scripts that go online: assets/vm-killswitch/install-flclash-tun.sh, assets/killswitch/switch.js, scripts/update_check.py

  • Changes machine-wide settings?

    Scripts that touch settings folders (~/.claude or settings.json): scripts/native_claude_state_mac.py

Checked automatically from the repo files at commit d31e8e3 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

第一步:你用哪个 AI?

选择你用的应用,本页只显示该应用的安装方法

Option 1Upload to claude.ai (web and app)

  1. Download from GitHub

    This skill uses the GPL-3.0 license, which is not on the list we redistribute, so we do not hand out a ZIP from our site. Download it from GitHub and arrange the folder yourself, or use "Let the AI install it" above, which is easier

    Download from GitHub (whole repo) ↗

    Unzip it, then zip only the skills/claude-guardian folder again. The ZIP must have a claude-guardian folder with SKILL.md at the top level, no loose files

  2. Open Skills on claude.ai and upload

    +Create skillUpload a skillpick claude-guardian.zip

    Open claude.ai/customize/skills ↗

  3. No Upload button? Turn on file creation first

    SettingsCapabilitiesCode execution and file creation

    Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free

Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)

Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)

Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com

Option 1让 Claude Code 帮你安装

复制这句话,粘贴到 Claude Code 的对话中

Where to install
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) for all my projects, at ~/.claude/skills/claude-guardian. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) into the project this chat is open in (at .claude/skills/claude-guardian). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

重新打开 Claude Code,输入 /claude-guardian,或直接提出相关任务,Claude 会自动选用

Checked against official docs 2026年11月12日 · Source: code.claude.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.claude/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/dunhkpcc/claude-guardian.git /tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3/skills/claude-guardian' ~/.claude/skills/claude-guardian
  3. 重新打开 Claude Code,输入 /claude-guardian,或直接提出相关任务,Claude 会自动选用

自己安装的 Skill 可用于 ChatGPT 桌面应用、Codex CLI 和 IDE 中的 Codex 扩展 · 网页版和手机版 ChatGPT 不能使用自己安装的 Skill,只能使用目录中插件自带的 Skill

ChatGPT 桌面应用

ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill

Option 1让 ChatGPT 帮你安装

在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中

Where to install
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) for all my projects, at ~/.agents/skills/claude-guardian. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) into the project this chat is open in (at .agents/skills/claude-guardian). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2自己放入文件夹

把 claude-guardian 文件夹放到 ~/.agents/skills/claude-guardian

~ 是你的主文件夹($HOME)

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/dunhkpcc/claude-guardian.git /tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3/skills/claude-guardian' ~/.agents/skills/claude-guardian

安装之后

  • ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
  • 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
  • Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

网页版和手机版 ChatGPT

不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill

想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Option 1让 Codex 帮你安装

复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展

Where to install
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) for all my projects, at ~/.agents/skills/claude-guardian. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) into the project this chat is open in (at .agents/skills/claude-guardian). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/dunhkpcc/claude-guardian.git /tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3/skills/claude-guardian' ~/.agents/skills/claude-guardian
  3. 重新打开 Codex 并提出相关任务,Codex 会列出这个 skill

Option 1让 Cursor 帮你安装

复制这句话,粘贴到 Cursor 的对话中

Where to install
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) for all my projects, at ~/.cursor/skills/claude-guardian. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) into the project this chat is open in (at .cursor/skills/claude-guardian). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

在 Cursor 的 Agent 聊天中输入 / 并选择 claude-guardian

Checked against official docs 2026年11月12日 · Source: cursor.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.cursor/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/dunhkpcc/claude-guardian.git /tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-dunhkpcc-claude-guardian-d31e8e3/skills/claude-guardian' ~/.cursor/skills/claude-guardian
  3. 在 Cursor 的 Agent 聊天中输入 / 并选择 claude-guardian

Option 1Let the AI install it

适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat

Where to install
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) for all my projects, at ~/.claude/skills/claude-guardian (in Codex use ~/.agents/skills/claude-guardian, in Cursor ~/.cursor/skills/claude-guardian). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill claude-guardian from https://github.com/dunhkpcc/claude-guardian folder skills/claude-guardian (commit d31e8e3) into the project this chat is open in (at .claude/skills/claude-guardian; in Codex use .agents/skills/claude-guardian, in Cursor .cursor/skills/claude-guardian). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。

在 GitHub 上查看 ↗

已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹

✓ 命令已检查 2026年11月19日

查看原始 SKILL.md

以下文字来自开发者的 repo,不是 PopNx MCP 的指令

显示前 8,000 个字符 · 在 GitHub 打开完整文件

---
name: claude-guardian
description: 带着作者和社区的真实经验,陪用户准备 Claude 的订阅、账号、固定出口 IP 和运行环境:订阅与支付渠道、注册与养号节奏、本机(Clash TUN、Windows 防火墙、Mac PF)/ VM / VPS 三条路线的搭建与防火墙、整机只走 IPv4 的出口验证、线路优化、403/429/529 等故障分诊、旧设备清理规划;改动按 A/B/C 三档授权。也可直接用作 VPS、家宽、线路和封号经验的帖子与论坛搜索工具。
---

# Claude Guardian

**0.2.0 工作流增量版**:访谈、检查、离线分析、面板、修复计划,以及由 Agent 按分级授权执行的配置、部署和复测。

## 和用户说话的方式(先读这一节)

本 Skill 的门禁是**写给你执行的规则,不是念给用户听的台词**。

1. **说做了什么、看到了什么、下一步谁做什么。**
2. **结论按证据直接说:**查过的说结果,没查的说“还没查,下一步查”。一句话,不附免责。
3. **限制只在用户要越过时说,一次,并给出路:**用户让你代付款,就说“付款要你本人在官方页面完成,步骤我列好了”,不讲一段为什么。
4. **不说这些句式:**不保证、不承诺、不成立、不改变、不代表、不等于、不构成、不证明、不为……背书、仅供参考、不能据此……、“这不是……而是……”。资料里出现这些说法,是给你判断用的;转述时换成“还要查 X”“下一步做 Y”,或者直接省略。
5. **免封只在用户问到时说一次:**“没人能保证不封,这套做法是把能控制的风险降到最低。”不要每个回答都附。
6. **参考资料中的经验按事实直接说**,不加“可能”“据说”。
7. **汇报三段,各段短:**已确认 / 还没查 / 下一步(谁做)。

## 开始方式

**每次使用前先查 Skill 更新:**运行 `scripts/update_check.py check`(只读,只连 GitHub),结果按 [skill-update.md](references/skill-update.md) 处理,没查成不阻塞。

1. 优先由 **Codex** 编排。分别确认执行宿主与实际目标:云端 shell 看到的是云端,用户的 Mac 要在用户的 Mac 上查。没有结构化提问界面时用短问句。
2. **默认用中文交流、提问、解释报告**,保留技术 ID/命令原文;用户明确选择其他语言时跟随。先复用已有事实,再补缺口。普通订阅准备的首个缺失业务问题是 **Q-J01:首次准备订阅、到期后重新订阅,还是当前已有订阅?** 随后询问 Mac/Windows 与用途。紧急事故优先。明确的清理任务直接进入目标和保护范围,跳过购买问卷;用户说过去被封过、但没说是哪台设备时,先问 Q-D01。
3. 本机是默认建议,但要问用户接受本机、选择 VM/VPS,还是先比较。三者是并列方案。已明确的目标优先;用户有 VPS 时,问清是当开发机还是当出口。
4. 按需读取 [intake.md](references/intake.md),使用稳定问题 ID 和 G1/G2/G3。**Q-C07 永久停用**,不得换名称恢复账号归属/控制权问题。首次订阅无实际冲突时跳过旧套餐/旧渠道题。
5. 每次工具操作前遵守 [contact-and-safety.md](references/contact-and-safety.md)。从 **PC0** 开始:不接触 Claude/Anthropic、不安装或运行客户端、不登录、不查看订阅页。公开文档、DNS、HEAD、`claude --version` 及委派 Claude 工具也不是例外。使用随包历史依据,待核验的现行事实明确标出。
6. 只在获准目标范围内使用已实现 CLI 检查(先查看 `scripts/guardian.py --help`)。缺依赖不静默安装;未支持的检查记为未知。内置功能未开放时,Agent继续调查实际环境;不得用临时命令绕过权限拒绝、PC0或既有执行门禁。修复按 [agent-remediation.md](references/agent-remediation.md) 授权、备份及复测;Windows 网络写入先读[独立恢复](references/windows-network-transaction.md)。
7. 交付具体问题、目标范围、证据、未知项、最小修复建议、保留项及下一步。`pass/fail/unknown/not_applicable/blocked/skipped` 只描述指定检查。

## 环境入口顺序(2026-10-19 更新)

先明确本轮任务和本机/VM/VPS 运行路线,再了解网络资源与配置状态,最后进入目标环境检测或修复。路线没定(还在比较、拒绝、撤回或冲突)时只做访谈和解释;用户明确接受本机建议后才算选定本机。VPS 当出口时,运行路线仍是本机或 VM。

选定路线后先做**能力核实**:在目标机核实 Python,查看 `inventory_cli.py capabilities` 和检测脚本帮助,写入状态 `capabilities`;缺 Python 必须补齐,统一使用我们的 `network_check.py` 与 `egress_verifier.py`,不以手写检查替代。安装按档授权,未获准或失败记检测未完成。步骤见 [agent-remediation.md](references/agent-remediation.md#capability-checkpoint)。随后仅收集资源是否已有、明确选中哪个非识别别名、代理入口类型、最终出口协议及配置状态;不索取或保存 IP、订阅链接、密码、UUID 或配置全文。HTTP/mixed 本地入口和 SOCKS5 最终出口是不同层;Claude Code 要用 HTTP 或 mixed 入口。配置导入后要实测确认生效。

本机与 VM 做适用的详细检查,VM 宿主和客机分别绑定;VPS 路线是开发机,指引见 [vps-guidance.md](references/vps-guidance.md);本阶段只做基础非侵入检查;用户给出 VM/VPS 访问方式后,Agent 可按分级授权部署,买服务器、付款、注册、登录由用户本人完成。没有代理资源、不清楚或选直连,仍可在原授权下做离线预检,不要求先购买。

入口由 `scripts/environment_entry.py` 的 `assess_entry` / `require_entry` 校验(细节见 [host-libraries.md](references/host-libraries.md))。路线或资源变了,旧检查结论和计划作废,重新核实;已有的恢复义务照旧完成。

## 同一电脑默认统一代理路径,可明确指定分流例外

网络准备/修复默认要求同一目标电脑的所有普通应用、子进程和后台服务的公网 TCP/UDP/DNS 经同一指定代理路径/出口,普通应用到目标采用 `IPv4_ONLY`,禁止 IPv6 fallback;代理失效不得直连或切换未经批准的出口。不是只保护 Claude,也不能因某软件忽略系统代理就排除它。

配置前必须先告知将如何接管整机流量,例如 TUN,以及对其他应用、LAN/VPN、DNS和控制连接的影响、明确例外、备份与独立恢复方案,取得具体批准后才执行。TUN 和 Clash 的 global 模式是两回事,故障防直连要靠防火墙另外做;只走 IPv4:核心和 DNS 关 IPv6,Windows 默认关闭网卡 IPv6(B 档),节点用 IPv4 地址。

用户明确要求某软件/进程独立路径时,核实精确范围、路径、协议/地址族和失败行为,作为明确例外分别配置与验收;也可明确选择仅 Claude 的窄范围模式。存在例外就不能仍称全软件同一路径。完整默认、例外、能力与证据边界以 [Agent 整机路径要求](references/agent-remediation.md#ipv4-only-policy) 为准;[网络参考](references/network-and-remedies.md)的旧目标范围方法仅用于相应窄范围方案或局部诊断。

整机是否达标用 [whole-machine-ipv4.md](references/whole-machine-ipv4.md) 的取证和 `scripts/egress_verifier.py` 判定;`traffic_policy`、访谈评估和面板只输出旧的目标范围结论,不拿它们当整机结论。没取到的证据标 unknown,单次 curl 成功不算整机通过。环境修复后的浏览器验收网址是 https://ip.net.coffee/claude/:用户本人在实际用的浏览器打开,**除语言外必须全绿**(时区要和出口一致),一项不绿就不算过([做法](references/whole-machine-ipv4.md#browser-acceptance))。不给无关任务强加网络修改。

## 完整访谈入口

完整访谈用 `scripts/interview_cli.py`:answer JSON 传入事实,`--input` 读档,仅明确要求保存才用 `--output`。中断续接加 `--resume <事件别名>`,按 [续接规则](references/intake.md#interruption-and-resume) 核实变化;Q-C07 停用,`guardian.py interview` 为简化入口。开局先读私有待办:有 `blocking_next_session` 先提示并优先完成相关验收;手动交接先完成前置依赖([规则](references/agent-remediation.md#handoff-and-follow-up))。

由 Agent 编排检测、解释、选择内置动作、具体确认、执行和复测,详见 [agent-remediation.md](references/agent-remediation.md)。`scripts/agent_remediation.py select --input <本地报告.json> --target-ref <目标别名>` 生成结构化动作清单;清单只是选择,不执行;内置脚本修不了时,由 Agent 在实际环境里用获准的工具做最小修复、备份恢复和复测。内置门禁不绕过,授权来自用户在对话里的明确回复。

## 内置脚本与宿主库

内置入口按动作能力分流,常用的几个:

- **网络基础检测用 `scripts/network_check.py run`**(三平台,B 档批准后跑):路由、IPv4 出口、IPv6、DNS 泄露、UDP,`--failure-drill` 做故障演练,`--evidence-output` 交给 `egress_verifier.py`。`guardian.py check` 不测网络。
- `scripts/repair_cli.py`:精确文件的 `preflight / plan / diff / execute`;当前开放的写入只有 macOS 上 Clash Verge Rev 2.5.8 的 `rules-prepend`(应用须已退出,已在真机验证写入与回滚),其他组合返回 `NATIVE_REPAIR_ADAPTER_UNAVAILABLE`,由 Agent 按 [agent-remediation.md](references/agent-remediation.md) 在实际环境里做最小修复。用应用界面改 2.5.8 的 rules 扩展时按 [agent-rules-task.md](references/agent-rules-task.md) 生成候选。
- `scripts/inventory_cli.py capabilities`:查看实际开放范围;`scripts/status_dashboard.py`:把已有报告生成离线 HTML 面板。
- `scripts/recovery_cli.py`:POSIX 回执检查与精确文件恢复。
- DNS、STUN、监听者核对、原生上下文、配置候选等是供可信宿主集成的库,没有 CLI,不自动执行。

各入口和库的输入格式、阻塞条件和边界见 [host-libraries.md](references/host-libraries.md),用到哪个读哪个小节;脚本清单见 [scripts-index.md](references/scripts-index.md)。

## 首问示例

“这次先在 Codex 中做环境准备。你是第一次准备订阅、以前订阅过现在准备重订,还是目前已有订阅来处理问题?”

第一次订阅、拿不定主意的新手,直接推荐 [A0a 新手试错推荐组合](references/account-onboarding.md#a0a):苹果内购、Gmail/Outlook 邮箱、VPS 纯净个人 IP、在 VM 或本机上使用、Pro 订阅(2026-10-25:退款成功率高、稳定率高)。

已回答就跳过。每轮一个主要决策,可合并少量同主题事实;不整页展示问题库。报告摘要使用“已确认/尚未核实/建议下一步”,不报虚假的完成百分比。

## 来源原文阅读

**资料随答附带(2026-10-21,ADR-011):** 项目参考资料不能静默使用。凡回答涉及某主题,回答末尾必须附“参考资料”,给出对应本地文件链接并指出章节或 PDF 页码,不必等用户来问。按主题只附相关的几份,不一次塞入全部资料;完整对应表见 [来源资料库](references/source-library.md):

| 回答主题 | 必附资料 |
| --- | --- |
| 支付、订阅渠道、礼品卡、虚拟卡、API 充值 | **第一项:[AI 所有支付方式汇总(核验版)](sources/S02-ai-payments.md)**,核心参考,Agent 可据此向用户推荐支付方式(规则见 accounts-and-payments.md 的 B1) |
| 账号阶段、IP、设备、注册与养号节奏 | [S03 经验 PDF](sources/S03-claude-experience.pdf)(文字版 [S03-extracted-text.md](sources/S03-extracted-text.md)、[S03-source-text.md](sources/S03-source-text.md);第 4、5 页是图片表格)、[S04 指南](sources/S04-claude-guide.md)、[account-onboarding.md](references/account-onboarding.md) |
| 本地防护、代理、浏览器档案、WebRTC 检查 | [S05 本地防护](sources/S05-local-protection.md);WebRTC 可用包内的[本地探测页](assets/webrtc-probe.html)(`scripts/serve_webrtc.py` 提供) |
| macOS 清理 | [S06 清理教程](sources/S06-macos-cleanup-sanitized.md)、[cleanup-cli-usage.md](references/cleanup-cli-usage.md)(执行用 `native_cleanup_mac.py`,必附) |
| 在用户的机器上做改动时的授权方式(路线选定后;A、B、C 档) | [authorization-tiers.md](references/authorization-tiers.md)(必附);Agent 就在被改网络的机器上时加 [agent-on-target.md](references/agent-on-target.md) |
| 手机端(注册、选择 Apple/Google 内购、仅手机) | [mobile-guidance.md](references/mobile-guidance.md)、[S03 经验 PDF 第 4 页](sources/S03-claude-experience.pdf)(必附) |
| VM 路线(客机系统、网卡、出口、防火墙脚本) | [vm-guidance.md](references/vm-guidance.md)、[egress-ip-options.md](references/egress-ip-options.md)(必附)、[VPS 推荐报告索引 R01](sources/vps-recommendations/INDEX.md)(出口选自建梯、要选 VPS 时)、[S07 IP 质量清单](sources/S07-vps-script-catalog.md)(检查出口 IP 时)、[VM 搭建脚本](assets/vm-killswitch/enable-guest-ssh.sh)(开客机 SSH)、[FlClash TUN 安装](assets/vm-killswitch/install-flclash-tun.sh)、[VM 防火墙脚本](assets/vm-killswitch/install-flclash-killswitch.sh)(Linux 客机,按这个顺序) |
| 进阶路线(VM/VPS:远端 Linux 管理) | [advanced-route.md](references/advanced-route.md)、[VM 指引](references/vm-guidance.md)(必附)、[反向隧道](assets/remote-hardening/install-reverse-tunnel.sh)、[自愈](assets/remote-hardening/flclash-crash-heal.sh)、[防火墙](assets/vm-killswitch/install-flclash-killswitch.sh)(最后装,C 档) |
| Windows 整机白名单双开关;Mac/Linux GUI | [指引](references/killswitch-switch.md) |
| 本机路线:Clash(TUN)与防火墙 | [本机流程与退出复查](references/local-firewall-prompts.md)([交付验收](references/local-firewall-prompts.md#delivery-scope))、[Mac DNS](references/macos-dns-case-lessons.md)、[S05](sources/S05-local-protection.md)、[S10 本机经验](sour

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

来自 GitHub

GitHub 星标
2,170
开发者
DUNHKpcc
许可证
GPL-3.0
最近代码更新
2026年11月18日
repo 中的 SKILL.md 文件(含译本和模板)
1
主题
agent-skills, ai-tools, claude-code, claude-skills, codex-skill