← 返回
内容创作 Key 中文

Youtube Instant Article

Transform YouTube videos into Telegraph Instant View articles with visual slides and timestamped summaries. Use this skill whenever a user shares a YouTube URL (youtube.com or youtu.be) and asks to summarize, explain, or process the video. This is the DEFAULT skill for all YouTube video requests - do NOT use the generic summarize tool for YouTube.
将YouTube视频转换为Telegraph Instant View文章,含可视化幻灯片和带时间戳的摘要。当用户分享YouTube链接并要求总结、解释或处理视频时使用。处理YouTube视频请求时请默认使用此技能,勿使用通用总结工具。
viticci
内容创作 clawhub v0.1.0 1 版本 99722.4 Key: 需要
★ 1
Stars
📥 2,495
下载
💾 4
安装
1
版本
#latest

概述

YouTube Instant Article

Transform YouTube videos into Telegraph Instant View articles with visual slides and timestamped summaries.

When to Use

ALWAYS use this skill when:

  • User shares a YouTube URL (any youtube.com or youtu.be link)
  • "Summarize this video"
  • "What's this video about?"
  • "Turn this into an article"
  • "Give me the gist of this video"

Only use generic summarize for:

  • Non-YouTube URLs (articles, websites, PDFs)
  • Explicit "just give me the transcript" requests

Quick Start

source /Users/viticci/clawd/.env && {baseDir}/scripts/generate.sh "$ARGUMENTS"

Options

FlagDefaultDescription
----------------------------
--slides-max N6Maximum slides to extract
--debugoffKeep temp files for debugging

Environment Variables

Required environment variables are loaded from /Users/viticci/clawd/.env:

  • TELEGRAPH_TOKEN - Telegraph API access token
  • OPENAI_API_KEY - For GPT-5.2 summarization

Output

Telegraph Instant View article with:

  • 📺 Video link at top
  • 🖼️ Slides interleaved with timestamped sections
  • ⏱️ Key moments with timestamps
  • 💬 Notable quotes as blockquotes
  • ✨ Proper title from YouTube

Architecture

YouTube URL
    │
    ├─► summarize --extract (get video title)
    │
    ├─► summarize --slides (extract key frames)
    │
    ├─► summarize --timestamps (GPT-5.2 summary)
    │
    ├─► catbox.moe (upload images)
    │
    └─► Telegraph API (create article)

Key Features

Image Hosting: catbox.moe

  • No API key required
  • No expiration
  • Reliable CDN
  • Direct URL embedding

LLM: OpenAI GPT-5.2

  • Fast (~4-5 seconds)
  • High quality summaries
  • Automatic timestamp extraction

Layout: Interleaved Images

  • Images distributed across timestamp sections
  • Not grouped at top
  • Each major section gets a relevant slide

⚠️ Important Notes

Instant View Timing

Telegram needs 1-2 minutes to generate Instant View for new pages. If the ⚡ button doesn't appear immediately, wait and try again.

Script Requirements

  • Uses zsh (not bash) for associative array support
  • Requires: summarize, jq, curl
  • Optional: ffmpeg (for local video processing)

Always Use the Script

NEVER manually create Telegraph content. Always use generate.sh:

  • Ensures proper h4 headers (required for Instant View)
  • Distributes images correctly
  • Extracts video title automatically

Dependencies

  • summarize v0.10.0+ (brew install steipete/tap/summarize)
  • jq (brew install jq)
  • curl (pre-installed on macOS)
  • OpenAI API key with GPT-5.2 access

Processing Time

Video LengthApprox. Time
----------------------------
< 15 min20-30s
15-30 min30-45s
30+ min45-60s+

Troubleshooting

"Failed to get summary"

  • Check OPENAI_API_KEY is set
  • Verify API key has GPT-5.2 access
  • Try with --debug flag

No Instant View button

  • Wait 1-2 minutes for Telegram to process
  • Verify article has content (not empty)
  • Check images loaded (visit Telegraph URL directly)

Images not showing

  • catbox.moe might be temporarily down
  • Check upload succeeded in debug output
  • Verify URLs are HTTPS

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-28 14:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,144
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,032
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,422