mental-health-analyzer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese心理健康分析技能
Mental Health Analysis Skill
核心功能
Core Features
心理健康分析技能提供全面的心理健康数据分析功能,帮助用户追踪心理状态、识别情绪模式、监测危机风险和优化应对策略。
主要功能模块:
- 心理健康评估分析 - PHQ-9/GAD-7等量表评分趋势分析
- 情绪模式识别 - 识别常见情绪、触发因素和应对方式效果
- 心理治疗进展追踪 - 治疗目标达成和症状改善评估
- 危机风险评估 - 多级危机风险检测(高/中/低)和预警
- 睡眠-心理关联分析 - 睡眠质量与心理状态的关联性分析
- 运动-情绪关联分析 - 运动与情绪改善的关系分析
- 营养-心理关联分析 - 饮食对情绪和焦虑的影响分析
- 慢性病-心理关联分析 - 慢性疾病与心理健康的关系分析
The Mental Health Analysis Skill provides comprehensive mental health data analysis functions to help users track mental states, identify emotional patterns, monitor crisis risks, and optimize coping strategies.
Main Function Modules:
- Mental Health Assessment Analysis - Trend analysis of scale scores such as PHQ-9/GAD-7
- Emotional Pattern Recognition - Identify common emotions, triggering factors, and effectiveness of coping methods
- Psychotherapy Progress Tracking - Assessment of treatment goal achievement and symptom improvement
- Crisis Risk Assessment - Multi-level crisis risk detection (high/medium/low) and early warning
- Sleep-Psychology Correlation Analysis - Correlation analysis between sleep quality and mental state
- Exercise-Emotion Correlation Analysis - Analysis of the relationship between exercise and emotional improvement
- Nutrition-Psychology Correlation Analysis - Analysis of the impact of diet on mood and anxiety
- Chronic Disease-Psychology Correlation Analysis - Analysis of the relationship between chronic diseases and mental health
触发条件
Trigger Conditions
技能在以下情况下自动触发:
- 用户使用 查看心理状况趋势
/mental trend - 用户使用 分析情绪模式
/mental pattern - 用户使用 查看治疗进展
/mental therapy progress - 用户使用 进行危机风险评估
/crisis assessment - 用户使用 生成心理健康报告
/mental report
The skill is automatically triggered in the following scenarios:
- When the user uses to view mental health status trends
/mental trend - When the user uses to analyze emotional patterns
/mental pattern - When the user uses to view treatment progress
/mental therapy progress - When the user uses to conduct crisis risk assessment
/crisis assessment - When the user uses to generate a mental health report
/mental report
医学安全边界
Medical Safety Boundaries
本技能不能做的事:
- ❌ 不进行心理疾病诊断
- ❌ 不开具精神药物处方
- ❌ 不预测自杀风险或自伤行为
- ❌ 不替代专业心理治疗
- ❌ 不处理急性精神危机
本技能能做的事:
- ✅ 识别心理健康趋势和模式
- ✅ 评估危机风险等级并发出预警
- ✅ 提供应对策略建议(非治疗性)
- ✅ 追踪治疗进展和目标达成
- ✅ 提供就医建议和专业资源信息
- ✅ 分析心理健康与其他健康因素的关联
What this skill cannot do:
- ❌ Does not diagnose mental illnesses
- ❌ Does not prescribe psychiatric medications
- ❌ Does not predict suicide risk or self-harm behavior
- ❌ Does not replace professional psychotherapy
- ❌ Does not handle acute mental crises
What this skill can do:
- ✅ Identify mental health trends and patterns
- ✅ Assess crisis risk levels and issue early warnings
- ✅ Provide coping strategy recommendations (non-therapeutic)
- ✅ Track treatment progress and goal achievement
- ✅ Provide medical advice and professional resource information
- ✅ Analyze the correlation between mental health and other health factors
执行步骤
Execution Steps
第1步:数据读取
Step 1: Data Reading
读取心理健康数据文件:
- - 主心理健康档案
data-example/mental-health-tracker.json - - 日志索引
data-example/mental-health-logs/.index.json - - 每日情绪日记
data-example/mental-health-logs/YYYY-MM/YYYY-MM-DD.json
数据验证:
- 检查文件是否存在
- 验证数据结构完整性
- 确认有足够的数据点进行分析(建议至少3次PHQ-9/GAD-7评估,或7天情绪日记)
Read mental health data files:
- - Main mental health record
data-example/mental-health-tracker.json - - Log index
data-example/mental-health-logs/.index.json - - Daily mood journal
data-example/mental-health-logs/YYYY-MM/YYYY-MM-DD.json
Data Validation:
- Check if files exist
- Verify data structure integrity
- Confirm there are sufficient data points for analysis (recommended at least 3 PHQ-9/GAD-7 assessments, or 7 days of mood journals)
第2步:心理健康评估趋势分析
Step 2: Mental Health Assessment Trend Analysis
PHQ-9抑郁评分趋势分析:
- 分析不同时间点的PHQ-9评分
- 计算评分变化速率(分/月)
- 识别严重程度变化(无/轻度/中度/重度)
- 检测PHQ-9第9项(自伤意念)的变化
- 预测未来趋势(改善/稳定/恶化)
- 与治疗进展关联分析GAD-7焦虑评分趋势分析:
- 分析GAD-7评分时序变化
- 识别焦虑症状变化模式
- 关联触发因素与焦虑水平
- 评估应对方式效果
- 预测焦虑趋势PSQI睡眠质量与心理状态关联:
- PSQI评分与PHQ-9/GAD-7评分的相关性
- 睡眠障碍对情绪的影响
- 睡眠改善与心理状态改善的关系严重程度变化检测:
- 识别严重程度升级(需要关注)
- 识别严重程度降级(积极信号)
- 检测快速恶化(≥5分/月,危机预警)
- 检测快速改善(强化有效策略)PHQ-9 Depression Score Trend Analysis:
- Analyze PHQ-9 scores at different time points
- Calculate score change rate (points/month)
- Identify severity changes (none/mild/moderate/severe)
- Detect changes in PHQ-9 Item 9 (suicidal ideation)
- Predict future trends (improving/stable/worsening)
- Correlate with treatment progress analysisGAD-7 Anxiety Score Trend Analysis:
- Analyze time-series changes in GAD-7 scores
- Identify change patterns of anxiety symptoms
- Correlate triggering factors with anxiety levels
- Assess the effectiveness of coping methods
- Predict anxiety trendsPSQI Sleep Quality and Mental State Correlation:
- Correlation between PSQI scores and PHQ-9/GAD-7 scores
- Impact of sleep disorders on mood
- Relationship between sleep improvement and mental state improvementSeverity Change Detection:
- Identify severity escalation (requires attention)
- Identify severity de-escalation (positive signal)
- Detect rapid deterioration (≥5 points/month, crisis warning)
- Detect rapid improvement (reinforce effective strategies)第3步:情绪模式识别
Step 3: Emotional Pattern Recognition
常见情绪统计:
- 统计最常见的主要情绪(top 5)
- 计算平均情绪强度
- 识别情绪分布模式
- 分析情绪多样性时间模式分析:
- 一天中的情绪变化模式(早/中/晚)
- 一周中的情绪变化模式(周一至周日)
- 情绪波动程度(方差/标准差)
- 情绪稳定性评估触发因素分析:
- 统计高频触发因素(top 10)
- 计算每个触发因素的平均影响
- 识别高危触发因素(高影响+高频)
- 触发因素与情绪类型的关联应对方式效果评估:
- 计算每种应对方式的有效性(有帮助/没帮助的比例)
- 识别高效应对策略(>80%有效)
- 识别低效应对策略(<50%有效)
- 应对方式与情绪类型的匹配分析Common Emotion Statistics:
- Count the most common primary emotions (top 5)
- Calculate average emotional intensity
- Identify emotional distribution patterns
- Analyze emotional diversityTime Pattern Analysis:
- Emotional change patterns throughout the day (morning/afternoon/evening)
- Emotional change patterns throughout the week (Monday to Sunday)
- Emotional fluctuation level (variance/standard deviation)
- Emotional stability assessmentTriggering Factor Analysis:
- Count high-frequency triggering factors (top 10)
- Calculate the average impact of each triggering factor
- Identify high-risk triggering factors (high impact + high frequency)
- Correlate triggering factors with emotion typesCoping Method Effectiveness Assessment:
- Calculate the effectiveness of each coping method (ratio of helpful/unhelpful)
- Identify high-efficiency coping strategies (>80% effective)
- Identify low-efficiency coping strategies (<50% effective)
- Analyze the matching between coping methods and emotion types第4步:心理治疗进展追踪
Step 4: Psychotherapy Progress Tracking
治疗目标达成评估:
- 计算每个目标的完成百分比
- 评估症状改善程度(基线→当前→目标)
- 预估目标达成时间
- 识别滞后目标(需要调整)治疗过程分析:
- 治疗频率和依从性
- 作业完成率和质量
- 治疗联盟强度
- 咨询前后情绪变化症状改善评估:
- PHQ-9/GAD-7评分变化(治疗前→治疗后)
- 症状缓解百分比
- 功能水平改善
- 生活质量变化Treatment Goal Achievement Assessment:
- Calculate the completion percentage of each goal
- Assess symptom improvement level (baseline → current → goal)
- Estimate goal achievement time
- Identify lagging goals (need adjustment)Treatment Process Analysis:
- Treatment frequency and adherence
- Homework completion rate and quality
- Strength of therapeutic alliance
- Emotional changes before and after counselingSymptom Improvement Assessment:
- Changes in PHQ-9/GAD-7 scores (pre-treatment → post-treatment)
- Symptom relief percentage
- Functional level improvement
- Quality of life changes第5步:危机风险评估(优先级:最高)
Step 5: Crisis Risk Assessment (Priority: Highest)
多级风险检测机制:
风险等级计算(总分0-20+):
1. PHQ-9第9项检测(最高优先级)
- 得分=2(经常):+10分,直接判定高风险
- 得分=1(有时):+5分
- 得分=0(完全不会):+0分
2. 症状快速恶化检测
- 快速恶化(≥5分/月):+5分
- 恶化(2-4分/月):+3分
- 稳定(-1至1分/月):+0分
- 改善(≤-2分/月):-2分
3. 高强度负面情绪占比检测
- 占比>70%:+3分
- 占比50-70%:+2分
- 占比<50%:+0分
4. 情绪波动检测
- 方差>6(波动大):+2分
- 方差4-6(波动中):+1分
- 方差<4(波动小):+0分
5. 危机计划预警信号检测
- 每出现一个预警信号:+2分
6. 社会退缩检测
- 严重退缩(独处时间>80%):+3分
- 中度退缩(独处时间50-80%):+2分
- 轻度/无退缩:+0分
7. 功能受损检测
- 严重受损(≥5天/周):+4分
- 中度受损(3-4天/周):+2分
- 轻度/无受损:+0分
风险等级判定:
- 高风险(≥10分):立即就医,启动危机干预
- 中风险(5-9分):密切关注,考虑就医(48小时内)
- 低风险(0-4分):继续监测,定期评估危机预警信号检测:
- 绝望感(hopelessness)
- 社会退缩(social_withdrawal)
- 极端情绪波动(extreme_mood_swings)
- 谈论死亡(talk_of_death)
- 送走财物(giving_away_possessions)
- 自伤意念(self_harm)
- 自杀想法(suicidal_thoughts)
- 物质滥用(substance_abuse)紧急行动触发条件:
立即就医(24小时内):
- PHQ-9第9项得分≥2
- 总风险评分≥10分
- 出现幻觉或妄想
- 有自伤或自杀计划
尽快就医(48小时内):
- PHQ-9≥15分或GAD-7≥15分
- 总风险评分5-9分
- 症状快速恶化(≥5分/月)
- 严重影响功能
定期就医(1个月内):
- PHQ-9 10-14分或GAD-7 10-14分
- 总风险评分<5分但症状持续
- 需要专业支持Multi-Level Risk Detection Mechanism:
Risk Level Calculation (Total Score 0-20+):
1. PHQ-9 Item 9 Detection (Highest Priority)
- Score=2 (often): +10 points, directly determine high risk
- Score=1 (sometimes): +5 points
- Score=0 (not at all): +0 points
2. Symptom Rapid Deterioration Detection
- Rapid deterioration (≥5 points/month): +5 points
- Deterioration (2-4 points/month): +3 points
- Stable (-1 to 1 points/month): +0 points
- Improvement (≤-2 points/month): -2 points
3. High-Intensity Negative Emotion Proportion Detection
- Proportion>70%: +3 points
- Proportion 50-70%: +2 points
- Proportion<50%: +0 points
4. Emotional Fluctuation Detection
- Variance>6 (high fluctuation): +2 points
- Variance 4-6 (medium fluctuation): +1 points
- Variance<4 (low fluctuation): +0 points
5. Crisis Plan Early Warning Signal Detection
- Each early warning signal detected: +2 points
6. Social Withdrawal Detection
- Severe withdrawal (alone time>80%): +3 points
- Moderate withdrawal (alone time 50-80%): +2 points
- Mild/no withdrawal: +0 points
7. Functional Impairment Detection
- Severe impairment (≥5 days/week): +4 points
- Moderate impairment (3-4 days/week): +2 points
- Mild/no impairment: +0 points
Risk Level Determination:
- High Risk (≥10 points): Seek medical attention immediately, initiate crisis intervention
- Medium Risk (5-9 points): Monitor closely, consider seeking medical attention (within 48 hours)
- Low Risk (0-4 points): Continue monitoring, regular assessmentCrisis Early Warning Signal Detection:
- Hopelessness (hopelessness)
- Social withdrawal (social_withdrawal)
- Extreme mood swings (extreme_mood_swings)
- Talk of death (talk_of_death)
- Giving away possessions (giving_away_possessions)
- Self-harm ideation (self_harm)
- Suicidal thoughts (suicidal_thoughts)
- Substance abuse (substance_abuse)Emergency Action Trigger Conditions:
Seek medical attention immediately (within 24 hours):
- PHQ-9 Item 9 score ≥2
- Total risk score ≥10 points
- Presence of hallucinations or delusions
- Having self-harm or suicide plans
Seek medical attention as soon as possible (within 48 hours):
- PHQ-9 ≥15 points or GAD-7 ≥15 points
- Total risk score 5-9 points
- Rapid symptom deterioration (≥5 points/month)
- Severe functional impact
Seek regular medical attention (within 1 month):
- PHQ-9 10-14 points or GAD-7 10-14 points
- Total risk score <5 points but symptoms persist
- Need professional support第6步:睡眠-心理关联分析
Step 6: Sleep-Psychology Correlation Analysis
数据来源:
- 读取
data-example/sleep-tracker.json - 提取睡眠时长、睡眠质量(PSQI)、入睡时间等数据
关联分析:
- 睡眠时长与PHQ-9评分的相关性
- 睡眠质量与GAD-7评分的相关性
- 失眠症状与情绪稳定性的关系
- 睡眠改善与心理状态改善的时间关系
- 睡眠障碍类型与特定心理症状的关联分析输出:
- 相关性系数和统计显著性
- 睡眠对心理状态的影响程度(高/中/低)
- 睡眠改善建议
- 睡眠与情绪的双向关系分析Data Sources:
- Read
data-example/sleep-tracker.json - Extract data such as sleep duration, sleep quality (PSQI), bedtime, etc.
Correlation Analysis:
- Correlation between sleep duration and PHQ-9 scores
- Correlation between sleep quality and GAD-7 scores
- Relationship between insomnia symptoms and emotional stability
- Temporal relationship between sleep improvement and mental state improvement
- Correlation between sleep disorder types and specific psychological symptomsAnalysis Output:
- Correlation coefficient and statistical significance
- Impact level of sleep on mental state (high/medium/low)
- Sleep improvement recommendations
- Analysis of the bidirectional relationship between sleep and mood第7步:运动-情绪关联分析
Step 7: Exercise-Emotion Correlation Analysis
数据来源:
- 读取
data-example/fitness-tracker.json - 提取运动频率、运动类型、运动强度、运动时长等数据
关联分析:
- 运动频率与平均情绪强度的关系
- 运动类型与情绪改善效果的关系
- 运动强度与焦虑水平的关系
- 运动时长与情绪持续时间的关系
- 运动后的情绪变化模式
- 运动习惯与抑郁症状的关系分析输出:
- 运动对情绪的积极影响程度
- 最有效的运动类型推荐
- 最佳运动频率建议
- 运动与应对方式的关系Data Sources:
- Read
data-example/fitness-tracker.json - Extract data such as exercise frequency, exercise type, exercise intensity, exercise duration, etc.
Correlation Analysis:
- Relationship between exercise frequency and average emotional intensity
- Relationship between exercise type and emotional improvement effect
- Relationship between exercise intensity and anxiety levels
- Relationship between exercise duration and emotional duration
- Emotional change patterns after exercise
- Relationship between exercise habits and depressive symptomsAnalysis Output:
- Positive impact level of exercise on mood
- Recommendations for the most effective exercise types
- Recommendations for optimal exercise frequency
- Relationship between exercise and coping methods第8步:营养-心理关联分析
Step 8: Nutrition-Psychology Correlation Analysis
数据来源:
- 读取
data-example/nutrition-tracker.json - 提取咖啡因摄入、糖分摄入、饮食习惯等数据
关联分析:
- 咖啡因摄入量与GAD-7焦虑评分的关系
- 糖分摄入与情绪波动的关联
- 饮食规律性与情绪稳定性的关系
- 特定营养素缺乏(维生素D、Omega-3)与抑郁症状
- 饮食模式与整体心理健康分析输出:
- 饮食对心理状态的影响程度
- 营养建议(如减少咖啡因、均衡饮食)
- 可能的营养缺乏提示
- 饮食调整建议Data Sources:
- Read
data-example/nutrition-tracker.json - Extract data such as caffeine intake, sugar intake, eating habits, etc.
Correlation Analysis:
- Relationship between caffeine intake and GAD-7 anxiety scores
- Correlation between sugar intake and emotional fluctuations
- Relationship between eating regularity and emotional stability
- Specific nutrient deficiencies (vitamin D, Omega-3) and depressive symptoms
- Eating patterns and overall mental healthAnalysis Output:
- Impact level of diet on mental state
- Nutrition recommendations (e.g., reduce caffeine intake, balanced diet)
- Possible nutrient deficiency prompts
- Dietary adjustment recommendations第9步:慢性病-心理关联分析
Step 9: Chronic Disease-Psychology Correlation Analysis
数据来源:
- 读取相关慢性病数据文件(如 ,
diabetes-tracker.json)hypertension-tracker.json - 提取疾病控制情况、症状负担、功能受限等数据
关联分析:
- 慢性疼痛与抑郁症状的关系
- 疾病控制情况与心理状态的关系
- 功能受限与心理健康的关系
- 疾病负担与焦虑水平的关系
- 共病模式识别
- 药物副作用对情绪的影响
- 药物依从性与症状改善的关系
**分析输出:**- 慢性疾病对心理健康的影响程度
- 需要特别关注的心理问题
- 整体健康管理建议
- 心理支持对疾病管理的益处
undefinedData Sources:
- Read relevant chronic disease data files (e.g., ,
diabetes-tracker.json)hypertension-tracker.json - Extract data such as disease control status, symptom burden, functional limitations, etc.
Correlation Analysis:
- Relationship between chronic pain and depressive symptoms
- Relationship between disease control status and mental state
- Relationship between functional limitations and mental health
- Relationship between disease burden and anxiety levels
- Comorbidity pattern recognition
- Impact of medication side effects on mood
- Relationship between medication adherence and symptom improvementAnalysis Output:
- Impact level of chronic diseases on mental health
- Psychological issues requiring special attention
- Overall health management recommendations
- Benefits of psychological support for disease management第10步:生成报告
Step 10: Generate Report
输出包括:
- 心理健康状况摘要
- 评估量表趋势分析
- 情绪模式和触发因素
- 治疗进展评估
- 危机风险等级和建议
- 与其他健康因素的关联分析
- 个性化建议和行动计划
Output includes:
- Mental health status summary
- Assessment scale trend analysis
- Emotional patterns and triggering factors
- Treatment progress assessment
- Crisis risk level and recommendations
- Correlation analysis with other health factors
- Personalized recommendations and action plans
输出格式
Output Format
心理健康分析报告结构
Mental Health Analysis Report Structure
markdown
undefinedmarkdown
undefined心理健康分析报告
Mental Health Analysis Report
报告日期: YYYY-MM-DD
分析周期: YYYY-MM-DD 至 YYYY-MM-DD
数据完整性: 良好
⚠️ 重要提示:本报告仅供参考,不构成医学诊断。如有严重心理困扰,请寻求专业心理医生帮助。
Report Date: YYYY-MM-DD
Analysis Period: YYYY-MM-DD to YYYY-MM-DD
Data Completeness: Good
⚠️ Important Note: This report is for reference only and does not constitute a medical diagnosis. If you are experiencing severe psychological distress, please seek help from a professional psychologist.
危机风险预警
Crisis Risk Early Warning
当前风险等级: 🟢 低风险 | 🟡 中风险 | 🔴 高风险
风险评分: X/20
风险因素:
- [列出检测到的风险因素]
建议行动:
- [根据风险等级提供具体建议]
Current Risk Level: 🟢 Low Risk | 🟡 Medium Risk | 🔴 High Risk
Risk Score: X/20
Risk Factors:
- [List detected risk factors]
Recommended Actions:
- [Provide specific recommendations based on risk level]
1. 心理健康状况摘要
1. Mental Health Status Summary
[整体评价:优秀/良好/一般/需改进/危机]
- PHQ-9评分:X分(严重程度)
- GAD-7评分:X分(严重程度)
- 睡眠质量:X分(PSQI)
- 整体趋势:改善/稳定/恶化
[Overall Evaluation: Excellent/Good/Fair/Needs Improvement/Crisis]
- PHQ-9 Score: X points (severity)
- GAD-7 Score: X points (severity)
- Sleep Quality: X points (PSQI)
- Overall Trend: Improving/Stable/Worsening
2. 心理评估趋势分析
2. Psychological Assessment Trend Analysis
PHQ-9抑郁评分趋势
PHQ-9 Depression Score Trend
- 当前评分:X分
- 基线评分:X分
- 变化:±X分
- 变化速率:X分/月
- 趋势:改善/稳定/恶化
- 严重程度变化:[严重程度1] → [严重程度2]
图表描述:
- [折线图展示PHQ-9评分变化]
- [标记严重程度分界线:5, 10, 15]
特别关注:
- 第9项(自伤意念)得分:X
- 最高分项:[条目名称]
- 持续存在问题:[列出条目]
- Current Score: X points
- Baseline Score: X points
- Change: ±X points
- Change Rate: X points/month
- Trend: Improving/Stable/Worsening
- Severity Change: [Severity 1] → [Severity 2]
Chart Description:
- [Line chart showing PHQ-9 score changes]
- [Mark severity boundaries: 5, 10, 15]
Special Attention:
- Item 9 (Suicidal Ideation) Score: X
- Highest Scoring Item: [Item Name]
- Persistent Issues: [List items]
GAD-7焦虑评分趋势
GAD-7 Anxiety Score Trend
- 当前评分:X分
- 基线评分:X分
- 变化:±X分
- 变化速率:X分/月
- 趋势:改善/稳定/恶化
图表描述:
- [折线图展示GAD-7评分变化]
- [标记严重程度分界线:5, 10, 15]
主要焦虑症状:
- 最高分项:[条目名称]
- 主要触发因素:[列出]
- Current Score: X points
- Baseline Score: X points
- Change: ±X points
- Change Rate: X points/month
- Trend: Improving/Stable/Worsening
Chart Description:
- [Line chart showing GAD-7 score changes]
- [Mark severity boundaries: 5, 10, 15]
Main Anxiety Symptoms:
- Highest Scoring Item: [Item Name]
- Main Triggering Factors: [List]
PSQI睡眠质量
PSQI Sleep Quality
- 总分:X分
- 睡眠质量:[评价]
- 主要问题:[列出问题成分]
- Total Score: X points
- Sleep Quality: [Evaluation]
- Main Issues: [List problem components]
3. 情绪模式分析
3. Emotional Pattern Analysis
常见情绪
Common Emotions
- [情绪1] - 占比X%,平均强度X/10
- [情绪2] - 占比X%,平均强度X/10
- [情绪3] - 占比X%,平均强度X/10
图表描述:
- [饼图展示情绪分布]
- [雷达图展示多维度情绪]
- [Emotion 1] - X% proportion, average intensity X/10
- [Emotion 2] - X% proportion, average intensity X/10
- [Emotion 3] - X% proportion, average intensity X/10
Chart Description:
- [Pie chart showing emotion distribution]
- [Radar chart showing multi-dimensional emotions]
时间模式
Time Pattern
- 早晨:主要情绪[情绪],平均强度X/10
- 下午:主要情绪[情绪],平均强度X/10
- 晚上:主要情绪[情绪],平均强度X/10
- Morning: Main emotion [Emotion], average intensity X/10
- Afternoon: Main emotion [Emotion], average intensity X/10
- Evening: Main emotion [Emotion], average intensity X/10
周模式
Weekly Pattern
- 周一至周五:主要情绪[情绪],平均强度X/10
- 周末:主要情绪[情绪],平均强度X/10
- Monday to Friday: Main emotion [Emotion], average intensity X/10
- Weekends: Main emotion [Emotion], average intensity X/10
情绪稳定性
Emotional Stability
- 波动程度:高/中/低
- 情绪方差:X
图表描述:
- [折线图展示情绪强度时序变化]
- [波动范围可视化]
- Fluctuation Level: High/Medium/Low
- Emotion Variance: X
Chart Description:
- [Line chart showing time-series changes in emotional intensity]
- [Fluctuation range visualization]
4. 触发因素分析
4. Triggering Factor Analysis
高频触发因素(Top 10)
High-Frequency Triggering Factors (Top 10)
| 排名 | 触发因素 | 频次 | 平均影响 |
|---|---|---|---|
| 1 | [触发因素1] | X次 | 高/中/低 |
| 2 | [触发因素2] | X次 | 高/中/低 |
| ... |
| Rank | Triggering Factor | Frequency | Average Impact |
|---|---|---|---|
| 1 | [Triggering Factor 1] | X times | High/Medium/Low |
| 2 | [Triggering Factor 2] | X times | High/Medium/Low |
| ... |
高危触发因素(高影响+高频)
High-Risk Triggering Factors (High Impact + High Frequency)
- [触发因素1] - 频次X,影响高,建议:[应对建议]
- [触发因素2] - 频次X,影响高,建议:[应对建议]
图表描述:
- [柱状图展示触发因素频次]
- [热图展示触发因素与情绪类型的关联]
- [Triggering Factor 1] - X frequency, high impact, recommendation: [Coping recommendation]
- [Triggering Factor 2] - X frequency, high impact, recommendation: [Coping recommendation]
Chart Description:
- [Bar chart showing triggering factor frequencies]
- [Heatmap showing correlation between triggering factors and emotion types]
5. 应对方式效果评估
5. Coping Method Effectiveness Assessment
应对方式排名(按效果)
Coping Method Ranking (By Effectiveness)
| 应对方式 | 有效次数 | 无效次数 | 有效率 | 排名 |
|---|---|---|---|---|
| [应对方式1] | X次 | X次 | XX% | 1 |
| [应对方式2] | X次 | X次 | XX% | 2 |
| ... |
| Coping Method | Effective Times | Ineffective Times | Effectiveness Rate | Rank |
|---|---|---|---|---|
| [Coping Method 1] | X times | X times | XX% | 1 |
| [Coping Method 2] | X times | X times | XX% | 2 |
| ... |
高效应对策略(>80%有效)
High-Efficiency Coping Strategies (>80% Effective)
- [策略1] - 有效率XX%,推荐使用
- [策略2] - 有效率XX%,推荐使用
- [Strategy 1] - XX% effectiveness rate, recommended for use
- [Strategy 2] - XX% effectiveness rate, recommended for use
低效应对策略(<50%有效)
Low-Efficiency Coping Strategies (<50% Effective)
- [策略1] - 有效率XX%,建议调整或停止
- [策略2] - 有效率XX%,建议调整或停止
图表描述:
- [条形图展示应对方式效果排名]
- [饼图展示有效/无效比例]
- [Strategy 1] - XX% effectiveness rate, recommend adjustment or discontinuation
- [Strategy 2] - XX% effectiveness rate, recommend adjustment or discontinuation
Chart Description:
- [Bar chart showing coping method effectiveness ranking]
- [Pie chart showing effective/ineffective proportion]
6. 心理治疗进展
6. Psychotherapy Progress
治疗概况
Treatment Overview
- 治疗类型:[CBT/心理动力学/人本主义等]
- 治疗频率:[每周/每两周等]
- 已进行咨询次数:X次
- 治疗时长:X个月
- Treatment Type: [CBT/Psychodynamic/Humanistic, etc.]
- Treatment Frequency: [Weekly/Every two weeks, etc.]
- Number of Counseling Sessions Conducted: X times
- Treatment Duration: X months
治疗目标进展
Treatment Goal Progress
| 目标 | 基线 | 当前 | 目标 | 进展 | 预计达成时间 |
|---|---|---|---|---|---|
| [目标1] | X分 | X分 | X分 | XX% | YYYY-MM-DD |
| [目标2] | X分 | X分 | X分 | XX% | YYYY-MM-DD |
整体进展评价:[优秀/良好/一般/需改进]
| Goal | Baseline | Current | Target | Progress | Estimated Achievement Date |
|---|---|---|---|---|---|
| [Goal 1] | X points | X points | X points | XX% | YYYY-MM-DD |
| [Goal 2] | X points | X points | X points | XX% | YYYY-MM-DD |
Overall Progress Evaluation: [Excellent/Good/Fair/Needs Improvement]
症状改善
Symptom Improvement
- PHQ-9评分变化:X分 → X分,改善XX%
- GAD-7评分变化:X分 → X分,改善XX%
- 整体功能水平:[改善/稳定/恶化]
- PHQ-9 Score Change: X points → X points, XX% improvement
- GAD-7 Score Change: X points → X points, XX% improvement
- Overall Functional Level: [Improving/Stable/Worsening]
作业完成情况
Homework Completion Status
- 平均完成率:XX%
- 高质量完成:XX%
- 需要加强的方面:[列出]
- Average Completion Rate: XX%
- High-Quality Completion: XX%
- Areas Needing Strengthening: [List]
7. 危机风险评估
7. Crisis Risk Assessment
风险等级
Risk Level
当前风险等级: 🟢 低风险 | 🟡 中风险 | 🔴 高风险
风险评分: X/20
Current Risk Level: 🟢 Low Risk | 🟡 Medium Risk | 🔴 High Risk
Risk Score: X/20
风险因素分析
Risk Factor Analysis
| 风险因素 | 得分 | 详情 |
|---|---|---|
| PHQ-9第9项 | X分 | 得分X,[详情] |
| 症状变化 | X分 | [快速恶化/恶化/稳定/改善] |
| 情绪强度 | X分 | 高强度负面情绪占比XX% |
| 情绪波动 | X分 | 波动[大/中/小] |
| 预警信号 | X分 | 出现X个预警信号:[列出] |
| 社会退缩 | X分 | [严重/中度/轻度/无]退缩 |
| 功能受损 | X分 | [严重/中度/轻度/无]受损 |
| Risk Factor | Score | Details |
|---|---|---|
| PHQ-9 Item 9 | X points | Score X, [Details] |
| Symptom Change | X points | [Rapid deterioration/Deterioration/Stable/Improvement] |
| Emotional Intensity | X points | High-intensity negative emotion proportion XX% |
| Emotional Fluctuation | X points | [High/Medium/Low] fluctuation |
| Early Warning Signals | X points | X early warning signals detected: [List] |
| Social Withdrawal | X points | [Severe/Moderate/Mild/No] withdrawal |
| Functional Impairment | X points | [Severe/Moderate/Mild/No] impairment |
检测到的预警信号
Detected Early Warning Signals
- [如有列出]
- [List if any]
建议行动
Recommended Actions
- [根据风险等级提供具体行动建议]
- [Provide specific action recommendations based on risk level]
紧急资源
Emergency Resources
- 心理危机热线:400-xxx-xxxx(24小时)
- 精神科急诊:就近三甲医院
- 急救电话:120
- Psychological Crisis Hotline: 400-xxx-xxxx (24/7)
- Psychiatric Emergency Department: Nearest tertiary hospital
- Emergency Call: 120
8. 与其他健康因素的关联分析
8. Correlation Analysis with Other Health Factors
睡眠-心理关联
Sleep-Psychology Correlation
关联强度: 高/中/低
主要发现:
- 睡眠时长与PHQ-9评分的相关性:r=X.XX
- 睡眠质量与情绪稳定性的关系:[描述]
- 主要睡眠问题:[列出]
- 改善睡眠对心理状态的潜在益处:[描述]
建议:
- [具体的睡眠改善建议]
Correlation Strength: High/Medium/Low
Key Findings:
- Correlation between sleep duration and PHQ-9 scores: r=X.XX
- Relationship between sleep quality and emotional stability: [Description]
- Main Sleep Issues: [List]
- Potential Benefits of Sleep Improvement on Mental State: [Description]
Recommendations:
- [Specific sleep improvement recommendations]
运动-情绪关联
Exercise-Emotion Correlation
关联强度: 高/中/低
主要发现:
- 运动频率与情绪改善的关系:[描述]
- 最有效的运动类型:[列出]
- 运动后的情绪变化:[描述]
建议:
- [具体的运动建议]
Correlation Strength: High/Medium/Low
Key Findings:
- Relationship between exercise frequency and emotional improvement: [Description]
- Most Effective Exercise Types: [List]
- Emotional Changes After Exercise: [Description]
Recommendations:
- [Specific exercise recommendations]
营养-心理关联
Nutrition-Psychology Correlation
关联强度: 高/中/低
主要发现:
- 咖啡因摄入与焦虑的关系:[描述]
- 糖分摄入与情绪波动的关系:[描述]
- 可能的营养缺乏:[列出]
建议:
- [具体的营养建议]
Correlation Strength: High/Medium/Low
Key Findings:
- Relationship between caffeine intake and anxiety: [Description]
- Relationship between sugar intake and emotional fluctuations: [Description]
- Possible Nutrient Deficiencies: [List]
Recommendations:
- [Specific nutrition recommendations]
慢性病-心理关联
Chronic Disease-Psychology Correlation
关联强度: 高/中/低
主要发现:
- [慢性病]与心理状态的关系:[描述]
- 疾病负担对心理健康的影响:[描述]
- 功能受限与情绪的关系:[描述]
建议:
- [具体的整体健康管理建议]
Correlation Strength: High/Medium/Low
Key Findings:
- Relationship between [Chronic Disease] and mental state: [Description]
- Impact of disease burden on mental health: [Description]
- Relationship between functional limitations and mood: [Description]
Recommendations:
- [Specific overall health management recommendations]
9. 综合建议
9. Comprehensive Recommendations
立即行动(如适用)
Immediate Actions (If Applicable)
- [如有紧急问题,列出立即需要采取的行动]
- [List immediate actions if there are urgent issues]
本周行动计划
Weekly Action Plan
- [行动项1] - 优先级:高/中/低
- [行动项2] - 优先级:高/中/低
- ...
- [Action Item 1] - Priority: High/Medium/Low
- [Action Item 2] - Priority: High/Medium/Low
- ...
本月目标
Monthly Goals
- [目标1]
- [目标2]
- ...
- [Goal 1]
- [Goal 2]
- ...
继续保持的方面
Areas to Continue Maintaining
- [列出做得好的方面,鼓励继续保持]
- [List areas that are well-done, encourage continued maintenance]
需要改进的方面
Areas Needing Improvement
- [列出需要改进的方面,提供具体建议]
- [List areas needing improvement, provide specific recommendations]
推荐资源
Recommended Resources
- [书籍/APP/支持团体/在线资源等]
- [Books/Apps/Support Groups/Online Resources, etc.]
10. 数据质量说明
10. Data Quality Description
- 数据完整性:[优秀/良好/一般/需改进]
- PHQ-9评估次数:X次
- GAD-7评估次数:X次
- 情绪日记条目:X条
- 时间跨度:X天
报告生成时间: YYYY-MM-DD HH:MM:SS
下次评估建议时间: YYYY-MM-DD
⚠️ 免责声明:本报告由心理健康分析技能自动生成,仅供参考,不构成医学诊断或治疗建议。如有任何心理健康问题,请寻求专业心理医生或精神科医生的帮助。
undefined- Data Completeness: [Excellent/Good/Fair/Needs Improvement]
- Number of PHQ-9 Assessments: X times
- Number of GAD-7 Assessments: X times
- Number of Mood Journal Entries: X entries
- Time Span: X days
Report Generation Time: YYYY-MM-DD HH:MM:SS
Next Recommended Assessment Time: YYYY-MM-DD
⚠️ Disclaimer: This report is automatically generated by the Mental Health Analysis Skill, for reference only, and does not constitute a medical diagnosis or treatment recommendation. If you have any mental health issues, please seek help from a professional psychologist or psychiatrist.
undefined使用示例
Usage Examples
示例1:趋势分析
Example 1: Trend Analysis
用户输入:
/mental trend 3months技能执行:
- 读取最近3个月的PHQ-9和GAD-7评估数据
- 计算评分变化速率和趋势
- 分析严重程度变化
- 检测PHQ-9第9项变化
- 生成趋势报告
输出:
markdown
undefinedUser Input:
/mental trend 3monthsSkill Execution:
- Read PHQ-9 and GAD-7 assessment data from the last 3 months
- Calculate score change rate and trend
- Analyze severity changes
- Detect changes in PHQ-9 Item 9
- Generate trend report
Output:
markdown
undefined心理健康趋势分析(近3个月)
Mental Health Trend Analysis (Last 3 Months)
整体趋势
Overall Trend
- PHQ-9:14分 → 8分,改善6分,趋势:改善 ✓
- GAD-7:12分 → 6分,改善6分,趋势:改善 ✓
- 变化速率:约2分/月
- PHQ-9: 14 points → 8 points, 6 points improvement, trend: Improving ✓
- GAD-7: 12 points → 6 points, 6 points improvement, trend: Improving ✓
- Change Rate: Approximately 2 points/month
严重程度变化
Severity Changes
- PHQ-9:中度抑郁 → 轻度抑郁 ✓
- GAD-7:中度焦虑 → 轻度焦虑 ✓
- PHQ-9: Moderate depression → Mild depression ✓
- GAD-7: Moderate anxiety → Mild anxiety ✓
积极信号
Positive Signals
- 症状持续改善
- PHQ-9第9项得分:1 → 0 ✓
- 治疗效果良好
- Symptoms continue to improve
- PHQ-9 Item 9 score: 1 → 0 ✓
- Treatment is effective ✓
建议
Recommendations
- 继续当前治疗
- 保持运动和睡眠习惯
- 下次评估:1个月后
undefined- Continue current treatment
- Maintain exercise and sleep habits
- Next assessment: In 1 month
undefined示例2:情绪模式分析
Example 2: Emotional Pattern Analysis
用户输入:
/mental pattern技能执行:
- 读取情绪日记数据
- 统计常见情绪和时间模式
- 分析触发因素和应对方式
- 生成模式识别报告
输出:
markdown
undefinedUser Input:
/mental patternSkill Execution:
- Read mood journal data
- Count common emotions and time patterns
- Analyze triggering factors and coping methods
- Generate pattern recognition report
Output:
markdown
undefined情绪模式分析
Emotional Pattern Analysis
常见情绪(Top 3)
Common Emotions (Top 3)
- 焦虑 - 占比35%,平均强度7/10
- 疲劳 - 占比25%,平均强度6/10
- 平静 - 占比20%,平均强度7/10
- Anxiety - 35% proportion, average intensity 7/10
- Fatigue - 25% proportion, average intensity 6/10
- Calm - 20% proportion, average intensity 7/10
时间模式
Time Pattern
- 早晨:平静(强度7/10)😌
- 下午:焦虑(强度7/10)😰
- 晚上:疲劳(强度6/10)😴
- Morning: Calm (intensity 7/10) 😌
- Afternoon: Anxiety (intensity 7/10) 😰
- Evening: Fatigue (intensity 6/10) 😴
主要触发因素(Top 5)
Main Triggering Factors (Top 5)
- 工作压力 - 12次,影响高
- 睡眠不足 - 8次,影响中
- 运动 - 6次,影响积极
- 社交 - 5次,影响积极
- 交通拥堵 - 4次,影响中
- Work pressure - 12 times, high impact
- Sleep deprivation - 8 times, medium impact
- Exercise - 6 times, positive impact
- Social interaction - 5 times, positive impact
- Traffic congestion - 4 times, medium impact
高效应对策略
High-Efficiency Coping Strategies
- 运动 - 有效率90% ✓
- 冥想 - 有效率85% ✓
- 深呼吸 - 有效率75% ✓
- Exercise - 90% effectiveness rate ✓
- Meditation - 85% effectiveness rate ✓
- Deep breathing - 75% effectiveness rate ✓
建议
Recommendations
- 下午工作压力大时,可使用深呼吸或短暂散步
- 保持规律运动,对情绪改善效果显著
- 改善睡眠有助于减轻焦虑和疲劳
undefined- When work pressure is high in the afternoon, use deep breathing or short walks
- Maintain regular exercise, which has a significant effect on mood improvement
- Improving sleep helps reduce anxiety and fatigue
undefined示例3:危机风险评估
Example 3: Crisis Risk Assessment
用户输入:
/crisis assessment技能执行:
- 读取最近的PHQ-9/GAD-7评估
- 读取最近的情绪日记
- 执行危机风险检测算法
- 计算风险评分和等级
- 生成危机风险报告
输出:
markdown
undefinedUser Input:
/crisis assessmentSkill Execution:
- Read the latest PHQ-9/GAD-7 assessments
- Read the latest mood journal
- Execute crisis risk detection algorithm
- Calculate risk score and level
- Generate crisis risk report
Output:
markdown
undefined危机风险评估
Crisis Risk Assessment
当前风险等级:🟢 低风险
Current Risk Level: 🟢 Low Risk
风险评分: 3/20
Risk Score: 3/20
风险因素分析
Risk Factor Analysis
| 风险因素 | 得分 | 详情 |
|---|---|---|
| PHQ-9第9项 | 0分 | 得分0,无自伤意念 ✓ |
| 症状变化 | -2分 | 改善趋势 ✓ |
| 情绪强度 | 2分 | 高强度负面情绪占比45% |
| 情绪波动 | 1分 | 波动中等 |
| 预警信号 | 0分 | 未检测到 ✓ |
| 社会退缩 | 0分 | 社交活动良好 ✓ |
| 功能受损 | 0分 | 功能正常 ✓ |
| 总分 | 3分 | 低风险 ✓ |
| Risk Factor | Score | Details |
|---|---|---|
| PHQ-9 Item 9 | 0 points | Score 0, no suicidal ideation ✓ |
| Symptom Change | -2 points | Improving trend ✓ |
| Emotional Intensity | 2 points | High-intensity negative emotion proportion 45% |
| Emotional Fluctuation | 1 points | Medium fluctuation |
| Early Warning Signals | 0 points | None detected ✓ |
| Social Withdrawal | 0 points | Good social activities ✓ |
| Functional Impairment | 0 points | Normal function ✓ |
| Total Score | 3 points | Low Risk ✓ |
建议行动
Recommended Actions
- 继续监测心理状态
- 保持健康的生活习惯
- 定期进行心理评估(每月1次)
- 继续心理治疗(如有)
- Continue monitoring mental state
- Maintain healthy lifestyle habits
- Conduct regular mental health assessments (once a month)
- Continue psychotherapy (if applicable)
紧急资源(备用)
Emergency Resources (Backup)
- 心理危机热线:400-xxx-xxxx(24小时)
- 精神科急诊:就近三甲医院
- 急救电话:120
⚠️ 如出现以下情况,请立即寻求专业帮助:
- 有自伤或自杀想法或计划
- 幻觉、妄想
- 完全失去功能
- 无法控制的情绪爆发
undefined- Psychological Crisis Hotline: 400-xxx-xxxx (24/7)
- Psychiatric Emergency Department: Nearest tertiary hospital
- Emergency Call: 120
⚠️ If any of the following situations occur, please seek professional help immediately:
- Having self-harm or suicide thoughts or plans
- Hallucinations, delusions
- Complete loss of function
- Uncontrollable emotional outbursts
undefined示例4:治疗进展分析
Example 4: Treatment Progress Analysis
用户输入:
/mental therapy progress技能执行:
- 读取治疗记录和目标
- 计算目标完成百分比
- 分析症状改善程度
- 评估作业完成情况
- 生成治疗进展报告
输出:
markdown
undefinedUser Input:
/mental therapy progressSkill Execution:
- Read treatment records and goals
- Calculate goal completion percentage
- Analyze symptom improvement level
- Assess homework completion status
- Generate treatment progress report
Output:
markdown
undefined心理治疗进展分析
Psychotherapy Progress Analysis
治疗概况
Treatment Overview
- 治疗类型:CBT(认知行为治疗)
- 治疗频率:每周1次
- 已进行咨询:24次
- 治疗时长:5个月
- Treatment Type: CBT (Cognitive Behavioral Therapy)
- Treatment Frequency: Once a week
- Number of Counseling Sessions Conducted: 24 times
- Treatment Duration: 5 months
治疗目标进展
Treatment Goal Progress
| 目标 | 基线 | 当前 | 目标 | 进展 | 预计达成时间 |
|---|---|---|---|---|---|
| 降低焦虑水平 | 14分 | 8分 | 5分 | 57% | 2025-08-01 |
| 改善睡眠质量 | 10分 | 6分 | 4分 | 60% | 2025-07-15 |
| 增加愉快活动 | 2次/周 | 5次/周 | 7次/周 | 50% | 2025-07-01 |
整体进展评价: 良好 ✓
| Goal | Baseline | Current | Target | Progress | Estimated Achievement Date |
|---|---|---|---|---|---|
| Reduce anxiety levels | 14 points | 8 points | 5 points | 57% | 2025-08-01 |
| Improve sleep quality | 10 points | 6 points | 4 points | 60% | 2025-07-15 |
| Increase enjoyable activities | 2 times/week | 5 times/week | 7 times/week | 50% | 2025-07-01 |
Overall Progress Evaluation: Good ✓
症状改善
Symptom Improvement
- PHQ-9评分:14分 → 8分,改善43% ✓
- GAD-7评分:14分 → 6分,改善57% ✓
- 整体功能水平:显著改善 ✓
- PHQ-9 Score Change: 14 points → 8 points, 43% improvement ✓
- GAD-7 Score Change: 14 points → 6 points, 57% improvement ✓
- Overall Functional Level: Significant improvement ✓
作业完成情况
Homework Completion Status
- 平均完成率:85%
- 高质量完成:60%
- 需要加强:认知重构练习
- Average Completion Rate: 85%
- High-Quality Completion: 60%
- Areas Needing Strengthening: Cognitive restructuring exercises
治疗亮点
Treatment Highlights
- 焦虑症状显著改善
- 睡眠质量明显提升
- 行为激活效果良好
- 认知扭曲识别能力提升
- Significant improvement in anxiety symptoms
- Significant improvement in sleep quality ✓
- Good effect of behavioral activation
- Improved ability to recognize cognitive distortions
继续保持
Continue Maintaining
- 每周心理咨询
- 每日放松练习
- 行为激活(运动、社交)
- 思维记录
- Weekly psychological counseling
- Daily relaxation exercises
- Behavioral activation (exercise, social interaction)
- Thought recording
需要加强
Needs Strengthening
- 认知重构练习
- 应对技巧应用
- 睡眠卫生维持
undefined- Cognitive restructuring exercises
- Application of coping skills
- Maintenance of sleep hygiene
undefined示例5:关联分析
Example 5: Correlation Analysis
用户输入:
/mental analysis correlations技能执行:
- 读取心理健康、睡眠、运动、营养、慢性病数据
- 计算相关性系数
- 分析影响程度
- 生成关联分析报告
输出:
markdown
undefinedUser Input:
/mental analysis correlationsSkill Execution:
- Read mental health, sleep, exercise, nutrition, and chronic disease data
- Calculate correlation coefficients
- Analyze impact levels
- Generate correlation analysis report
Output:
markdown
undefined心理健康关联分析
Mental Health Correlation Analysis
睡眠-心理关联(关联强度:高)
Sleep-Psychology Correlation (Correlation Strength: High)
主要发现
Key Findings
- 睡眠时长与PHQ-9评分呈负相关(r=-0.72, p<0.01)
- 睡眠质量与情绪稳定性呈正相关(r=0.68, p<0.01)
- PSQI评分每改善1分,PHQ-9评分平均降低1.2分
- Negative correlation between sleep duration and PHQ-9 scores (r=-0.72, p<0.01)
- Positive correlation between sleep quality and emotional stability (r=0.68, p<0.01)
- For every 1-point improvement in PSQI score, PHQ-9 score decreases by an average of 1.2 points
睡眠问题影响
Impact of Sleep Issues
- 入睡困难 → 次日焦虑增加40%
- 夜间易醒 → 次日情绪低落增加35%
- 睡眠不足 → 注意力不集中,情绪波动加大
- Difficulty falling asleep → 40% increase in next-day anxiety
- Frequent nighttime awakenings → 35% increase in next-day low mood
- Sleep deprivation → Poor concentration, increased emotional fluctuations
建议
Recommendations
- 保持规律作息,每晚23:00前入睡
- 改善睡眠卫生:避免咖啡因下午摄入
- 继续放松练习,促进睡眠
- Maintain regular schedule, go to bed before 23:00 every night
- Improve sleep hygiene: Avoid caffeine intake in the afternoon
- Continue relaxation exercises to promote sleep
运动-情绪关联(关联强度:高)
Exercise-Emotion Correlation (Correlation Strength: High)
主要发现
Key Findings
- 运动频率与积极情绪占比呈正相关(r=0.75, p<0.01)
- 运动日情绪平均强度比非运动日高1.5分
- 运动后焦虑感平均降低50%
- Positive correlation between exercise frequency and proportion of positive emotions (r=0.75, p<0.01)
- Average emotional intensity on exercise days is 1.5 points higher than on non-exercise days
- Anxiety levels decrease by an average of 50% after exercise
最有效的运动类型
Most Effective Exercise Types
- 有氧运动(跑步、游泳)- 改善率85%
- 瑜伽 - 改善率80%
- 户外散步 - 改善率75%
- Aerobic exercise (running, swimming) - 85% improvement rate
- Yoga - 80% improvement rate
- Outdoor walking - 75% improvement rate
建议
Recommendations
- 保持每周3-5次运动,每次30分钟以上
- 优先选择有氧运动
- 焦虑时可进行户外散步
- Maintain 3-5 exercise sessions per week, each lasting more than 30 minutes
- Prioritize aerobic exercise
- Take an outdoor walk when feeling anxious
营养-心理关联(关联强度:中)
Nutrition-Psychology Correlation (Correlation Strength: Medium)
主要发现
Key Findings
- 咖啡因摄入与GAD-7评分呈正相关(r=0.52, p<0.05)
- 高糖饮食与情绪波动呈正相关(r=0.48, p<0.05)
- Omega-3摄入不足可能与抑郁症状相关
- Positive correlation between caffeine intake and GAD-7 scores (r=0.52, p<0.05)
- Positive correlation between high-sugar diet and emotional fluctuations (r=0.48, p<0.05)
- Insufficient Omega-3 intake may be associated with depressive symptoms
建议
Recommendations
- 减少咖啡因摄入(每天≤2杯)
- 减少添加糖摄入
- 考虑补充Omega-3(咨询医生)
- Reduce caffeine intake (≤2 cups per day)
- Reduce added sugar intake
- Consider supplementing Omega-3 (consult a doctor)
综合建议
Comprehensive Recommendations
基于关联分析,以下生活方式对改善心理健康最有效:
- 规律运动(每周3-5次,30分钟+)
- 充足睡眠(7-8小时,23:00前入睡)
- 均衡饮食(减少咖啡因和糖分)
- 持续治疗(CBT心理治疗)
这4个方面的综合干预对您的心理健康改善贡献率为75%。
undefinedBased on correlation analysis, the following lifestyle changes are most effective for improving mental health:
- Regular exercise (3-5 times per week, 30+ minutes)
- Adequate sleep (7-8 hours, bed before 23:00)
- Balanced diet (reduce caffeine and sugar)
- Continuous treatment (CBT psychotherapy)
The combined contribution of these 4 aspects to your mental health improvement is 75%.
undefined示例6:完整报告生成
Example 6: Full Report Generation
用户输入:
/mental report技能执行:
- 读取所有相关数据
- 执行完整分析流程
- 生成交互式HTML报告
- 包含危机警告和建议
输出:
生成完整的心理健康分析报告HTML文件,包含:
- 所有图表(ECharts交互式图表)
- 危机风险警告(如适用)
- 详细分析和建议
- 可下载或打印
User Input:
/mental reportSkill Execution:
- Read all relevant data
- Execute complete analysis process
- Generate interactive HTML report
- Include crisis warnings and recommendations
Output:
Generate a complete mental health analysis report HTML file, including:
- All charts (ECharts interactive charts)
- Crisis risk warnings (if applicable)
- Detailed analysis and recommendations
- Downloadable or printable
错误处理
Error Handling
数据文件不存在
Data File Not Found
错误:未找到心理健康数据文件
建议:请先使用 /mental assess 或 /mental mood 命令创建数据Error: Mental health data file not found
Recommendation: Please first use the /mental assess or /mental mood command to create data数据不足
Insufficient Data
警告:数据不足以进行趋势分析
建议:至少需要3次PHQ-9/GAD-7评估或7天情绪日记
当前数据:PHQ-9评估X次,情绪日记X条Warning: Insufficient data for trend analysis
Recommendation: At least 3 PHQ-9/GAD-7 assessments or 7 days of mood journals are required
Current Data: X PHQ-9 assessments, X mood journal entries危机风险高
High Crisis Risk
🔴 危机警告:检测到高风险因素
立即行动:
1. 联系心理危机热线:400-xxx-xxxx(24小时)
2. 前往最近的精神科急诊
3. 拨打急救电话:120
4. 联系家人或朋友陪伴
检测到的风险因素:
- [列出高风险因素]
不要犹豫,立即寻求专业帮助!🔴 Crisis Warning: High-risk factors detected
Immediate Actions:
1. Contact the psychological crisis hotline: 400-xxx-xxxx (24/7)
2. Go to the nearest psychiatric emergency department
3. Dial emergency call: 120
4. Contact family or friends for company
Detected High-Risk Factors:
- [List high-risk factors]
Do not hesitate, seek professional help immediately!数据源说明
Data Source Description
主要数据源:
- - 心理健康主数据
data-example/mental-health-tracker.json - - 情绪日记日志
data-example/mental-health-logs/
关联数据源:
- - 睡眠数据
data-example/sleep-tracker.json - - 运动数据
data-example/fitness-tracker.json - - 营养数据
data-example/nutrition-tracker.json - - 糖尿病数据(如适用)
data-example/diabetes-tracker.json - - 高血压数据(如适用)
data-example/hypertension-tracker.json - - 用药数据
data-example/medication-tracker.json
Main Data Sources:
- - Main mental health data
data-example/mental-health-tracker.json - - Mood journal logs
data-example/mental-health-logs/
Associated Data Sources:
- - Sleep data
data-example/sleep-tracker.json - - Exercise data
data-example/fitness-tracker.json - - Nutrition data
data-example/nutrition-tracker.json - - Diabetes data (if applicable)
data-example/diabetes-tracker.json - - Hypertension data (if applicable)
data-example/hypertension-tracker.json - - Medication data
data-example/medication-tracker.json
性能优化
Performance Optimization
对于大量数据(如>6个月的情绪日记),采用以下优化策略:
- 数据聚合:按周/月聚合情绪数据
- 抽样分析:随机抽样代表性数据点
- 增量分析:仅分析新增数据
- 缓存中间结果
技能版本: v1.0.0
最后更新: 2025-01-06
维护者: WellAlly Tech
For large amounts of data (e.g., >6 months of mood journals), the following optimization strategies are adopted:
- Data aggregation: Aggregate mood data by week/month
- Sampling analysis: Randomly sample representative data points
- Incremental analysis: Only analyze newly added data
- Cache intermediate results
Skill Version: v1.0.0
Last Updated: 2025-01-06
Maintainer: WellAlly Tech