cgm-analyzer

Analyze CGM CSV data to compute glycemic metrics and generate reports.

1|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/zinojeng/cgm_skill --skill cgm-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cgm-analyzer
Source: https://github.com/zinojeng/cgm_skill/tree/main/.
Command: npx skills add https://github.com/zinojeng/cgm_skill --skill cgm-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, matplotlib, seaborn, openai, plotly, scipy, scikit-learn, streamlit, pyyaml, tqdm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates the tedious, manual process of analyzing Continuous Glucose Monitor (CGM) data. It transforms raw glucose readings into actionable, AI-driven insights, saving you time and reducing the complexity of managing diabetes. Get clear reports and personalized recommendations without needing to be a data expert.

Core Features & Use Cases

  • Automated CGM Data Analysis: Processes raw CSV data from various CGM devices (Dexcom, FreeStyle Libre, Guardian), calculating essential metrics like Time in Range (TIR), Glycemic Risk Index (GRI), and Glucose Management Indicator (GMI).
  • AI-Powered Personalized Recommendations: Leverages advanced AI models (GPT-4o, GPT-5) to provide tailored advice on insulin adjustments, dietary choices, exercise routines, and risk prevention strategies based on your unique glucose patterns.
  • Visual Reports & Pattern Recognition: Generates professional Ambulatory Glucose Profile (AGP) charts, daily glucose overlays, and Time in Range pie charts, making complex glucose trends easy to visualize and understand.
  • Use Case: Upload your latest CGM data, and receive a comprehensive report that not only highlights key metrics but also provides specific, actionable advice on how to improve your glucose control, helping you make informed decisions about your health.

Quick Start

To get started, provide your CGM data in CSV format. For example, you can say: Analyze the attached 'my_glucose_data.csv' and give me a full report with AI recommendations.

Frequently Asked Questions about cgm-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze CGM data from my glucose monitor?

CGM data analysis transforms raw glucose readings into actionable metrics. This Skill processes CSV exports from Dexcom, FreeStyle Libre, and Guardian devices, calculating Time in Range (TIR), Glycemic Risk Index (GRI), and Glucose Management Indicator (GMI) automatically, then visualizes trends with AGP charts and pie charts.

Can I get personalized diabetes management recommendations from my glucose data?

Yes. This Skill applies AI models (GPT-4o, GPT-5) to your computed glucose metrics to generate tailored recommendations on insulin adjustments, dietary choices, exercise routines, and risk prevention strategies based on your unique patterns.

What metrics does CGM analysis calculate?

CGM analysis computes glycemic metrics including Time in Range (TIR), Time Above Range (TAR), Time Below Range (TBR), Coefficient of Variation (CV), Standard Deviation (SD), Mean Absolute Glucose Excursion (MAGE), Glucose Management Indicator (GMI), and Glycemic Risk Index (GRI).

How do I process batch CGM files for automated daily reporting?

This Skill handles batch processing of multiple CGM CSV exports through CSV parsing, data cleaning, and time-series alignment, then generates professional reports with computed metrics and AI-driven recommendations suitable for routine monitoring and automated daily reporting workflows.

Does this work with multiple CGM device formats in one analysis?

Yes. The Skill supports CSV data from multiple CGM devices—Dexcom, FreeStyle Libre, Guardian, and others—normalizing formats through parsing and cleaning so you can analyze data across different devices in the same workflow.

What do I need to get started with glucose data analysis?

You need CGM data in CSV format from your glucose monitor. Upload your file and the Skill handles the rest: CSV parsing, metric computation, visualization generation, and AI recommendations. No data science expertise required.