# Ni video2md

> Ni video2md is an open-source agent skill for files and documents. Turns public video links into local Whisper Markdown transcripts with a summary title. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ttttstc/ni-skill/tree/main/skills/ni-video2md
- **Repository:** https://github.com/ttttstc/ni-skill
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** ni-video2md
- **Collection:** https://github.com/ttttstc/ni-skill
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-12-04

## About

This skill takes a public video URL or a share caption from platforms such as Douyin, X, YouTube, Bilibili and Xiaohongshu and produces a single Markdown transcript. Transcription runs locally with whisper.cpp, and the workflow avoids cloud speech APIs. Media is downloaded into a temporary folder, converted to 16 kHz mono WAV with ffmpeg, transcribed, and then removed, so only the .md file remains.

The skill's scripts check for ffmpeg, whisper-cli, a Whisper model and yt-dlp, and install missing pieces on Windows where needed. The output file carries the source URL, capture time, model and language in its front matter, and its title and filename combine a one-line summary of the transcript with the author. After delivery, the agent asks whether to archive a copy to a path the user chooses, without overwriting existing files.

It is designed for Chinese-language videos by default, and it only handles publicly accessible media without bypassing logins, captchas or paywalls.

## When your agent uses it

> 将抖音、X、YouTube、哔哩哔哩、小红书等公开视频 URL 或分享文案转成本地 Whisper 生成的 Markdown 文字稿。用户说“视频转文字”“视频转 md”“提取字幕/文字稿”时触发；优先本地转录，缺少 ffmpeg、whisper.cpp、模型、yt-dlp 或浏览器工具时先下载或安装。只输出 .md，不生成 SRT；标题和文件名统一为“全文一句话概括-作者”；交付后可按用户指定路径归档。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-video2md)
- [Network calls found in its scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-video2md)
- [License: MIT](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-video2md)

## Features

- **Local transcription pipeline:** Runs whisper.cpp on the machine so the audio is never sent to a cloud transcription service.
- **Multi-platform video intake:** Accepts a bare link or a full share caption and extracts the first http(s) URL for supported sites.
- **Dependency setup:** Checks for ffmpeg, whisper-cli, models and yt-dlp, and installs missing tools through the bundled script.
- **Markdown with metadata:** Writes front matter with source, capture time, model, language and author alongside the transcript.
- **Temporary file cleanup:** Keeps media and intermediate WAV and TXT files in a private temp folder that is deleted after each run.
- **Safe archiving:** Copies the finished Markdown to a user-chosen location only after confirmation and never overwrites existing files.

## Good for

- Turn a YouTube interview into a searchable Markdown transcript
- Transcribe a Bilibili lecture for note-taking
- Extract the spoken text from a public X video
- Save a Douyin video's transcript into a notes folder
- Archive a finished transcript to a chosen project directory

## Install

### Claude Code

This skill ships in the `ni-skill` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ttttstc/ni-skill
/plugin install ni-skill@ni-skill
```

Or copy only this skill to `~/.claude/skills/ni-video2md`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ni-video2md &&
cp -R "$tmp/skills/ni-video2md" ~/.claude/skills/ni-video2md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ni-video2md` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ni-video2md` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ni-video2md &&
cp -R "$tmp/skills/ni-video2md" ~/.agents/skills/ni-video2md &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ni-video2md` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ni-video2md` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ni-video2md &&
cp -R "$tmp/skills/ni-video2md" ~/.cursor/skills/ni-video2md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ni-video2md` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ttttstc/ni-skill.git --path skills/ni-video2md
```

Or copy the folder to `~/.gemini/skills/ni-video2md` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ni-video2md`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ni-video2md &&
cp -R "$tmp/skills/ni-video2md" ~/.copilot/skills/ni-video2md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ni-video2md` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ttttstc/ni-skill.git
```

Then copy `ni-skill/skills/ni-video2md` into your agent's skills folder as `ni-video2md`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Ni video2md send audio to a cloud transcription service?

No. The skill states that transcription uses a local whisper.cpp binary and a local model, and does not call cloud Whisper or other transcription APIs.

### What does the output look like?

It produces one .md file with front matter holding the source URL, capture time, model, language and author, followed by a transcript section. No SRT file is generated.

### How does Ni video2md handle login-protected or restricted videos?

It only processes publicly accessible media. When a captcha, login wall, region limit or missing public format blocks access, it reports the failure instead of bypassing the restriction.

### Where do the files go during processing?

Media, WAV and intermediate text files go into a one-off private temporary directory that is removed on success, failure or interruption.

### How do I install Ni video2md in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ni-video2md to use it in all your projects, or to .claude/skills/ni-video2md in one project. Or install the ni-skill plugin, which includes it: /plugin marketplace add ttttstc/ni-skill, then /plugin install ni-skill@ni-skill.

### Does Ni video2md run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ni video2md?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ni video2md?

The closest alternatives to Ni video2md are Douyin bulk transcript exporter, Md to DOCX, Md2word, Loom transcript and Convert word to md.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Douyin bulk transcript exporter](https://ai-powered.com/skills/douyin-bulk-transcript-exporter): Douyin bulk transcript exporter is an open-source agent skill for files and documents.
- [Md to DOCX](https://ai-powered.com/skills/md-to-docx): Md to DOCX is an open-source agent skill for files and documents.
- [Md2word](https://ai-powered.com/skills/md2word): Md2word is an open-source agent skill for files and documents.
- [Loom transcript](https://ai-powered.com/skills/loom-transcript): Loom transcript is an open-source agent skill for files and documents.
- [Convert word to md](https://ai-powered.com/skills/convert-word-to-md): Convert word to md is an open-source agent skill for files and documents.
- [Transloadit media processing](https://ai-powered.com/skills/transloadit-media-processing-github): Transloadit media processing is an open-source agent skill for design and media.
- [DOCX conversion](https://ai-powered.com/skills/docx-conversion): DOCX conversion is an open-source agent skill for files and documents.
- [Convert plaintext to md](https://ai-powered.com/skills/convert-plaintext-to-md): Convert plaintext to md is an open-source agent skill for files and documents.

---
Source: https://ai-powered.com/skills/ni-video2md
