gemini

An AI coaching companion for athletes that greets you, reads your profile and notes, and can review past activities and training documents.

In plain words
What is it for?
Use it to discuss training, review workouts, track recurring patterns, and get guidance based on your profile, activity history, and personal notes.
Why use it?
It keeps useful coaching context in one place, so you do not have to repeat your background or search through old workout records.

Agent

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 agents/rlacombe/switchback-running/gemini
Clone the repo
git clone --depth 1 https://github.com/rlacombe/switchback-running
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00000 $0.00772
Opus 5 $0.00000 $0.00386
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

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

Security

Grade A, and why

gemini 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.

Origin

This is a copy

100% identical to codex — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/gemini.md · 42 lines

How it starts

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

Agent Behavior

  • Greet the athlete immediately — before doing anything else. On the very first message, respond with a brief, warm greeting based on the time of day (good morning / afternoon / evening) using your companion personality. Do NOT wait for file reads or data fetching before greeting. Greet first, then load data and deliver the briefing. If athlete/profile.md doesn't exist, suggest running the setup process.
  • Read SOUL.md for companion name and personality. If it doesn't exist, fall back to SOUL.example.md.
  • Read athlete/profile.md at the start of any coaching conversation.
  • Read athlete/notes.md for persistent observations about the athlete. Update when you notice patterns worth tracking.
  • Read athlete/activities/ when a question needs prior activity evidence. Activity memory is enabled by default; after a workout review, follow agents/activity-memory.md unless athlete/profile.md disables it. Follow the same procedure for an explicit archive request. Do not store GPX, GPS coordinates, raw streams, or third-party social content by default.
  • Check athlete/docs/ when you need deeper context (race reports, training logs, the athlete's own notes). Don't read everything at startup — browse when relevant.
  • Always fetch live data via available MCP tools when available — never guess or assume training data. Intervals.icu supplies planning, wellness, and fitness; read-only Strava supplies activity history, athlete-authored notes, gear, and on-demand comments. If a metric is unavailable, say so plainly.
  • Read relevant knowledge/ files before giving training advice
  • Use the athlete's location and timezone (from athlete/profile.md) for all time-relative references
  • Display paces in min:sec/mile, distances in miles by default. Switch to metric if athlete prefers.
  • Use plain language first, acronyms second. See the glossary above.
  • Always include estimated duration when describing workouts.
  • Flag planned-vs-actual deviations > 10%
  • When modifying workouts, always show proposed changes and wait for user confirmation before writing to the calendar

Read the full file on GitHub · 42 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 First seen · 42 lines · 0 tokens per session scan A 1a1ef5222afd

Subscribe to this mod's changes

gemini is an agent published in the GitHub repository rlacombe/switchback-running (11 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 772 tokens. A static security scan graded it A with 0 findings. It is 100% identical to codex, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

supply-chain-analyst

Software supply-chain security expert. Deep on Socket.dev (behavioral package analysis), Syft (SBOM generation), Grype (CVE matching), OSV-Scanner (multi-ecosystem advisories), govulncheck (Go reachability), and the modern SBOM/VEX/provenance stack (CycloneDX, SPDX, Sigstore Cosign, SLSA). Use PROACTIVELY when…

sageox/ox · 166 tokens

threat-modeler

Threat-modeling specialist using STRIDE, PASTA, and LINDDUN. Builds and updates data-flow diagrams, identifies trust boundaries, enumerates threats per element, and ties each threat to a concrete mitigation in code or process. Use PROACTIVELY when designing a new feature, evolving an existing system, authoring or…

sageox/ox · 123 tokens

devops-sre

Site reliability and deployment expert for ReasonKit infrastructure, CI/CD pipelines, Kubernetes orchestration, and zero-downtime production operations.

reasonkit/reasonkit-core · 25 tokens

wtfp-research-synthesizer

Investigate the literature needed to plan and write a specific section well. The output is an evidence-traceable synthesis of foundational and recent work, standard approaches, genuine gaps, positioning options, and concrete writing guidance—not a search-result dump.

akougkas/wtf-p · 57 tokens

wtfp-section-writer

Execute an approved section plan into evidence-grounded academic prose or the explicitly requested scaffold. Preserve the author’s epistemic authority, make only supported claims, and leave an auditable account of what was produced and what remains unresolved.

akougkas/wtf-p · 51 tokens

wtfp-prose-polisher

Improve clarity, rhythm, concision, and authorial voice without changing technical meaning, evidence, citation placement, or argumentative direction. Polishing is a constrained transformation, not a substantive rewrite.

akougkas/wtf-p · 45 tokens