session-analysis

Analyze a Strava training session into structured JSON with splits and HR drift.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/AlvaroLaraFF/strava-coach --skill session-analysis-alvarolaraff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-analysis
Source: https://github.com/AlvaroLaraFF/strava-coach/tree/main/.claude/skills/session-analysis
Command: npx skills add https://github.com/AlvaroLaraFF/strava-coach --skill session-analysis-alvarolaraff

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Provides a deep, structured analysis of a single training session by transforming Strava data into a JSON-rich report that includes a narrative summary, per-km splits, HR drift, cadence, elevation insights, and plan comparison.

Core Features & Use Cases

  • Automatic generation of a narrative briefing plus quantitative metrics (narrative, summary, splits, pace shape, hr drift, zone distribution, elevation, slowdown, and cross-session references) for a single activity.
  • Supports running (and cycling or multi-sport contexts) by leveraging raw activity data, per-km splits, and lap/stream-based work blocks to detect intervals, warmups, and cooldowns.
  • Real-world use: a coach or athlete asks "analyze today's run" and receives a structured JSON they can render in dashboards or memory.

Quick Start

Analyze a session by providing a date or Strava ID to generate a deep-dive report.

Frequently Asked Questions about session-analysis

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

FAQPage Schema
How do I analyze a single Strava training session to get per-km splits and HR drift?

To analyze a single Strava training session for per-km splits and HR drift, you provide a date or Strava activity ID to generate a structured JSON report. This output includes narrative summaries, pace shape, and zone distribution.

Can I automatically detect intervals and warmups from Strava running data?

Yes, you can automatically detect intervals, warmups, and cooldowns from Strava running data by leveraging lap and stream-based work blocks. The analysis identifies these segments to evaluate effort distribution within the session.

What is HR drift analysis and how does it work with Strava activity data?

HR drift analysis tracks heart rate changes relative to pace over the duration of a Strava activity. It requires optional threshold parameters to compute HR zones and pace bands, outputting the results within a structured JSON schema.

How do I compare an athlete's actual pacing against a planned workout?

You compare an athlete's actual pacing against a planned workout by running a session analysis that includes a plan comparison. This evaluates the athlete's readiness and effort distribution relative to the intended training targets.

Does session analysis support cycling activities or only running data?

Session analysis supports both running and cycling activities. It leverages raw activity data, per-km splits, and stream-based work blocks to inspect pacing and effort distribution across multi-sport contexts.

What Python environment setup do I need to access the Strava DB for fitness coaching analysis?

You need a Python environment with access to the Strava DB and optional threshold parameters to compute HR zones and pace bands. This setup enables the generation of consistent JSON deep-dive reports for fitness coaching analysis.