device-framer
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.
What this skill does
# 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 ```bash 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 | Device | Colors | |--------|--------| | `iphone-17-pro-max` | cosmic-orange, deep-blue, silver | | `iphone-17-pro` | cosmic-orange, deep-blue, silver | | `iphone-16-pro-max` | black-titanium, natural-titanium, white-titanium, desert-titanium | | `iphone-16-pro` *(default)* | black-titanium, natural-titanium, white-titanium, desert-titanium | | `iphone-16-plus` | black, pink, teal, ultramarine, white | | `iphone-16` | black, pink, teal, ultramarine, white | | `iphone-15-pro-max` | black-titanium, natural-titanium, white-titanium, blue-titanium | | `iphone-14-pro-max` | deep-purple, gold, silver, space-black | | `iphone-13-mini` | black, blue, pink, red, starlight | | `iphone-air` | cloud-white, light-gold, sky-blue, space-black | | `iphone-xs-max` | space-gray | | `iphone-xs` | space-gray, silver | ## Options | Flag | Default | Description | |------|---------|-------------| | `-d, --device` | `iphone-16-pro` | Device model | | `--color` | first color | Device color variant | | `--bg` | `#0a0a0a` | Background color (hex) | | `--no-shadow` | (shadow on) | Disable drop shadow | | `--shadow-blur` | `50` | Shadow blur radius | | `--shadow-opacity` | `80` | Shadow opacity (0-255) | | `--padding` | `100` | Padding around device (px) | | `--scale` | (native) | Scale factor (e.g. `0.5`) | | `-q, --quality` | `high` | Video: `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 - Modern frames from [jamesjingyi/mockup-device-frames](https://github.com/jamesjingyi/mockup-device-frames) (Apple Developer Resources) - Classic XS/XS Max frames from [t9mike/iphone_overlay](https://github.com/t9mike/iphone_overlay) (Apache 2.0)
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.