Build a focus-monitoring iPhone companion with Codex

Riley turned an old iPhone into a focus buddy that watches his Mac screen and nudges him back to work.

Used for
Everyday life
Skill needed
Requires coding
Shown in video
Partial demo
Summary based on
Transcript
CodexOpenAI Decisions API
Riley BrownWatch on YouTube

I Built My Most Useful App Ever (Full Guide)

Published Nov 2, 202616:4440,792 views421 likes

Key moments

  • 11:16Codex builds the app
  • 14:22Bluey nudges him off Twitter
  • 14:38Session summary confirms it works

What they made

Focus Bluey ran on his desk, deciding every 30 seconds whether he was on task and nudging him when he drifted to Twitter; a 7m30s session summary showed on-task vs off-task time.

~$0.10 per 8 hours of focus checks

14:38

How they did it

  1. Human

    Defined the goal: turn the existing Bluey app into a focus assistant that watches the screen and nudges him back on task.

    Creator-reported
  2. AI

    Wrote a Codex prompt to redesign the macOS and iOS apps, reuse the existing repo, and add screenshot checks plus an intervention algorithm.

    Creator-reported · Codex
  3. AI11:16

    Built the updated apps end to end from the prompt, taking about 18 minutes.

    Stated in video · Codex
  4. AI + human11:48

    Paired the iPhone to the Mac app via QR code and started a real focus task.

    Stated in video · Bluey
  5. AI14:22

    Decisions API classified each 30-second screenshot as on-task, off-task, or unsure, and the app nudged him when he opened Twitter.

    Stated in video · OpenAI Decisions API

What you can reuse

  • A cheap classification API can power a lightweight focus monitor when paired with a simple intervention rule.
  • Reusing an existing open-source app as the base let Codex make targeted changes instead of building from scratch.
  • A cooldown and confidence threshold keep nudges from becoming annoying.

Trade-offs

  • The demo used a developer mode sped up 4x, so real-time behavior was not fully shown.
  • The creator stopped after the test session and did not report long-term use.
  • The intervention algorithm was tuned by feel rather than validated.
  • Video is sponsored by OpenAI.

AI-generated case summaries can contain mistakes. Report an error

Related cases