← 返回 Skills 市场
YouTube Analytics
作者
adamkristopher
· GitHub ↗
· v1.0.0
2403
总下载
6
收藏
7
当前安装
1
版本数
在 OpenClaw 中安装
/install youtube-analytics
功能描述
YouTube Data API v3 analytics toolkit. Analyze YouTube channels, videos, and search results. Use when the user asks to: check YouTube channel stats, analyze video performance, compare channels, search for videos, get subscriber counts, view engagement metrics, find trending videos, get channel uploads, or analyze YouTube competition. Requires a YouTube Data API v3 key from Google Cloud Console.
安全使用建议
This skill appears to implement a legitimate YouTube Data API toolkit, but the registry metadata failing to declare the required YOUTUBE_API_KEY is an important inconsistency. Before installing: (1) confirm the platform will ask you to provide the API key (it is required by the code); (2) create a dedicated API key restricted to the YouTube Data API and limit its usage (IP, HTTP referrer, quotas) to reduce risk; (3) run npm install and execute the code in a sandbox or isolated environment because it will install npm packages and write JSON files to a results/ directory in the project root; (4) inspect the code yourself (or request the publisher/source) if you need assurance there are no hidden endpoints — the code here only calls googleapis and writes local files; and (5) ask the skill author/registry maintainer to update the metadata to list YOUTUBE_API_KEY as a required credential so consent and prompting behave correctly.
功能分析
Type: OpenClaw Skill
Name: youtube-analytics
Version: 1.0.0
The OpenClaw skill bundle is a YouTube analytics toolkit that interacts with the YouTube Data API v3. All code and documentation align with its stated purpose. The `SKILL.md` file provides clear, benign instructions for setup and usage, without any evidence of prompt injection attempts against the AI agent. The TypeScript code (`scripts/src/**/*.ts`) uses standard libraries (`googleapis`, `dotenv`) to fetch data and saves results as JSON files exclusively within a dedicated `results/` directory, preventing arbitrary file system access or data exfiltration. Dependencies listed in `scripts/package.json` are legitimate, and there are no signs of malicious execution, persistence mechanisms, or obfuscation.
能力评估
Purpose & Capability
The skill's name, description, SKILL.md and code all match: it's a YouTube Data API v3 toolkit that needs a YOUTUBE_API_KEY and performs channel/video/search queries. However the registry metadata claims 'Required env vars: none' and 'Primary credential: none', which contradicts the code (scripts/src/config/settings.ts and core/client.ts enforce and use YOUTUBE_API_KEY). That mismatch is incoherent and could lead to missing prompts or accidental credential exposure.
Instruction Scope
SKILL.md instructs running npm install in scripts/, creating a .env with YOUTUBE_API_KEY and optional max results, then calling exported TypeScript functions or running with npx tsx. Runtime behavior is scoped to calling the YouTube API and saving results as JSON under results/{category}/; there are no instructions to read unrelated system files or send data to external endpoints other than Google's YouTube API. Be aware it will write files to the current working directory (results/).
Install Mechanism
There is no custom installer or remote URL; install is standard npm install using package.json (dependencies: dotenv, googleapis, tsx, typescript). No downloads from obscure hosts or archive extracts are present in the manifest. Running npm install will fetch npm packages from the registry (normal but has the usual supply-chain considerations).
Credentials
The code requires YOUTUBE_API_KEY (and optionally YOUTUBE_DEFAULT_MAX_RESULTS) but the skill metadata does not declare any required environment variables or primary credential. Requiring a YouTube API key is proportional for the stated purpose, but the missing declaration is an inconsistency that affects consent and credential-handling policies. The API key is a sensitive secret and should be declared and scoped (restrict referer/IP/usage) before use.
Persistence & Privilege
The skill does not ask for permanent platform-wide presence (always:false) and does not modify other skills or global agent settings. Its persistent action is local auto-saving of JSON results into results/ — expected for an analytics toolkit.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install youtube-analytics - 安装完成后,直接呼叫该 Skill 的名称或使用
/youtube-analytics触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — YouTube Data API v3 toolkit for channel analytics, video analysis, and search
元数据
常见问题
YouTube Analytics 是什么?
YouTube Data API v3 analytics toolkit. Analyze YouTube channels, videos, and search results. Use when the user asks to: check YouTube channel stats, analyze video performance, compare channels, search for videos, get subscriber counts, view engagement metrics, find trending videos, get channel uploads, or analyze YouTube competition. Requires a YouTube Data API v3 key from Google Cloud Console. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2403 次。
如何安装 YouTube Analytics?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install youtube-analytics」即可一键安装,无需额外配置。
YouTube Analytics 是免费的吗?
是的,YouTube Analytics 完全免费(开源免费),可自由下载、安装和使用。
YouTube Analytics 支持哪些平台?
YouTube Analytics 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 YouTube Analytics?
由 adamkristopher(@adamkristopher)开发并维护,当前版本 v1.0.0。
推荐 Skills