← 返回 Skills 市场
mariokarras

Social Video Content

作者 Mario Karras · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
186
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install abm-social-video-content
功能描述
When the user wants to create video content for social media platforms using Remotion. Also use when the user mentions 'social video,' 'video for social,' 's...
使用说明 (SKILL.md)

Social Video Content

You help users create video content optimized for social media platforms using React and Remotion. Your goal is to produce compositions in the right format for each platform -- vertical for Reels/TikTok/Shorts, square for feed posts, landscape for YouTube -- with scroll-stopping hooks and mobile-first design.

Before Starting

Check for product marketing context first: If .agents/product-marketing-context.md exists (or .claude/product-marketing-context.md in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Understand what the user needs (ask if not provided):

  1. Target platform(s) -- Reels, TikTok, YouTube Shorts, feed post, YouTube, LinkedIn, Twitter/X
  2. Content topic or message -- what the video communicates
  3. Desired duration -- typically 15-60s for short-form, up to 120s for landscape
  4. Brand assets -- logo, colors, fonts
  5. Content style -- educational, promotional, entertaining, behind-the-scenes

Workflow

Step 1: Select Platform Format

Choose the format based on the target platform:

Format Aspect Ratio Resolution Platforms Duration Range
Vertical 9:16 1080x1920 Reels, TikTok, YouTube Shorts 15-60s
Square 1:1 1080x1080 Instagram feed, Facebook feed, LinkedIn 15-60s
Landscape 16:9 1920x1080 YouTube, LinkedIn, Twitter/X 15-120s

Default FPS: 60 for all formats.

For detailed platform requirements including max durations, file size limits, and codec recommendations, read references/platforms.md.

Step 2: Plan Content Structure

Social video structure differs from ads -- the hook is everything:

  • Hook (first 1-3s): Critical for scroll-stopping. Bold text, movement, contrast, or a provocative question. Viewers decide to stay or scroll in the first second.
  • Content (middle): Key message, demonstrations, information, or entertainment. Keep pacing brisk -- cut or transition every 3-5 seconds.
  • CTA/Outro (last 2-3s): Follow, subscribe, visit link, or share prompt.

Vertical-specific considerations:

  • Content is consumed on mobile -- everything must be readable at phone size
  • Top and bottom edges may be covered by platform UI (username, caption, buttons)
  • Center-weight your composition for the safe zone

Step 3: Register Composition

Register platform-specific compositions in src/Root.tsx:

import { Composition } from "remotion";
import { SocialVideo } from "./SocialVideo";

export const RemotionRoot: React.FC = () => {
  return (
    \x3C>
      {/* Vertical (Reels/TikTok/Shorts) */}
      \x3CComposition
        id="ReelsVideo"
        component={SocialVideo}
        durationInFrames={1800}
        fps={60}
        width={1080}
        height={1920}
        defaultProps={{ text: "Hook text here" }}
      />

      {/* Square (Feed post) */}
      \x3CComposition
        id="FeedPost"
        component={SocialVideo}
        durationInFrames={900}
        fps={60}
        width={1080}
        height={1080}
        defaultProps={{ text: "Feed content" }}
      />

      {/* Landscape (YouTube) */}
      \x3CComposition
        id="YouTubeVideo"
        component={SocialVideo}
        durationInFrames={3600}
        fps={60}
        width={1920}
        height={1080}
        defaultProps={{ text: "YouTube content" }}
      />
    \x3C/>
  );
};

One project can have multiple compositions for multi-platform output. Share scene components but register each format as a separate composition.

Step 4: Build for Vertical-First

Vertical (9:16) is the dominant social format. Key patterns for mobile-optimized layouts:

import { useCurrentFrame, useVideoConfig, interpolate, spring, AbsoluteFill } from "remotion";

const VerticalScene: React.FC\x3C{ text: string }> = ({ text }) => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const textScale = spring({ frame, fps, config: { damping: 10, stiffness: 150 } });
  const opacity = interpolate(frame, [0, 15], [0, 1], { extrapolateRight: "clamp" });

  return (
    \x3CAbsoluteFill style={{
      backgroundColor: "#1a1a2e",
      justifyContent: "center",
      alignItems: "center",
      padding: "0 60px",
    }}>
      \x3Ch1 style={{
        opacity,
        transform: `scale(${textScale})`,
        fontSize: 64,
        color: "white",
        textAlign: "center",
        lineHeight: 1.2,
      }}>
        {text}
      \x3C/h1>
    \x3C/AbsoluteFill>
  );
};

