Analyze and Optimize Health Goals
Analyzes health-goal setting, progress, habits, and motivation, validating goals against the SMART framework.
Why it matters
Analyze health goal data to identify patterns, track progress, and provide personalized recommendations for goal achievement. Generate interactive reports to visualize progress and insights.
Outcomes
What it gets done
Validate health goals against SMART principles.
Track and analyze progress towards health objectives.
Identify and suggest solutions for obstacles to goal achievement.
Generate interactive HTML reports with ECharts visualizations.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/ag-goal-analyzer | bash Overview
Health Goals Analyzer Skill
Analyzes health-goal data to validate SMART-goal quality, track progress and habit formation, assess motivation, and correlate goals with nutrition, exercise, and sleep data. Use it to evaluate whether a health goal meets SMART criteria or to track progress and get goal-optimization advice; it does not diagnose or replace medical advice.
What it does
Analyzes health-goal data to validate goal quality, track progress, and manage habit formation and motivation, producing personalized goal-management advice. Its eight functions: SMART-goal validation (scoring each of Specific, Measurable, Achievable, Relevant, and Time-bound from 1-5, with an overall S/A/B/C grade and improvement suggestions - e.g. flagging a 6-month, 5kg weight-loss goal as a 4.8/5 "A" with a suggested milestone every two months); progress tracking (completion percentage, time-elapsed ratio, velocity, and trend, rated excellent, normal, behind, or severely behind); habit-formation analysis mapped to five stages by day count - days 1-7 startup (easiest to quit), 8-21 formation, 22-30 consolidation, 31-66 habit, 67+ fully automatic - tracking streaks, completion rate, and a 1-10 habit-strength score; motivation assessment (a 1-10 score, intrinsic/extrinsic/social factors, low-point detection tied to known risk windows at weeks 2-3, months 1-2, and past month 3); an achievement system unlocking goal-related, habit-related, and combined badges; obstacle identification across five categories - time, motivation, environment, ability, physical - each with matched suggestions; and correlation analysis linking a goal, such as weight loss, to nutrition, exercise, and sleep data via Pearson correlation, regression, and trend matching.
def validate_smart_goal(goal):
scores = {
'specific': check_specificity(goal),
'measurable': check_measurability(goal),
}
It also generates HTML visualization reports with ECharts - a progress-trend line chart, a habit calendar heatmap, a multi-goal comparison ring chart, and a motivation trend chart - responsive and theme-switchable, running fully offline with no network dependency.
When to use - and when NOT to
Use it to evaluate whether a health goal meets SMART criteria, track progress and correlate it with nutrition, exercise, or sleep data, or get goal-optimization advice, risk flags, and staged adjustment plans for personal health management.
Its medical safety boundary is explicit: it can assist with goal-setting, progress and pattern tracking, general improvement advice, and visualization; it cannot diagnose, prescribe treatment, replace professional medical advice, or handle eating disorders or compulsive behavior. It flags danger signals - a weight-loss target over 1 kg per week, a weight-gain target over 0.5 kg per week, extreme calorie restriction under 1200 per day, excessive exercise over 2 hours daily for all 7 days a week, completion under 30% for three weeks, or motivation under 3 for two weeks - and recommends consulting a doctor, dietitian, or fitness professional accordingly.
Inputs and outputs
Input: a health-goals tracker file, daily logs, and correlated nutrition and fitness data. Output: a SMART-score breakdown and grade, a progress and trend report, a habit-streak and strength assessment, a motivation trend with low-point warnings, unlocked achievements, identified obstacles with solutions, correlation findings, and an interactive HTML report with ECharts visualizations.
Integrations
Reads from and correlates with existing nutrition-tracker and fitness-tracker modules within the same health-tracking system, rendering reports with the ECharts 5.x charting library.
Who it's for
Users who want their health goals validated against SMART criteria and tracked with data-driven habit, motivation, and correlation insights, not a medical diagnostic tool.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.