archive

archive is a skill for Claude Code from rlacombe/switchback-running. It costs 9 tokens per session (280 once invoked), scanned A, original, MIT.

A command that saves selected workout details as compact, source-linked Markdown notes, a plain-text document format, organized by date.

In plain words
What is it for?
Use it to archive workouts from Intervals.icu or Strava, including metrics, equipment, descriptions, and a short assessment of the session.
Why use it?
It creates a searchable memory of activities without keeping unnecessary raw files, location data, or full sensor streams.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to archive workouts from Intervals.icu or Strava, including metrics, equipment, descriptions, and a short assessment of the session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rlacombe/switchback-running/archive
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.

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

Made for: Claude Code.

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 archive

README.md
[![agentmods](https://agentmods.dev/badge/skills/rlacombe/switchback-running/archive/github.svg)](https://agentmods.dev/skills/rlacombe/switchback-running/archive)
Your own site
<a href="https://agentmods.dev/skills/rlacombe/switchback-running/archive"><img src="https://agentmods.dev/badge/skills/rlacombe/switchback-running/archive/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 archive

Your own site · 80×15
<a href="https://agentmods.dev/skills/rlacombe/switchback-running/archive"><img src="https://agentmods.dev/badge/skills/rlacombe/switchback-running/archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 280 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.00009 $0.00280
Opus 5.5 $0.00004 $0.00112
Sonnet 5.5 $0.00002 $0.00056
Haiku 4.5 $0.00001 $0.00028

Measured 1mo ago against content hash cabe4e8cb7f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

archive 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 1mo 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.

skills/archive/SKILL.md · 28 lines

What it actually says

Archive Activity Memory

Follow agents/memory-policy.md, agents/activity-memory.md, and athlete/activity-note.example.md. An explicit archive request proceeds even when automatic activity memory is disabled.

For a named activity, retrieve it directly. For first historical backfill, ask the athlete to choose 1, 3, 6, or 12 months; do not choose or query a historical range silently. For incremental sync, use the stored synchronization date and query through today.

Use get_activities or get_strava_activities for listings, then get_activity or get_strava_activity for compact detail. If both providers are used, pass their complete listing results to switchback memory sync; otherwise pass the available provider result. Keep temporary synchronization inputs outside athlete/ and remove them after a verified sync.

Reconcile duplicate provider records as one session. Store provenance, local time, metrics, athlete report, derived metrics, and labeled hypotheses or decisions. Preserve manually written narrative. Exclude GPX, coordinates, raw streams, and third-party content by default. Update synchronization state only after successful writes, then report records created, updated, or reconciled.

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. 1mo ago Changed · +10 lines · -1 tokens per session cabe4e8cb7f9
  2. 1mo ago First seen · 18 lines · 10 tokens per session scan A 8af9e020553a

Subscribe to this mod's changes

archive is a skill published in the GitHub repository rlacombe/switchback-running (10 stars, last pushed 1mo ago), licensed MIT. It adds 9 tokens to every session and 280 once invoked, about $0.0000 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

Other skills, from other repositories

neo4j-agent-memory-skill

Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com. Use this skill whenever the user mentions neo4j-agent-memory, agent memory with Neo4j, context graphs, the POLE+O model…

neo4j-contrib/neo4j-skills · 223 tokens

post-cutoff

What THIS TEAM has adopted or ruled on that postdates your training cutoff — a small, human-curated set, not a watchlist. Read BEFORE choosing an approach, picking a model, designing a classifier/router/gate, or evaluating a vendor. Also the procedure for proposing and retiring entries. Individual briefs ship as their…

sageox/ox · 79 tokens

ox

SageOx team context and session recording for AI coworkers. Use when working in a repository that has .sageox/ initialized, when you need team conventions, or when recording coding sessions to a shared ledger.

sageox/ox · 44 tokens

ox-cli-consult

Search SageOx team memory BEFORE answering from first-principles reasoning. Auto-fire when the user references recent or specific work or asks a before/after question: "I just pushed...", "did X fix Y?", "is the alert gone now?", "this request", or anything tied to a prior decision, a prod anomaly, or a metric/cost…

sageox/ox · 178 tokens

ox-cli-prime

Load SageOx team context for this AI coworker session.

sageox/ox · 17 tokens

maintaining-context

Use at the start of any substantial task and whenever you make a non-obvious decision or learn a reusable fact — keeps .yoke/context/ (PROJECT, DECISIONS, KNOWLEDGE) the durable source of truth so fresh-context work never drifts.

HECer/yoke · 57 tokens