Fitness analyzer

From vitaclaw/vitaclaw · View interactive version

Fitness analyzer is an AI agent skill from the GitHub repository vitaclaw/vitaclaw. Analyzes fitness data, identifies exercise patterns, evaluates workout progress, and provides personalized training recommendations. Supports correlation analysis with chronic disease data such as blood pressure and blood glucose. Use when the user wants to review their exercise trends, track runnin

How to use this skill

Skill file

Fitness Analyzer Skill

Analyzes fitness data, identifies exercise patterns, evaluates workout progress, and provides personalized training recommendations.

Features

1. Exercise Trend Analysis

Analyzes trends in exercise volume, frequency, and intensity, identifying areas of improvement or those needing adjustment.

Analysis Dimensions:

Output:

2. Workout Progress Tracking

Tracks progress in specific exercise types and quantifies fitness outcomes.

Supported Progress Tracking:

Output:

3. Exercise Habit Analysis

Identifies the user's exercise habits and patterns.

Analysis Content:

Output:

4. Correlation Analysis

Analyzes correlations between exercise and other health metrics.

Supported Correlation Analyses:

Output:

5. Personalized Recommendation Generation

Generates personalized exercise recommendations based on user data.

Recommendation Types:

Recommendation Basis:

Output Format

Trend Analysis Report

# Exercise Trend Analysis Report

## Analysis Period
2025-03-20 to 2025-06-20 (3 months)

## Exercise Volume Trends

### Workout Duration
- Trend: Up
- Start: avg 120 min/week
- Current: avg 180 min/week
- Change: +50% (+60 min/week)
- Interpretation: Significant increase in exercise volume, excellent performance

### Calorie Burn
- Trend: Up
- Start: avg 960 cal/week
- Current: avg 1440 cal/week
- Change: +50%
- Interpretation: Increased exercise expenditure, beneficial for weight management

### Exercise Distance
- Trend: Up
- Start: avg 10 km/week
- Current: avg 20 km/week
- Change: +100%
- Interpretation: Significant endurance improvement

## Exercise Frequency

- Current frequency: 4 days/week
- Target frequency: 4-5 days/week
- Status: On target
- Recommendation: Maintain current frequency

## Intensity Distribution

| Intensity | Proportion | Change |
|-----------|-----------|--------|
| Low intensity | 25% | +5% |
| Moderate intensity | 55% | -10% |
| High intensity | 20% | +5% |

**Analysis**: Intensity distribution is reasonable with moderate intensity dominant, consistent with aerobic exercise recommendations.

## Exercise Type Distribution

| Exercise Type | Proportion |
|--------------|-----------|
| Running | 50% |
| Yoga | 25% |
| Strength training | 25% |

**Recommendation**: Consider increasing strength training proportion to 30-40%.

## Insights & Recommendations

### Strengths
1. Steady growth in exercise volume (+50%)
2. Stable exercise frequency at 4 days/week
3. Adequate rest days, good recovery

### Improvement Recommendations
1. Add 2 strength training sessions per week
2. Try different exercise types to avoid monotony
3. Incorporate high-intensity interval training (HIIT)

### Warnings
1. Avoid excessively high exercise intensity; maintain moderate intensity as the primary level

Correlation Analysis Report

# Exercise and Blood Pressure Correlation Analysis

## Data Sources
- Exercise data: fitness-logs (2025-03-20 to 2025-06-20)
- Blood pressure data: hypertension-tracker (same period)

## Analysis Results

### Correlation Coefficient
- Variables: weekly exercise duration <-> systolic blood pressure
- Correlation coefficient: r = -0.68
- Correlation strength: **Strong negative correlation**
- Statistical significance: p < 0.01 **Highly significant**

### Interpretation
Weekly exercise duration is strongly negatively correlated with systolic blood pressure, meaning:
- More exercise leads to lower blood pressure
- Each additional 30 minutes of exercise is associated with a 3-5 mmHg decrease in systolic blood pressure

### Practical Recommendations
1. Continue regular exercise, 5-7 days per week
2. 30-60 minutes per session, moderate intensity
3. Prioritize aerobic exercise (brisk walking, jogging, cycling)
4. Avoid breath-holding exercises and sudden explosive movements

### Medical References
- AHA statement: Regular aerobic exercise can lower systolic blood pressure by 5-7 mmHg
- Your exercise effect: approximately 10 mmHg reduction, significant results!

Progress Tracking Report

# Running Progress Tracking

## Analysis Period
2025-01-01 to 2025-06-20 (6 months)

## Pace Progress

| Metric | Start | Current | Improvement |
|--------|-------|---------|-------------|
| Average pace | 7:30 min/km | 6:00 min/km | +20% |
| Best pace | 7:00 min/km | 5:30 min/km | +22% |
| 5K time | 37:30 | 30:00 | +20% |

**Trend**: Pace is improving steadily and significantly!

## Distance Progress

| Metric | Start | Current | Improvement |
|--------|-------|---------|-------------|
| Longest single run | 3 km | 12 km | +300% |
| Monthly total distance | 40 km | 86 km | +115% |
| Average distance | 5 km | 6 km | +20% |

**Trend**: Endurance has improved substantially, capable of longer distances.

## Heart Rate Improvement

| Metric | Start | Current | Improvement |
|--------|-------|---------|-------------|
| Resting heart rate | 78 bpm | 72 bpm | -6 bpm |
| Heart rate at same pace | 155 bpm | 145 bpm | -10 bpm |

**Analysis**: Significant cardiovascular improvement; heart rate is lower at the same pace.

## Milestones

- 2025-03-15: First 5K run completed
- 2025-05-20: First 10K run completed
- 2025-06-10: Pace broke through 6:00 min/km

## Next Goals

- Complete a half marathon (21 km)
- Improve pace to 5:30 min/km
- Try interval training to increase speed

Data Sources

Primary Data Sources

  1. Exercise logs
  1. User profile
  1. Health data correlations

Data Quality Checks

Algorithm Descriptions

1. Linear Regression Trend Analysis

Uses linear regression to analyze time trends in exercise data.

Formula:

y = a + bx

Where:

Interpretation:

2. Pearson Correlation Coefficient

Used to analyze the linear correlation between two variables.

Formula:

r = Sum[(xi - x_mean)(yi - y_mean)] / sqrt[Sum(xi - x_mean)^2 * Sum(yi - y_mean)^2]

Range: -1 <= r <= 1

Interpretation:

Strength Classification:

3. Pace Calculation

Pace = workout duration / distance

Unit: min/km or min/mile

Example:

4. MET Energy Expenditure Calculation

Calorie burn = MET x body weight (kg) x time (hours)

Common exercise MET values:

Medical Safety Boundaries

Important Disclaimer

This analysis is for health reference only and does not constitute medical advice.

Scope of Analysis

Can do:

Cannot do:

Danger Signal Detection

The following danger signals are detected during analysis:

  1. Abnormal heart rate
  1. Abnormal blood pressure
  1. Overtraining signs
  1. Rapid weight loss

Recommendation Levels

Level 1: General recommendations

Level 2: Reference recommendations

Level 3: Medical recommendations

Usage Examples

Example 1: Generate exercise trend report

/fitness trend 3months

Output:

Example 2: Track running progress

/fitness analysis progress running

Output:

Example 3: Analyze exercise and blood pressure correlation

/fitness analysis correlation blood_pressure

Output:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.