Token导航 LogoToken导航

Agent Skill · 前端设计

proxy(proxy 命令行)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

proxy 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 7,649。

总安装 353周安装 15GitHub Stars 公开资料未说明下载 124核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:proxy(proxy 命令行)
来源仓库:https://github.com/help-me-test/skills
仓库路径:skills/proxy
安装命令:
npx skills add https://github.com/help-me-test/skills --skill proxy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/help-me-test/skills --skill proxy

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

proxy 用于辅助测试设计、自动化测试用例整理和回归验证,适合编写单元测试或定位失败日志问题。适用于需要根据项目测试框架生成测试计划或区分本地模拟与生产环境的场景。使用时需确认运行命令和夹具数据,避免为了通过测试而破坏真实逻辑。涉及浏览器或外部服务时,应明确区分测试环境与生产环境,防止误操作。

proxy 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/proxy

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/help-me-test/skills --skill proxy;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

proxy 怎么安装?

在终端执行 npx skills add https://github.com/help-me-test/skills --skill proxy。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

proxy 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

proxy 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

proxy 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

proxy 用的人多吗?

公开数据是累计安装 353 次,近一周安装 15 次,下载 124 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

proxy 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
proxy

proxy 命令行 · 本页

353—操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

No MCP? The CLI has full feature parity — use helpmetest proxy start/stop/list instead of helpmetest_proxy({...}). See the CLI reference.

### 🔴 YOU WRITE THE TEST FIRST. Changed code → run the tests. New feature → write the test before the code. The test is the spec. The test is done when it's green. No test = not done.

HelpMeTest Proxy Setup

Sets up proxy tunnels to test local development servers through HelpMeTest.

How It Works

HelpMeTest tests run on remote infrastructure. Your local dev server (localhost:3000) is not reachable from there. The proxy creates a TCP tunnel:

  1. You start a proxy via the MCP tool — it registers a tunnel with the proxy server and spawns an frpc process (frpc is bundled with the CLI — no separate installation needed)
  2. The tunnel maps a domain (e.g. dev.local) to your local port
  3. HelpMeTest's test runner routes traffic for that domain through the tunnel back to your machine
  4. Your local server responds as if accessed directly

