proxychains

A network troubleshooting skill that retries commands through proxychains4, a tool that routes network traffic through a configured proxy.

In plain words
What is it for?
Use it to retry Git, package-manager, download, Docker, or SSH commands through the proxy at http://127.0.0.1:9910.
Why use it?
It can help when direct access fails because of timeouts, DNS problems, refused connections, or blocked websites.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/godmakereth/vibe-coding-tw/proxychains
Any agent
npx skills add godmakereth/vibe-coding-tw --skill proxychains
Clone the repo
git clone --depth 1 https://github.com/godmakereth/vibe-coding-tw

Made for: Claude Code, Codex.

Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00049 $0.02083
Opus 5 $0.00024 $0.01042
Sonnet 5 $0.00010 $0.00417
Haiku 4.5 $0.00005 $0.00208

Measured 2d ago against content hash 2897c724c72c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

proxychains scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/setup-proxy.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install proxychains4 # Debian/Ubuntu

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- ❌ curl/wget/git/pip 等命令失敗
Origin

This is a copy

97% identical to proxychains — 175 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/proxychains/SKILL.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 應該:

  1. 檢測到網路錯誤後,自動在命令前新增 proxychains4
  2. 使用預設代理配置:http://127.0.0.1:9910
  3. 如果代理失敗,提示使用者檢查代理服務狀態

Quick Reference

基本用法模式

# ❌ 原命令失敗
curl https://github.com/user/repo

# ✅ 使用代理重試
proxychains4 curl https://github.com/user/repo

常見場景自動應用

場景 1: Git 操作失敗

# 原命令
git clone https://github.com/user/repo.git

# 自動改為
proxychains4 git clone https://github.com/user/repo.git

場景 2: Python pip 安裝失敗

# 原命令
pip install requests

# 自動改為
proxychains4 pip install requests

場景 3: npm/yarn 安裝失敗

# 原命令
npm install package-name

# 自動改為
proxychains4 npm install package-name

場景 4: wget/curl 下載失敗

# 原命令
wget https://example.com/file.tar.gz

# 自動改為
proxychains4 wget https://example.com/file.tar.gz

場景 5: Docker 拉取映象失敗

# 原命令
docker pull image:tag

# 自動改為
proxychains4 docker pull image:tag

場景 6: SSH 連線失敗

# 原命令
ssh user@remote-host

# 自動改為
proxychains4 ssh user@remote-host

配置詳情

預設代理配置

本地代理地址: http://127.0.0.1:9910

配置檔案位置:

  • ~/.proxychains/proxychains.conf (推薦)
  • /etc/proxychains.conf (系統級)

快速配置指令碼

建立使用者級配置(自動使用 127.0.0.1:9910):

mkdir -p ~/.proxychains
cat > ~/.proxychains/proxychains.conf << 'EOF'
# Proxychains configuration
strict_chain
proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000

[ProxyList]
http 127.0.0.1 9910
EOF

環境變數方式(臨時使用)

# 設定代理環境變數
export PROXYCHAINS_SOCKS5_HOST=127.0.0.1
export PROXYCHAINS_SOCKS5_PORT=9910

# 使用
proxychains4 curl https://github.com

工作原理

Proxychains 透過 LD_PRELOAD 機制攔截程式的網路呼叫:

  1. 攔截系統呼叫:Hook socket 相關的 libc 函式
  2. 重定向連線:將所有 TCP 連線重定向到代理伺服器
  3. DNS 代理:透過代理伺服器解析域名
  4. 透明代理:應用程式無需修改

Read the full file on GitHub · 292 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 292 lines · 49 tokens per session scan B 2897c724c72c

Subscribe to this mod's changes

proxychains is a skill published in the GitHub repository godmakereth/vibe-coding-tw (47 stars, last pushed 8mo ago), licensed MIT. It adds 49 tokens to every session and 2,083 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). It is 97% identical to proxychains, differing in 175 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens