<< All versions

Skill v1.0.1

currentLLM-judged scan90/100
gtapps/hermitd/set-rpe

+1 new

──Details
PublishedOctober 22, 2026 at 12:32 AM
Content Hashsha256:2e304bcd51c55d5f...
Git SHAadda34aed37d
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.6 KB)
SKILL.md1.6 KBactive
SKILL.md · 38 lines · 1.6 KB

version: "1.0.1" name: set-rpe description: Manually record RPE and subjective notes for a specific Strava activity. Use for backfilling, correcting entries, or rating a non-latest activity that the auto-capture skill skipped. allowed-tools:

  • Bash(bun fitness-lab.ts)

Set RPE

Records perceived effort and subjective notes for any Strava activity. Thin wrapper over scripts/fitness-lab.ts rpe, which validates the RPE, resolves latest if needed, and does the atomic upsert into state/activity-notes.json.

Usage

/hermitd-fitness:set-rpe <activity-id|latest> <rpe> [notes...]

Steps

  1. Parse arguments:
  • First arg: activity ID (integer) or the literal string latest.
  • Second arg: RPE (must be an integer 1–10).
  • Remaining args: optional free-text notes.
  • If any required arg is missing, respond with the usage line and stop (the script also rejects an out-of-range RPE with a usage error and exit 1).
  1. Run the script:

`` bun ${CLAUDE_PLUGIN_ROOT}/scripts/fitness-lab.ts rpe <activity-id|latest> <rpe> [notes...] ``

The script writes {rpe, notes, recorded_at} keyed by activity ID (notes is null when none were provided) and emits {activity_id, written:true, previous:{…}|null}. On {"error":"strava_auth:<message>"} (only reachable via latest, which resolves the ID from Strava) relay <message> verbatim; on any other {"error":…} report it and stop.

  1. Confirm from the returned JSON:
  • If previous is null: "Saved RPE <rpe>/10 for activity <activity_id>."
  • If previous is present: "Updated RPE for activity <activity_id>. (was: RPE <previous.rpe>/10 — <previous.notes>)"
← v1.0.0All versions