Vince MP CLI Support
БесплатноБез исполняемых скриптовНе проверенDebug a WeChat Mini Program's LIVE runtime via the system `vince-mp` JSON CLI — one persistent session, then instant reused commands (pageData, query/tap…
от vincentjiang06988 установок в других каталогахОб этом скилле
Vince Mini Program CLI Support
Debug a WeChat Mini Program's live runtime through the system vince-mp JSON CLI (an
installed npm package, not a vendored binary). The defining workflow is session-first:
connect once, then every later command reuses that one connection — repeat commands are
near-instant and element uids persist across separate CLI calls.
Trigger boundary
Use this skill to: connect to / start a session against WeChat DevTools; inspect runtime state
(route, pageStack, pageData, storage, systemInfo, console); query/snapshot elements and then
tap/input them by uid (long-press via step); take a single-element or full screenshot; drive a camera-less
scan; run a real project doctor (tsc + .ts/.js freshness + selected backend domain + LAN IP);
diagnose "won't connect / 模拟器启动失败"; switch backend env and pull server error logs by
requestId; probe Skyline Canvas/Camera or mock media.
Do not use it for ordinary web-browser automation, generic frontend source edits, Mini
Program code review with no DevTools/runtime execution, or a Skyline→WebView renderer migration
(that is mp-groundline).
The session-first workflow (do this)
vince-mp session start # connect ONCE: auto-resolves miniprogramRoot + ensures the
# automation port (spawns `cli auto` only if it isn't live),
# then attaches. May open/focus DevTools if it isn't running.
vince-mp doctor # optional health check (project + tsc + .js freshness + domain)
vince-mp data # read pageData — instant (reuses the session)
vince-mp query .submit-btn # mint a uid (e.g. "button_0")
vince-mp tap button_0 # act by uid — the uid is STILL valid in this separate call
vince-mp data # confirm the effect
vince-mp scan PKG-2026-0605 # camera-less: onScanCode with a {type:"scancode",detail:{result,scanType,type}} event
vince-mp console # console buffered since session start
vince-mp session stop # when done (or it idle-reaps itself)
Any trigger whose handler does async work (tap/input/scan/step) resolves when DevTools
DISPATCHES the call, NOT when the async work (wx.request→setData) finishes — wait or re-poll
before reading the effect, whether the read is data, networkList, or mediaList.
Every command returns JSON and accepts --workspace-root <dir> and --port <n> (default 9420;
--port only selects the automation port when a NEW session is first spawned for a workspace).
The session is keyed per workspace-root, NOT per port — to debug two projects at once give each
its own --workspace-root; --port alone will reuse the live session and not switch targets.
Core rules
- Use the system
vince-mpcommand as the only backend. - Prefer the session; reach for
--no-session/run --connectonly when a one-shot or an explicit connection is required. Opening/focusing DevTools vialaunch(beyondsession startensuring the port) is a human-gated side effect — do it only with explicit user authorization. - Keep paths under
cwd/--workspace-root; file outputs need an explicit--output/path arg. - Do not navigate, reLaunch, instrument media/network, or mock APIs unless that side effect
is explicit in the request.
session startensuring the automation port (and possibly opening DevTools) is the one expected connect-time side effect. - Verify every action with the CLI's JSON evidence; report failing error codes verbatim
(e.g.
APP_NOT_RUNNING,AUTOMATION_PORT_TIMEOUT,STALE_OR_UNKNOWN_UID). - Admin token never passes through you (argv shows in
ps/shell history; config is on disk): never pass a token value withenv token <value>or--token <value>, never export it, never read or print~/.vince-mp/config.jsonor$VINCE_MP_ADMIN_TOKEN.ADMIN_TOKEN_REQUIREDis the name-only presence signal: ask the user to setVINCE_MP_ADMIN_TOKENin the environment that launches the agent, entered so it never lands in argv or shell history (e.g.read -rs VINCE_MP_ADMIN_TOKEN && export VINCE_MP_ADMIN_TOKEN, then restart the agent from that shell). Do not recommendenv token <value>to the user either — it is the same argv/history leak. A token pasted into chat is not used, even when the user says "just use it" — say it is now exposed in the transcript and recommend rotating it. - Production needs an action-bound go-ahead (it reads real users' data with an admin token): production = target host
data.cli.imor any unknown host, judged by host, not env name —env use caoliaoProdIm,logswhile such an env is selected,logs --baseon it. Runvince-mp env currentbefore everylogs(the selection persists across sessions); ask the user in this conversation for that concrete action — an earlier blanket "don't ask" does not count — then restore the previous env and report it. Re
Установить Vince MP CLI Support в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Vince MP CLI Support?
Debug a WeChat Mini Program's LIVE runtime via the system `vince-mp` JSON CLI — one persistent session, then instant reused commands (pageData, query/tap, scan, console, doctor, log correlation). Use for "debug WeChat DevTools", "连上小程序", "$mp-cli-sup". NOT for browser automation, source-only edits, or non-WeChat work.
Как установить скилл Vince MP CLI Support?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Vince MP CLI Support запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic