SkillAtlasSkill 详情

device-framer

Wraps screen recordings and screenshots in photorealistic iPhone device frames with drop shadow...

审核状态:已审核Quality 80Security 80

复制安装命令

用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。

复制前请先查看来源、License 和安全提示。

SKILL.md 原文

该版本未抓取到 README.md,显示 SKILL.md 原文。

name: device-framer
description: Wrap screen recordings and screenshots in photorealistic iPhone device frames with drop shadow and background. Use this skill whenever the user uploads a screen recording (MP4, MOV, etc.) or screenshot (PNG, JPG, etc.) and wants it placed inside a phone mockup, device frame, or device bezel. Also trigger when the user mentions "device frame", "phone mockup", "iPhone frame", "app demo", "wrap in device", "Screen Studio", "mockup video", "app store screenshot", or wants to make a screen recording or screenshot look polished/professional. Supports 12 iPhone models from iPhone 13 mini to iPhone 17 Pro Max with 44 color variants. Handles both video (ffmpeg) and image (Pillow) inputs automatically.

Device Framer

Wraps screen recordings and screenshots in photorealistic iPhone device frames with drop shadow, rounded corners, and a configurable background. Supports 12 devices with 44 color variants.

Quick Start

SKILL_DIR="/path/to/this/skill"
cp -r "$SKILL_DIR/scripts" /home/claude/device-framer-scripts
cp -r "$SKILL_DIR/frames" /home/claude/device-framer-frames
pip install Pillow --break-system-packages 2>/dev/null || true

python3 /home/claude/device-framer-scripts/frame_video.py INPUT_FILE \
  -o /mnt/user-data/outputs/framed_output.mp4 \
  -d iphone-16-pro --color black-titanium --bg '#0a0a0a' \
  --padding 100 --scale 0.5

Auto-detects video vs image from extension. Video → MP4, Image → PNG.

Available Devices

DeviceColors
iphone-17-pro-maxcosmic-orange, deep-blue, silver
iphone-17-procosmic-orange, deep-blue, silver
iphone-16-pro-maxblack-titanium, natural-titanium, white-titanium, desert-titanium
iphone-16-pro (default)black-titanium, natural-titanium, white-titanium, desert-titanium
iphone-16-plusblack, pink, teal, ultramarine, white
iphone-16black, pink, teal, ultramarine, white
iphone-15-pro-maxblack-titanium, natural-titanium, white-titanium, blue-titanium
iphone-14-pro-maxdeep-purple, gold, silver, space-black
iphone-13-miniblack, blue, pink, red, starlight
iphone-aircloud-white, light-gold, sky-blue, space-black
iphone-xs-maxspace-gray
iphone-xsspace-gray, silver

Options

FlagDefaultDescription
-d, --deviceiphone-16-proDevice model
--colorfirst colorDevice color variant
--bg#0a0a0aBackground color (hex)
--no-shadow(shadow on)Disable drop shadow
--shadow-blur50Shadow blur radius
--shadow-opacity80Shadow opacity (0-255)
--padding100Padding around device (px)
--scale(native)Scale factor (e.g. 0.5)
-q, --qualityhighVideo: high/medium/low
--no-audio(keep)Strip audio (video only)
--list-devices—Show all devices and colors

Recommended Settings

Scale: 0.5 for most uses. Omit for native resolution.

Good combos:

  • --device iphone-17-pro --color cosmic-orange --bg '#1a1a2e'
  • --device iphone-16-pro --color natural-titanium --bg '#0f172a'
  • --device iphone-16 --color ultramarine --bg '#0a0a0a'
  • --device iphone-air --color sky-blue --bg '#f0f4f8'
  • --device iphone-14-pro-max --color deep-purple --bg '#0a0a0a'

How It Works

Frame PNGs have transparent screen areas. The script extracts a pixel-perfect screen mask from each frame's alpha channel (flood-fill to separate interior screen from exterior transparency), then composites: background → shadow → content (masked) → frame overlay.

Images: Pillow compositing (instant). Videos: ffmpeg filter_complex single-pass.

Interaction Guide

  1. Auto-detect input type from extension
  2. If user doesn't specify a device, ask or default to iPhone 16 Pro
  3. If user doesn't specify color, use the default (first listed)
  4. Recommend --scale 0.5 and dark background
  5. Run the script, present the output

Credits

Agent / MCP / Skill 创作

中风险

  • 来源需自行核对维护者身份。
  • 包含脚本或命令调用,安装前请复核。
  • 未检测到明显外部权限要求。
  • 未检测到高风险命令。
  • 扫描发现:4 条。

Codex — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/example/repo.git
  3. 将 "repo" 文件夹复制到 Codex 的 skills 目录中。
  4. 重启 Codex 让新的 skill 生效。

Codex — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Codex 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Codex 让新的 skill 生效。

Claude Code — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/example/repo.git
  3. 将 "repo" 文件夹复制到 Claude Code 的 skills 目录中。
  4. 重启 Claude Code 让新的 skill 生效。

Claude Code — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Claude Code 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Claude Code 让新的 skill 生效。

Cursor — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/example/repo.git
  3. 将 "repo" 文件夹复制到 Cursor 的 skills 目录中。
  4. 重启 Cursor 让新的 skill 生效。

Cursor — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Cursor 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Cursor 让新的 skill 生效。

GitHub Copilot — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/example/repo.git
  3. 将 "repo" 文件夹复制到 GitHub Copilot 的 skills 目录中。
  4. 重启 GitHub Copilot 让新的 skill 生效。

GitHub Copilot — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 GitHub Copilot 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 GitHub Copilot 让新的 skill 生效。

Windsurf — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/example/repo.git
  3. 将 "repo" 文件夹复制到 Windsurf 的 skills 目录中。
  4. 重启 Windsurf 让新的 skill 生效。

Windsurf — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Windsurf 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Windsurf 让新的 skill 生效。

发现问题?提交给管理员复核

评分:

评论 (0)

暂无评论,成为第一个评论者吧!