threerocks/article2media / skills/video-transcript
video-transcript
Verified视频转文字:把一条视频转成带时间轴的逐字稿文章(article.md + transcript/segments.md)。支持抖音(链接、短链、整段分享口令)、YouTube、B 站链接,本地视频 / 音频(mp4、mov、mp3、m4a、wav…),.srt / .vtt 字幕文件。文字来源依次是人工字幕、平台原语言自动字幕、本地 Whisper 识别;自动转简体、补标点、分段、专有名词提示与纠错。可以单独用,也是"视频转图文 / 视频转小红书"组合的第一步。Use when the user wants a video's subtitles, transcript or text (视频转文字、逐字稿、提取字幕、视频文案、听写这段录音), or gives a Douyin / YouTube / Bilibili link or a video/audio/subtitle file that another article2media skill should work from.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.9 KB |
| agents/openai.yaml | config | 229 B |
| references/video-input.md | markdown | 4.8 KB |
| scripts/doctor.mjsexecutable | script | 813 B |
| scripts/transcribe.mjsexecutable | script | 891 B |
scripts/transcribe.mjs
View on GitHub#!/usr/bin/env node
// video-transcript · Turn a video (Douyin, YouTube, Bilibili, local media, .srt/.vtt) into a verbatim transcript article.md.
// Runs the shared engine (skills/article2media/engine), installed together with the article2media skill.
import fs from 'node:fs';
import { pathToFileURL } from 'node:url';
const engine = process.env.ARTICLE2MEDIA_ENGINE ? pathToFileURL(process.env.ARTICLE2MEDIA_ENGINE.replace(/\/?$/, '/scripts/')) : new URL('../../article2media/engine/scripts/', import.meta.url);
if (!fs.existsSync(new URL('fetch.mjs', engine))) {
console.error('✗ 找不到共享引擎 article2media/engine:video-transcript 要和 article2media 装在同一个 skills 目录里(插件安装会一起装好)');
process.exit(2);
}
process.env.A2M_CLI = 'transcribe.mjs';
process.argv.splice(2, 0, '--kind', 'video');
await import(new URL('fetch.mjs', engine));
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 468k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |