activity-deep-dive

activity-deep-dive is a skill for Claude Code from gtapps/hermitd. It costs 63 tokens per session (3,114 once invoked), scanned A, original, MIT.

A workout analysis tool that turns one Strava activity into a coaching note. Strava is a service that records exercise data such as pace, heart rate, elevation, and cadence.

In plain words
What is it for?
Use it after a workout or with a past activity to review training zones, effort changes, efficiency, terrain-related performance, and estimated recovery.
Why use it?
It reduces raw workout measurements into a readable summary and adjusts the analysis for interval sessions, steady sessions, roads, and trails.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 Use it after a workout or with a past activity to review training zones, effort changes, efficiency, terrain-related performance, and estimated recovery.

Compare 6 skills 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 activity-deep-dive

README.md
[![agentmods](https://agentmods.dev/badge/skills/gtapps/hermitd/activity-deep-dive/github.svg)](https://agentmods.dev/skills/gtapps/hermitd/activity-deep-dive)
Your own site
<a href="https://agentmods.dev/skills/gtapps/hermitd/activity-deep-dive"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/activity-deep-dive/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 activity-deep-dive

Your own site · 80×15
<a href="https://agentmods.dev/skills/gtapps/hermitd/activity-deep-dive"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/activity-deep-dive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,114 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 original No closer match found 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.00063 $0.03114
Opus 5.5 $0.00025 $0.01246
Sonnet 5.5 $0.00013 $0.00623
Haiku 4.5 $0.00006 $0.00311

Measured 11d ago against content hash 3f993182cc02, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

activity-deep-dive 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 11d 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

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/hermitd-fitness/skills/activity-deep-dive/SKILL.md · 151 lines

How it starts

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

Activity Deep-Dive

Produces a standardised per-activity coaching note. All deterministic statistics (session-kind detection, terrain, zones, cadence, efficiency, cardiac drift, VAM/GAP, recovery estimate) are computed by scripts/fitness-lab.ts — this skill runs it once, interprets the JSON, and writes the coaching narrative. Raw Strava streams never enter context: the script fetches and reduces them; the skill only sees the reduced metrics.

Interval sessions get work-interval HR progression and between-bout recovery quality; steady sessions get pace/HR efficiency and cardiac drift. Trail sessions swap pace/HR efficiency for VAM and a grade-adjusted-pace estimate, reframe cardiac drift against the altitude profile, and extend the recovery window for descent load. Both get zone breakdown, recovery estimate, and a coaching note. Saves a compiled artifact and returns a compact summary.

Usage

/hermitd-fitness:activity-deep-dive <activity-id>
/hermitd-fitness:activity-deep-dive latest

Steps

  1. Resolve subjective RPE. Read .hermit/state/activity-notes.json. If it exists and has an entry for the resolved activity ID (or, for latest, hold the check until step 2 returns the ID), keep rpe and notes for the output template and artifact frontmatter. The script does NOT read RPE — this is the skill's job.

  2. Run the analysis script. Issue a single Bash call:

    bun ${CLAUDE_PLUGIN_ROOT}/scripts/fitness-lab.ts analyze <activity-id|latest>
    

    The script fetches details, laps, streams, athlete zones, and the recent summary activities (for the efficiency baseline), then emits one JSON object. Handle the error contract:

    • {"error":"strava_auth","message":"…"} (exit 1) → the token is missing or expired. Relay the message verbatim to the operator and stop. Do not compute anything.
    • {"error":"fetch","message":"…"} (exit 1) → report the message and stop.
    • Success (exit 0) → parse the JSON and continue.
  3. Interpret the JSON. The object has these fields (see thresholds in the payload for the exact cutoffs behind each classification — cite them in coaching prose without hardcoding a second copy):

Read the full file on GitHub · 151 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. 11d ago First seen · 151 lines · 63 tokens per session scan A 3f993182cc02

Subscribe to this mod's changes

activity-deep-dive is a skill published in the GitHub repository gtapps/hermitd (79 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 3,114 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other skills, from other repositories

vigil-instrument

Instrument a service with OpenTelemetry — RED metrics, structured logs, distributed tracing, and health checks. Outputs actual code and config, not a plan. Use when asked to "add monitoring", "instrument this", "add logging", "set up tracing", or "observability".

tonone-ai/tonone · 61 tokens

pave-env

Set up local development environments — devcontainers, Docker Compose, one-command setup, dev/prod parity. Use when asked to "set up dev environment", "devcontainer", "docker compose for dev", "local development setup", or "one command to run".

tonone-ai/tonone · 57 tokens

design-system-reference

Style guides and implementation rules for frontend design. Works with design-discovery agent which handles context gathering and VS-based style recommendations. Contains detailed style guides, anti-patterns, and implementation checklists.

wigtn/wigtn-plugins · 43 tokens

github-pr-creation

Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing…

fvadicamo/dev-agent-skills · 75 tokens

boss-briefing

Vault health check — workflow pattern analysis, profile sync, session gap recovery, persona rule proposals.

sehoon787/my-claude · 23 tokens

magic-compact

Compact this Claude Code session.

aerovato/magic-compact · 10 tokens