didi/mpx · Archived

network-proxy

Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues. It suggests and applies proxy environment variables to fix connectivity problems.

First seen Mar 17, 2026

Installation

$ npx skills add didi/mpx --skill network-proxy

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from didi/mpx.

npx skills add didi/mpx

Browse all from didi/mpx

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3.9K
License LICENSE
Default branch master
Open issues 27
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,856 B
  • docs SUMMARY.md 237 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 20 installs

SKILL.md

Network Proxy Skill

This skill helps you troubleshoot and fix network connectivity issues by applying proxy settings.

When to use

  • A command fails with a network error (e.g., "connection refused", "timeout", "network unreachable").
  • A download or installation is extremely slow.
  • You explicitly ask to "use proxy" or "turn on proxy".

Default Proxy Configuration

Unless the user specifies otherwise, assume the local proxy is running at:

  • HTTP Proxy: http://127.0.0.1:6268
  • HTTPS Proxy: http://127.0.0.1:6268
  • SOCKS Proxy: socks5://127.0.0.1:6268

(Note: Port 6268 is common for tools like Clash/V2Ray. Adjust if the user provides a different port.)

How to Apply

1. Temporary (One-off command)

For a single command execution, prepend the environment variables:

export https_proxy=http://127.0.0.1:6268 http_proxy=http://127.0.0.1:6268 all_proxy=socks5://127.0.0.1:6268
[original command]

Example:

export https_proxy=http://127.0.0.1:6268 http_proxy=http://127.0.0.1:6268 all_proxy=socks5://127.0.0.1:6268
git clone https://github.com/some/repo.git

2. Session-wide (Current terminal)

To set it for the current session:

export https_proxy=http://127.0.0.1:6268
export http_proxy=http://127.0.0.1:6268
export all_proxy=socks5://127.0.0.1:6268

3. Unset (Turn off)

To clear the proxy settings:

unset https_proxy http_proxy all_proxy

Troubleshooting

If the default port (6268) doesn't work:

  1. Ask the user for their proxy port (common alternatives: 1080, 1087, 8080).
  2. Check if a proxy tool is running.