godmakereth/vibe-coding-tw/proxychains
Claude Code and agent skill by godmakereth/vibe-coding-tw
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Auto-detect network issues and force proxy usage with proxychains4. Use this skill when encountering connection timeouts, DNS failures, or blocked network access. Default proxy is http://127.0.0.1:9910
Install
npx vskill@latest install godmakereth/vibe-coding-tw/proxychainsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Proxychains Network Proxy Skill
自動使用代理解決網路問題 - 當遇到網路連線失敗、超時或訪問受限時,自動使用 proxychains4 強制走代理。
When to Use This Skill
觸發條件(自動應用):
- ❌ Connection timeout errors
- ❌ DNS resolution failures
- ❌ "Connection refused" errors
- ❌ HTTP 403/451 blocked access
- ❌ GitHub/PyPI/npm 等國外資源訪問失敗
- ❌ curl/wget/git/pip 等命令失敗
Claude 應該:
- 檢測到網路錯誤後,自動在命令前新增
proxychains4 - 使用預設代理配置:
http://127.0.0.1:9910 - 如果代理失敗,提示使用者檢查代理服務狀態
Quick Reference
基本用法模式
常見場景自動應用
場景 1: Git 操作失敗
場景 2: Python pip 安裝失敗
場景 3: npm/yarn 安裝失敗
場景 4: wget/curl 下載失敗
場景 5: Docker 拉取映象失敗
場景 6: SSH 連線失敗
配置詳情
預設代理配置
本地代理地址: http://127.0.0.1:9910
配置檔案位置:
~/.proxychains/proxychains.conf(推薦)/etc/proxychains.conf(系統級)
快速配置指令碼
建立使用者級配置(自動使用 127.0.0.1:9910):
環境變數方式(臨時使用)
工作原理
Proxychains 透過 LD_PRELOAD 機制攔截程式的網路呼叫:
- 攔截系統呼叫:Hook socket 相關的 libc 函式
- 重定向連線:將所有 TCP 連線重定向到代理伺服器
- DNS 代理:透過代理伺服器解析域名
- 透明代理:應用程式無需修改
重要限制:
- 只支援動態連結的程式(statically linked 程式不支援)
- 只支援 TCP 連線(UDP 不支援)
- 部分使用特殊網路庫的程式可能不相容
Claude 自動化規則
規則 1: 網路錯誤自動重試
規則 2: 已知慢速源強制代理
規則 3: 失敗提示
故障排除
檢查代理服務狀態
驗證 proxychains 配置
常見錯誤處理
錯誤 1: "proxychains: command not found"
錯誤 2: "timeout"
錯誤 3: "can't read configuration file"
高階用法
多代理鏈
動態代理鏈
隨機代理鏈
自定義 DNS 伺服器
參考資源
- 官方倉庫: https://github.com/haad/proxychains
- 配置檔案:
references/proxychains.conf(完整示例) - 故障排除:
references/troubleshooting.md - 命令速查:
references/quick-reference.md
總結
記住這些原則:
- ❌ 遇到網路錯誤 → ✅ 自動加上
proxychains4 - 🌐 訪問國外資源 → ✅ 主動使用
proxychains4 - 🔧 代理也失敗 → ✅ 提示使用者檢查代理服務
預設代理: http://127.0.0.1:9910
這個技能讓 Claude 在遇到網路問題時自動使用代理,無需使用者手動干預!
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/proxychains/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/godmakereth/vibe-coding-tw/proxychains)