YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking

YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
3 · 1.2k · 2 current installs · 2 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The SKILL.md and code (python client + curl examples) align with the stated purpose: searching YouTube SERPs via a third‑party API (api.aisa.one). Requesting an AISA_API_KEY and requiring curl/python3 is reasonable for this functionality. However, the registry metadata at the top of the package lists no required env vars or binaries while the SKILL.md metadata explicitly lists AISA_API_KEY and bins (curl, python3). This mismatch is an incoherence that should be resolved.
Instruction Scope
Runtime instructions limit actions to calling api.aisa.one endpoints and running the included python client (scripts/youtube_client.py). They instruct the agent to set AISA_API_KEY and to use curl/python3 to query the AIsa API. The instructions do not direct the agent to read unrelated system files or exfiltrate arbitrary local data, so scope is consistent with the stated purpose.
Install Mechanism
No install spec is provided (instruction-only), which is low risk. A Python script is included in the package but nothing in the manifest auto-installs external binaries or downloads code from arbitrary URLs. The presence of a bundled script without an install step is not itself problematic, but you should inspect that script before execution.
!
Credentials
The SKILL.md declares a single credential (AISA_API_KEY) which is appropriate for a service-backed search tool. The concern is the mismatch: the package registry metadata declares no required env vars while SKILL.md requires AISA_API_KEY and marks it primaryEnv. That inconsistency could lead to the skill attempting to use an API key even though the registry does not surface that requirement to users—verify the key requirement and why the registry metadata omits it.
Persistence & Privilege
No special privileges are requested: always is not set, and disableModelInvocation is not set (default behavior). The skill is not force‑included and does not demand permanent elevated privileges. It will be able to be invoked by the model when allowed, which is normal for an integration skill.
What to consider before installing
This skill appears to do what it says (query a third‑party AIsa API for YouTube SERP results) and requires an AISA_API_KEY and curl/python3. Before installing: (1) confirm the registry metadata vs SKILL.md—ask the publisher why the registry lists no required env vars while SKILL.md requires AISA_API_KEY; (2) verify you trust api.aisa.one and its privacy/usage terms (the skill will send queries to that external service); (3) open and review scripts/youtube_client.py to ensure it does not access unexpected local files or transmit data beyond the YouTube queries; and (4) only provide an API key scoped minimally (rotate/revoke it if needed). If the publisher cannot explain the metadata mismatch or you cannot review the included script, treat the package with caution.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk9787t42jjr34xrfxgzw80pw0180ny6j

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

📺 Clawdis
Binscurl, python3
EnvAISA_API_KEY
Primary envAISA_API_KEY

SKILL.md

OpenClaw YouTube 📺

YouTube SERP Scout for autonomous agents. Powered by AIsa.

One API key. Rank discovery. Content research. Competitor tracking.

🔥 What Can You Do?

Content Research

"Find top-ranking videos about 'AI agents tutorial' to see what's working"

Competitor Tracking

"Search for videos from competitor channels about 'machine learning'"

Trend Discovery

"What are the top YouTube videos about 'GPT-5' right now?"

Topic Analysis

"Find popular videos on 'autonomous driving' to understand audience interest"

Channel Discovery

"Search for channels creating content about 'crypto trading'"

Quick Start

export AISA_API_KEY="your-key"

Core Capabilities

Basic YouTube Search

# Search for videos
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI+agents+tutorial" \
  -H "Authorization: Bearer $AISA_API_KEY"

Search with Country Filter

# Search in specific country (US)
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=machine+learning&gl=us" \
  -H "Authorization: Bearer $AISA_API_KEY"

# Search in Japan
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI&gl=jp&hl=ja" \
  -H "Authorization: Bearer $AISA_API_KEY"

Search with Language Filter

# Search with interface language
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=python+tutorial&hl=en" \
  -H "Authorization: Bearer $AISA_API_KEY"

# Chinese interface
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=编程教程&hl=zh-CN&gl=cn" \
  -H "Authorization: Bearer $AISA_API_KEY"

