DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to recreate a page from a screenshot and add a mobile layout with Oil UI

Give Oil UI a screenshot and get a coded page plus a mobile version.

Short answer: Install the skill with npx skills add oil-oil/oil-ui; then share the screenshot in your agent; Ask: Recreate this page from the screenshot and add a mobile layout too. All steps.

  • Content
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor

Who it is forA developer rebuilding an old page from screenshots who also needs it to work on phones.

The problemScreenshots only show one size, and agents rarely produce a good mobile layout unprompted.

The outcomeA page recreated from the screenshot with a mobile layout, checked in real screenshots.

What you need first

  • An agent that can install skills, such as Claude Code or Codex
  • npx (Node.js)

Steps

  1. Install the skill with npx skills add oil-oil/oil-ui
  2. Share the screenshot in your agent
  3. Ask: Recreate this page from the screenshot and add a mobile layout too
  4. Intermediate screenshots go in the project's .oil-ui workspace; final code goes back to the project
  5. Compare its desktop and mobile screenshots with the original

Prompt for your agent

Use oil-oil/oil-ui to recreate <page> from this screenshot and add a mobile layout. Show me the desktop and mobile screenshots it checked.

Caveat. This card is written from the oil-oil/oil-ui README, not from a test run by Deduped. Before you start, make sure you have an agent that can install skills, such as Claude Code or Codex. Check the repo for newer instructions before you rely on these steps.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for oil-oil/oil-ui and "Recreate a page from a screenshot and add a mobile layout"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer