activity-deep-dive

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

A per-workout coaching analysis from Strava, a service that records activities such as runs and rides. It distinguishes interval and steady workouts as well as road and trail terrain, then summarizes relevant training measures and recovery.

In plain words
What is it for?
Use it after a workout or with a specific activity ID to create a coaching note, review the latest activity, examine training zones, and estimate recovery.
Why use it?
It avoids treating every workout the same, so the review can focus on interval recovery, steady-work efficiency, or the different demands of trail terrain.

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 claude-code-fitness-hermit plugin — 7 skills, 1 agent shipped together

Good fit Use it after a workout or with a specific activity ID to create a coaching note, review the latest activity, examine training zones, and estimate 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/claude-code-hermit
Claude Code
/plugin install claude-code-fitness-hermit

Made for: Claude Code.

Or install claude-code-fitness-hermit, 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/claude-code-hermit/activity-deep-dive/github.svg)](https://agentmods.dev/skills/gtapps/claude-code-hermit/activity-deep-dive)
Your own site
<a href="https://agentmods.dev/skills/gtapps/claude-code-hermit/activity-deep-dive"><img src="https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/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/claude-code-hermit/activity-deep-dive"><img src="https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/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,132 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.03132
Opus 5.5 $0.00025 $0.01253
Sonnet 5.5 $0.00013 $0.00626
Haiku 4.5 $0.00006 $0.00313

Measured 2mo ago against content hash f4f1934e21a6, 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 2mo 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/claude-code-fitness-hermit/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

/claude-code-fitness-hermit:activity-deep-dive <activity-id>
/claude-code-fitness-hermit:activity-deep-dive latest

Steps

  1. Resolve subjective RPE. Read .claude-code-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.

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. 2mo ago Changed · -1 lines scan C → A f4f1934e21a6
  2. 3mo ago First seen · 152 lines · 63 tokens per session scan C bfd6ef3e8e89

Subscribe to this mod's changes

activity-deep-dive is a skill published in the GitHub repository gtapps/claude-code-hermit (87 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 3,132 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-08-30.

Related

activity-deep-dive compared with skills from other repositories

activity-deep-dive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
activity-deep-divegtapps/claude-code-hermitSkill87yesterdayMITA63Claude Code
vigil-instrumenttonone-ai/tononeSkill842d agoMITA61Claude Code
pave-envtonone-ai/tononeSkill842d agoMITA57Claude Code
monday-planninggtapps/hermitdSkill87todayMITA18Claude Code
apex-skillifytonone-ai/tononeSkill842d agoMITA41Claude Code
generate-clipDojoCodingLabs/remotion-superpowersSkill1941mo agoMITA32Claude Code
design-system-referencewigtn/wigtn-pluginsSkill45todayApache-2.0A43Claude Code