KeyAPI YouTube Video Analysis for Openclaw

A comprehensive YouTube intelligence tool for retrieving deep video metadata, comment threads, stream URLs, and trending content.

lycici
v1.0.0
Apr 7, 2026
0
658
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install keyapi-youtube-video-analysis

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install keyapi-youtube-video-analysis using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is KeyAPI YouTube Video Analysis?

This Openclaw Skills package provides a deep integration with the KeyAPI YouTube MCP service, enabling AI agents to perform granular video audits and audience research. It allows for the retrieval of full metadata, engagement metrics, and raw player data, while offering specialized tools for layered comment analysis and playback stream extraction.

By leveraging this skill, developers can automate the discovery of related content clusters, search specifically for YouTube Shorts, and monitor trending videos across categories like Gaming, Music, and Movies. The implementation follows a cache-first workflow to optimize performance and minimize API latency during complex research tasks.

KeyAPI YouTube Video Analysis Use Cases

  • Perform automated audience sentiment and deep-nested comment thread analysis for market research.
  • Extract direct playback stream URLs and quality levels for media processing or download workflows.
  • Map algorithm-surfaced content recommendations to understand creator clusters and niches.
  • Conduct keyword-based discovery for YouTube Shorts with specific filters for recency and region.
  • Track global or regional trending signals to stay ahead of viral content shifts.

How KeyAPI YouTube Video Analysis Works

  1. Objective Selection: Define the research goal, such as a full video audit or a comment thread deep-dive.
  2. Schema Verification: Inspect the input schema for the chosen tool (e.g., get_video_information) to confirm required parameters.
  3. Request Execution: Call the MCP server via the provided scripts, passing the necessary video IDs or search queries.
  4. Cache Management: The skill automatically checks the local .keyapi-cache/ directory before issuing live API requests.
  5. Result Synthesis: The agent processes the structured JSON output to generate reports on engagement, stream availability, or content trends.

KeyAPI YouTube Video Analysis Setup

To integrate this into your workflow, ensure you have Node.js v18 or higher installed. Follow these steps:

# 1. Install required MCP dependencies
npm install

# 2. Configure your environment with a free token from keyapi.ai
export KEYAPI_TOKEN=your_token_here

# 3. Verify connection by listing available tools
node scripts/run.js --platform youtube --list-tools

KeyAPI YouTube Video Analysis Data Schema & Taxonomy

The skill manages data using a structured directory hierarchy under .keyapi-cache/ organized by date and tool name. All responses are stored as JSON files with parameter-based hashes.

Data Node Key Metadata Provided
Video Info Title, description, views, likes, tags, chapters, and playerResponse
Comments Top-level comments and sub-comment reply continuation tokens
Streams Merged and adaptive playback URLs (valid for ~6 hours) and quality levels
Search Search results, continuation tokens for pagination, and Shorts-specific filters

KeyAPI YouTube Video Analysis Advanced Features

  • Intelligent cache-first policy to optimize quota usage and improve response times.
  • Support for nested reply analysis through specific sub-comment continuation tokens.
  • Advanced recency filtering (hour, day, week, month, year) for video discovery.
  • Shorts-specific search mode with mixed-content filtering for pure vertical video results.
  • Multi-category trend monitoring (Music, Gaming, Movies) with regional biasing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins node
Github Stars: 0
forks: 0

Featured*