- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add digitalsamba/claude-code-video-toolkit --skill youtube-stats -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add digitalsamba/claude-code-video-toolkit --skill youtube-stats -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add digitalsamba/claude-code-video-toolkit --skill youtube-stats -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add digitalsamba/claude-code-video-toolkit --skill youtube-stats -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/digitalsamba/claude-code-video-toolkit/tree/HEAD/.claude/skills/youtube-stats来自发布者
uv run --extra youtube tools/youtube_stats.py --account personal # every upload, newest first
uv run --extra youtube tools/youtube_stats.py --account personal --video 1hyDgC5Qg_o e4HW-tvi8-8 --since 7d
uv run --extra youtube tools/youtube_stats.py --account personal --github --json # plus repo referrers
Each run saves a snapshot to _internal/.youtube/stats/<account>/ and reports the change since the last one, so a
daily or weekly run is the trend. --no-save for a look without a snapshot.
It reuses the token youtube_upload.py --auth --account NAME cached, so views, likes and comments work at once.
Watch time, retention and traffic sources need the YouTube Analytics API:
https://www.googleapis.com/auth/yt-analytics.readonly. It is a sensitive scope, the same class as the
youtube scope the uploader already has, so the consent screen should behave as it did at the first login.uv run --extra youtube tools/youtube_stats.py --auth --account personal: one consent that asks for the upload
scopes and Analytics together and replaces the cached token, so the uploader keeps working.Impressions and click-through rate are asked for separately: the metrics reference lists them, but the API has refused them in the past. When it refuses, the report says so; Studio still shows them.
SHORTS is the feed; YT_SEARCH, EXT_URL (links from
the README, chat) and SUBSCRIBER are the rest. A Short with views only from EXT_URL was never pushed by the
feed: change the cover frame and first second, not the title.youtube.com in the repo referrers. Give it a way on: the long video as its related video (set by hand in
Studio; youtube_upload.py says when), and the link in its description and a pinned comment.--github shows the last 14 days of repo referrers; youtube.com appearing there is
the signal that a video sends people to the toolkit.What the numbers above point at is nearly always the opening. Three things to settle while planning, each of
which qc.py --render then measures on the finished file (and --layout for the text):
Treat these as defaults to depart from on purpose, and let the retention graph say whether the departure worked: a slow opening that people watch through is a finding worth writing below.
Findings, not numbers: write each as what changed and what happened, with the dates, once there is a week of data.
1hyDgC5Qg_o) and The Great Return (e4HW-tvi8-8) public for about a
day, 1 and 0 views; channel 26 subscribers. The repo got ~10k unique visitors in 14 days, mostly from Google,
none from YouTube yet.How published videos are doing on YouTube, and what to learn from it. Views, likes, comments and subscribers per video, plus watch time, retention and traffic sources (Shorts feed, search, external) w
---name: youtube-statsdescription: How published videos are doing on YouTube, and what to learn from it. Views, likes, comments and subscribers…---# .claude/skills/youtube-stats/SKILL.md概览
How published videos are doing on YouTube, and what to learn from it. Views, likes, comments and subscribers per video, plus watch time, retention and traffic sources (Shorts feed, search, external) with the Analytics scope, saved as snapshots so trends show; GitHub traffic beside it to see whether YouTube sends people to the repo. Use when asked how a video or the channel is doing, which title, cover or genre worked, whether to make more of something, or for a weekly stats check.
常见问题
从发布者处下载 .claude/skills/youtube-stats/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/digitalsamba/claude-code-video-toolkit。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。