Foldable Two-Screen Reveal — effect skill for device mockups
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the how-to page.
A foldable phone opens to show two screens side by side — before and after, or app and result.
- Type: Effect · Device mockups
- Slug:
foldable-two-screen - Status: live
- Publisher: varg (varg, verified)
- License: MIT
- Source: https://github.com/vargHQ/code2video-templates/tree/main/iphone-duo-fold
- Works in: Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- Requires: HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- Cost: Free — the take renders locally; generated footage, if any, bills by the model
What it does
Built on iPhone Duo Fold by varg (varg), MIT. The write-up and recipes below are varg's.
The device unfolds from closed to open; each half carries its own screen (image, recording or URL).
When: Two-sided stories: prompt and result, editor and preview, old and new.
Watch out: Do not put unrelated content on the halves; the fold should mean "these two belong together".
Timing: Unfold 0.8–1.2 s power2.inOut; hold 2 s.
Also called: foldable phone, duo screen, unfold reveal
In HyperFrames
Use the varg template (HyperFrames-compatible screens): pass each half as an image, video, HTML page or URL.
In Remotion
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/iphone-duo-fold && bun render.ts --screen app.png
In CapCut
Not native; render the fold with the template and import it as a clip.
Ready-made components
- iPhone Duo Fold (varg): git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/iphone-duo-fold && bun render.ts --screen app.png
Where this comes from
Use when
- Two-sided stories: prompt and result, editor and preview, old and new.
Not for
- Do not put unrelated content on the halves; the fold should mean "these two belong together".
Install
- Claude Code:
claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg - Codex:
npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y - Cursor:
npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y
More device mockups skills
- Browser Window Frame: The web app plays inside a clean browser window with traffic lights and a URL bar on a soft backdrop.
- Phone Frame with Live Screen: A screen recording plays edge to edge inside a realistic phone frame with Dynamic Island.
- Laptop Lid Opens to Screen: A laptop lid tilts open and the screen content lifts toward the viewer, then becomes the full frame.
- 3D Phone Turn: A real 3D phone model turns in space with the app playing on its screen, then faces the camera.
- Phone, Tablet and Laptop Splay: Phone, tablet and laptop fan out from one stack into a proud row, each showing the same product.
- Push Through the Screen: A phone rises into view, then the camera pushes through its screen into the full-frame UI.