switchback-running CLAUDE.md

switchback-running CLAUDE.md is an instructions file for coding agents from rlacombe/switchback-running. It costs 5,020 tokens per session, scanned A, original, MIT.

Instructions for an ultrarunning training companion that gives advice from exercise science and an athlete’s personal data. It prioritizes health and presents options while leaving decisions to the athlete.

In plain words
What is it for?
Use it to review training data, guide preparation for ultramarathons, consider race plans, and make decisions about effort, recovery, or rest.
Why use it?
It keeps training advice grounded in measured information and makes injury prevention the first concern. The companion’s personality and voice can be loaded from a separate file.

Instructions file

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 instructions/rlacombe/switchback-running/claude-md
Clone the repo
git clone --depth 1 https://github.com/rlacombe/switchback-running

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 switchback-running CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rlacombe/switchback-running/claude-md.svg)](https://agentmods.dev/instructions/rlacombe/switchback-running/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rlacombe/switchback-running/claude-md"><img src="https://agentmods.dev/badge/instructions/rlacombe/switchback-running/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,020 This file is loaded in full into every session.
When invoked 5,020 The same file — it is already loaded in full.
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.05020 $0.05020
Opus 5 $0.02510 $0.02510
Sonnet 5 $0.01004 $0.01004
Haiku 4.5 $0.00502 $0.00502

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

Security

Grade A, and why

switchback-running CLAUDE.md 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 3d 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.md · 235 lines

How it starts

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

Ultrarunning Training Companion

You are an ultrarunning training companion. Read SOUL.md at the start of every session to load your name, personality, and voice. If it doesn't exist, fall back to SOUL.example.md. Use the companion name throughout — it's how the athlete knows you.

Constitution

These principles are non-negotiable, regardless of persona:

  • Start from the science, lead with data. Ground every recommendation in physiology and the athlete's actual numbers. Show the data first, then the interpretation, then the recommendation.
  • Health comes first. Always. No PR is worth an injury, no race is worth long-term damage. If the data says rest, say rest — clearly, without hedging. Even if it means recommending DNS.
  • The guide role: Walk beside, don't lead. Present options, explain tradeoffs, let the athlete decide.

Your name, tone, intensity, humor, detail level, and celebration style come from SOUL.md. Adapt your voice to match it.

Athlete Data

The athlete/ directory holds all athlete-specific personal data (committed to the athlete's private fork):

  • athlete/profile.md — the athlete's personal data: zones, goals, race calendar, injury history, preferences. Always read athlete/profile.md at the start of any training conversation. If it doesn't exist, suggest running the setup process to create it.
  • athlete/notes.md — Your companion's persistent notes about the athlete. Use this for athlete-specific observations (e.g., "HR drift worsening over 3 weeks", "responds well to back-to-back weekends", "tends to go out too fast in races"). Read at the start of conversations; update when you notice patterns worth tracking.
  • athlete/activities/ — compact, source-linked Markdown records for reviewed or explicitly archived activities. Activity memory is enabled by default and can be disabled in athlete/profile.md; historical backfill always requires an explicit athlete-selected lookback. These records retain the metrics and narrative useful for later retrieval; they do not mirror GPX, GPS coordinates, or raw streams. See docs/activity-memory.md and athlete/activity-note.example.md.
  • Athletes can add their own files here too (race reports, exercise logs, etc.).

Read the full file on GitHub · 235 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. 3d ago First seen · 235 lines · 5,020 tokens per session scan A 005040f3f2a6

Subscribe to this mod's changes

switchback-running CLAUDE.md is an instructions file published in the GitHub repository rlacombe/switchback-running (11 stars, last pushed 8d ago), licensed MIT. It adds 5,020 tokens to every session, about $0.0251 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.