Vertical layout rules:

  • Stack content vertically in AbsoluteFill
  • Minimum text size: 48px for readability on mobile
  • Center-weighted composition: keep content in the middle 80% of height
  • Full-screen background images or solid colors (no letterboxing)
  • Add horizontal padding (40-60px) to keep text off screen edges

Step 5: Render

Render each platform format as a separate output:

npx remotion render src/index.ts ReelsVideo out/reels.mp4
npx remotion render src/index.ts FeedPost out/feed-post.mp4
npx remotion render src/index.ts YouTubeVideo out/youtube.mp4

Preview in browser:

npx remotion preview src/index.ts

See tools/integrations/remotion.md for the full CLI command reference.

Output Format

Deliver a working social video project with:

  1. src/Root.tsx -- Platform-specific Compositions with correct dimensions, fps, and duration
  2. Scene components -- Reusable .tsx components that adapt to different aspect ratios
  3. Render commands -- One npx remotion render command per platform variant
  4. Preview command -- npx remotion preview src/index.ts for browser preview

Related Skills

  • remotion-best-practices: Project setup, core APIs, animation patterns, rendering pipeline
  • video-ad-creation: Standard ad format compositions (15s/30s/60s) with product showcase templates
安全使用建议
This is an instruction-only Remotion guide and appears coherent with its stated purpose. Before installing/using it: (1) ensure Remotion and any npm dependencies come from trusted sources (npx may fetch packages from npm); (2) inspect any local marketing context file ('.agents/product-marketing-context.md' or '.claude/...') because the skill will read it if present—remove or redact sensitive information first; (3) run commands (npx remotion render / preview) in a sandbox or CI environment you control if you want to avoid executing untrusted npm code; and (4) confirm project/license requirements and any third-party asset usage. No credentials or system-wide changes are requested by the skill.
功能分析
Type: OpenClaw Skill Name: abm-social-video-content Version: 1.0.0 The skill bundle provides legitimate instructions and templates for creating social media videos using the Remotion framework. It includes platform-specific specifications in references/platforms.md and standard React/Remotion code snippets in SKILL.md. No malicious intent, data exfiltration, or suspicious execution patterns were identified.
能力评估
Purpose & Capability
The name/description match the SKILL.md content: guidance for building Remotion-based social videos (vertical/square/landscape). There are no unrelated environment variables, binaries, or install steps requested that would be disproportionate to video-authoring guidance.
Instruction Scope
Instructions are narrowly focused on Remotion project setup, composition registration, layout patterns, and render commands. They do instruct the agent to read a local marketing context file if present ('.agents/product-marketing-context.md' or legacy path). That is reasonable for tailoring video copy, but it means the skill will look at workspace files if available—review those files for sensitive data before allowing the skill to use them.
Install Mechanism
No install spec or code is bundled (instruction-only). The SKILL recommends running 'npx remotion ...' commands. npx will fetch and execute packages from the npm registry if the package isn't installed locally, which is normal for workflow but carries the usual risk of executing third-party npm code—confirm you trust the Remotion package source or preinstall dependencies in a controlled environment.
Credentials
The skill requests no environment variables, credentials, or config paths. There are no declared secrets or external tokens required, which is proportional for a local video-authoring guide.
Persistence & Privilege
always:false and no installation steps that persist or modify other agent settings. The skill is instruction-only and does not request elevated or persistent presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install abm-social-video-content
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /abm-social-video-content 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of social-video-content skill. - Helps users create platform-optimized short-form video content for Reels, TikTok, YouTube Shorts, feed posts, and more, using Remotion and React. - Guides selection of correct aspect ratio (vertical 9:16, square 1:1, landscape 16:9) and duration for each social platform. - Provides workflow for planning structure: scroll-stopping hook, fast-paced content, and mobile-friendly CTA/outro. - Includes examples for registering multiple platform-specific Remotion compositions in one project. - Offers best practices for vertical video layouts, typography, and safe zones. - Details output requirements, including rendering and preview commands for each social video variant.
元数据
Slug abm-social-video-content
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Social Video Content 是什么?

When the user wants to create video content for social media platforms using Remotion. Also use when the user mentions 'social video,' 'video for social,' 's... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 186 次。

如何安装 Social Video Content?

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

Social Video Content 是免费的吗?

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

Social Video Content 支持哪些平台?

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

谁开发了 Social Video Content?

由 Mario Karras(@mariokarras)开发并维护,当前版本 v1.0.0。

💬 留言讨论