Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

video-optimization视频优化

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

11,382

周安装

456

GitHub Stars

409

下载量

3,684
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-optimization(视频优化)
来源仓库:https://github.com/kostja94/marketing-skills
仓库路径:skills/video-optimization
安装命令:
npx skills add https://github.com/kostja94/marketing-skills --skill video-optimization
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kostja94/marketing-skills --skill video-optimization

简介

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。

  • 它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。
  • 使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。
  • 安装方式:github,通过 npx skills add 命令添加指定仓库中的技能。
  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

SKILL.md

SEO On-Page: Video Optimization

Guides video optimization for Google Search (main results, video mode, Google Images, Discover), video sitemap, VideoObject schema, and indexing. Note: Google now prioritizes YouTube video results in search; YouTube + Reddit comprise ~78% of social media citations in AI Overviews. For YouTube-specific optimization, see youtube-seo; for GEO distribution via YouTube, see generative-engine-optimization. References: Google Video SEO, Semrush YouTube SEO.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope

  • Discovery & indexing: HTML embed elements, video sitemap
  • Metadata: Title, description, thumbnail; stable URLs
  • Structured data: VideoObject schema
  • Features: Video preview, key moments (Clip, SeekToAction), LIVE badge
  • YouTube prioritization: Google favors YouTube in search; embed or host on YouTube for GEO citation

YouTube in Google Search (2025+)

Google prioritizes YouTube video results across search. YouTube receives 48.6B monthly visits (second to Google.com) and is treated as core search infrastructure for AI-driven discovery. Search Engine Land

ContextImplication
AI OverviewsYouTube citations surged 25.21% since Jan 2025; instructional (+35.6%), visual demos (+32.5%); long-form dominates (94%)
GEOYouTube + Reddit = ~78% of social media citations; Perplexity (38.7%) and Google AI Overviews (36.6%) drive most YouTube citations
StrategyEmbed YouTube on site pages for dual indexing; or host on YouTube for GEO citation. See youtube-seo, generative-engine-optimization

Initial Assessment

Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for brand and page context.

Identify:

  1. Hosting: Self-hosted vs YouTube/Vimeo embed
  2. Page type: Dedicated watch page vs supplementary (e.g. blog with embedded video)
  3. Features needed: Preview, key moments, LIVE badge

1. Discovery & Indexing

Use Standard HTML Embed Elements

Google finds videos in <video>, <embed>, <iframe>, or <object>. Do not use fragment identifiers to load video; avoid requiring user interaction (click, swipe) to load.

DoDon't
<video><source src="...mp4"/></video>Fragment-only load; JS-injected without fallback
<iframe src="https://youtube.com/embed/...">Hide video behind paywall without paywall structured data

JavaScript injection: If video is injected via JS, ensure it appears in rendered HTML; use URL Inspection in Search Console. If using Media Source API, inject HTML video container even when API fails so Google can find metadata.

Video Sitemap

Submit a video sitemap to help Google discover videos. Use <video:video> extension; <loc> = watch page URL.

Structure (from Google):

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
  <url>
    <loc>https://example.com/videos/watch-page.html</loc>
    <video:video>
      <video:thumbnail_loc>https://example.com/thumbs/123.jpg</video:thumbnail_loc>
      <video:title>Grilling steaks for summer</video:title>
      <video:description>Bob shows you how to grill steaks perfectly.</video:description>
      <video:player_loc>https://example.com/player?video=123</video:player_loc>
    </video:video>
  </url>
</urlset>

See xml-sitemap for sitemap index. Video sitemap is an extension; can be standalone or combined.

Indexing Requirements

  • Watch page must be indexed and perform well in search
  • Video embedded on watch page; not hidden behind elements
  • Thumbnail: Valid, stable URL; ≥60×30 px; ≥80% alpha >250 (no heavy transparency)
  • Supported formats: 3GP, 3G2, ASF, AVI, DivX, M2V, M3U, M3U8, M4V, MKV, MOV, MP4, MPEG, OGV, WebM, WMV, etc. Data URLs not supported.

Dedicated Watch Page