The proxied URL (e.g. http://dev.local) is NOT accessible from your local browser or curl. It only works inside HelpMeTest test commands (Go To, helpmetest_run_interactive_command, etc.).

❌ The #1 Mistake — Using localhost in test URLs

Setting up the proxy and then using localhost in tests accomplishes nothing. The cloud runner cannot reach localhost.

# WRONG — cloud runner can't reach localhost, proxy is useless
Go To  http://localhost:3000

# WRONG — same problem
Go To  http://127.0.0.1:3000

# RIGHT — use the proxy domain you configured
Go To  http://dev.local

After starting the proxy, every test URL must use the proxy domain, not localhost.

⚠️ Service must be reachable from where frpc runs

frpc connects to 127.0.0.1:PORT from the machine it runs on. If frpc runs in a container or cloud agent environment, it cannot reach a service that is only bound to 127.0.0.1 on the user's local machine.

If the proxy fails to connect to your local server:

Check whether your dev server is bound to 127.0.0.1 (loopback only) instead of 0.0.0.0 (all interfaces). Many tools default to loopback:

# Vite — add --host flag
vite --host
# or in vite.config.js: server: { host: '0.0.0.0' }

# Next.js
next dev -H 0.0.0.0

# Other Node.js servers — pass host option or set HOST=0.0.0.0 env var

After changing the bind address, restart the server and retry the proxy.

frpc Installation

frpc is auto-installed on first use — no manual steps needed. When you run helpmetest proxy start (or helpmetest_proxy({action: "start",...})), the CLI checks for frpc at ~/.local/bin/frpc. If missing, it downloads and installs automatically from https://slava.helpmetest.com/install/frpc.

If auto-install fails (e.g., network error), install manually:

brew install frp   # macOS
# or download from https://github.com/fatedier/frp/releases

When to Use

  • Testing against localhost during development
  • Substituting production URLs with local versions
  • Routing frontend and backend on different ports
  • Before writing or running any local tests

Quick Start

Start a proxy:

helpmetest_proxy({ action: "start", domain: "dev.local", sourcePort: 3000 })

Verify it works (use HelpMeTest, NOT curl):

helpmetest_run_interactive_command({ command: "Go To  http://dev.local" })

Should load your local app. If it doesn't, fix the proxy before writing tests.

Check active proxies:

helpmetest_proxy({ action: "list" })

Stop a proxy:

helpmetest_proxy({ action: "stop", domain: "dev.local" })

Three Proxy Strategies

Strategy 1: Single Tunnel to Frontend

When: Your dev server already proxies some routes internally (e.g., Vite's server.proxy sends /api to backend port)

helpmetest_proxy({ action: "start", domain: "dev.local", sourcePort: 5001 })

Tests use http://dev.local — both UI and API calls work through one tunnel.


Strategy 2: Separate Tunnels for Frontend and Backend

When: Services need different hostnames (cookies, CORS), or no internal proxy configured.

helpmetest_proxy({ action: "start", domain: "frontend.local", sourcePort: 5001 })
helpmetest_proxy({ action: "start", domain: "backend.local", sourcePort: 3001 })

Tests use http://frontend.local for UI and http://backend.local for API.


Strategy 3: Substitute Production with Local

When: You have tests running against production URLs and want to test local changes without modifying test code.

helpmetest_proxy({ action: "start", domain: "my.awesome.app", sourcePort: 3000, externalPort: 80 })

Tests use http://my.awesome.app — routes to localhost:3000 instead of production.

Port mapping:

  • domain — hostname in test URLs
  • externalPort — port in test URLs (default 80 for HTTP)
  • sourcePort — your local development port

WebSocket Support

  • wss:// (TLS WebSocket) works through the tunnel via CONNECT
  • ws:// (plain WebSocket) does NOT work — browsers block non-TLS WebSocket through HTTP proxy

If your app uses WebSocket, make sure it connects over wss://.

Verification

After starting a proxy, always verify using HelpMeTest interactive commands:

helpmetest_run_interactive_command({ command: "Go To  http://dev.local" })

Expected: Your local app loads successfully. If you see chrome-error://chromewebdata/ or a connection error, the proxy is not working — fix it before writing tests.

Do NOT try to verify with curl or your local browser — the proxy only works inside HelpMeTest's infrastructure.

Troubleshooting

Tests show chrome-error or connection refused

  1. Check you're using the proxy domain in test URLs — Go To http://dev.local NOT http://localhost:3000
  2. Check proxy is running: helpmetest_proxy({action: "list"})
  3. Check local server is running: curl http://127.0.0.1:3000 (this works locally — if this fails, start your server)
  4. Restart proxy if needed: Stop and start again

Service on 127.0.0.1 not reachable

If your server is bound to 127.0.0.1 (loopback only), restart it with 0.0.0.0 binding — see the "Service must be reachable" section above.

Stale frpc processes blocking new proxy

If starting a proxy fails with "proxy already exists":

  • A previous frpc process may still be running with the same name
  • Stop the proxy first: helpmetest_proxy({action: "stop", domain: "dev.local"})
  • Or stop all: helpmetest_proxy({action: "stop_all"})
  • If MCP-managed stop doesn't work, check for orphaned frpc processes: ps aux | grep frpc

MCP tool shows old output format

If the proxy tool output looks different from what's documented here, the MCP server may be running old code. Restart the MCP server with /mcp.

Custom hostname not resolving

Custom hostnames (like frontend.local) are handled entirely by the proxy — no /etc/hosts edits needed. If verification fails:

  1. Verify proxy is running with list action
  2. Make sure you're using HTTP (not HTTPS) unless you have TLS configured
  3. Check the exact domain matches what you used in start

Multiple Services Example

# Local frontend on port 5001
helpmetest_proxy({ action: "start", domain: "frontend.local", sourcePort: 5001 })

# Local backend API on port 3001
helpmetest_proxy({ action: "start", domain: "api.local", sourcePort: 3001 })

# Production service running locally on port 8000
helpmetest_proxy({ action: "start", domain: "prod.myapp.com", sourcePort: 8000, externalPort: 80 })

Tests can now use all three domains inside HelpMeTest commands.

Best Practices

  1. Start proxy BEFORE writing tests — don't debug test failures caused by missing proxy
  2. Always verify with HelpMeTest — use interactive commands, not curl or browser
  3. Choose simplest strategy — if frontend already proxies backend, use Strategy 1
  4. Use consistent domains — if you use frontend.local in one test, use it in all tests for that service
  5. Stop proxies when done — stop_all cleans up everything

Version: 0.2

平台分布

Codex

33.19%
按下载量换算41

Claude

28.71%
按下载量换算36

Cursor

19.76%
按下载量换算25

Gemini CLI

9.03%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills