mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-08-02 21:57:44 +00:00
4.1 KiB
4.1 KiB
name, description
| name | description |
|---|---|
| proxychains | proxychains4 network fallback skill: detect timeouts, DNS failures, blocked GitHub/PyPI/npm/curl/git access, configure http://127.0.0.1:9910, and retry commands through proxychains. |
proxychains Skill
Use this skill when network commands fail or known slow/blocked sources need a transparent TCP proxy through proxychains4.
When to Use This Skill
Trigger when any of these applies:
curl,wget,git,pip,npm,yarn,docker pull, orsshfails with timeout, DNS, reset, refused, 403, or 451-like access errors.- Accessing GitHub, raw GitHub content, PyPI, npm registry, Docker registries, or other known slow foreign resources.
- Configuring a local proxychains profile that points to
http://127.0.0.1:9910. - Diagnosing whether failure is proxy service down, proxychains config wrong, unsupported UDP/static binary behavior, or upstream blocked.
Not For / Boundaries
- Not for bypassing legal, account, regional, or enterprise security restrictions.
- Not useful for UDP-only traffic or statically linked binaries that proxychains cannot intercept.
- Do not proxy commands that should remain on a trusted private network without checking routing and policy.
- Required inputs: failed command, full error text, target domain, proxy endpoint, OS package name, and whether the proxy service is running.
- If proxychains retry also fails, inspect proxy service health before repeating the same command.
Quick Reference
Common Patterns
Install on Debian/Ubuntu
sudo apt install proxychains4
Create user config for the local proxy
mkdir -p ~/.proxychains
cp skills/proxychains/references/proxychains.conf ~/.proxychains/proxychains.conf
Test the proxy
proxychains4 curl https://ipinfo.io/json
Retry a failed curl
proxychains4 curl https://github.com/user/repo
Retry a failed git clone
proxychains4 git clone https://github.com/user/repo.git
Retry a failed pip install
proxychains4 pip install requests
Retry a failed npm install
proxychains4 npm install package-name
Retry a failed Docker pull
proxychains4 docker pull image:tag
Inspect effective config
proxychains4 -f ~/.proxychains/proxychains.conf curl https://example.com
Examples
Example 1: GitHub Clone Timeout
- Input:
git clonefails with a connection timeout. - Steps:
- Retry with
proxychains4 git clone .... - If it fails, run
proxychains4 curl https://github.comto isolate Git vs network. - Check local proxy service on
127.0.0.1:9910.
- Retry with
- Expected output / acceptance: clone succeeds or failure is classified as proxy service/config/upstream issue.
Example 2: PyPI Install Fails
- Input:
pip installcannot reach PyPI. - Steps:
- Retry with
proxychains4 pip install <package>. - If DNS still fails, confirm
proxy_dnsis enabled in config. - Avoid writing credentials into
pip.confunless explicitly required.
- Retry with
- Expected output / acceptance: package install succeeds through proxy or produces a new non-network error.
Example 3: Unsupported Traffic Diagnosis
- Input: proxychains retry does not affect a command.
- Steps:
- Confirm the command uses TCP and dynamic linking.
- Test the proxy with a known-good
curl. - Use application-native proxy options if proxychains cannot intercept it.
- Expected output / acceptance: unsupported mode is identified instead of repeatedly retrying.
References
references/index.md: navigation for local proxychains references.references/proxychains.conf: default config targeting127.0.0.1:9910.references/quick-reference.md: command snippets and common scenarios.references/setup-guide.md: installation and setup notes.references/troubleshooting.md: failure classification.scripts/setup-proxy.sh: helper script for local setup.
Maintenance
- Sources: local proxychains reference files and config template.
- Last updated: 2026-04-28
- Known limits: proxychains relies on
LD_PRELOADstyle interception and is not universal; prefer native proxy settings when available.