Rohit Das

video-transcript

知识管理v1.5.1
作者:Rohit Das更新于 2026-09-21共 14 个版本 · 最新版本发布于 2026-09-21@clawhub_therohitdas/video-transcript
摘要总结#youtube#transcripts#video#captions#text-extraction

据 AlphaMoat 统计,截至 2026-09,video-transcript 累计下载 4,979 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 1,846 位,在「知识管理」分类(442 个)中排名第 176 位。

累计安装
145
累计下载
4,979
星标
3
全站排名
#1,846
全站前 37% · 「知识管理」前 40%
平台累计安装累计下载星标评论
ClawHub ↗1454,4573-
SkillHub ↗1454,9793—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

请求需要 TranscriptAPI key 与互联网连接。注册、验证码和长期密钥管理应由用户掌控;将密钥保存在安全的秘密存储中,不要贴入聊天。无字幕、认证失败或服务限制可能导致无法取得文字稿;长内容可先提供摘要。 请求还需要文档所列 User-Agent;能否获取取决于字幕和服务响应。

资料发布于 2026-10-29

可以用来做什么

  • 提取视频字幕文字并整理为可读稿
  • 需要时间戳时定位并引用特定片段
  • 基于视频文字稿生成摘要或翻译草稿

什么时候用

  • 需要获取 YouTube 视频文字稿而非上传或管理账户时
  • 具备合法授权并能安全提供 API key 时
  • 输出会经过来源与字幕准确性复核时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

规划一个获取公开视频文字稿并生成摘要的流程,说明如何安全管理 API key,并提醒核对字幕准确性;不要发起请求或创建账户。

月度数据趋势

累计下载4,979
3,6214,3515,0802026-05 · 累计下载 3,7222026-06 · 累计下载 3,8632026-07 · 累计下载 4,1842026-08 · 累计下载 4,3592026-09 · 累计下载 4,97926-0526-09
星标3
2342026-05 · 星标 32026-06 · 星标 32026-07 · 星标 32026-08 · 星标 32026-09 · 星标 326-0526-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,979—3
2026-084,359+4.2%3
2026-074,184+8.3%3
2026-063,863+3.8%3
2026-053,722—3

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.3 KB · ClawHub v1.5.1
---
name: video-transcript
description: "Use when video content needs to be extracted as text: pasted YouTube links or IDs, requests to transcribe, summarize, quote, translate, convert video to text, or extract information from video content. Also use when a user shares a video URL without explanation and wants to know what it says. Not for uploads or account management."
version: "1.5.0"
user-invocable: true
compatibility: Requires internet access to reach transcriptapi.com. No additional runtimes or dependencies needed.
required_environment_variables:
  - name: TRANSCRIPT_API_KEY
    prompt: Your TranscriptAPI key (starts with sk_)
    help: Free account at https://transcriptapi.com — 100 credits, no card required. Or let the agent create one for you.
展开全部(共 100 行)
    required_for: all API requests
metadata: {"openclaw":{"emoji":"🎬","requires":{"env":["TRANSCRIPT_API_KEY"]},"primaryEnv":"TRANSCRIPT_API_KEY","homepage":"https://transcriptapi.com"},"hermes":{"tags":["youtube","transcripts","video","captions","text-extraction","summarization"],"category":"media"}}
---

# Video Transcript

Extract transcripts from videos via [TranscriptAPI.com](https://transcriptapi.com).

## Setup

If `$TRANSCRIPT_API_KEY` is not set, read [references/auth-setup.md](references/auth-setup.md) and follow the instructions there to get and store the key.

## Required Headers

Every request needs two headers:

- **Authorization:** `Bearer $TRANSCRIPT_API_KEY`
- **User-Agent:** your agent's name and version if known (e.g. `HermesAgent/0.11.0`, `ClaudeCode/1.0`). Version is optional — agent name alone is fine. Do not omit this header or send a bare default — Cloudflare will return a 403 (error code 1010) and block the request.

## GET /api/v2/youtube/transcript

```bash
curl -s "https://transcriptapi.com/api/v2/youtube/transcript\
?video_url=VIDEO_URL&format=text&include_timestamp=true&send_metadata=true" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"
```

| Param               | Required | Default | Values                                 |
| ------------------- | -------- | ------- | -------------------------------------- |
| `video_url`         | yes      | —       | YouTube URL or 11-char video ID        |
| `format`            | no       | `json`  | `json` (structured), `text` (readable) |
| `include_timestamp` | no       | `true`  | `true`, `false`                        |
| `send_metadata`     | no       | `false` | `true`, `false`                        |

Accepted URL formats:

- `https://www.youtube.com/watch?v=VIDEO_ID`
- `https://youtu.be/VIDEO_ID`
- `https://youtube.com/shorts/VIDEO_ID`
- Bare video ID: `dQw4w9WgXcQ`

**Response** (`format=text&send_metadata=true`):

```json
{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": "[00:00:18] We're no strangers to love\n[00:00:21] You know the rules...",
  "metadata": {
    "title": "Rick Astley - Never Gonna Give You Up",
    "author_name": "Rick Astley",
    "author_url": "https://www.youtube.com/@RickAstley",
    "thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg"
  }
}
```

**Response** (`format=json`):

```json
{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": [
    { "text": "We're no strangers to love", "start": 18.0, "duration": 3.5 },
    { "text": "You know the rules and so do I", "start": 21.5, "duration": 2.8 }
  ]
}
```

## Tips

- Summarize long transcripts into key points first, offer full text on request.
- Use `format=json` when you need precise timestamps for quoting specific moments.
- Use `send_metadata=true` to get video title and channel for context.
- Works with YouTube Shorts too.

## Errors

| Code     | Meaning          | Action                                         |
| -------- | ---------------- | ---------------------------------------------- |
| 401      | Bad API key      | Check key or re-setup                          |
| 402      | No credits       | Top up at transcriptapi.com/billing            |
| 403/1010 | Cloudflare block | Add or fix User-Agent header                   |
| 404      | No transcript    | Video may not have captions enabled            |
| 408      | Timeout          | Retry once after 2s                            |

1 credit per successful request. Errors don't consume credits. Free tier: 100 credits, 300 req/min.

「知识管理」分类下的热门技能

Rohit Das 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。