Use this skill when users want to analyze their sleep data, understand sleep patterns, or get personalized recommendations to improve sleep quality. Triggers: sleep analysis, sleep data, sleep quality, sleep patterns, sleep hygiene, sleep tracker, improve sleep, sono, análise de sono, qualidade do sono, melhorar o sono.
This skill provides a comprehensive analysis of your sleep data, identifying patterns and offering personalized recommendations to improve your sleep quality. By leveraging data from sleep trackers, this skill helps you understand your sleep architecture, including sleep stages, heart rate variability (HRV), and sleep efficiency. It then provides evidence-based sleep hygiene recommendations to help you get more restful and restorative sleep.
ALWAYS activate this skill when user mentions:
Example user queries that trigger this skill:
ALWAYS use this skill when user mentions:
The skill can analyze various sleep metrics to provide a detailed picture of your sleep patterns. This includes:
Based on the analysis of your sleep data, the skill provides tailored recommendations to improve your sleep hygiene. These recommendations cover various aspects of your lifestyle and environment, such as:
User Request:
"Analyze my sleep data from the past week. The data is in the file sleep_data.csv."
Manus Action:
import pandas as pd
df = pd.read_csv('sleep_data.csv')
# --- Perform analysis on the dataframe ---
# Example: Calculate average sleep duration
average_sleep_duration = df['sleep_duration'].mean()
# --- Generate a report ---
report = f"""## Sleep Analysis Report
**Average Sleep Duration:** {average_sleep_duration:.2f} hours
... (rest of the report)
"""
print(report)
User Request: "My sleep tracker shows I'm getting very little deep sleep. What can I do to improve it?"
Manus Action:
# Recommendations for increasing deep sleep
recommendations = """## Recommendations for Increasing Deep Sleep
1. **Consistent Sleep Schedule:** Go to bed and wake up at the same time every day, even on weekends.
2. **Create a Cool, Dark, and Quiet Bedroom:** The ideal temperature for sleep is around 65°F (18°C).
3. **Avoid Alcohol Before Bed:** Alcohol can suppress deep sleep.
4. **Get Regular Exercise:** But avoid intense exercise too close to bedtime.
5. **Take a Warm Bath Before Bed:** A warm bath can help you relax and may increase deep sleep.
"""
print(recommendations)