For video features (main results, video mode, key moments, LIVE badge), create a dedicated watch page per video—page whose primary purpose is to display that video. Examples: video landing page, episode player page, news video page. Not watch pages: blog with embedded video, product page with 360° video, category page with multiple videos.


2. Stable URLs

  • Thumbnail: Stable URL; CDNs with fast-expiring URLs can prevent indexing
  • Content URL: Stable for video preview and key moments; use contentUrl in VideoObject
  • Player URL: Stable for embedUrl / player_loc

3. Thumbnail & Metadata

Thumbnail Sources (in priority order)

SourceHow
<video> posterposter attribute
Video sitemap<video:thumbnail_loc>
VideoObjectthumbnailUrl
OGPog:video:image

Use same thumbnail URL across all metadata sources.

Thumbnail Specs

SpecRequirement
FormatsBMP, GIF, JPEG, PNG, WebP, SVG, AVIF
SizeMin 60×30 px; larger preferred
Transparency≥80% of pixels with alpha >250
AccessMust be crawlable (no robots.txt block, no login)

Unique Metadata per Video

Provide unique thumbnailUrl, name, and description for each video in structured data and sitemap. Consistency with visible content is required.


4. VideoObject Schema

{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "name": "Grilling steaks for summer",
  "description": "Bob shows you how to grill steaks perfectly every time.",
  "thumbnailUrl": "https://example.com/thumbs/123.jpg",
  "uploadDate": "2025-01-15T08:00:00Z",
  "contentUrl": "https://example.com/video/123.mp4",
  "embedUrl": "https://example.com/player?video=123"
}

Required for rich results: thumbnailUrl, name, description. Add contentUrl for video preview and key moments. See schema-markup for full VideoObject; serp-features for Video SERP feature.


5. Video Features

Video Preview

Google selects short clips as dynamic previews. Allow Google to fetch video file; use max-video-preview robots meta to limit duration.

Key Moments (Chapters)

MethodUse
ClipExact start/end + label per segment; all languages
SeekToActionTell Google where timestamps live in URL; auto-detect; supported languages: en, es, pt, it, zh, fr, ja, de, tr, ko, nl, ru
YouTubeTimestamps in description; see youtube-seo

Disable key moments: nosnippet meta.

LIVE Badge

Use BroadcastEvent schema for live streams to show "LIVE" in results.


6. Allow Google to Fetch Video File

For video preview and key moments, Google must fetch the actual video bytes. Do not block contentUrl with noindex or robots.txt. Use stable URLs; ensure both watch page host and video/CDN host have sufficient capacity for crawling.


7. Third-Party Embeds (YouTube, Vimeo)

Google may index both your page and the platform's page. For your watch page: still add VideoObject and optionally video sitemap. For more features (preview, key moments), confirm the platform allows Google to fetch video files.


8. Removal & Restrictions

  • Remove: 404 on watch page, or noindex; or set expires in schema / <video:expiration_date> in sitemap
  • Geo-restrict: regionsAllowed or ineligibleRegion in VideoObject; <video:restriction> in sitemap

9. SafeSearch & Monitoring

  • Mark pages appropriately for SafeSearch if content is adult. See Google SafeSearch.
  • Search Console: Video indexing report; Video rich results report; Performance filtered by "Video" search appearance.

Specs by Context

ContextPriorityNotes
Website videoVideoObject, sitemap, thumbnailThis skill
YouTubeTitle, description, chapters, thumbnailSee youtube-seo
GEO / AI citationYouTube distribution; long-formSee generative-engine-optimization
Featured Snippet (video)Video schema; timestampsSee featured-snippet

Related Skills

  • youtube-seo: YouTube titles, descriptions, thumbnails, chapters
  • schema-markup: VideoObject, BroadcastEvent; rich results
  • serp-features: Video SERP feature; rich results
  • featured-snippet: Video snippet format
  • xml-sitemap: Video sitemap extension
  • google-search-console: Video indexing report; Video rich results

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.47%
按下载量换算1,307

Claude

32.6%
按下载量换算1,201

Cursor

17.71%
按下载量换算652

Gemini CLI

9.51%
按下载量换算350

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills