wechat-video-resolver

Resolves WeChat Video account share links; stores the user API key on first use and uses the user's QR-login to a Tencent account to return the video title, cover image, and original Tencent video direct link. Intended for parsing Video Account links, downloading videos, querying parse counts, and replacing or clearing the API key; only handles content owned by or authorized to the user.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "wechat-video-resolver" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-129590e56f365ab9b87ed351590f0f5c98744e9742fde1371fb565df40618c9d. Verify the upstream source and version against https://skillhub.cn/skills/user_b34a2d4a/wechat-video-resolver before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Resolves WeChat Video account share links; stores the user API key on first use and uses the user's QR-login to a Tencent account to return the video title, cover image, and original Tencent video direct link. Intended for parsing Video Account links, downloading videos, querying parse counts, and replacing or clearing the API key; only handles content owned by or authorized to the user.

0 Downloads

Introduction source: third_party · user_b34a2d4a · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: wechat-video-resolver
description: 解析微信视频号分享链接,首次保存用户 API Key,使用用户自己的微信扫码登录腾讯元宝,并返回视频标题、封面及腾讯视频原始直链。用于解析视频号、下载视频号视频、查询解析次数、更换或清除 API Key;仅处理用户本人拥有或已获授权的内容。

视频号直链解析

使用 scripts/wechat_video.mjs。不要读取、展示或索取元宝 Cookie,不要绕过 API Key、用量限制或扫码登录。

API Key

  1. 每次开始任务先运行 node scripts/wechat_video.mjs key-status。
  2. configured 为 true 时直接使用,不要再次询问 Key。
  3. configured 为 false 时索取 wv_... Key,然后运行 node scripts/wechat_video.mjs key-save --api-key '<用户提供的 Key>'。验证成功后脚本会以仅当前系统用户可读的权限保存。
  4. 只有用户明确要求“更换 Key”时才索取新 Key 并运行 key-save。新 Key 验证成功后覆盖旧 Key。
  5. 用户要求清除 Key 时运行 node scripts/wechat_video.mjs key-clear。

不要在回复、日志摘要或结果中回显 Key。遇到 INVALID_API_KEY、API_KEY_EXPIRED 时再要求更换;遇到 QUOTA_EXHAUSTED 时不要要求更换 Key,直接把脚本结果中的 purchaseUrl 作为可点击链接返回,引导用户打开页面、扫码添加微信并购买次数。不要向用户返回 /admin 管理地址。

解析流程

  1. 提取 https://weixin.qq.com/sph/... 分享链接,并确认用户有权下载。
  2. 运行 node scripts/wechat_video.mjs status。
  3. 未登录时运行 node scripts/wechat_video.mjs login,把 loginUrl 交给用户扫码。用户确认后再次运行 status,不要再次询问 Key。
  4. 登录有效后运行 node scripts/wechat_video.mjs resolve '<分享链接>'。
  5. 只返回每个格式的 variants[].url 腾讯原始直链和剩余次数,不要返回、构造或推荐 /v1/download/、localhost 代理地址。让用户复制原始直链到浏览器打开,并提示链接有时效。

遇到 SESSION_REQUIRED 或 SESSION_EXPIRED 时重新执行扫码流程。用户要求退出元宝时运行 node scripts/wechat_video.mjs logout;这不会清除已保存的 API Key。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供微信视频号直链解析功能,解决用户下载视频的实际需求
  • 覆盖了解析、下载、查询、更换 Key 等多个实用场景
Trigger Precision85/100

Highlights

  • description 完整描述了核心功能与用途,触发词精准完整
Structure and Standards88/100

Areas to improve

  • description 写错位置 Reported severity: Minor

    顶层 frontmatter 与 skill_body 内部均包含 description,存在重复

    Recommendation: 建议仅保留一处 description,避免冗余

Highlights

  • 文档结构清晰,分 API Key 管理与解析流程两大部分
  • 步骤明确,有具体命令示例,frontmatter 完整
Execution Reliability82/100

Highlights

  • 工具来源明确,参数使用规范
  • 覆盖了 INVALID_API_KEY、API_KEY_EXPIRED、QUOTA_EXHAUSTED、SESSION_REQUIRED 等主要异常场景
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • weixin.qq.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.