← Back to Skills Marketplace
100
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install proxy-cn
Description
在中国大陆或受限网络环境下,为访问 GitHub、OpenAI、npm、PyPI、Docker Hub 等境外服务自动或按需注入 http_proxy / https_proxy / ALL_PROXY(本地 SOCKS5 + HTTP 端口)。 在用户需要执行 curl、git、npm、pip、docker p...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install proxy-cn - After installation, invoke the skill by name or use
/proxy-cn - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Proxy Cn?
在中国大陆或受限网络环境下,为访问 GitHub、OpenAI、npm、PyPI、Docker Hub 等境外服务自动或按需注入 http_proxy / https_proxy / ALL_PROXY(本地 SOCKS5 + HTTP 端口)。 在用户需要执行 curl、git、npm、pip、docker p... It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.
How do I install Proxy Cn?
Run "/install proxy-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Proxy Cn free?
Yes, Proxy Cn is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Proxy Cn support?
Proxy Cn is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Proxy Cn?
It is built and maintained by clawkk (@clawkk); the current version is v1.0.0.
More Skills