muapi-youtube-shorts

muapi-youtube-shorts is a skill for OpenCode from SamurAIGPT/Generative-Media-Skills. It costs 85 tokens per session (1,605 once invoked), scanned A, original, MIT.

A video tool that finds highlights in a long video and turns them into vertical short clips for YouTube Shorts, TikTok, or Instagram Reels.

In plain words
What is it for?
Use it with a YouTube link, hosted video file, or local video to create ranked clips, or to identify highlight time ranges for your own video renderer.
Why use it?
It removes the need to manually search for interesting moments and crop each clip for a short-video platform.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash library/social/youtube-shorts/scripts/run-youtube-shorts.sh \.

not rated 4.3krepo +40 3d ago A scan Socket: warnSnyk: warnSkillSpector: pass 85 tokens original MIT

Good fit Use it with a YouTube link, hosted video file, or local video to create ranked clips, or to identify highlight time ranges for your own video renderer.

Compare 6 skills from other repositories ↓
About the project

Generative-Media-Skills is a toolkit that lets AI agents generate, edit, and display images, videos, and audio through the muapi command-line interface. It is for users of Claude Code, Cursor, Gemini CLI, and OpenCode who need multimodal media-generation workflows. The catalogue entries are the skills that expose these media capabilities to coding agents.

SamurAIGPT/Generative-Media-Skills · 4,263 stars · on GitHub · muapi.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/SamurAIGPT/Generative-Media-Skills
agentmods
npx agentmods add skills/samuraigpt/generative-media-skills/muapi-youtube-shorts

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for muapi-youtube-shorts

README.md
[![agentmods](https://agentmods.dev/badge/skills/samuraigpt/generative-media-skills/muapi-youtube-shorts/github.svg)](https://agentmods.dev/skills/samuraigpt/generative-media-skills/muapi-youtube-shorts)
Your own site
<a href="https://agentmods.dev/skills/samuraigpt/generative-media-skills/muapi-youtube-shorts"><img src="https://agentmods.dev/badge/skills/samuraigpt/generative-media-skills/muapi-youtube-shorts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for muapi-youtube-shorts

Your own site · 80×15
<a href="https://agentmods.dev/skills/samuraigpt/generative-media-skills/muapi-youtube-shorts"><img src="https://agentmods.dev/badge/skills/samuraigpt/generative-media-skills/muapi-youtube-shorts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,605 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket warn 3 May 2026
  • Snyk warn 3 May 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.01605
Opus 5 $0.00043 $0.00803
Sonnet 5 $0.00017 $0.00321
Haiku 4.5 $0.00009 $0.00161

Measured 13d ago against content hash 4d8c374199c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

muapi-youtube-shorts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.opencode/skills/muapi-youtube-shorts/SKILL.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

YouTube Shorts Generator

Long video → ranked vertical short clips, tuned for short-form social.

This skill is a platform-aware preset over the AI Clipping primitive. It picks the right aspect ratio and clip count for the target platform and delegates highlight extraction, dedupe, and face-tracked auto-crop to muapi.ai's managed /ai-clipping endpoint.

Reference implementation: https://github.com/SamurAIGPT/AI-Youtube-Shorts-Generator Underlying API: https://muapi.ai/playground/ai-clipping


When to Use This vs. AI Clipping

Use this skill when… Use AI Clipping directly when…
Target is YouTube Shorts / TikTok / Reels You want full control over aspect / count
You want platform-tuned defaults You want raw timestamps (--coords-only)
You'd rather pass --platform tiktok than think about ratios You're integrating into a custom renderer

Agent Execution Protocol

Step 1 — Collect Inputs

Input Default Notes
--source YouTube URL, hosted mp4 URL, or local file
--platform shorts shorts | tiktok | reels | feed (sets ratio + count defaults)
--num-clips platform default Override clip count
--aspect-ratio platform default Override aspect ratio

If the user gave only a URL, run with platform defaults — don't block.


Step 2 — Verify Prerequisites

  • muapi-cli installed and authed (muapi auth configure)
  • MUAPI_API_KEY available

That's it. Transcription, highlight ranking, dedupe, and cropping all run server-side — no ffmpeg, no Python, no Whisper, no LLM keys needed locally.


Step 3 — Run the Pipeline

bash library/social/youtube-shorts/scripts/run-youtube-shorts.sh \
  --source "<YOUTUBE_URL>" \
  --platform shorts \
  --num-clips 5 \
  --view

The script:

  1. Resolves the source (uploads local files to muapi CDN if needed).
  2. Picks platform defaults if --aspect-ratio / --num-clips aren't passed.
  3. Calls muapi edit clipping (the /ai-clipping endpoint) with the chosen params.
  4. Polls until done, prints a ranked summary, optionally downloads / opens clips.

Read the full file on GitHub · 174 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 174 lines · 85 tokens per session scan A 4d8c374199c9

Subscribe to this mod's changes

muapi-youtube-shorts is a skill published in the GitHub repository SamurAIGPT/Generative-Media-Skills (4,263 stars, last pushed 3d ago), licensed MIT. It adds 85 tokens to every session and 1,605 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mlops-automation

Automate an MLOps project with mise tasks, lefthook hooks, Docker images, GitHub Actions, and MLflow tracking on a SQL backend. Use when adding a task runner, git hooks, CI/CD, or experiment tracking to a working package.

MLOps-Courses/mlops-coding-skills · 58 tokens

mlops-validation

Add the validation layers that gate a merge — ty typing, Ruff linting, pytest coverage, structured logging, and the trivy, pip-audit, and gitleaks scans. Use when hardening code quality or wiring the mise run check task.

MLOps-Courses/mlops-coding-skills · 55 tokens

mlops-prototyping

Structure reproducible Jupyter notebooks with a fixed section layout, hoisted configuration, and leakage-free scikit-learn pipelines. Use when exploring a dataset, training a first model, or preparing a notebook for promotion.

MLOps-Courses/mlops-coding-skills · 50 tokens

mlops-collaboration

Prepare a project for public collaboration — license, code of conduct, docs, branch rulesets, templates, and git-cliff releases. Use when open-sourcing a repository, onboarding contributors, or cutting a tagged release.

MLOps-Courses/mlops-coding-skills · 50 tokens

mlops-observability

Make an ML system a glass box with reproducible runs, MLflow dataset lineage, drift monitoring, alerting, and SHAP explanations. Use when a deployed model needs traceability, monitoring, alerting, or explanation.

MLOps-Courses/mlops-coding-skills · 51 tokens

mlops-industrialization

Convert notebook prototypes into a distributable Python package with a src layout, a domain/io/application split, and validated OmegaConf plus Pydantic configuration. Use when moving code out of notebooks or designing entrypoints.

MLOps-Courses/mlops-coding-skills · 48 tokens