← Back to Skills Marketplace
258
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install youtube-comment-moderator
Description
AI-powered YouTube comment moderation. Fetches comments, classifies them (spam, question, praise, hate, neutral, constructive), drafts replies, and deletes s...
Usage Guidance
This skill appears to be what it says: a local Python-based YouTube comment moderator that needs your YouTube API key, Google OAuth client credentials (to reply/delete), and a Gemini API key (for classification). Before installing or running it:
- Treat OAuth data as sensitive. If you are ever asked in chat to paste a redirect/callback URL, paste only the single-use code portion if instructed — do not post full callback URLs into public chat. The skill’s docs are inconsistent about this; follow the more conservative approach (only the code) or run the OAuth step locally.
- Limit API key scope and rotate/ revoke keys if you stop using the skill. Restrict the YouTube API key to the YouTube Data API and enable referrer restrictions if possible.
- Run the skill in a controlled environment (dedicated VM/container) and inspect the oauth.json and DB files it creates (defaults: skills/youtube-comment-moderator/oauth.json and data/youtube-comment-moderator/moderator.db). Set file permissions so tokens are not world-readable.
- Because source/homepage are unknown, you may want to audit the shipped Python files locally before running, or run the tool in a sandbox. The code here is readable and matches the documentation, but unknown origin is always a trust consideration.
- If you only need read-only classification, use 'monitor' mode and skip OAuth to avoid giving write/delete privileges to the skill.
If you want, I can: summarize the exact OAuth pieces you must create in Google Cloud, produce a minimal checklist to harden API keys/permissions, or highlight all lines in the code that write tokens or make outgoing requests.
Capability Analysis
Type: OpenClaw Skill
Name: youtube-comment-moderator
Version: 1.0.1
The YouTube Comment Moderator bundle is a legitimate tool for automated channel management using the Gemini and YouTube Data APIs. The code uses only Python standard libraries, reducing supply chain risks, and follows standard OAuth 2.0 flows for authorization. Notably, the SKILL.md instructions include security-conscious guidance for the AI agent, specifically warning it to protect the user's sensitive OAuth exchange codes and avoid logging full callback URLs.
Capability Assessment
Purpose & Capability
Name/description (YouTube comment moderation) matches the actual code and requirements: it uses the YouTube Data API (API key for reads, OAuth client for write actions) and a Gemini/GCP API key for classification. The files implement fetching, classifying, a SQLite DB, and OAuth flows — all expected for this functionality.
Instruction Scope
Runtime instructions largely stay within scope (guiding users to supply API keys, run setup, authorize OAuth). Two minor inconsistencies: (1) some guidance warns users to paste ONLY the OAuth 'code' (to avoid sharing sensitive data) while other parts instruct headless users to paste the full callback URL; (2) the SKILL.md repeatedly shows shell command examples but also instructs agents to walk users conversationally and 'not tell them to run shell commands'. These are usability/security inconsistencies that could lead a user to paste more than intended into chat (exposing the OAuth redirect contents).
Install Mechanism
No install spec; this is instruction + code only. The skill includes Python scripts shipped with the package (no external arbitrary downloads or obscure installers). That lowers install risk.
Credentials
Requested credentials are proportional and expected: YOUTUBE_API_KEY for reads, YT_MOD_CLIENT_ID/SECRET for OAuth write actions, GEMINI_API_KEY for classification. Optional env overrides point to local file paths (DB, oauth, config). No unrelated secrets are requested.
Persistence & Privilege
The skill persists state locally (SQLite DB under data/..., oauth tokens under skills/.../oauth.json). always:false and normal autonomous invocation. It does not request system-wide config changes or modify other skills. Writing tokens/DB is expected for this use case; ensure file permissions are acceptable.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install youtube-comment-moderator - After installation, invoke the skill by name or use
/youtube-comment-moderator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Initial public release with agent-driven, conversational setup guide for YouTube comment moderation.
- Added full scripts for fetching, classifying, moderating, and storing YouTube comments.
- Includes detailed OAuth setup instructions and environment variable documentation.
- Moderation supports monitor, approval, and auto modes with AI-powered comment classification.
- All major pipeline scripts (setup, fetch, classify, moderate, db) included.
v1.0.0
- Initial release of YouTube Comment Moderator.
- Classifies YouTube comments (spam, question, praise, hate, neutral, constructive) using Gemini Flash.
- Supports automated replies, spam deletion, and sentiment analysis via YouTube Data API v3 and OAuth.
- Interactive setup and flexible modes: monitor, approval, and auto-moderation.
- Includes SQLite persistence, customizable config, and support for agent-driven/OAuth flows.
- Designed for channel moderation, auto-replies, spam management, and approval pipelines.
Metadata
Frequently Asked Questions
What is YouTube Comment Moderator?
AI-powered YouTube comment moderation. Fetches comments, classifies them (spam, question, praise, hate, neutral, constructive), drafts replies, and deletes s... It is an AI Agent Skill for Claude Code / OpenClaw, with 258 downloads so far.
How do I install YouTube Comment Moderator?
Run "/install youtube-comment-moderator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is YouTube Comment Moderator free?
Yes, YouTube Comment Moderator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does YouTube Comment Moderator support?
YouTube Comment Moderator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created YouTube Comment Moderator?
It is built and maintained by Dhruv Kar (@dhruvkar); the current version is v1.0.1.
More Skills