name: wx-channels-download description: Download a WeChat Channels (视频号) MP4 from an official weixin.qq.com/sph share link by reusing a dedicated local Tencent Yuanbao session in the user's chosen Edge or Chrome browser. Use when the user asks to download, resolve, inspect, or troubleshoot a 视频号 share link without copying cookies, installing a root certificate, or opening the WeChat desktop client.
Keep Yuanbao authentication in a Skill-only Edge or Chrome profile. Never ask the user to paste cookies, tokens, request headers, credentials, or normal browser profile files into chat.
scripts/run.ps1 bootstrap missing Playwright into %LOCALAPPDATA%\wx-channels-download\runtime. This installs the Python package only; do not run playwright install or download another Chromium build.PYTHON_REQUIRED, tell the user to install Python from https://www.python.org/downloads/windows/, enable “Add python.exe to PATH,” reopen Codex, and retry the original link. Do not continue until Python is available.https://www.microsoft.com/edge/download) or Chrome (https://www.google.com/chrome/) installer. Wait for installation, then rerun doctor --browser <choice>.powershell
powershell -ExecutionPolicy Bypass -File scripts/run.ps1 doctor
Let run.ps1 install Playwright automatically when missing. Tell the user before the first setup that it creates a local Skill runtime. If automatic setup fails, read references/troubleshooting.md; run scripts/setup.ps1 directly only for diagnosis.
想要更强大的技能插件,就来小葱技能站7w4.net看看吧。
If selected_browser is null, ask the user once: “视频下载使用 Edge 还是 Chrome?” Show available_browsers and do not ask when the user already stated a choice. Save the answer by running:
powershell
powershell -ExecutionPolicy Bypass -File scripts/run.ps1 doctor --browser chrome
Replace chrome with edge when chosen. The script persists this preference locally; do not ask again on later downloads. Passing --browser edge|chrome on any command changes the saved choice.
logged_in is false, start interactive login with the selected browser:powershell
powershell -ExecutionPolicy Bypass -File scripts/run.ps1 login --timeout 300
Tell the user to finish login in the visible dedicated browser window. Wait for the command to return. Closing this window does not log out; the local profile is reused later.
powershell
powershell -ExecutionPolicy Bypass -File scripts/run.ps1 download "https://weixin.qq.com/sph/..." --output-dir "<absolute-directory>"
file_path, byte size, title, author, browser, and SHA-256. Do not report media URLs, cookies, generalToken, exportId, or captured request headers.resolve or download command handle HTTP 401 automatically. It clears only the selected Skill profile's stale Yuanbao cookies and web storage, opens Yuanbao login, waits for the user's login, then retries the original link once.SESSION_EXPIRED appears. Do not start a separate download command while the original command is waiting.login --force only when manual session reset is required. It performs the same Skill-only cleanup and never touches the user's normal browser profile.--headless.https://weixin.qq.com/sph/ links unless the script later adds another official share-link form.--headless only after a successful headed download on that browser and machine.%LOCALAPPDATA%\wx-channels-download\profiles\edge or profiles\chrome. The legacy Edge-only profile directory remains supported. Never read Edge or Chrome's normal user profile.doctor [--browser edge|chrome]: List installed choices, save/read the selection, and check the selected dedicated profile without printing secrets.login [--browser edge|chrome] [--force]: Open the dedicated profile and wait for login.resolve <url> [--browser edge|chrome]: Resolve metadata and verify media availability without saving it.download <url> [--browser edge|chrome]: Resolve and stream MP4. H.264 is the default; pass --codec h265 when requested.这个 Skill 质量较好,能安全稳定地从微信视频号链接下载视频,不会干扰你正常的浏览器使用。它会自动帮你配置好运行环境,出了错也知道怎么处理。界面友好,文档详细,小白也能上手。不过目前只能在 Windows 上用,不支持 Mac,而且只能下载官方分享链接格式的视频。总体来说瑕不掩瑜,是一款实用且注重安全的工具。