← Back to Skills Marketplace
bin-huang

Youtube Analytics CLI

by Bin-Huang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
127
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install youtube-analytics-cli
Description
YouTube channel statistics, video data, and analytics reporting via youtube-analytics-cli. Use when the user wants to check YouTube channel stats, video perf...
Usage Guidance
This skill's instructions are consistent with a YouTube analytics CLI, but the published metadata fails to declare that it needs a CLI binary, environment variables, and a credentials file. Before installing or using it: 1) Verify the npm package name and maintainer on the npm registry and review the package source (or prefer installing in an isolated environment). 2) Prefer using an API key for public data; avoid supplying client_secret/refresh_token unless you trust the package and understand the risk. 3) If you must use OAuth, consider using the `--credentials <path>` flag with a temporary credentials file rather than leaving credentials in your home config. 4) Ask the skill author to update metadata to list required env vars/config paths so you can make an informed decision.
Capability Analysis
Type: OpenClaw Skill Name: youtube-analytics-cli Version: 1.0.0 The skill documentation in SKILL.md instructs the agent to perform high-risk actions including global software installation (`npm install -g youtube-analytics-cli`) and the retrieval of sensitive OAuth credentials (client secrets and refresh tokens) from environment variables or local configuration files (`~/.config/youtube-analytics-cli/credentials.json`). While these capabilities are aligned with the stated purpose of managing YouTube Analytics, the use of shell execution and access to authentication secrets represents a significant security risk and attack surface, despite the lack of explicit evidence of malicious intent.
Capability Tags
requires-oauth-token
Capability Assessment
Purpose & Capability
The name/description and SKILL.md are coherent: they describe a CLI that queries YouTube Data/Analytics. However the registry metadata claims no required binaries, no env vars, and no config paths, while the instructions clearly require the youtube-analytics-cli binary (or an npm install), environment variables (YOUTUBE_API_KEY, YOUTUBE_CLIENT_ID, YOUTUBE_CLIENT_SECRET, YOUTUBE_REFRESH_TOKEN), and an auto-detected credentials file (~/.config/youtube-analytics-cli/credentials.json). The omission of these requirements in the metadata is an inconsistency.
Instruction Scope
The instructions stay within the stated purpose (fetch channel/video/analytics data), but they explicitly direct the agent to read environment variables and to auto-detect/read a credentials JSON in the user's home config directory. Those actions are necessary for OAuth operations but are sensitive and should have been declared in the skill metadata. The SKILL.md also instructs installing a global npm package if the CLI is missing.
Install Mechanism
There is no formal install spec in the metadata, but SKILL.md tells users/agents to run `npm install -g youtube-analytics-cli`. Installing from the public npm registry is a moderate-risk action (writes code to disk and executes it); the skill does not provide a package URL, version, or author, so users should verify the npm package and its source before installing.
Credentials
The runtime docs require OAuth credentials (client_id, client_secret, refresh_token) and optionally an API key, which are reasonably needed for the CLI's full capabilities. However, the skill metadata declared no required environment variables or config paths — that mismatch reduces transparency. OAuth credentials are sensitive (can provide account access), so the request should be explicit in metadata and limited to what is necessary.
Persistence & Privilege
The skill does not request 'always: true' or any special persistent privileges. It does not declare modifying other skills or system-wide settings. Autonomous invocation is allowed by default but not combined with other elevated privileges here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install youtube-analytics-cli
  3. After installation, invoke the skill by name or use /youtube-analytics-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of youtube-analytics-cli skill. - Provides CLI access to YouTube channel statistics, video data, and analytics reports. - Supports both public data (API key) and private analytics (OAuth 2.0). - Fetch channel/video details, run analytics reports with flexible dimensions/filters. - Manage and list analytics groups and group items. - Outputs pretty-printed or compact JSON; errors in standard JSON format.
Metadata
Slug youtube-analytics-cli
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Youtube Analytics CLI?

YouTube channel statistics, video data, and analytics reporting via youtube-analytics-cli. Use when the user wants to check YouTube channel stats, video perf... It is an AI Agent Skill for Claude Code / OpenClaw, with 127 downloads so far.

How do I install Youtube Analytics CLI?

Run "/install youtube-analytics-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Youtube Analytics CLI free?

Yes, Youtube Analytics CLI is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Youtube Analytics CLI support?

Youtube Analytics CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Youtube Analytics CLI?

It is built and maintained by Bin-Huang (@bin-huang); the current version is v1.0.0.

💬 Comments