Agent skill · security · aiskillstore

proxychains

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

Why this skill is useful

Provides specific commands and configurations for automating proxy usage in various network scenarios that the AI wouldn't reliably generate on its own.

What it needs

Requires proxychains4 installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

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 基本用法模式 常见场景自动应用 场景 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 通过 LDPRELOAD 机制拦截程序的网络调用: 1. 拦截系统调用:Hook socket 相关的 libc 函数 2. 重定向连接:将所有 TCP 连接重定向到代理服务器 3. DNS 代理:通过代理服务器解析域名 4. 透明代理:应用程序无需修改 重要限制: 只支持动态链接的程序(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 总结 记住这些原则: 1. ❌ 遇到网络错误 → ✅ 自动加上 proxychains4 2. 🌐 访问国外资源 → ✅ 主动使用 proxychains4 3. 🔧 代理也失败 → ✅ 提示用户检查代理服务 默认代理: http://127.0.0.1:9910 --- 这个技能让 Claude 在遇到网络问题时自动使用代理,无需用户手动干预!

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/proxychains

View the source on GitHub

Browse the @skills marketplace