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
累計下載
4979
星標
3
全站排名
#1,846
全站前 37% · 「知識管理」前 40%
平台累計安裝累計下載星標評論
ClawHub ↗14544573-
SkillHub ↗14549793—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

請求需要 TranscriptAPI key 與網際網路連線。註冊、驗證碼和長期金鑰管理應由使用者掌控;將金鑰儲存在安全的秘密儲存中,不要貼入聊天。無字幕、認證失敗或服務限制可能導致無法取得文字稿;長內容可先提供摘要。 請求還需要文件所列 User-Agent;能否獲取取決於字幕和服務響應。

資料釋出於 2026-10-29

可以用來做什麼

  • 提取影片字幕文字並整理為可讀稿
  • 需要時間戳時定位並引用特定片段
  • 基於影片文字稿生成摘要或翻譯草稿

什麼時候用

  • 需要獲取 YouTube 影片文字稿而非上傳或管理帳戶時
  • 具備合法授權並能安全提供 API key 時
  • 輸出會經過來源與字幕準確性複核時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

規劃一個獲取公開影片文字稿並生成摘要的流程,說明如何安全管理 API key,並提醒核對字幕準確性;不要發起請求或建立帳戶。

月度資料趨勢

累計下載4979
3621435150802026-05 · 累計下載 37222026-06 · 累計下載 38632026-07 · 累計下載 41842026-08 · 累計下載 43592026-09 · 累計下載 497926-0526-09
星標3
2342026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0526-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094979—3
2026-084359+4.2%3
2026-074184+8.3%3
2026-063863+3.8%3
2026-053722—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),按月更新。口徑說明見資料方法。