跳到正文
cccskills
免费在 GitHub 公开

yt-random-comment-picker

Downloads YouTube video comments, filters to unique authors, and randomly selects one comment to return.

中文简介正在准备中。当前显示原文说明。

larchanka/skills星标 30(GitHub 30 + cccskills 0)
集成工具YouTube

实测评分 未实测

查看安装方法

包含的文件(4)

  • SKILL.md2.0 KB
  • pick_comment.py6.2 KB
  • README.md6.5 KB
  • tests/test_pick_comment.py4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Random Comment Picker

This skill downloads comments from a YouTube video, filters them to keep only comments with unique authors (first occurrence wins), and randomly selects one comment to return with author and text.

Skill Details

  • Name: yt-random-comment-picker
  • Version: 1.0.0
  • Description: Downloads YouTube video comments, filters to unique authors, and randomly selects one comment to return.

Usage

yt-random-comment-picker <youtube_video_url>

Example

yt-random-comment-picker https://youtu.be/VIDEO_ID

How It Works

  1. Download comments: Uses yt-dlp to fetch the comment section from the specified YouTube video URL
  2. Extract top-level comments: Filters to keep only top-level comments (not replies/thread comments)
  3. Filter unique authors: Keeps only the first comment from each unique author (subsequent duplicates are removed)
  4. Random selection: Uses Python's random.choice() to select one comment from the filtered list
  5. Output: Displays the selected comment with author and text, plus JSON output for programmatic use

Requirements

  • yt-dlp must be installed and available in PATH
  • Python 3.6+
  • Internet access to fetch YouTube comments

Output Format

Human-readable:

Author: @username
Comment: <comment text>

JSON (printed at end):

{
  "author": "@username",
  "text": "<comment text>",
  "likes": 5
}

Notes

  • The skill may take 30-60 seconds to download and process comments depending on the video's comment count
  • Only top-level comments are considered (replies/thread comments are filtered out)
  • If multiple comments from the same author exist, only the first one encountered is kept
  • The selection is truly random - each unique-author comment has equal probability of being selected
  • Works with any YouTube video URL that has comments available

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Orchestrates a multi-agent loop involving planning, development, review, and publishing sub-agents to implement and publish features test-first and with high standards compliance.

中文简介正在准备中。当前显示原文说明。

larchanka/skills302026年10月27日 更新

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.

中文简介正在准备中。当前显示原文说明。

larchanka/skills302026年10月27日 更新

Generates comprehensive AI context, AGENTS.md, and structured documentation in a context/ directory for any brownfield codebase using Tree-sitter AST extraction, dependency analysis, predefined python scripts, and orchestrated subagents.

中文简介正在准备中。当前显示原文说明。

larchanka/skills302026年10月27日 更新

Manual browser testing and automation using Chrome DevTools MCP server. Handles port management, app launch, browser automation, login, and end-to-end testing.

中文简介正在准备中。当前显示原文说明。

larchanka/skills302026年10月27日 更新

Breaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.

中文简介正在准备中。当前显示原文说明。

larchanka/skills302026年10月27日 更新

Progressively investigate PRs, commits, releases, and project evolution. Start with a lightweight assessment, dynamically deepen analysis based on complexity and risk, use subagents for independent investigations, and maintain evidence-backed project knowledge.

中文简介正在准备中。当前显示原文说明。

larchanka/skills302026年10月27日 更新

查看 larchanka 的全部技能

报告此技能的问题