← 返回 Skills 市场
kostja94

video-optimization

作者 Kostja Zhang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install video-optimization
功能描述
When the user wants to optimize videos for Google Search, video sitemap, VideoObject schema, or video SEO on websites. Also use when the user mentions "video...
使用说明 (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

Context Implication
AI Overviews YouTube citations surged 25.21% since Jan 2025; instructional (+35.6%), visual demos (+32.5%); long-form dominates (94%)
GEO YouTube + Reddit = ~78% of social media citations; Perplexity (38.7%) and Google AI Overviews (36.6%) drive most YouTube citations
Strategy Embed 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 \x3Cvideo>, \x3Cembed>, \x3Ciframe>, or \x3Cobject>. Do not use fragment identifiers to load video; avoid requiring user interaction (click, swipe) to load.

Do Don't
\x3Cvideo>\x3Csource src="...mp4"/>\x3C/video> Fragment-only load; JS-injected without fallback
\x3Ciframe 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 \x3Cvideo:video> extension; \x3Cloc> = watch page URL.

Structure (from Google):

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

Source How
\x3Cvideo> poster poster attribute
Video sitemap \x3Cvideo:thumbnail_loc>
VideoObject thumbnailUrl
OGP og:video:image

Use same thumbnail URL across all metadata sources.

Thumbnail Specs

Spec Requirement
Formats BMP, GIF, JPEG, PNG, WebP, SVG, AVIF
Size Min 60×30 px; larger preferred
Transparency ≥80% of pixels with alpha >250
Access Must 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)

Method Use
Clip Exact start/end + label per segment; all languages
SeekToAction Tell Google where timestamps live in URL; auto-detect; supported languages: en, es, pt, it, zh, fr, ja, de, tr, ko, nl, ru
YouTube Timestamps 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 / \x3Cvideo:expiration_date> in sitemap
  • Geo-restrict: regionsAllowed or ineligibleRegion in VideoObject; \x3Cvideo: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

Context Priority Notes
Website video VideoObject, sitemap, thumbnail This skill
YouTube Title, description, chapters, thumbnail See youtube-seo
GEO / AI citation YouTube distribution; long-form See generative-engine-optimization
Featured Snippet (video) Video schema; timestamps See 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
安全使用建议
This skill appears coherent and instruction-only, but a few practical cautions: (1) It may ask you to paste page HTML, sitemap XML, or project-context files — avoid sharing private credentials, tokens, or full backups. (2) If you want the agent to act on Google Search Console or upload sitemaps automatically, that would require granting external credentials — the skill does not request these now, so only provide OAuth/API access if you trust an explicit integration. (3) Review any local project-context files it reads to ensure they don’t contain secrets. If you need higher assurance, test the skill with redacted/sample pages first.
功能分析
Type: OpenClaw Skill Name: video-optimization Version: 1.0.1 The skill bundle provides standard SEO guidance for video optimization, including instructions for VideoObject schema, video sitemaps, and YouTube integration. The content in SKILL.md is purely instructional for the AI agent and contains no executable code, data exfiltration attempts, or malicious prompt injections.
能力评估
Purpose & Capability
Name and description align with the SKILL.md instructions: the content is focused on video discovery, sitemaps, thumbnails, VideoObject schema, and watch-page recommendations. There are no unrelated environment variables, binaries, or install steps requested.
Instruction Scope
Instructions are focused on site-level video SEO. They do ask the agent to check optional local project context files (.claude/project-context.md or .cursor/project-context.md) for brand/page context — this is reasonable for producing tailored recommendations but does grant the skill read access to those project files. The skill does not instruct broad system file reads or exfiltration.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk or downloaded.
Credentials
The skill declares no environment variables or credentials. It references external services (Google Search Console, YouTube) and suggests using URL Inspection or submitting a sitemap, which may require user action or credentials outside the skill; however, the skill itself does not request those credentials or attempt to access them.
Persistence & Privilege
The skill is not set to always:true and uses default autonomous invocation. It does not request persistent system-level changes or modification of other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install video-optimization
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /video-optimization 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Automated batch sync
元数据
Slug video-optimization
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

video-optimization 是什么?

When the user wants to optimize videos for Google Search, video sitemap, VideoObject schema, or video SEO on websites. Also use when the user mentions "video... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。

如何安装 video-optimization?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install video-optimization」即可一键安装,无需额外配置。

video-optimization 是免费的吗?

是的,video-optimization 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

video-optimization 支持哪些平台?

video-optimization 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 video-optimization?

由 Kostja Zhang(@kostja94)开发并维护,当前版本 v1.0.1。

💬 留言讨论