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

How to make a capture app handle iPhone Duo's two front cameras with Iphone Duo Skills

Get camera direction, mirroring and preview right on a device with two front-facing cameras.

Short answer: Run npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-camera; then Restart your agent session; ask the agent to review your AVFoundation capture setup against the skill. All steps.

Who it is forA developer maintaining a photo or video app that needs to work correctly on iPhone Duo's front cameras.

The problemThe two front cameras and the question of which way a camera faces are AVFoundation-level details that the default camera code may not handle.

The outcomeA capture flow that chooses between the virtual front camera and individual cameras, uses the direction coordinator correctly and handles mirroring and preview.

What you need first

  • An AI coding agent such as Claude Code, Cursor or Gemini
  • Node.js with npx, since the README install uses npx
  • An existing app or design to work on, native iOS or a supported cross-platform stack
  • For native work, Xcode with the iOS 27.1 SDK, which the README calls the gate for edge-to-edge content, vertical bars, reserved regions and arrangements

Steps

  1. Run npx skills add mirzaaghazadeh/iphone-duo-skills --skill iphone-duo-camera (inferred, check the README)
  2. Restart your agent session.
  3. Ask the agent to review your AVFoundation capture setup against the skill.
  4. Confirm the direction coordinator handler uses the direction map arrays for forward and backward descriptors.
  5. Test capture on a physical iPhone Duo and check the preview and mirroring in each pose.

Prompt for your agent

Using the iphone-duo-camera skill from mirzaaghazadeh/iphone-duo-skills, review <path-to-capture-code> for virtual front camera use, individual camera selection, direction coordinator handling and mirroring. Output the changes needed with reasons, and verify that the change handler is written against AVCaptureDeviceDirectionMap as the README describes.

Caveat. The README notes its signatures were checked against Apple's API reference, so behavior on real hardware still needs testing on an actual iPhone Duo.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for mirzaaghazadeh/iphone-duo-skills and "Make a capture app handle iPhone Duo's two front cameras"

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