Shadowrocket standalone config
On the iOS device, tap a button below and Shadowrocket imports the config automatically. (GitHub strips shadowrocket:// links, which is why one-tap install lives on this site.)
Or copy a URL and add it by hand: Shadowrocket → Config → + → paste the URL.
| Config | URL |
|---|---|
| OpenAI + Claude | https://raw.githubusercontent.com/ma-wenqian/ai-proxy-rules/main/Shadowrocket/ai-proxy.conf |
| OpenAI only | https://raw.githubusercontent.com/ma-wenqian/ai-proxy-rules/main/Shadowrocket/openai.conf |
| Claude only | https://raw.githubusercontent.com/ma-wenqian/ai-proxy-rules/main/Shadowrocket/claude.conf |
| Apple Intelligence only | https://raw.githubusercontent.com/ma-wenqian/ai-proxy-rules/main/Shadowrocket/apple-intelligence.conf |
How it behaves
These configs contain no servers. Servers live in Shadowrocket's own list, and PROXY resolves to whichever one is currently selected — so pick a node in the app as usual, then switch to this config.
The last rule is FINAL,DIRECT, which is what keeps everything other than OpenAI and Anthropic off the proxy. Switch back to your regular config when you need general proxying.
If you'd rather keep your own config, add a RULE-SET instead.