SkillsGrove
SkillsGrove/영상 제작/puppyfront-web/social-publish-skills/tencent-upload

tencent-upload

설치

$npx skills add https://github.com/puppyfront-web/social-publish-skills --skill tencent-upload
$git clone --depth 1 https://github.com/puppyfront-web/social-publish-skills.git /tmp/social-publish-skills && mkdir -p ~/.claude/skills && cp -r /tmp/social-publish-skills/skills/tencent-upload ~/.claude/skills/tencent-upload
이 Agent Skill을 설치해 주세요: https://github.com/puppyfront-web/social-publish-skills/tree/433b2b1a53509c867b354a497aac380e2190663a/skills/tencent-upload — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MIT当 agent 需要完成微信视频号登录、cookie 校验、视频发布与进度可视化时使用。使用本仓库 TypeScript 引擎与 Playwright;命令为 node dist/cli.js tencent check|login|upload(或 npm run dev --)。不依赖任何第三方上传仓库。
아래 SKILL.md는 puppyfront-web/social-publish-skills(커밋 433b2b1)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 social-publish-skills contributors. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

视频号上传 Skill

Agent 执行规则(重要)

  • 默认由 Agent 在仓库根目录直接执行命令,不要让用户手动复制粘贴命令。
  • 只有在必须人工完成的步骤(扫码、短信验证码、账号确认、终端按 Enter、Inspector Resume)才请求用户介入。
  • 若缺少 dist/cli.js 或依赖未安装,Agent 先自动执行 npm install、npx playwright install chromium、npm run build,再继续业务命令。

标准执行模板(全自动优先)

  1. 在仓库根目录检查 dist/cli.js 是否可用。
  2. 若不可用,自动执行 npm install、npx playwright install chromium、npm run build。
  3. 自动执行目标命令(check / login / upload)。
  4. 仅在扫码、Inspector Resume 或显式人工确认时暂停并请求用户操作;完成后由 Agent 继续后续步骤。

执行入口(本仓库)

在 social-publish-skills 根目录:

npm install && npm run build
node dist/cli.js tencent check --account <name>
node dist/cli.js tencent login --account <name>
node dist/cli.js tencent upload --account <name> --file <video> --title "..." --tags "a,b"

环境变量见仓库根 README.md(SOCIAL_PUBLISH_DATA_DIR、SOCIAL_PUBLISH_HEADLESS、SOCIAL_PUBLISH_CHROME_PATH)。

功能概览

功能 CLI
cookie 校验 tencent check
登录 / 刷新 storageState tencent login(headed + Playwright pause)
发布视频 tencent upload

默认工作流

  1. references/runtime-requirements.md
  2. references/workflow-contract.md
  3. scripts/examples/tencent_upload_example.sh 或直连 node dist/cli.js
  4. references/troubleshooting.md

cookie 持久化

  • 默认目录:$SOCIAL_PUBLISH_DATA_DIR/cookies/tencent/<account>.json
  • 发布前后引擎会读写的 Playwright storageState

进度可视化

引擎在控制台输出 ⏳/✅/❌ [step/total] STAGE - message;agent 应同步转述给用户。

参考文档

  • references/runtime-requirements.md
  • references/workflow-contract.md
  • references/troubleshooting.md
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 social-publish-skills contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.