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

Decoupling Narrative from State Tracking Fixes AI Text Adventure Amnesia
A developer built a stateful simulation engine where PostgreSQL tracks game state and LLMs only generate narrative text after state changes, preventing inventory hallucinations and plot loss.

Forge agent autonomously fixes GitHub bug using Claude AI
A developer's Forge agent detected a GitHub bug report, triggered a pipeline, used Claude AI to analyze and fix the issue, and opened a PR—all without human intervention while the developer slept.

Benchmark vs. Production: When AI Agent Tests Pass but Real Workflows Fail
A developer switched production AI agents from Claude Sonnet to cheaper Grok and MiniMax models after they passed benchmark tests, but both failed in production due to operational reliability issues not covered by the benchmarks.

How Businesses Use OpenClaw to Automate Client Communication
OpenClaw is being used by freelancers as a personal assistant in WhatsApp and email to handle client inquiries about rates, policies, and availability. Local businesses like restaurants use it to answer questions about menus, hours, and reservations when staff are unavailable.