youtube-marketing
VerifiedPlan, write, and publish for YouTube and YouTube Shorts. Use when the user wants high-CTR video titles, an SEO description with chapters and links, a first-30-seconds retention script (or a 3-second Shorts hook), a designer-ready thumbnail brief, a community-tab post or poll, or a weekly upload plan. The user supplies the video; the skills produce the title, description, hook, and thumbnail brief, then on approval upload and schedule via the Publora API.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.6 KB |
| assets/hero.png | binary | 3.8 MB |
| assets/icon.svg | other | 768 B |
| assets/social-preview.jpg | binary | 58.4 KB |
| references/algorithm-heuristics.md | markdown | 8.5 KB |
| references/hook-formulas.md | markdown | 15.8 KB |
| references/thumbnail-principles.md | markdown | 6.5 KB |
| references/untrusted-content.md | markdown | 2.8 KB |
| references/voice-profile.md | markdown | 1.7 KB |
| references/voice-rules.md | markdown | 6.1 KB |
| scripts/check_frontmatter.py | script | 3.8 KB |
| scripts/check_markdown_references.py | script | 1.7 KB |
| scripts/check_no_secrets.py | script | 4.7 KB |
| scripts/check_security_boundaries.pyexecutable | script | 3.8 KB |
| scripts/check_text_encoding.pyexecutable | script | 3.4 KB |
| scripts/check_untrusted_rule.pyexecutable | script | 3.1 KB |
| scripts/sync_codex_marketplace.py | script | 3.5 KB |
scripts/check_text_encoding.py
View on GitHub#!/usr/bin/env python3
"""Text I/O must state its encoding, so the bundle behaves the same on Windows.
Python's default text encoding is the locale's. On Linux and macOS that is
UTF-8, so a `read_text()` without `encoding=` works and nobody notices. On
Windows it is the ANSI code page, cp1252 on most installs: the same call
misreads the em dashes and curly quotes this bundle's markdown is full of, or
fails outright on a byte cp1252 does not define.
This check is static, so a Linux CI run catches a new unencoded call before a
Windows user does. Ported from the linkedin bundle, where the problem was
reported against a real Windows 11 install.
Run from the repo root:
python3 scripts/check_text_encoding.py
"""
import ast
import os
import pathlib
import sys
ROOT = pathlib.Path(__file__).resolve().parent.parent
#: Dot-directories (.git, the generated package), scratch and virtualenvs are
#: not this repo's source.
SKIP_DIRS = {"venv", "testing", "marketing", "node_modules"}
MODE_CHARS = set("rwxabt+")
def sources() -> list[pathlib.Path]:
found = []
for folder, dirs, files in os.walk(ROOT):
dirs[:] = [d for d in dirs if not d.startswith(".") and d not in SKIP_DIRS]
found += [pathlib.Path(folder, name) for name in files if name.endswith(".py")]
return sorted(found)
def unencoded_text_io(tree: ast.AST):
"""(line, call) for each text-mode open / read_text / write_text with no `encoding=`."""
for node in ast.walk(tree):
if not isinstance(node, ast.Call) or any(k.arg == "encoding" for k in node.keywords):
continue
func = node.func
name = func.attr if isinstance(func, ast.Attribute) else getattr(func, "id", None)
if name in ("read_text", "write_text"):
yield node.lineno, name
elif name == "open":
# open(path, mode) for the builtin, path.open(mode) for pathlib. An
# attribute call whose first argument is not a mode (webbrowser.open,
# Image.open) is something else and is left alone.
builtin = isinstance(func, ast.Name)
args = node.args[1:] if builtin else node.args
mode = args[0] if args else next(
(k.value for k in node.keywords if k.arg == "mode"), None)
if mode is None:
if builtin:
yield node.lineno, "open"
elif isinstance(mode, ast.Constant) and isinstance(mode.value, str) \
and set(mode.value) <= MODE_CHARS and "b" not in mode.value:
yield node.lineno, "open"
def main() -> int:
problems = []
scanned = 0
for path in sources():
try:
tree = ast.parse(path.read_text(encoding="utf-8"))
except (SyntaxError, UnicodeDecodeError) as exc:
problems.append(f"{path.relative_to(ROOT)}: will not parse: {exc}")
continue
scanned += 1
for line, call in unencoded_text_io(tree):
problems.append(
f"{path.relative_to(ROOT)}:{line}: {call}() without `encoding=`. "
f"Pass encoding=\"utf-8\"; the locale default is cp1252 on Windows.")
if problems:
print("Text I/O without an encoding:\n" + "\n".join(" " + p for p in problems))
return 1
print(f"OK: {scanned} Python files, every text-mode read and write names its encoding.")
return 0
if __name__ == "__main__":
sys.exit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |