PA

page-scroll-video

Generates high-quality scrolling videos and GIFs of web pages for promotional use.

Install

mkdir -p .claude/skills/page-scroll-video && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15971" && unzip -o skill.zip -d .claude/skills/page-scroll-video && rm skill.zip

Installs to .claude/skills/page-scroll-video

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Records short videos of web pages with smooth scrolling animation and browser chrome frame. Use this when asked to create promotional videos or demos that scroll through a web page for social media.
198 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Record short videos of web pages with scrolling animation
  • Include a macOS-style browser chrome frame in recordings
  • Generate both MP4 video and optimized GIF files
  • Configure scroll duration and speed
  • Set a custom browser title bar text

How it works

The skill launches a headless Chromium browser, navigates to a URL, injects a browser chrome overlay, scrolls the page, records the session, and then converts the recording to MP4 and GIF formats using ffmpeg.

Inputs & outputs

You give it
A URL to record, an output MP4 file path, and optional duration/speed/title
You get back
An MP4 video (H.264) and an optimized GIF of the scrolling web page

When to use page-scroll-video

  • Create promotional website demo
  • Generate social media content
  • Record UI walkthrough
  • Produce landing page GIF

About this skill

Page Scroll Video Recording

Record short promotional videos of web pages that scroll down the page wrapped in a realistic macOS-style browser chrome frame. Perfect for social media promotion on Twitter/LinkedIn.

When to Use

Use this skill when the user asks you to:

  • Create a promotional video of a web page
  • Record a scrolling demo of a website
  • Generate social media content showing a page
  • Make a GIF of a web page scrolling

How to Record

Use the Playwright-based recording script located at .github/skills/page-scroll-video/scripts/record.cjs.

Basic Recording

node .github/skills/page-scroll-video/scripts/record.cjs \
  --url http://localhost:5173 \
  --output static/videos/homepage-scroll.mp4

This generates both:

  • static/videos/homepage-scroll.mp4 - High quality MP4 video (H.264)
  • static/videos/homepage-scroll.gif - Animated GIF for quick sharing

Options

OptionDescriptionDefault
--urlURL to record (required)-
--outputOutput MP4 file path (required)-
--durationScroll duration in seconds10
--speedScroll speed in pixels per second300
--titleCustom browser title bar textAuto-detected from page
--no-gifSkip GIF generationfalse
--widthViewport width900
--heightViewport height900

Examples

Record for 10 seconds at default speed (300 px/s):

node .github/skills/page-scroll-video/scripts/record.cjs \
  --url http://localhost:5173 \
  --output static/videos/homepage-scroll.mp4

Record for 15 seconds:

node .github/skills/page-scroll-video/scripts/record.cjs \
  --url http://localhost:5173 \
  --output static/videos/homepage-scroll.mp4 \
  --duration 15

Record with faster scrolling (500 px/s):

node .github/skills/page-scroll-video/scripts/record.cjs \
  --url http://localhost:5173 \
  --output static/videos/homepage-scroll.mp4 \
  --speed 500

Record a script page with custom title:

node .github/skills/page-scroll-video/scripts/record.cjs \
  --url http://localhost:5173/scripts/week-1 \
  --output static/videos/week-1-scroll.mp4 \
  --title "Week 1: Hello, World"

Skip GIF generation (MP4 only):

node .github/skills/page-scroll-video/scripts/record.cjs \
  --url http://localhost:5173 \
  --output static/videos/homepage-scroll.mp4 \
  --no-gif

Output

Video Specifications

  • Resolution: 900×900 (square format, optimized for social media)
  • Format: MP4 (H.264) for maximum compatibility
  • Frame rate: 60fps scroll animation
  • Browser chrome: Realistic macOS-style window frame with:
    • Traffic lights (red/yellow/green buttons)
    • Title bar with page title
    • Address bar with lock icon and URL
    • Frame borders on all sides

GIF Specifications

  • Resolution: 450px wide (half size for smaller file)
  • Frame rate: 15fps
  • Optimized: Two-pass palette optimization for smaller file size
  • Looping: Infinite loop (-loop 0)

Saving Videos

Save to /static/videos/ with descriptive kebab-case filenames.

Naming convention:

  • homepage-scroll.mp4
  • week-1-scroll.mp4
  • HomepageScroll.mp4

Directory structure:

static/videos/
  homepage-scroll.mp4
  homepage-scroll.gif
  week-1-scroll.mp4
  week-1-scroll.gif

Prerequisites

  1. Playwright must be installed:

    npm install playwright
    npx playwright install chromium
    
  2. ffmpeg must be installed for MP4/GIF conversion:

    brew install ffmpeg
    

How It Works

  1. Launches a headless Chromium browser with video recording enabled
  2. Navigates to the target URL
  3. Injects browser chrome overlay (title bar, address bar, frame borders) as CSS/HTML
  4. Waits for chrome to settle (prevents visual artifacts)
  5. Scrolls down at constant speed for the specified duration
  6. Closes browser and saves WebM recording
  7. Converts WebM to MP4 using ffmpeg (H.264, trimming settling time)
  8. Generates optimized GIF from MP4 using two-pass palette method

Limitations

  • File size: Longer durations produce larger videos. For very long pages, consider using faster scroll speed.
  • Dynamic content: Heavy JavaScript sites may need the page to be fully loaded before recording looks correct.

When not to use it

  • When a web page recording with scrolling animation is not needed
  • When a browser chrome frame is not desired
  • When the output format is not MP4 or GIF

Prerequisites

Playwright (npm install playwright, npx playwright install chromium)ffmpeg (brew install ffmpeg)

Limitations

  • Longer durations produce larger video file sizes
  • Heavy JavaScript sites may require full loading before recording
  • Output resolution is fixed at 900x900 for MP4 and 450px wide for GIF

How it compares

This skill automates the creation of promotional web page scroll videos with a realistic browser frame and optimized output formats, differing from manual screen recording tools.

Compared to similar skills

page-scroll-video side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
page-scroll-video (this skill)06moReviewIntermediate
social-video-creative01moNo flagsIntermediate
ugc-video-prompts01moNo flagsIntermediate
tiktok-marketing03moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

social-video-creative

DeliciousHouse

Generate ONE on-brand short-form vertical video (Reel / Story video) for a single Aries social post at 9:16 reel scale. Use once per requested video clip. FORCES exactly one video_generate call and returns the generated_video creative_asset (localized basename + width/height/duration) plus a content

00

ugc-video-prompts

palmier-io

Generate ultra-realistic UGC/influencer-style video clips inside Palmier Pro — talking selfies, product demos, candid lifestyle motion — using the proven still-then-animate pipeline instead of cold text-to-video. Drives Palmier Pro's generate_video, get_timeline, and get_media tools directly, with m

00

tiktok-marketing

aAAaqwq

TikTok content strategy, video creation workflows, posting optimization, and analytics. Based on n8n automation templates.

00

publish-x

mazzasaverio

Prepare and publish the current moviola project to X (Twitter). Validates platform constraints, renders with the x preset, and guides the upload. Use when the user wants to post the current video on X.

00

jimeng-mcp-skill

wwwzhouhui

使用jimeng-mcp-server进行AI图像和视频生成。当用户请求从文本生成图像、合成多张图片、从文本描述创建视频或为静态图像添加动画时使用此技能。支持四大核心能力:文生图、图像合成、文生视频、图生视频。需要jimeng-mcp-server在本地运行或通过SSE/HTTP访问。

19158

high-dynamic-video-choreographer

amao2001

Analyzes a theme or image to design a sequence of 5 high-energy, logically connected action beats for AI video generation. Features a recursive optimization process to ensure physical momentum and visual diversity.

24

Search skills

Search the agent skills registry