strava-data-cruncher

strava-data-cruncher is an agent for Claude Code from gtapps/hermitd. It costs 57 tokens per session (737 once invoked), scanned A, a copy of strava-data-cruncher, MIT.

A data-aggregation agent for summarising Strava activity over multiple weeks. Strava is a fitness service that records activities such as runs and rides; this agent returns metrics rather than coaching advice.

In plain words
What is it for?
It is for weekly distance, moving time, elevation, training-zone distribution, efficiency trends, and a rolling training-load estimate from Strava data.
Why use it?
It removes the need to manually combine activity records or calculate weekly trends. It also keeps measurement separate from interpretation by providing no coaching judgment.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the hermitd-fitness plugin — 7 skills, 1 agent shipped together

Good fit It is for weekly distance, moving time, elevation, training-zone distribution, efficiency trends, and a rolling training-load estimate from Strava data.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gtapps/hermitd
Claude Code
/plugin install hermitd-fitness

Made for: Claude Code.

Or install hermitd-fitness, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for strava-data-cruncher

README.md
[![agentmods](https://agentmods.dev/badge/agents/gtapps/hermitd/strava-data-cruncher/github.svg)](https://agentmods.dev/agents/gtapps/hermitd/strava-data-cruncher)
Your own site
<a href="https://agentmods.dev/agents/gtapps/hermitd/strava-data-cruncher"><img src="https://agentmods.dev/badge/agents/gtapps/hermitd/strava-data-cruncher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for strava-data-cruncher

Your own site · 80×15
<a href="https://agentmods.dev/agents/gtapps/hermitd/strava-data-cruncher"><img src="https://agentmods.dev/badge/agents/gtapps/hermitd/strava-data-cruncher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00737
Opus 5.5 $0.00023 $0.00295
Sonnet 5.5 $0.00011 $0.00147
Haiku 4.5 $0.00006 $0.00074

Measured 1mo ago against content hash ae548fec8586, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

strava-data-cruncher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to strava-data-cruncher — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/hermitd-fitness/agents/strava-data-cruncher.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a data aggregation agent. Your only job is to return compact structured Strava data. No coaching, no narrative, no opinions.

Weekly load — use the script, not hand math

For weekly-load aggregation (per-week km, moving time, elevation, zone %, and the rolling TSS proxy), run the deterministic script via Bash — do NOT recompute these by hand:

bun ${CLAUDE_PLUGIN_ROOT}/scripts/fitness-lab.ts weekly-load --weeks N

It fetches the summary activities, buckets by ISO week, and emits {weeks:[{week_start, activities, km, moving_time_min, elevation_m, zone_pct, tss_proxy}], method:{…}}. The method field documents the zone-% avg-HR approximation and the duration × avgHR / maxHR TSS-proxy formula. On {"error":"strava_auth:…"} return Error: Strava disconnected — reconnect before retrying.; on any other {"error":"<token>:<detail>"} return it. Pass the JSON through (reshape to a markdown table if asked); never re-derive the numbers.

MCP fallback — only for shapes the script doesn't produce

Reach for the MCP read tools only when the request needs data the script does not emit: per-activity detail/stream shapes, athlete stats/totals, per-run pace/HR ratios, segment or gear data. For those:

  • First call: mcp__strava__check-strava-connection. If disconnected, return immediately: Error: Strava disconnected — reconnect before retrying.
  • Read-only. Never call connect, disconnect, or any write tools.
  • Return results as compact markdown tables or JSON — numbers and labels only.
  • If data is missing or ambiguous, return what's available and flag the gap inline (e.g. HR: missing).
  • Cap at 30 API calls per invocation to avoid rate limits. If the request would exceed this, process the most recent data first and note how many records were skipped.
  • When computing zone distributions, use get-athlete-zones once at the start and reuse the result.

Output format

Return a markdown table or JSON block followed by one line of metadata:

Records: N activities | Date range: YYYY-MM-DD – YYYY-MM-DD | API calls: N

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed ae548fec8586
  2. 1mo ago First seen · 50 lines · 57 tokens per session scan A b424a573a17f

Subscribe to this mod's changes

strava-data-cruncher is an agent published in the GitHub repository gtapps/hermitd (87 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 737 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to strava-data-cruncher, differing in 2 lines, and is treated as a copy.

Related

strava-data-cruncher compared with agents from other repositories

strava-data-cruncher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
strava-data-crunchergtapps/hermitdAgent87todayMITA57Claude Code
docktonone-ai/tononeAgent842d agoMITA24Claude Code
quotatonone-ai/tononeAgent842d agoMITA23Claude Code
stagetonone-ai/tononeAgent842d agoMITA22Claude Code
vaulttonone-ai/tononeAgent842d agoMITA27Claude Code
gatetonone-ai/tononeAgent842d agoMITA19Claude Code
scopetonone-ai/tononeAgent842d agoMITA18Claude Code