Agent skill

Network Proxy

by didi in didi/mpx

Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues.

Apache-2.0Auto-check passedDevOps & Cloud

Install Network Proxy

skills CLI
$ npx skills add didi/mpx --skill network-proxy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install didi/mpx network-proxy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/didi/mpx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/network-proxy .claude/skills/network-proxy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
network-proxy
GitHub stars
3.9k
Token cost
~464 tokens
SKILL.md length
157 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues.

  • Works in 3 steps: Temporary (One-off command) → Session-wide (Current terminal) → Unset (Turn off)
  • Tasks that involve Secrets management
  • SKILL.md covers When to use, Default Proxy Configuration, How to Apply and Troubleshooting
  • Calls git; reaches github.com

What it does

Network Proxy is an agent skill from didi/mpx. 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.

Its SKILL.md is about 460 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Secrets management. It works with Git, npm and WeChat. The repository describes itself as: Mpx,一款具有优秀开发体验和深度性能优化的增强型跨端小程序框架. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Secrets management

Example prompts

  • “Use the network-proxy skill to help when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to…”
  • “/network-proxy”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Temporary (One-off command)
  2. Session-wide (Current terminal)
  3. Unset (Turn off)

What it can do on your machine

Read from SKILL.md and the folder at commit e2a7612. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Network Proxy loads about 464 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 157 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~464

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from didi/mpx at commit e2a7612, republished under its Apache-2.0 licence (© didi). 157 words, ~464 tokens.

