xiaolai

Anthropic Claude Surge Rules Set — Development skill for Claude Code

Development community

Comprehensive proxy ruleset for Anthropic/Claude services — Surge, Clash, sing-box, Quantumult X, Loon.

How to install Anthropic Claude Surge Rules Set

This entry records only its repository, not the path inside it, so there is no exact command to give. Open xiaolai/anthropic-claude-surge-rules-set and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Anthropic Claude Surge Rules Set does

Comprehensive proxy ruleset for Anthropic/Claude services — Surge, Clash, sing-box, Quantumult X, Loon.

Alternatives in Development

  • TokenEconomizer — Experience-Driven Black-Box Cost Control for Coding Agents 3.4k ★
  • Claude For Financial Services Cn — 63 个 Claude Skills,为 A 股金融从业者而生 基于 Anthropic 官方 claude-for-financial-services 深度适配国内市场,现已开源 722 ★
  • Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★

README

Anthropic / Claude Proxy Ruleset

Comprehensive proxy ruleset for all Anthropic and Claude services. Covers API, web app, CLI, binary updates, telemetry, and third-party dependencies.

Supports **Surge**, **Clash/Mihomo**, **sing-box**, **Quantumult X**, **Loon**, and plain domain lists.

Quick Start

Surge / Surfboard

RULE-SET,https://raw.githubusercontent.com/xiaolai/anthropic-claude-surge-rules-set/main/dist/anthropic.list,YourProxyGroup

Clash / Mihomo

rule-providers:
  anthropic:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/xiaolai/anthropic-claude-surge-rules-set/main/dist/anthropic-clash.yaml
    interval: 86400

rules:
  - RULE-SET,anthropic,YourProxyGroup

sing-box

{
  "route": {
    "rule_set": [
      {
        "tag": "anthropic",
        "type": "remote",
        "url": "https://raw.githubusercontent.com/xiaolai/anthropic-claude-surge-rules-set/main/dist/anthropic-singbox.json",
        "format": "source"
      }
    ],
    "rules": [
      { "rule_set": "anthropic", "outbound": "proxy" }
    ]
  }
}

Quantumult X

[filter_remote]
https://raw.githubusercontent.com/xiaolai/anthropic-claude-surge-rules-set/main/dist/anthropic-qx.conf, tag=Anthropic, force-policy=proxy, update-interval=86400

Loon

[Remote Rule]
https://raw.githubusercontent.com/xiaolai/anthropic-claude-surge-rules-set/main/dist/anthropic-loon.conf, policy=proxy, tag=Anthropic

What's Covered

Category Domains Why
Core API *.anthropic.com API, console, statsig, status, sentry, MCP proxy
Claude Web *.claude.ai, *.claude.com Web app, platform, CLI docs, OAuth
User Content *.claudeusercontent.com Artifacts, file previews
Short URL *.clau.de URL redirector in CLI output
MCP *.modelcontextprotocol.io MCP spec site
CLI Updates downloads.claude.ai, storage.googleapis.com