DD-Bear

Dsh Skill Cc Doit — Development skill for Claude Code

Development community

Claude 网络安全基线与自检(DSH Skill):Claude 域名走代理、Chrome/Edge WebRTC 防泄露、官方桌面端 WebRTC 能力评估与可选 UDP 兜底、周检与一键回滚.

How to install Dsh Skill Cc Doit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open DD-Bear/dsh-skill-cc-doit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Dsh Skill Cc Doit does

Claude 网络安全基线与自检(DSH Skill):Claude 域名走代理、Chrome/Edge WebRTC 防泄露、官方桌面端 WebRTC 能力评估与可选 UDP 兜底、周检与一键回滚。Windows / PowerShell。

Alternatives in Development

  • Codenotch — A macOS app that pins usage limits from Claude Code, Cursor, Codex, and Antigravity to a screen edge 1.3k ★
  • HERO Anti OverDefense — HERO = Hashing · Edge cases · Rubrics · Overbuild — the four shapes coding agents over-defend in 333 ★
  • Beacon Skill — Beacon - agent-to-agent pings with optional RTC value attached (BoTTube/Moltbook/RustChain + UDP bus) 219 ★

README

CC_Doit · Claude 网络安全基线与自检(DSH Skill)

CC_Doit banner

一个面向 **DeepSeek Harness (DSH)** 的 Windows 技能:把「Claude 相关流量」的出口与浏览器泄露面收紧,并做持续自检。 只覆盖 Claude 相关流量:不改系统 DNS、不启用 TUN、不影响国内应用直连。

[![validate](https://github.com/DD-Bear/dsh-skill-cc-doit/actions/workflows/validate.yml/badge.svg)](https://github.com/DD-Bear/dsh-skill-cc-doit/actions/workflows/validate.yml)

功能(S0 → S6)

阶段 命令 作用
S0 scripts/cc-baseline.ps1 只读基线:代理、出口、DNS、IPv6、浏览器 WebRTC、桌面端
S1 scripts/cc-claude-route.ps1 v2rayN 中把 Claude 域名置顶走代理(apply 会重启 v2rayN)
S2 scripts/cc-browser-webrtc.ps1 Chrome / Edge WebRTC 防泄露(disable_non_proxied_udp)
S3 scripts/cc-desktop-audit.ps1 官方桌面端版本 + WebRTC 代码扫描;-Sample 做 30 秒 UDP 抽测
S3.1 scripts/cc-firewall-udp.ps1 可选兜底:桌面端出站 UDP 全阻断(需管理员)
S4 scripts/cc-verify.ps1 校验矩阵 → PASS / WARN / FAIL(FAIL 退出码 1)
S5 scripts/cc-schedule.ps1 周检计划任务(每周一 10:00 静默)
S6 scripts/cc-rollback.ps1 统一回滚

安装

方式一:作为 DSH 技能安装(推荐)

git clone https://github.com/DD-Bear/dsh-skill-cc-doit.git "$env:USERPROFILE\.dsh\skills\cc-doit"

或下载 Release 中的 zip:

Expand-Archive .\CC_Doit-*-lite.zip -DestinationPath . -Force
.\cc-doit\安装.ps1 -Force

方式二:直接使用脚本

克隆后直接运行 `scripts\*.ps1`,无需 DSH。

快速开始

$SK = "$env:USERPROFILE\.dsh\skills\cc-doit"
powershell -NoProfile -ExecutionPolicy Bypass -File "$SK\scripts\cc-setup.ps1" -Action Detect
powershell -NoProfile -ExecutionPolicy Bypass -File "$SK\scripts\cc-setup.ps1" -Action Save
powershell -NoProfile -ExecutionPolicy Bypass -File "$SK\scripts\cc-verify.ps1"

兜底配置

探测优先级:环境变量 → 本地 `config.json` → 系统代理 → v2rayN 配置 → 代理环境变量 → 本地正在监听的代理客户端进程。

变量 作用 默认
CC_DOIT_PROXY 本地代理地址 自动检测
CC_DOIT_V2DIR v2rayN 目录 自动扫描
CC_DOIT_STATE 状态目录 %LOCALAPPDATA%\CC_Doit
`CC_DOIT_EXPECT_C