npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

youtube-shorts-agent

v0.1.3

Published

Agent-first YouTube Shorts upload CLI and MCP server with dry-run uploads, OAuth readiness and synthetic-media metadata.

Readme

YouTube Shorts Agent

npm version npm downloads GitHub stars CI License: MIT Agent-first

If this agent-first tool helps your workflow, please star the repo. Stars make this agent-first tooling easier for other builders to discover and help Delx keep shipping open infrastructure.

Agent-first YouTube Shorts uploader for the YouTube Data API. It is designed for Codex, Claude, Cursor, Hermes, OpenClaw and any MCP client that needs a predictable upload workflow with dry-run safety, OAuth readiness checks and structured output.

Use it when an agent needs to prepare, validate or upload Shorts through the official API without touching YouTube Studio UI.

What Agents Get

  • youtube_agent_manifest for install/runtime guidance
  • youtube_connection_status before upload attempts
  • youtube_privacy_audit for local token and media boundaries
  • youtube_oauth_authorize_url with local PKCE session storage
  • youtube_upload_short with containsSyntheticMedia support
  • youtube_list_recent_videos for lightweight post-upload checks

Install

npm install -g youtube-shorts-agent

Or run directly:

npm exec --yes --package=youtube-shorts-agent -- youtube-shorts-agent doctor

CLI

youtube-shorts-agent manifest --client codex
youtube-shorts-agent doctor
youtube-shorts-agent privacy-audit
youtube-shorts-agent auth-url --redirect-uri http://localhost:8787/callback
youtube-shorts-agent upload-short --video ./short.mp4 --title "Launch title" --caption-file copy.txt
youtube-shorts-agent list-recent --max-results 10

Dry-run is enabled by default. Set YOUTUBE_DRY_RUN=false only when doctor reports a complete OAuth setup and you intend to call the live API.

MCP

youtube-shorts-mcp

HTTP transport:

YOUTUBE_MCP_TRANSPORT=http youtube-shorts-mcp

Hermes-style config:

mcp_servers:
  youtube_shorts:
    command: npx
    args: ["-y", "youtube-shorts-agent"]
    sampling:
      enabled: false

Recommended first calls:

  1. youtube_connection_status
  2. youtube_privacy_audit
  3. youtube_upload_short

Agent Surfaces

| Tool | Purpose | |---|---| | youtube_agent_manifest | Install/runtime guidance for Codex, Claude, Cursor, Hermes and OpenClaw | | youtube_connection_status | OAuth and dry-run readiness without token values | | youtube_privacy_audit | Upload scope, synthetic media and local file boundaries | | youtube_oauth_authorize_url | PKCE authorization URL with local session storage | | youtube_upload_short | Dry-run or live Shorts upload | | youtube_list_recent_videos | Lightweight channel verification |

Copy-Paste Agent Prompt

Use youtube-shorts-agent. First call youtube_connection_status and youtube_privacy_audit.
If uploading AI-generated media, keep containsSyntheticMedia=true. Never print token values.

Configuration

Copy .env.example to .env. Keep .env and .agent-data/ out of Git.

The upload tool sets containsSyntheticMedia=true by default for AI-generated or AI-edited videos. Override only when that is not true for the asset.

Safety Model

  • OAuth tokens are never returned by CLI or MCP tools.
  • PKCE verifier is stored locally in .agent-data/.
  • Live upload requires YOUTUBE_DRY_RUN=false.
  • The package uses the official YouTube Data API and does not automate Studio UI.

Development

npm install
npm test
npm run check