Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

yt-timestamp-autoposteryt 时间戳自动海报

Agent Skill

yt-timestamp-autoposter 用于处理音频、语音、转写和声音素材相关任务,适合在 OpenClaw 中需要整理音频流程、转写内容或生成配音素材时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,051

周安装

174

GitHub Stars

公开资料未说明

下载量

1,420
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:yt-timestamp-autoposter(yt 时间戳自动海报)
来源仓库:https://github.com/robj1925/yt-timestamp-autoposter
安装命令:
openclaw skills install yt-timestamp-autoposter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install yt-timestamp-autoposter

简介

自动生成 SEO 优化的 YouTube 时间戳,并可附加至视频描述。

  • 适用于长视频教程、播客节目与分章节内容发布管理。
  • 输入原始脚本或 YouTube URL 即可生成带时间标记的结构化文本。
  • 涉及视频元数据修改权限,需谨慎使用以防误操作。
  • 建议预览输出结果,确保时间戳与内容匹配无误。yt-timestamp-autoposter 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
yt-timestamp-autoposter
description
Generate SEO-optimized YouTube timestamps from a YouTube URL or a raw transcript string, then optionally append them to the description of that specific video or your latest upload. Use when you need to create chapters for a YouTube video. Also use when the user asks to generate timestamps, append timestamps to YouTube, or process transcript text.

YouTube Timestamp Generator & Auto-Poster

Transforms a YouTube URL or a raw transcript string into SEO-optimized timestamps (chapters) powered by Gemini. Optionally appends the result directly to the description of a specific YouTube video or your latest upload via the YouTube Data API.

⚠️ Requirements Checklist

Before using this skill, ensure you have:

  • [ ] Python 3 installed
  • [ ] Dependencies installed: pip install youtube-transcript-api google-generativeai google-auth-oauthlib google-api-python-client
  • [ ] Gemini API Key available to pass as an argument
  • [ ] credentials.json placed in scripts/ *(only required for --post — download from Google Cloud Console as an OAuth 2.0 Desktop App client)*

Features

  • 🕐 SEO Timestamps: Generates 0:00-based chapters with keyword-rich, scannable labels
  • 🔗 Three Input Modes: Works from a YouTube URL, a raw transcript string, or auto-targets your latest video
  • 🚀 Smart Auto-Poster: URL mode appends to that specific video; transcript and latest modes append to your latest upload
  • 🛡️ Duplicate Prevention: The --latest mode checks for existing timestamps before attempting to generate new ones
  • 🔑 Keyword Optimization: Natural integration of primary, secondary, and LSI keywords from the transcript
  • 🧹 Clean Output: Returns only the final timestamps — no extra headings or commentary

Quick Start

Mode 1 — YouTube URL

Fetches the transcript from the video, generates SEO timestamps, and optionally appends them to the description of that specific video.

# Generate only (view output)
python scripts/youtube_desc_generator.py --url "<youtube_url>" "<gemini_api_key>"

# Generate and post to that video
python scripts/youtube_desc_generator.py --url "<youtube_url>" "<gemini_api_key>" --post

Mode 2 — Raw Transcript Text

Reads a raw transcript string, generates SEO timestamps, and optionally appends them to the description of your latest YouTube upload.

# Generate only (view output)
python scripts/youtube_desc_generator.py --transcript "0:00 Welcome..." "<gemini_api_key>"

# Generate and post to latest video
python scripts/youtube_desc_generator.py --transcript "0:00 Welcome..." "<gemini_api_key>" --post

Mode 3 — Latest Video

Automatically fetches your most recent video, checks if timestamps already exist (to prevent duplicates), downloads the transcript, generates SEO timestamps, and optionally appends them to the description.

# Generate and post timestamps for your latest video (if they don't already exist)
python scripts/youtube_desc_generator.py --latest "<gemini_api_key>" --post

Examples:

python scripts/youtube_desc_generator.py --url "https://youtu.be/abc123" "$GEMINI_API_KEY"
python scripts/youtube_desc_generator.py --url "https://youtu.be/abc123" "$GEMINI_API_KEY" --post
python scripts/youtube_desc_generator.py --transcript "0:00 Welcome..." "$GEMINI_API_KEY" --post

Raw Transcript Text Format

When using --transcript, the transcript must be a string with timestamps in MM:SS format, separated by newlines:

0:00 Welcome to this video about AI agents.
0:12 Today we're going to cover what an AI agent actually is.
1:00 Let me show you a live demo of an agent booking a flight.
...

Natural Language Command Mapping

When the user speaks naturally, map their intent to the correct command using the table below. Always extract the YouTube URL or transcript text from their message and substitute it into the command.

