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>.Check the environment and saved browser choice:
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.
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 -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.
If logged_in is false, start interactive login with the selected browser:
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.
Download the supplied link:
powershell -ExecutionPolicy Bypass -File scripts/run.ps1 download "https://weixin.qq.com/sph/..." --output-dir "<absolute-directory>"
Report 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.本技能來自小蔥技能站7w4.net。
--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,而且只能下載官方分享連結格式的影片。總體來說瑕不掩瑜,是一款實用且注重安全的工具。