Pagination with Filter Token

# Use sp parameter for pagination or advanced filters
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI&sp=<filter_token>" \
  -H "Authorization: Bearer $AISA_API_KEY"

Python Client

# Basic search
python3 {baseDir}/scripts/youtube_client.py search --query "AI agents tutorial"

# Search with country
python3 {baseDir}/scripts/youtube_client.py search --query "machine learning" --country us

# Search with language
python3 {baseDir}/scripts/youtube_client.py search --query "python tutorial" --lang en

# Full options
python3 {baseDir}/scripts/youtube_client.py search --query "GPT-5 news" --country us --lang en

# Competitor research
python3 {baseDir}/scripts/youtube_client.py search --query "OpenAI tutorial"

# Trend discovery
python3 {baseDir}/scripts/youtube_client.py search --query "AI trends 2025"

Use Cases

1. Content Gap Analysis

Find what content is ranking well to identify gaps in your strategy:

# Search for top videos in your niche
results = client.search("AI automation tutorial")
# Analyze titles, views, and channels to find opportunities

2. Competitor Monitoring

Track what competitors are publishing:

# Search for competitor brand + topic
results = client.search("OpenAI GPT tutorial")
# Monitor ranking changes over time

3. Keyword Research

Discover what topics are trending:

# Search broad topics to see what's popular
results = client.search("artificial intelligence 2025")
# Extract common keywords from top-ranking titles

4. Audience Research

Understand what your target audience watches:

# Search in specific regions
results = client.search("coding tutorial", country="jp", lang="ja")
# Analyze regional content preferences

5. SEO Analysis

Analyze how videos rank for specific keywords:

# Track ranking positions for target keywords
keywords = ["AI tutorial", "machine learning basics", "Python AI"]
for kw in keywords:
    results = client.search(kw)
    # Record top 10 videos and their channels

API Endpoint Reference

EndpointMethodDescription
/youtube/searchGETSearch YouTube SERP

Request Parameters

ParameterTypeRequiredDescription
enginestringYesMust be youtube
qstringYesSearch query
glstringNoCountry code (e.g., us, jp, uk, cn)
hlstringNoInterface language (e.g., en, ja, zh-CN)
spstringNoYouTube filter token for pagination/filters

Response Format

{
  "search_metadata": {
    "id": "search_id",
    "status": "Success",
    "created_at": "2025-01-15T12:00:00Z",
    "request_time_taken": 1.23,
    "total_time_taken": 1.45
  },
  "search_results": [
    {
      "video_id": "abc123xyz",
      "title": "Complete AI Agents Tutorial 2025",
      "link": "https://www.youtube.com/watch?v=abc123xyz",
      "channel_name": "AI Academy",
      "channel_link": "https://www.youtube.com/@aiacademy",
      "description": "Learn how to build AI agents from scratch...",
      "views": "125K views",
      "published_date": "2 weeks ago",
      "duration": "45:30",
      "thumbnail": "https://i.ytimg.com/vi/abc123xyz/hqdefault.jpg"
    }
  ]
}

Country Codes (gl)

CodeCountry
usUnited States
ukUnited Kingdom
jpJapan
cnChina
deGermany
frFrance
krSouth Korea
inIndia
brBrazil
auAustralia

Language Codes (hl)

CodeLanguage
enEnglish
jaJapanese
zh-CNChinese (Simplified)
zh-TWChinese (Traditional)
koKorean
deGerman
frFrench
esSpanish
ptPortuguese
ruRussian

Pricing

APICost
YouTube search~$0.002

Every response includes usage.cost and usage.credits_remaining.


Get Started

  1. Sign up at aisa.one
  2. Get your API key
  3. Add credits (pay-as-you-go)
  4. Set environment variable: export AISA_API_KEY="your-key"

Full API Reference

See API Reference for complete endpoint documentation.

Files

3 total
Select a file
Select a file to preview.

Comments

Loading comments…