Agent skill

Video Sync

by itwanger in itwanger/toBeBetterJavaer

把「王二讲Agent」的 B 站视频链接同步到 docs/src/ai/video/readme.md,把抖音视频 ID 同步到 docs/src/.vuepress/agentInterview.ts 的 douyinVideoIds 映射表(页面会渲染成播放器)。当用户说 B 站更新了、抖音更新了、同步视频链接、把视频地址放进脚本、更新 readme 视频时使用。

No licenceAuto-check passedDevelopment

Install Video Sync

skills CLI
$ npx skills add itwanger/toBeBetterJavaer --skill video-sync -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install itwanger/toBeBetterJavaer video-sync --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/itwanger/toBeBetterJavaer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/video-sync .claude/skills/video-sync && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
video-sync
GitHub stars
18k
Token cost
~445 tokens
SKILL.md length
102 words
Files
3 (incl. scripts)
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

把「王二讲Agent」的 B 站视频链接同步到 docs/src/ai/video/readme.md,把抖音视频 ID 同步到 docs/src/.vuepress/agentInterview.ts 的 douyinVideoIds 映射表(页面会渲染成播放器)。当用户说 B 站更新了、抖音更新了、同步视频链接、把视频地址放进脚本、更新 readme 视频时使用。

  • Works in 6 steps: 拉 B 站列表:python3… → 拉抖音列表:抖音必须登录,curl 和内置浏览器拿不到数据。用 Claude… → 看缺口:python3… → …
  • Tasks that involve AI video generation
  • SKILL.md covers 两个频道, 落点约定, 流程 and 禁令
  • Runs JavaScript and Python scripts from its folder; calls python3; reaches bilibili.com

What it does

