← Back to Skills Marketplace
edisonchenai

Edison Youtube Full

by EdisonChenAI · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
506
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install edison-youtube-full
Description
Complete YouTube toolkit for agents: search videos, fetch metadata, browse channels and playlists, and pull transcripts. Use when you need comprehensive YouT...
README (SKILL.md)

YouTube Full Skill

本技能把常见的 YouTube 工作流(搜索、视频/频道/播放列表元数据、字幕抓取)封装成可复用脚本,方便在单个会话里串联使用。

依赖与准备

  1. YouTube Data API Key

    • Google Cloud Console 启用 YouTube Data API v3,并创建 API Key。
    • 在当前 shell 设置:
      export YOUTUBE_API_KEY="YOUR_KEY"
      
      或者在运行脚本时使用 --api-key 参数。
  2. Python 依赖(建议放在虚拟环境):

    pip install -r scripts/requirements.txt
    
    • requests:调用官方 REST API
    • youtube-transcript-api:抓取字幕
  3. 所有脚本默认输出 JSON(stdout),方便直接被上游工具读取,或通过 jq 等命令行处理。

快速开始

任务 命令 说明
搜索视频 python scripts/search_videos.py --query "openclaw" --max-results 5 返回匹配视频/频道集合
视频详情 python scripts/get_video_details.py --ids dQw4w9WgXcQ 支持一次查询多个视频 ID(逗号分隔)
频道最新上传 python scripts/get_channel_videos.py --channel-id UC_x5XG1OV2P6uZZ5FSM9Ttw --max-results 10 可指定 order=latest/popular
播放列表内容 python scripts/get_playlist_items.py --playlist-id PLBCF2DAC6FFB574DE 支持分页(自动拉全量)
字幕抓取 python scripts/get_transcript.py --video-id dQw4w9WgXcQ --languages zh-CN,en 按语言优先级尝试抓取

🌐 更多 API 字段参考 references/api_quickstart.md

工作流建议

  1. 组合式使用:先用 search_videos.py 拿到 videoId/channelId,再调用其他脚本获取详情或字幕。
  2. 批量处理:大多数脚本支持一次性传入多个 ID(用逗号分隔),能减少 API 调用次数。
  3. 速率限制:YouTube Data API 默认 10,000 quota/天。search/videos 等接口有不同配额消耗,见参考文档。
  4. 字幕回退youtube-transcript-api 会自动 fallback 到指定语言列表的下一个选项;若视频无字幕会抛异常,脚本会以非零退出码返回。

文件结构

youtube-full/
├── SKILL.md
├── references/
│   └── api_quickstart.md
└── scripts/
    ├── requirements.txt
    ├── search_videos.py
    ├── get_video_details.py
    ├── get_channel_videos.py
    ├── get_playlist_items.py
    └── get_transcript.py

故障排查

问题 可能原因 解决办法
HTTP 403 / quotaExceeded API Key 配额不足或未启用服务 去 GCP 控制台检查配额、启用结算或更换 Key
找不到字幕 视频关闭字幕或无匹配语言 换语言列表、改用自动字幕 (--languages auto)
HttpAccessTokenRefreshError 使用 OAuth token 且已过期 重新获取 token 或改用 API Key
CLI 报 ModuleNotFoundError 缺少依赖 重新执行 pip install -r scripts/requirements.txt

最佳实践

  • 把常用命令写成脚本/Makefile,方便一键获取多条数据。
  • 对于需要批量处理的视频列表,优先调用 get_playlist_items.py / get_channel_videos.py 拉取 ID,然后再批量获取详情或字幕。
  • 脚本输出 JSON,建议直接 | jq 做筛选或保存为文件供后续步骤使用。
