健康教练
wellness-coach
by andrechuabio
Launch a personalized AI wellness coach video session (Baymax persona) using Tavus CVI + Claude. Fetches real wearable health data (sleep, HRV, recovery) and Google Calendar events, builds a personalized system prompt, creates a live Tavus conversational video session, and delivers a morning briefing link via Telegram. Use when the user wants a daily wellness briefing, wants to talk to an AI wellness coach, wants guided breathing/meditation based on their health data, or asks to start their morning routine. Requires TAVUS_API_KEY, TAVUS_REPLICA_ID, TAVUS_PERSONA_ID, and ANTHROPIC_API_KEY in .env.
安装
claude skill add --url https://github.com/openclaw/skills文档
Wellness Coach
Spin up a personalized Baymax wellness coach video session from health + calendar data.
What This Skill Does
- Reads wearable health data (mock or real: Oura/Fitbit/Apple Health)
- Fetches today's Google Calendar events
- Calls Claude to generate a Baymax system prompt + wellness recommendations
- Creates a live Tavus CVI session (interactive video avatar)
- Optionally delivers a Telegram morning briefing with the session link
Project Setup
git clone https://github.com/AndreChuabio/wellness-coach
cd wellness-coach
pip install -r backend/requirements.txt
cp .env.example .env # fill in API keys
Required API Keys (.env)
ANTHROPIC_API_KEY= # Claude context generation
TAVUS_API_KEY= # Tavus CVI sessions
TAVUS_REPLICA_ID= # Avatar replica (platform.tavus.io → Replicas)
TAVUS_PERSONA_ID= # Baymax persona (platform.tavus.io → Personas)
Running the Backend
cd backend
uvicorn main:app --reload
# Swagger UI: http://localhost:8000/docs
Running the Frontend
cd frontend
python3 -m http.server 3000
# Open: http://localhost:3000
Key Endpoints
| Method | Path | What it does |
|---|---|---|
GET | /health-data | Today's wearable metrics |
GET | /calendar | Today's calendar events |
POST | /start-session | Full pipeline → Tavus CVI URL + recs |
GET | /debug-env | Check all API keys are loaded |
Morning Briefing Pipeline (Telegram)
Run both scripts back-to-back — always together so the Tavus link is fresh:
python3 cron/morning_context.py && python3 cron/send_briefing.py
This builds context, pre-warms a Tavus session, and sends a Telegram message with:
- Sleep score, HRV, recovery score
- Today's calendar summary
- Top wellness recommendation
- Live Tavus session link (valid ~10 min after creation)
Automated Daily Cron (OpenClaw)
Register a 7AM daily cron via OpenClaw to automate the morning briefing.
See references/openclaw-cron.md for the exact setup.
Connecting Real Wearable Data
See references/wearables.md for Oura, Fitbit, and Apple Health integration guides.
Google Calendar Integration
See references/gcal-setup.md for OAuth setup to get real calendar events.
Wellness Recommendations Logic
Recommendations are generated in backend/context_builder.py based on:
| Signal | Trigger | Suggestion |
|---|---|---|
| HRV < 50ms | below avg | Box breathing, recovery day |
| Sleep score < 75 | poor sleep | Nap window, caffeine cutoff |
| High-stakes meeting | keyword match | 4-7-8 breathing beforehand |
| 4+ meetings | packed day | Micro-meditations between meetings |
| Recovery ≥ 80 + HRV ≥ avg | great day | Push harder, workout, cold exposure |
Knowledge Base (Tavus Persona)
Upload wellness content directly to the Tavus Persona via:
platform.tavus.io → Personas → Your Persona → Knowledge Base → Add Files
Format files as structured scripts:
# [Exercise Name]
## When to use
## Script (word-for-word guide)
## Duration
Tavus Persona Settings
- LLM: tavus-gpt-oss (or custom Claude endpoint)
- STT: tavus-advanced
- TTS: Tavus Default
- Hotwords: HRV, Baymax, meditation, breathing, recovery
- Turn detection: Sparrow-1 (user mutes mic to trigger response)
Common Issues
Avatar nods but doesn't speak → Mic permission not granted. Click lock icon in browser → allow microphone → rejoin.
Mock mode despite keys set → .env not loading. Run /debug-env to verify. Ensure .env is in project root, not backend/.
Tavus link expired → Sessions last ~10 min. Always run morning_context.py and send_briefing.py together right before use.
GCal shows mock data → Set GOOGLE_CREDENTIALS_PATH and GOOGLE_TOKEN_PATH in .env. Run python3 setup_gcal.py once to authorize.
相关 Skills
Claude接口
by anthropics
面向接入 Claude API、Anthropic SDK 或 Agent SDK 的开发场景,自动识别项目语言并给出对应示例与默认配置,快速搭建 LLM 应用。
✎ 想把Claude能力接进应用或智能体,用claude-api上手快、兼容Anthropic与Agent SDK,集成路径清晰又省心
RAG架构师
by alirezarezvani
聚焦生产级RAG系统设计与优化,覆盖文档切块、检索链路、索引构建、召回评估等关键环节,适合搭建可扩展、高准确率的知识库问答与检索增强应用。
✎ 面向RAG落地,把知识库、向量检索和生成链路系统串联起来,做架构设计时更清晰,也更少踩坑。
多智能体架构
by alirezarezvani
聚焦多智能体系统架构设计,梳理 Supervisor、Swarm、分层和 Pipeline 等模式,覆盖角色定义、通信协作与性能评估,适合规划稳健可扩展的 AI agent 编排方案。
✎ 帮你系统解决多智能体应用的架构设计与协同编排难题,适合构建复杂 AI 工作流,成熟度高、社区认可也很亮眼。
相关 MCP 服务
知识图谱记忆
编辑精选by Anthropic
Memory 是一个基于本地知识图谱的持久化记忆系统,让 AI 记住长期上下文。
✎ 帮 AI 和智能体补上“记不住”的短板,用本地知识图谱沉淀长期上下文,连续对话更聪明,数据也更可控。
顺序思维
编辑精选by Anthropic
Sequential Thinking 是让 AI 通过动态思维链解决复杂问题的参考服务器。
✎ 这个服务器展示了如何让 Claude 像人类一样逐步推理,适合开发者学习 MCP 的思维链实现。但注意它只是个参考示例,别指望直接用在生产环境里。
PraisonAI
编辑精选by mervinpraison
PraisonAI 是一个支持自反思和多 LLM 的低代码 AI 智能体框架。
✎ 如果你需要快速搭建一个能 24/7 运行的 AI 智能体团队来处理复杂任务(比如自动研究或代码生成),PraisonAI 的低代码设计和多平台集成(如 Telegram)让它上手极快。但作为非官方项目,它的生态成熟度可能不如 LangChain 等主流框架,适合愿意尝鲜的开发者。