Video Sync is an agent skill from itwanger/toBeBetterJavaer. 把「王二讲Agent」的 B 站视频链接同步到 docs/src/ai/video/readme.md,把抖音视频 ID 同步到 docs/src/.vuepress/agentInterview.ts 的 douyinVideoIds 映射表(页面会渲染成播放器)。当用户说 B 站更新了、抖音更新了、同步视频链接、把视频地址放进脚本、更新 readme 视频时使用。

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/douyin_extract.js` and `scripts/video_sync.py`).

It sits in Development, covering AI video generation and Technical documentation. It works with Python. The repository describes itself as: 一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准二哥的Java进阶之路😄.

When your agent uses it

  • Tasks that involve AI video generation
  • Tasks that involve Technical documentation

Example prompts

  • “/video-sync”

Requirements

  • Python 3
  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 拉 B 站列表:python3 .claude/skills/video-sync/scripts/video_sync.py bili。接口无需登录,NEW 标记的就是 readme 还没引用的视频。
  2. 拉抖音列表:抖音必须登录,curl 和内置浏览器拿不到数据。用 Claude in Chrome 打开抖音主页,关掉登录弹窗,滚到底部出现「暂时没有更多了」,再用 javascript_tool 执行…
  3. 看缺口:python3 .claude/skills/video-sync/scripts/video_sync.py status,输出 readme 里缺 B 站链接的题目和映射表里缺抖音 ID 的脚本,缺 meta 的会单独标出来。
  4. 人工配对:按视频标题和简介对到脚本文件名,写成两个 TSV 映射文件,每行 脚本名BV号 或 脚本名抖音视频ID。只配缺口里的条目。
  5. 写入:python3 .claude/skills/video-sync/scripts/video_sync.py apply --bili B站映射.tsv --douyin 抖音映射.tsv。脚本幂等,重复跑不会重复追加;缺 meta 的脚本会被跳过并提示。
  6. 汇报三类剩余:readme 有题但两边都没视频的、视频有但没脚本的、两边有视频但 readme 没题的。这三类由用户决定要不要补。

What it can do on your machine

Read from SKILL.md and the folder at commit b1b66b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (JavaScript and Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • bilibili.com

    Also links to:

    • douyin.com
    • space.bilibili.com
    • javabetter.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Video Sync loads about 445 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 102 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~445

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 102 words (~445 tokens).

name
video-sync

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in .claude/skills/video-sync of itwanger/toBeBetterJavaer.

  • SKILL.md
  • scripts/douyin_extract.js
  • scripts/video_sync.py

Open the folder on GitHubat commit b1b66b5

Compare with similar skills

Video Sync next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Video Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Video Sync this skillitwanger/toBeBetterJavaer18k—~445Automated safety check: PassNone
Update DocsArcReel/ArcReel5.4k—~544Automated safety check: NotesAGPL-3.0
Adk Sample Creatorgoogle/adk-python22k—~1.3kAutomated safety check: PassApache-2.0
Crafting Effective Readmescumbucadev/cinemaempoa1465 repos~669Automated safety check: PassGPL-3.0
Acquire Codebase Knowledgegithub/awesome-copilot40k1 repos~2.3kAutomated safety check: PassMIT
Docs Conventionsflet-dev/flet17k—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Update Docs

    ArcReel/ArcReel

    根据最近的 git 改动,更新面向用户的文档(README 双语、入门教程、部署、剪映导出等)。手动调用. An agent skill from ArcReel/ArcReel.

    5.4k GitHub stars~544 tokensUpdated today
    DevelopmentAuto-check: notes
  • Adk Sample Creator

    google/adk-python

    Official

    Creates a new sample agent in the ADK Python repository — the sample directory, its agent.py, and its README.md — following the conventions the existing samples already use.

    22k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Crafting Effective Readmes

    cumbucadev/cinemaempoa

    A skill your agent uses when writing or improving README files.

    146 GitHub starsUsed in 5 repos~669 tokens
    DevelopmentAuto-check passed
  • Acquire Codebase Knowledge

    github/awesome-copilot

    Official

    Maps an unfamiliar codebase into seven evidence-backed documents in docs/codebase/, using a scan script and templates, for onboarding or architecture write-ups.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    DevelopmentAuto-check passed
  • Docs Conventions

    flet-dev/flet

    A skill your agent uses when writing or reviewing Flet documentation, including Python docstrings (Google style, reST roles, admonitions), Markdown docs (cross-references, images, code examples)…

    17k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Adds or changes a DNS provider in the DDNS project while keeping its code, schemas, tests and Chinese and English docs consistent.

    4.7k GitHub stars~558 tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from itwanger/toBeBetterJavaer

All 13 skills in this repo
  • Video Cover Image

    itwanger/toBeBetterJavaer

    Generate matched 3:4, 16:9, and 4:3 short-video cover images from toBeBetterJavaer video scripts or AI/Java technical topics.

    18k GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Zhihu Search

    itwanger/toBeBetterJavaer

    Search Zhihu for content using the searchv3 API. An agent skill from itwanger/toBeBetterJavaer.

    18k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • AI Article

    itwanger/toBeBetterJavaer

    AI 类文章和项目教程的撰写与重构优化。支持新写和重构优化(结合最新源码重写已有文章)两种输入模式,四种风格:安装教程、产品评测、面试八股、深度拆解。覆盖 AI Coding 工具实测、AI 开发框架应用、大模型测评、Agent/Skills/RAG 技术讲解,以及 JobClaw 等实战项目的教程。

    18k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Ergo Remotion Video

    itwanger/toBeBetterJavaer

    把口播稿做成二哥风格的 Remotion 视频,包括整理视频用稿、火山 TTS 配音、音画对齐、逐章动画预览和导出带配音的 MP4。用户说“做视频”“口播稿转视频”“Remotion”“继续做下一章”“出片”“渲染”“改读音”“配音读错了”,或给出 docs/src/ai/video/ 下的稿子要做成视频时使用。共享工具、配置和素材在…

    18k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Video Script

    itwanger/toBeBetterJavaer

    口播稿,适用于 AI 技术科普、Agent/Skill/RAG、LLM 等底层原理讲解,以及面试题拆解、工具实测、热点普及。支持两种用法:给定主题从零产出口播稿、对已有口播稿进行优化。触发关键词包括:口播、口播稿、video script。

    18k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Browser Act

    itwanger/toBeBetterJavaer

    Browser automation CLI for AI agents. An agent skill from itwanger/toBeBetterJavaer.

    18k GitHub starsUsed in 2 repos~932 tokens
    Auto-check passed

Works with

Questions about Video Sync

What does Video Sync do?

把「王二讲Agent」的 B 站视频链接同步到 docs/src/ai/video/readme.md,把抖音视频 ID 同步到 docs/src/.vuepress/agentInterview.ts 的 douyinVideoIds 映射表(页面会渲染成播放器)。当用户说 B 站更新了、抖音更新了、同步视频链接、把视频地址放进脚本、更新 readme 视频时使用。. Video Sync is an agent skill from itwanger/toBeBetterJavaer.

When should I use Video Sync?

Video Sync fits situations like: tasks that involve AI video generation; tasks that involve Technical documentation.

How do I install Video Sync in Claude Code?

Run `npx skills add itwanger/toBeBetterJavaer --skill video-sync -a claude-code`. Or copy the skill folder (.claude/skills/video-sync in itwanger/toBeBetterJavaer) into .claude/skills/video-sync in your project. Claude Code loads it when a task matches its description.

How do I install Video Sync in Codex?

Run `npx skills add itwanger/toBeBetterJavaer --skill video-sync -a codex`. Or copy the skill folder (.claude/skills/video-sync in itwanger/toBeBetterJavaer) into .agents/skills/video-sync in your project. Codex loads it when a task matches its description.

Can I use Video Sync in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add itwanger/toBeBetterJavaer --skill video-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/video-sync, .gemini/skills/video-sync, .github/skills/video-sync and .opencode/skills/video-sync in your project.

What does Video Sync need to run?

Going by SKILL.md and its folder, Video Sync needs JavaScript and Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; Node.js.

Does Video Sync access the network?

SKILL.md names 4 domains. In commands or code: bilibili.com; the agent is likely to contact it when it follows the instructions. As links in the text: douyin.com, space.bilibili.com and javabetter.cn. This is read from the text; nothing was executed.

Is Video Sync safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Video Sync use?

No licence was found for Video Sync or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Video Sync use?

About 445 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Video Sync?

Skills that share tags, products or a category with Video Sync: Update Docs (ArcReel/ArcReel, 5.4k stars), Adk Sample Creator (google/adk-python, 22k stars), Crafting Effective Readmes (cumbucadev/cinemaempoa, 146 stars) and Acquire Codebase Knowledge (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Video Sync?

itwanger (a GitHub user) maintains it in itwanger/toBeBetterJavaer, which has 17,687 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 8, 2026.

Source: itwanger/toBeBetterJavaer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.