nutrition

nutrition is a skill for Claude Code, Codex from rlacombe/switchback-running. It costs 15 tokens per session (1,603 once invoked), scanned A, original, MIT.

A post-run nutrition calculator that totals water, carbohydrates, sodium, and caffeine from an athlete's reported intake. It also compares intake by hour and adds a summary to an Intervals.icu activity, a record in a training platform.

In plain words
What is it for?
Use it after a run to analyze what was consumed, check hourly fueling and hydration, and record the result on the relevant training activity.
Why use it?
It removes the need to calculate fueling totals manually and makes the assumptions behind unknown product data visible.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/rlacombe/switchback-running/nutrition
Any agent
npx skills add rlacombe/switchback-running --skill nutrition
Clone the repo
git clone --depth 1 https://github.com/rlacombe/switchback-running

Made for: Claude Code, Codex.

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 nutrition

README.md
[![agentmods](https://agentmods.dev/badge/skills/rlacombe/switchback-running/nutrition.svg)](https://agentmods.dev/skills/rlacombe/switchback-running/nutrition)
Your own site
<a href="https://agentmods.dev/skills/rlacombe/switchback-running/nutrition"><img src="https://agentmods.dev/badge/skills/rlacombe/switchback-running/nutrition.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,603 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.01603
Opus 5 $0.00008 $0.00801
Sonnet 5 $0.00003 $0.00321
Haiku 4.5 $0.00002 $0.00160

Measured 5d ago against content hash 3b8ab74fbffb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nutrition 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 5d 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.

.claude/skills/nutrition/SKILL.md · 126 lines

How it starts

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

/nutrition — Post-Run Nutrition Analysis

Computes total and per-hour intake of water, carbohydrates, sodium, and caffeine from the athlete's reported fueling, then adds a summary note to the Intervals.icu event.

Step 1: Read knowledge base

Read knowledge/nutrition.md to inform the analysis with fueling targets and expert recommendations.

Step 2: Collect inputs

Ask the athlete (if not already provided) for:

  • What they consumed — products, quantities, and how they were carried (e.g., "2 gels, 1 waffle, Tailwind in a flask")
  • Water volume — total liters carried/consumed, and what was mixed into it (electrolyte tabs, drink mix, etc.)

Also identify the activity. If not specified, fetch the most recent activity from the last 3 days using the activities endpoint. You need the elapsed time (not moving time) to compute per-hour rates, since the athlete fuels during stops too.

Step 3: Look up nutritional data

Use the reference table below for common products. For products not listed, use your best knowledge of the product's nutrition facts — state your assumptions and invite corrections.

Common Products Reference

Gels (~1 oz / 32g packets)
Product CHO (g) Sodium (mg) Caffeine (mg)
Honey Stinger Honey Gel 24 50 0
Honey Stinger Ginsting Gel (caffeinated) 24 60 32
Honey Stinger Salted Caramel Gel (caffeinated) 24 50 32
GU Energy Gel (non-caffeinated) 22 125 0
GU Roctane Gel (caffeinated, varies) 21 125 35
SiS GO Isotonic Gel 22 20 0
SiS GO + Caffeine Gel (Double Espresso, etc.) 22 20 75
Spring Energy Awesome Sauce 45 115 0
Maurten Gel 100 25 30 0
Maurten Gel 100 CAF 100 25 30 100
Waffles / Chews / Bars
Product CHO (g) Sodium (mg) Caffeine (mg)
Honey Stinger Honey Waffle 21 50 0
Honey Stinger Salted Caramel Waffle 21 85 0
GU Energy Chews (1 packet) 34 70 0
Clif Blok (1 packet, 6 chews) 24 70 0
Muir Energy Bar (varies) 28 40 0

Read the full file on GitHub · 126 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. 5d ago First seen · 126 lines · 15 tokens per session scan A 3b8ab74fbffb

Subscribe to this mod's changes

nutrition is a skill published in the GitHub repository rlacombe/switchback-running (10 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 1,603 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

agent-skills-hub/agent-skills-hub · 66 tokens

adaptyv

Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein sequence optimization. Also use for submitting experiments via API…

agent-skills-hub/agent-skills-hub · 95 tokens

claude-ally-health

A health assistant skill for medical information analysis, symptom tracking, and wellness guidance.

agent-skills-hub/agent-skills-hub · 22 tokens

openevidence

Query OpenEvidence (clinical evidence assistant) without an MCP server. Closely mirrors the openevidence-mcp tool surface - check auth, list question history, fetch an article, or ask a new question (with optional follow-up thread). Use when the user asks medical / evidence-based clinical questions, references…

htlin222/openevidence-mcp · 111 tokens

wtfp-research-literature

This skill researches, organizes, and audits scholarly literature for an academic manuscript. It activates when an agent needs to investigate a research gap, analyze a bibliography, map references to sections, validate citation coverage, repair reference metadata, or perform the WTF-P research-gap, analyze-bib, or…

akougkas/wtf-p · 69 tokens

pi-autoresearch-loop

Skill "pi-autoresearch-loop" from twaldin/flt, covering pi-autoresearch — autonomous experiment loop, installation, quick start, core concepts and two-file persistence model.

twaldin/flt · 0 tokens