Usage Guidance
This skill's README looks like a normal YouTube CLI toolkit, but the package is incomplete: SKILL.md expects local scripts and a YOUTUBE_API_KEY while the registry entry lists no env vars or code files. Before installing or running anything, ask the publisher for the missing repository or the actual scripts/requirements.txt so you can inspect the code. If you must run it: (1) only provide a YouTube API key with least privilege and consider using a dedicated key for this tool, (2) run pip installs inside an isolated virtualenv or container and review requirements.txt, and (3) review the actual scripts for network calls, arbitrary shell execution, or data exfiltration. If the publisher cannot supply source code or a trustworthy origin (e.g., GitHub repo/official release), treat the skill as untrusted.
Capability Analysis
Type: OpenClaw Skill Name: edison-youtube-full Version: 1.0.0 The skill bundle 'edison-youtube-full' is a standard toolkit for interacting with the YouTube Data API and fetching video transcripts. The documentation (SKILL.md) provides clear, legitimate instructions for setting up API keys and using Python scripts (e.g., search_videos.py, get_transcript.py) with well-known libraries like 'requests' and 'youtube-transcript-api'. No evidence of malicious intent, data exfiltration, or prompt injection was found in the provided files.
Capability Assessment
Purpose & Capability
The name/description (YouTube toolkit) align with the instructions (YouTube Data API calls and transcript extraction). Requested libraries (requests, youtube-transcript-api) and an API key are proportionate to the stated purpose. However, the registry metadata claims no required env vars and no code files, while SKILL.md explicitly requires a YOUTUBE_API_KEY and describes multiple local scripts — this metadata vs. instructions mismatch is unexpected.
Instruction Scope
SKILL.md instructs the agent/user to set an environment variable (YOUTUBE_API_KEY), install Python deps via pip, and run a set of local Python scripts under scripts/*.py. Those instructions are narrow and on-purpose for a YouTube tool, but the referenced scripts and requirements.txt are not present in the package manifest. That gap means the instructions cannot be executed as-is and could hide missing behavior if the code comes from an external source later.
Install Mechanism
There is no install spec (instruction-only), which minimizes automated installation risk. The SKILL.md recommends running pip install -r scripts/requirements.txt (typical for Python projects) — this implies downloading PyPI packages at runtime, which is expected but should be reviewed. The bigger risk is the absence of the scripts/requirements.txt file in the package; the user would need to obtain code from elsewhere.
Credentials
The SKILL.md requires a YOUTUBE_API_KEY (appropriate for this functionality), but the registry metadata incorrectly lists no required env vars. There are no extra unrelated credentials requested. The inconsistency between declared requirements and the runtime instructions is problematic: users may be unaware a key is needed or may be prompted to supply secrets to an external/unknown code source.
Persistence & Privilege
The skill does not request persistent/always-on privileges and uses default autonomous invocation settings. It does not declare modifications to other skills or system-wide settings. No elevated persistence is requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install edison-youtube-full
  3. After installation, invoke the skill by name or use /edison-youtube-full
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Complete YouTube workflow toolkit for agents. - Search YouTube videos, fetch video/channel/playlist metadata, and pull transcripts in one workflow. - Includes reusable scripts for common tasks: searching, querying metadata (video, channel, playlist), and extracting transcripts. - Scripts accept multiple IDs for batch processing; all output JSON for easy integration. - Requires YouTube Data API key and minimal Python dependencies. - Comprehensive README (SKILL.md) with quickstart guides, troubleshooting, and best practices.
Metadata
Slug edison-youtube-full
Version 1.0.0
License
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is Edison Youtube Full?

Complete YouTube toolkit for agents: search videos, fetch metadata, browse channels and playlists, and pull transcripts. Use when you need comprehensive YouT... It is an AI Agent Skill for Claude Code / OpenClaw, with 506 downloads so far.

How do I install Edison Youtube Full?

Run "/install edison-youtube-full" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Edison Youtube Full free?

Yes, Edison Youtube Full is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Edison Youtube Full support?

Edison Youtube Full is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Edison Youtube Full?

It is built and maintained by EdisonChenAI (@edisonchenai); the current version is v1.0.0.

💬 Comments