Analyzes the relationship between a user's caffeine consumption and sleep quality. The skill coordinates beverage logging, applies a half-life decay model to estimate residual caffeine, analyzes sleep metrics (duration, efficiency, onset latency, stages when available), correlates intake patterns with sleep outcomes, and generates personalized cutoff times and recommendations. Optional genotype (CYP1A2) analysis can adjust metabolism assumptions. Outputs daily and weekly reports plus genotype summaries when provided.
Use this skill when a user drinks caffeinated beverages regularly and wants to understand or improve how caffeine affects their sleep — e.g., after tracking beverages for several days, when experiencing prolonged sleep onset, or to set a personalized caffeine cutoff time. Also useful for weekly trend analysis and genotype-informed guidance.
Likely compatible with general Agent Skills-capable assistants that expose Read/Grep/Write/Edit tools and can call sub-skills for tracking and analysis (Claude Code, Cursor-style agents, Copilot-like assistants).
This skill has not been reviewed by our automated audit pipeline yet.