Skip to content
Back to skills

Youtube Publish

ASecurity

Load to draft a YouTube upload, comment or reply, or send a draft after the user's recorded approval.

  • 92 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentspythongoexpressgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add vanillagreencom/kendex --skill youtube-publish --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Youtube Publish?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Youtube Publish
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vanillagreencom-youtube-publish/badge)](https://www.skillsdirectory.com/skills/vanillagreencom-youtube-publish)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: youtube-publish
description: "Load to draft a YouTube upload, comment or reply, or send a draft after the user's recorded approval."
license: MIT
user-invocable: true
metadata:
  author: "vanillagreen"
  source: "kendex"
  repository: "https://github.com/vanillagreencom/kendex"
  bugs: "https://github.com/vanillagreencom/kendex/issues"
---

<!-- kendex:project-instructions:start -->
## Project Instructions

<!-- kendex:shared-instructions:start -->
Problems with a kendex-owned skill go through `kendex report`; check ownership in the file first.
<!-- kendex:shared-instructions:end -->
<!-- kendex:project-instructions:end -->

# YouTube publish

Use Python 3.8 or newer. The executable is `scripts/youtube-publish` under this installed skill.

## Consumer setup

- The consumer supplies `YOUTUBE_CHANNEL_ID` and `YOUTUBE_APPROVER_EMAIL` in the command environment. The email identifies the user who can approve a request on Linear.
- The consumer supplies `YOUTUBE_ACCESS_TOKEN` through a private credential route.
- Keep the OAuth client, its secret, refresh token and access token outside the package and version control.
- An API key does not authorize uploads or comments.
- Use the consumer's OAuth client with `youtube.upload` and `youtube.readonly` for uploads and their channel check.
- Use `youtube.force-ssl` for comments and replies.
- The consumer's authorization tool owns token acquisition, renewal and revocation. See [authorization](https://developers.google.com/youtube/v3/guides/authentication).
- The installed Linear skill's configured credentials must be able to read the consumer's tracker item and comment authors.

## Draft and approval

To draft an upload, comment or reply, or to send a draft after its recorded approval, follow [workflows/publish.md](workflows/publish.md).

- Each draft prints an `approval_record` object.
- The user records their explicit yes by posting that object as the entire comment body on the named Linear item.
- The comment must come from `YOUTUBE_APPROVER_EMAIL`.
- A caller's assertion or an agent-authored approval is insufficient.
- The sending path reads the tracker item and comments live. It checks the author, decision, item and digest before any YouTube request.
- A changed draft or changed video needs a new approval.
- A failed or interrupted write can have an uncertain result. Stop and check the channel with the user before any new attempt.
- Do not repeat a successful request or reuse its approval for another send.

## Consent and spam

- YouTube requires specific express consent before uploads, comments and other actions.
- OAuth permission alone does not approve a particular send.
- Follow [Developer Policies III.E.3 and III.I.2](https://developers.google.com/youtube/terms/developer-policies).
- YouTube prohibits spam, harassment and disruptive commercial messages. Approval does not permit those actions.
- Draft a relevant comment or reply for its named recipient.
- Do not use repeated unsolicited promotion or bulk comment campaigns.
- Follow [Developer Policies III.I.11 and III.I.20](https://developers.google.com/youtube/terms/developer-policies).
- Report the returned visibility. Do not claim that a video became public from the requested setting alone. See [upload response](https://developers.google.com/youtube/v3/docs/videos/insert).

Files in this skill

  • SKILL.md3.5 KB
  • scripts/youtube-publish148 B
  • scripts/youtube-publish.py10.6 KB
  • workflows/publish.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.