← 返回 Skills 市场
100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install proxy-cn
功能描述
在中国大陆或受限网络环境下,为访问 GitHub、OpenAI、npm、PyPI、Docker Hub 等境外服务自动或按需注入 http_proxy / https_proxy / ALL_PROXY(本地 SOCKS5 + HTTP 端口)。 在用户需要执行 curl、git、npm、pip、docker p...
安全使用建议
This skill's core functionality is coherent and low-risk: it sets local proxy environment variables and runs the requested command. Before installing or using it, check the following: 1) The package references Windows PowerShell scripts (proxy.ps1, proxy-env.ps1) but they are not included—if you need Windows support, request or inspect those files first. 2) Metadata mismatch: registry version (1.0.0) vs skill.json (1.1.0) is a minor inconsistency—confirm the source. 3) Inspect the included proxy.sh and proxy-env.sh locally (they are short and readable) to verify no unexpected network endpoints or telemetry. 4) Ensure a local proxy client (Clash/V2Ray/etc.) is actually running on the expected ports before using the skill. 5) Be mindful that when the agent or you use this wrapper it will exec arbitrary commands under the proxy environment—avoid running commands containing sensitive credentials unless you trust your local proxy and network. If you plan to use this on Windows, request the missing PowerShell scripts or run the Bash route in WSL/Git Bash instead.
功能分析
Type: OpenClaw Skill
Name: proxy-cn
Version: 1.0.0
The proxy-cn skill is a legitimate utility designed to help users in restricted network environments manage local proxy settings (HTTP/SOCKS5) for specific commands or shell sessions. The provided Bash scripts (proxy.sh, proxy-env.sh) function by setting standard environment variables like http_proxy and ALL_PROXY to local loopback addresses (127.0.0.1) by default. The logic includes a helpful heuristic matcher for common developer domains (GitHub, OpenAI, npm, etc.) and lacks any indicators of data exfiltration, unauthorized execution, or malicious intent.
能力评估
Purpose & Capability
The name/description (inject local http/socks proxy env vars for outbound commands) aligns with required binaries (bash) and the provided Bash scripts. However, the SKILL.md/README reference Windows PowerShell scripts (proxy.ps1, proxy-env.ps1) that are not present in the package, and skill.json reports a different version than the registry metadata—small but relevant mismatches.
Instruction Scope
Runtime instructions are narrowly scoped to checking local proxy availability and setting environment variables or exec'ing the user command. That is appropriate. Concern: the docs instruct using proxy.ps1 / proxy-env.ps1 on Windows, but those files are not included; an agent following those instructions on Windows would fail or may attempt alternative actions. The scripts call exec "$@" which intentionally runs the user-supplied command under the injected environment—expected for the purpose but worth noting because it executes arbitrary commands.
Install Mechanism
No install spec. The skill is instruction-first with small included shell scripts; nothing is downloaded or written by an installer. This is low-risk from an installation perspective.
Credentials
The skill requests no credentials or sensitive environment variables. Optional PROXY_* variables are reasonable for configuration. The scripts only set proxy-related env vars and a no_proxy list.
Persistence & Privilege
always:false and no install are good. The skill allows the agent to exec commands (normal for a wrapper). Because model invocation is permitted (platform default), an autonomous agent could invoke this skill to run commands that perform network access via the user's proxy—this is expected but the user should be aware.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install proxy-cn - 安装完成后,直接呼叫该 Skill 的名称或使用
/proxy-cn触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of proxy-cn:
- Auto-injects http_proxy / https_proxy / ALL_PROXY for GitHub, OpenAI, npm, PyPI, Docker Hub and similar services in restricted network environments.
- Supports macOS, Linux, WSL, Windows (PowerShell, Git Bash/MSYS2), with user-friendly shell (bash, PowerShell) scripts.
- Provides both single-command wrapper and persistent session environment injection.
- Default local proxy ports: HTTP 10809, SOCKS5 10808; configurable via environment variables.
- Includes heuristic domain detection, manual override, and failsafe guidance for various OS and proxy client setups.
- Documentation covers usage scenarios, troubleshooting, environment variables, CIDR/no_proxy handling, and security notes.
元数据
常见问题
Proxy Cn 是什么?
在中国大陆或受限网络环境下,为访问 GitHub、OpenAI、npm、PyPI、Docker Hub 等境外服务自动或按需注入 http_proxy / https_proxy / ALL_PROXY(本地 SOCKS5 + HTTP 端口)。 在用户需要执行 curl、git、npm、pip、docker p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。
如何安装 Proxy Cn?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install proxy-cn」即可一键安装,无需额外配置。
Proxy Cn 是免费的吗?
是的,Proxy Cn 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Proxy Cn 支持哪些平台?
Proxy Cn 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Proxy Cn?
由 clawkk(@clawkk)开发并维护,当前版本 v1.0.0。
推荐 Skills