fitness-brief

fitness-brief is a skill for Claude Code from gtapps/claude-code-hermit. It costs 113 tokens per session (1,754 once invoked), scanned A, original, MIT.

A daily training brief based on Strava activity data. Strava is a service that records workouts such as runs and rides, and the brief can look ahead at today's plan or back at today's training.

In plain words
What is it for?
Use it for a morning readiness-and-plan note, an evening training-and-tomorrow note, or a custom brief with a chosen time slot.
Why use it?
It turns training information into a short morning or evening update and says clearly when Strava data is unavailable.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

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 — 5 skills, 1 agent shipped together

Good fit Use it for a morning readiness-and-plan note, an evening training-and-tomorrow note, or a custom brief with a chosen time slot.

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 5 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 fitness-brief

README.md
[![agentmods](https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/fitness-brief/github.svg)](https://agentmods.dev/skills/gtapps/claude-code-hermit/fitness-brief)
Your own site
<a href="https://agentmods.dev/skills/gtapps/claude-code-hermit/fitness-brief"><img src="https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/fitness-brief/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 fitness-brief

Your own site · 80×15
<a href="https://agentmods.dev/skills/gtapps/claude-code-hermit/fitness-brief"><img src="https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/fitness-brief.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 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.00113 $0.01754
Opus 5 $0.00056 $0.00877
Sonnet 5 $0.00023 $0.00351
Haiku 4.5 $0.00011 $0.00175

Measured yesterday against content hash 36d4a2136fb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

fitness-brief 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 yesterday.

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.

plugins/claude-code-fitness-hermit/skills/fitness-brief/SKILL.md · 117 lines

How it starts

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

Fitness Brief

One skill, two lenses on the same athlete's training state. Composition is intent-driven, not scripted: gather a bounded digest, then write the brief toward the goal below in the operator's configured voice — there is no fixed section order, no hardcoded tone, and no mandatory rest-day copy.

Flags

  • --morning: slot morning. Forward-looking.
  • --evening: slot evening. Backward-looking.
  • --slot <name>: custom slot label; orientation defaults to forward-looking unless the operator's own conventions say otherwise.

Resolve <slot> from the flag before starting. Filenames below use that resolved value. Steps below say "Morning"/"Evening" as shorthand for forward-looking/backward-looking orientation — a custom --slot follows whichever branch matches its resolved orientation.

Steps

  1. Connectivity + sync mechanics. These fold in what strava-health-check and strava-sync used to run on their own crons — this brief now owns that beat.

    • Call mcp__strava__check-strava-connection. If disconnected: say so plainly in the brief and skip the data-dependent parts below rather than fabricating figures.
    • Evening only: call mcp__strava__get-recent-activities (perPage: 5), compare against state/strava-last-activity-id.txt (treat missing as "none"), and for any new activity whose Strava type is Run, invoke /claude-code-fitness-hermit:activity-deep-dive <id> (cap 3 — log skipped IDs to SHELL.md Progress Log past the cap). Advance the cursor file to the highest new ID. Hold the newest new activity's id/name/sport for step 4 — do not write state/strava-pending-rpe.json here. That file's writer contract (see docs/knowledge-schema.md and CLAUDE.md § Memory Conventions) is write-only-after-confirmed-delivery, precisely so a failed or push-only send can't bind a future RPE reply to an activity the operator was never actually told about.
  2. Gather (bounded). Raw Strava streams must never enter context — fitness-lab.ts reduces them first.

    • Morning: bun ${CLAUDE_PLUGIN_ROOT}/scripts/fitness-lab.ts weekly-load — a rolling per-week load digest (km, moving time, zone %, tss_proxy). Read state/strava-weekly-baselines.json if present for trend context.
    • Evening: if a new activity was found in step 1 and it was not a Run (step 1 only deep-dives Run activities), bun ${CLAUDE_PLUGIN_ROOT}/scripts/fitness-lab.ts analyze <the non-Run activity's id from step 1> for today's session — pass the id explicitly, not latest: latest resolves the globally most-recent Strava activity, which on a mixed-type day (a Run uploaded after the non-Run) would analyze the wrong session. If the new activity was a Run, step 1's activity-deep-dive call already ran this same analysis and wrote compiled/activity-<id>-<date>.md — read that artifact instead of re-running the analysis, which would redo the same Strava fetch and computation. Either way, also read whatever state/activity-notes.json already holds for it. No new activity is itself the input — there's nothing to analyze.

Read the full file on GitHub · 117 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. yesterday Changed 36d4a2136fb7
  2. 9d ago First seen · 117 lines · 113 tokens per session scan A 1f95bed78c81

Subscribe to this mod's changes

fitness-brief is a skill published in the GitHub repository gtapps/claude-code-hermit (74 stars, last pushed yesterday), licensed MIT. It adds 113 tokens to every session and 1,754 once invoked, about $0.0006 per session on Opus 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.