15027302155/douyin-push-video/SKILL.md
协助用户将本地或用户提供的视频发布到抖音账号。包含上传流程说明、开放平台 API 使用指引及发布前检查。Use when: 用户要发抖音、上传视频到抖音、把视频发到抖音、post to Douyin、抖音发布。NOT for: 抖音视频下载、抖音数据分析、非发布类抖音操作。
npx skillsauth add openclaw/skills douyin-postingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
当用户提供 openId 和 accessToken 并要求「配置上去」或「记录下来」时:
.env 文件。DOUYIN_OPEN_ID=用户提供的openId
DOUYIN_ACCESS_TOKEN=用户提供的accessToken
.env 已存在,则只更新上述两个变量,保留其它变量不变。项目中的 index.js 会自动读取 .env,无需用户再手动设置环境变量。
在协助发布(尤其是调用 API/脚本)之前,必须先确认用户是否具备:
若用户尚未提供或未获取这两项,应先引导用户按下面「如何获取 openId 与 accessToken」完成授权;若用户表示要「配置上去」「记录下来」,则按上节「配置并记录 openId、accessToken」写入 .env,不要直接执行上传/发布代码。
当用户没有 openId/accessToken 且需要发抖音时,按以下步骤引导用户完成授权并拿到凭证。可逐条回复或给出链接与命令。
https://open.douyin.com/platform/oauth/connect/?client_key=你的client_key&response_type=code&scope=user_info,video.create&redirect_uri=你的redirect_uri的URL编码&state=任意字符串
scope 至少包含 user_info,video.create(发布视频需要)。redirect_uri 必须与开放平台里配置的完全一致,若含特殊字符需做 URL 编码。redirect_uri?code=xxx&state=xxx,从地址栏或回调页拿到 code(code 约 10 分钟有效,且只能用一次)。POST https://open.douyin.com/oauth/access_token/application/x-www-form-urlencodedclient_key、client_secret、code、grant_type=authorization_code.env(见上节「配置并记录 openId、accessToken」)。项目内已提供脚本:用户若已配置好 .env 中的 DOUYIN_CLIENT_KEY、DOUYIN_CLIENT_SECRET、REDIRECT_URI,拿到 code 后可在项目根目录执行:
node scripts/get-douyin-token.js <用户拿到的code>
脚本会输出 open_id 和 access_token,并询问是否写入 .env,从而完成「直接引导」获取并记录凭证。
确认 openId 与 accessToken(见上「使用前必须检查」)
确认素材
发布方式二选一
发布前检查
node scripts/get-douyin-token.js <code> --write 完成换取并写入 .env。tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。