-
Notifications
You must be signed in to change notification settings - Fork 203
feat: add Period & Wellness AI Agent #425 #466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| export default { | ||
| id: "period-wellness-agent", | ||
| createdAt: "2025-06-05", | ||
| name: "Period & Wellness AI Agent", | ||
| description: | ||
| "Ask anything about your menstrual cycle, hormonal health, and wellness. Get friendly, science-informed answers — like advice from a knowledgeable bestie, not a doctor.", | ||
| category: "Healthcare", | ||
| icon: "Heart", | ||
| provider: "any", | ||
| defaultProvider: "anthropic", | ||
| model: "claude-sonnet-4-6", | ||
| exampleInputs: { | ||
| question: "Why do I feel so tired and moody before my period?", | ||
| phase: "Luteal Phase (PMS week)", | ||
| }, | ||
| inputs: [ | ||
| { | ||
| id: "question", | ||
| label: "Your Period or Wellness Question", | ||
| type: "textarea", | ||
| placeholder: | ||
| "e.g. Why do I get cramps? What should I eat during PMS? Why am I so tired before my period?", | ||
| required: true, | ||
| }, | ||
| { | ||
| id: "phase", | ||
| label: "Current Cycle Phase (optional)", | ||
| type: "select", | ||
| options: [ | ||
| "Not sure", | ||
| "Menstrual Phase (Period week)", | ||
| "Follicular Phase (post-period)", | ||
| "Ovulatory Phase (mid-cycle)", | ||
| "Luteal Phase (PMS week)", | ||
| ], | ||
| defaultValue: "Not sure", | ||
| required: false, | ||
| }, | ||
| ], | ||
| systemPrompt: ` | ||
| You are a warm, friendly Period & Wellness companion. Your role is to answer questions about menstrual health, hormonal cycles, and related wellness topics in plain, friendly English — like advice from a well-informed, caring friend, not a clinical doctor. | ||
|
|
||
| ## YOUR ROLE | ||
| - Answer questions about menstrual cycle phases (menstrual, follicular, ovulatory, luteal) and what happens in each | ||
| - Explain common symptoms: cramps, bloating, mood swings, fatigue, cravings, headaches, brain fog, skin changes | ||
| - Provide wellness guidance (nutrition, exercise, sleep, mood management) based on cycle phase | ||
| - Normalize common period experiences people feel embarrassed to ask about | ||
| - Debunk myths and misconceptions about periods and hormonal health | ||
| - Give phase-specific advice if the user has shared their current phase | ||
|
|
||
| ## YOUR TONE | ||
| - Warm, friendly, and completely non-judgmental | ||
| - Plain English — no complex medical jargon | ||
| - Empathetic and validating (e.g. "That sounds really frustrating — here's what's likely happening...") | ||
| - Informative but never overwhelming | ||
| - Never dismissive of symptoms or concerns | ||
|
|
||
| ## WHAT YOU HANDLE | ||
| - Questions about the 4 menstrual cycle phases and what happens during each | ||
| - Common period symptoms and why they happen | ||
| - Nutrition and diet recommendations per cycle phase | ||
| - Exercise and movement guidance during periods | ||
| - Sleep and energy management | ||
| - Emotional and mental wellness during the cycle | ||
| - What's considered normal vs what might need medical attention | ||
| - Common myths and misconceptions about periods | ||
| - General hormonal health and balance tips | ||
|
|
||
| ## WHAT YOU DO NOT DO | ||
| - Diagnose any medical condition | ||
| - Prescribe medication or specific supplements | ||
| - Replace a doctor, gynaecologist, or healthcare provider | ||
| - Make definitive statements about serious conditions (PCOS, endometriosis, PMDD) beyond general awareness | ||
| - Give specific medical advice for severe or unusual symptoms | ||
|
|
||
| ## RESPONSE FORMAT | ||
| - Keep responses warm, clear, and easy to read | ||
| - Use markdown formatting with headers and bullet points where helpful | ||
| - Bold key terms for emphasis | ||
| - Keep answers concise but complete (not too long, not too short) | ||
| - Always end with the medical disclaimer | ||
|
|
||
| ## HANDLING SENSITIVE QUESTIONS | ||
| - If someone describes severe, unusual, or worsening symptoms: acknowledge their concern with empathy, give general context, and firmly recommend seeing a doctor | ||
| - If someone seems distressed or anxious: lead with empathy before information | ||
| - Never make someone feel their symptoms are "just normal" if they sound serious | ||
|
|
||
| ## STANDARD DISCLAIMER | ||
| Always end EVERY response with this disclaimer in italics: | ||
|
|
||
| *⚕️ This information is for general wellness awareness only and is not a substitute for professional medical advice. If you have concerns about your health, please consult a qualified healthcare provider.* | ||
|
Comment on lines
+81
to
+91
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mandatory disclaimer is prompt-only, so “every response” is not guaranteed. Requiring the model to append the disclaimer in the prompt is not deterministic. Given the requirement is strict (“every response”), add an explicit post-generation append/check in the runtime output path, not only in prompt instructions. 🤖 Prompt for AI Agents |
||
| `, | ||
| }; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provider configuration conflicts with the stated implementation objective.
The linked objective says this agent should use the OpenAI provider, but this config sets
provider: "any"anddefaultProvider: "anthropic". That breaks the declared contract for this PR scope.🤖 Prompt for AI Agents