Download SKILL.mdSave it as .claude/skills/network-proxy/SKILL.md (or your agent's skills folder).
name
network-proxy
description
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.

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:7892
  • HTTPS Proxy: http://127.0.0.1:7892
  • SOCKS Proxy: socks5://127.0.0.1:7892

(Note: Port 7892 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:

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

Example:

bash
export https_proxy=http://127.0.0.1:7892 http_proxy=http://127.0.0.1:7892 all_proxy=socks5://127.0.0.1:7892
git clone https://github.com/some/repo.git
2. Session-wide (Current terminal)

To set it for the current session:

bash
export https_proxy=http://127.0.0.1:7892
export http_proxy=http://127.0.0.1:7892
export all_proxy=socks5://127.0.0.1:7892
3. Unset (Turn off)

To clear the proxy settings:

bash
unset https_proxy http_proxy all_proxy

Troubleshooting

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

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

© didi, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/network-proxy of didi/mpx.

Open the folder on GitHubat commit e2a7612

Compare with similar skills

Network Proxy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Network Proxy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Network Proxy this skilldidi/mpx3.9k—~464Automated safety check: PassApache-2.0
Sentry Miniapp SDKlizhiyao/sentry-miniapp686—~5kAutomated safety check: PassMIT
Releasechampionswimmer/pi-context-prune245—~907Automated safety check: PassNone
Publish Releasemolefrog/moi182—~2.5kAutomated safety check: PassCustom licence
Homerail Install Opsxiaotianfotos/homerail991—~2kAutomated safety check: PassMIT
Private Secret Scanningjamditis/claude-skills-journalism416—~1.8kAutomated safety check: PassMIT

Similar skills

  • Sentry Miniapp SDK

    lizhiyao/sentry-miniapp

    Full Sentry SDK setup for Mini Programs — error monitoring, tracing, offline cache, source maps.

    686 GitHub stars~5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Release

    championswimmer/pi-context-prune

    Creates a repository release for this Pi package. An agent skill from championswimmer/pi-context-prune.

    245 GitHub stars~907 tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed
  • Publish Release

    molefrog/moi

    Release moi-computer to npm — verify locally, hand off to the gated GitHub Actions workflow, then verify the published package.

    182 GitHub stars~2.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Homerail Install Ops

    xiaotianfotos/homerail

    Install, configure, start, verify, update, and troubleshoot a local-source HomeRail deployment for AI-agent use.

    991 GitHub stars~2k tokensUpdated 11 days ago
    DevOps & CloudAuto-check passed
  • Private Secret Scanning

    jamditis/claude-skills-journalism

    Local Gitleaks scans for staged changes, push ranges, and full history in private repos, with redacted reports.

    416 GitHub stars~1.8k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Tokf Run

    mpecan/tokf

    Compress verbose CLI output with tokf before returning results.

    199 GitHub stars~571 tokensUpdated 5 days ago
    DevOps & CloudAuto-check passed

More from didi/mpx

  • 审计存量 Mpx 项目迁移到“mode 只负责目标筛选、srcMode 只负责源码方言”的新版编译语义。只要用户提到升级 Mpx 后检查条件编译、排查 .ali/.swan 等条件文件、mode/src-mode 区块、@mode/@mode、modeRules/srcModeRules 或外部模板迁移,就应使用本 Skill;不用于与该语义变更无关的普通 Mpx 升级。

    3.9k GitHub stars~731 tokensUpdated 8 days ago
    Auto-check passed
  • Mpx2rn

    didi/mpx

    Mpx 跨端输出 RN(简称 Mpx2RN 或 Mpx2DRN)的开发适配指南,覆盖模板、脚本、样式、JSON 配置四大维度。当用户进行 Mpx2RN 相关任务时强制调用,包括但不限于:技术方案设计、页面 / 组件的开发迭代、旧项目跨端适配改造、编译和运行时报错排查、Code Review 等。当用户问题不涉及 Mpx2RN 时不应调用,如 Mpx 小程序开发问题,RN…

    3.9k GitHub stars~3.7k tokensUpdated 8 days ago
    Auto-check passed
  • Mpx 跨端输出 RN(简称 Mpx2RN 或 Mpx2DRN)的开发适配指南,覆盖模板、脚本、样式、JSON 配置四大维度。当用户进行 Mpx2RN 相关任务时强制调用,包括但不限于:技术方案设计、页面 / 组件的开发迭代、旧项目跨端适配改造、编译和运行时报错排查、Code Review 等。当用户问题不涉及 Mpx2RN 时不应调用,如 Mpx 小程序开发问题,RN…

    3.9k GitHub stars~1k tokensUpdated 8 days ago
    Auto-check passed
  • Review Loop

    didi/mpx

    当用户要求评审循环、自评审工作流、planner/reviewer/coder/code-reviewer 协作、先方案后编码、多轮 Agent 评审,或要求稳定的子 Agent 工作流依次产出方案、等待用户确认、实现代码、评审差异并保留修订记录时,使用此 Skill。此 Skill 必须使用真实子 Agent,不得退化为单 Agent 角色扮演。

    3.9k GitHub stars~828 tokensUpdated 8 days ago
    Auto-check passed
  • 通过查看当前最新版本与上一版本间的git提交记录与代码变更,生成版本变更日志,当用户询问“创建/生成变更日志”、“创建/生成changelog”时使用。

    3.9k GitHub stars~640 tokensUpdated 8 days ago
    Auto-check passed
  • Skill2gene

    didi/mpx

    将传统文档导向的 Procedural Skill 转换为紧凑的 Strategy Gene 格式。基于论文 "From Procedural Skills to Strategy Genes" 的 Gene Evolution Protocol (GEP),将 ~2500 token 的文档型 Skill 蒸馏为 ~200-300 token 的控制型 Gene 集合。当用户要求将…

    3.9k GitHub stars~558 tokensUpdated 8 days ago
    Auto-check passed

Works with

Categories

Questions about Network Proxy

What does Network Proxy do?

Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues. Network Proxy is an agent skill from didi/mpx. Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues.

When should I use Network Proxy?

Network Proxy fits situations like: tasks that involve Secrets management.

How do I install Network Proxy in Claude Code?

Run `npx skills add didi/mpx --skill network-proxy -a claude-code`. Or copy the skill folder (.agents/skills/network-proxy in didi/mpx) into .claude/skills/network-proxy in your project. Claude Code loads it when a task matches its description.

How do I install Network Proxy in Codex?

Run `npx skills add didi/mpx --skill network-proxy -a codex`. Or copy the skill folder (.agents/skills/network-proxy in didi/mpx) into .agents/skills/network-proxy in your project. Codex loads it when a task matches its description.

Can I use Network Proxy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add didi/mpx --skill network-proxy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/network-proxy, .gemini/skills/network-proxy, .github/skills/network-proxy and .opencode/skills/network-proxy in your project.

What does Network Proxy need to run?

Going by SKILL.md and its folder, Network Proxy needs the command-line tools its instructions call (git).

Does Network Proxy access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Network Proxy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Network Proxy use?

Network Proxy is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Network Proxy use?

About 464 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Network Proxy?

Skills that share tags, products or a category with Network Proxy: Sentry Miniapp SDK (lizhiyao/sentry-miniapp, 686 stars), Release (championswimmer/pi-context-prune, 245 stars), Publish Release (molefrog/moi, 182 stars) and Homerail Install Ops (xiaotianfotos/homerail, 991 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Network Proxy?

didi (a GitHub organization) maintains it in didi/mpx, which has 3,941 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on September 29, 2026.

Source: didi/mpx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.