Developer Builds Couples Therapy App with Claude, Shares Prompt Engineering Insights

A developer has built TherapAI (therapai.health), a progressive web app for couples where each partner gets a private AI companion that helps process emotions and share when ready. The app runs on Claude Sonnet.
Key Prompt Engineering Learnings
The developer shared specific techniques learned while making Claude feel like an actual therapist rather than a chatbot:
- Tell it what NOT to say: Banning phrases like "I hear you," "that's valid," and "thank you for sharing" was the single biggest quality improvement. These phrases create an "instant uncanny valley" effect.
- Trust tiers: Session 1 Thera doesn't pretend to know the user, while Session 30 Thera can push back and call out patterns. This creates conversations that feel like an actual developing relationship.
- Trait blending: Users pick 2-3 personality traits (Honest, Calm, Deep, etc.), with each trait implemented as a separate instruction block. Claude blends them naturally without flip-flopping between personalities.
- Inject mood, don't ask about it: Users pick their mood before the session, and the AI adapts its tone silently without explicitly stating "I see you're frustrated."
- Shorter = deeper: Explicitly instructing Claude: "If they share something vulnerable, respond shorter, not longer. Weight, not volume."
Technical Implementation
The app has a minimal stack: the entire application is a single HTML file, using Supabase for data and a Netlify function as an API proxy to Claude. The app is live at therapai.health with a 7-day free trial.
📖 Read the full source: r/ClaudeAI
👀 See Also

Developer debugs service worker redundant bug in Next.js PWA with Claude's help
A developer built Somnia, a Next.js 14 PWA with push notifications, using Claude as a coding partner. The hardest bug involved service workers going REDUNDANT on Samsung Android due to a stale build ID in sw.js.

Health AI Startup Uses AI and Mark Cuban Partnership to Fight Denied Insurance Claims
A health AI startup has developed tools that use artificial intelligence to help reverse denied health insurance claims, with Mark Cuban involved as part of the startup's approach.

Using Claude Code to Build a Satellite Image Analysis Pipeline for Retail Predictions
A developer used Claude Code to build a complete satellite imagery analysis pipeline that pulls Sentinel-2 optical and Sentinel-1 radar data via Google Earth Engine, processes parking lot boundaries from OpenStreetMap, and calculates occupancy metrics to predict retail earnings outcomes.

Migrating from OpenClaw to Cowork + Claude Code: A Developer's Experience
A developer migrated from OpenClaw to Anthropic's Cowork with Claude Code sessions, citing better cron jobs, dispatch routing, and persistent memory. The setup uses a three-layer context design with Cowork handling orchestration and Claude Code executing code in repositories.