What the user saysCommand to run
"Create timestamps for my latest video"python scripts/youtube_desc_generator.py --latest "$GEMINI_API_KEY" --post
"Generate timestamps for this video: https://youtu.be/abc123"python scripts/youtube_desc_generator.py --url "https://youtu.be/abc123" "$GEMINI_API_KEY"
"Create SEO chapters from this YouTube link: https://youtu.be/abc123"python scripts/youtube_desc_generator.py --url "https://youtu.be/abc123" "$GEMINI_API_KEY"
"Give me the timestamps for this video: https://youtu.be/abc123"python scripts/youtube_desc_generator.py --url "https://youtu.be/abc123" "$GEMINI_API_KEY"
"Generate timestamps for this video and post it: https://youtu.be/abc123"python scripts/youtube_desc_generator.py --url "https://youtu.be/abc123" "$GEMINI_API_KEY" --post
"Generate SEO timestamps and post them back to this video: https://youtu.be/abc123"python scripts/youtube_desc_generator.py --url "https://youtu.be/abc123" "$GEMINI_API_KEY" --post
"Process this transcript text: 0:00 Welcome..."python scripts/youtube_desc_generator.py --transcript "0:00 Welcome..." "$GEMINI_API_KEY"
"Generate timestamps from my transcript text: 0:00 Welcome..."python scripts/youtube_desc_generator.py --transcript "0:00 Welcome..." "$GEMINI_API_KEY"
"Process my transcript text and post it to my latest video: 0:00 Welcome..."python scripts/youtube_desc_generator.py --transcript "0:00 Welcome..." "$GEMINI_API_KEY" --post
"Generate timestamps from my transcript and upload to YouTube: 0:00 Welcome..."python scripts/youtube_desc_generator.py --transcript "0:00 Welcome..." "$GEMINI_API_KEY" --post

Decision Rules

Use these rules to determine which command to run when the intent is ambiguous:

  • "latest video" or similar → always use --latest mode
  • URL present → always use --url mode
  • Transcript text present → always use --transcript mode
  • "post", "update", "upload", "push" anywhere in the message → add --post flag (Note: commands like "create timestamps for my latest video" imply updating it, so --post is added)
  • No --post → generate and print only, do not touch YouTube
  • --transcript --post and --latest --post → always targets the latest upload on the channel
  • --url --post → always targets that specific video

Generated Output

The script returns a single clean block — no labels or extra text:

  • SEO-Optimized Timestamps — YouTube chapters starting at 0:00 with keyword-rich labels and SEO suffix tags (e.g. (Tutorial), (Overview), (2026))
Important: Output only the final timestamps. Do not include any introductory sentences, headings, labels, preamble, or commentary before or after the output.

How It Works

URL mode:

  1. Extracts the video ID from the provided YouTube URL
  2. Fetches the English transcript via youtube-transcript-api
  3. Formats the transcript with MM:SS timestamps
  4. Sends a prompt to Gemini for timestamps
  5. Prints the timestamps
  6. _(With --post)_ Authenticates via OAuth2 and appends the new timestamps to that specific video's description

Transcript mode:

  1. Reads the provided raw transcript text string
  2. Sends a prompt to Gemini for timestamps
  3. Prints the timestamps
  4. _(With --post)_ Authenticates via OAuth2, finds your latest upload, and appends the new timestamps to its description

OAuth Setup (for --post only)

  1. Go to Google Cloud Console
  2. Create a project and enable the YouTube Data API v3
  3. Create OAuth 2.0 credentials (Desktop App type)
  4. Download the file as credentials.json and place it in scripts/
  5. On first run with --post, a browser window will open for you to authorize access
  6. A token.pickle file will be saved automatically for future runs

Troubleshooting

No transcript available (URL mode):

  • The video may have transcripts disabled or no English captions
  • Switch to --transcript mode with a manually prepared transcript string

Transcript text not loading (transcript mode):

  • Ensure the text format is correct
  • Each line should follow MM:SS text format

Gemini API errors:

  • Verify your API key is valid and has access to gemini-3.1-flash-lite-preview
  • Check your quota at Google AI Studio

--post not updating the video:

  • Ensure credentials.json is in the scripts/ directory
  • Delete token.pickle and re-authenticate if credentials have expired
  • Confirm the YouTube Data API v3 is enabled in your Google Cloud project

Wrong video appended to in transcript mode:

  • Transcript mode always targets your most recent upload — make sure the correct video is your latest
  • If you need to target a specific video, use --url mode instead

Privacy & Safety

⚠️ Important: The --post flag will append timestamps to a video's description automatically without manual confirmation in the CLI.

  • The script always shows you the target video title being updated
  • OAuth credentials are stored locally in token.pickle — keep this file secure
  • Revoke access anytime via your Google Account permissions

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.34%
按下载量换算1,013

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills