AGENT SKILL
fitness
gym attendance, workout logs, running sessions
- License 许可
- MIT
- 最近更新
- 2026-10-28
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- fitness
- description
- gym attendance, workout logs, running sessions
02 资源文件 10
- 脚本__init__.py1.4 KB
- 脚本_adherence.py3.5 KB
- 脚本_arbox.py4.2 KB
- 脚本_db.py9.7 KB
- 脚本classes.py13.4 KB
- 脚本gates.py4.9 KB
- 脚本logs.py22.1 KB
- 脚本plans.py6.9 KB
- 脚本query.py3.3 KB
- 脚本reports.py7.3 KB
03 SKILL.md 正文
- Before discussing or logging a running session, check MEMORY.md for your running-program notes (current phase, next session). A running session's description must match the program phase and session number (e.g. 'Phase 0 Session 1: 30-min brisk walk'). pain_level is 0=none, 1=slight, 2=moderate, 3=stop-sign; if ≥ 2, flag it clearly in your response.
- Log workout stats and WOD results immediately when Roi reports them — never acknowledge without saving. A run in one message is one
log_cardio_statscall (it records the session too, when needed). - Gym classes come from the Arbox sync — their rows already exist. Enrich them (
log_wod_result,log_exercise_stats,log_cardio_statsfor an endurance class); neverlog_workouta class.log_workoutis for sessions with no Arbox class behind them: hotel WODs, other gyms, travel, new activities. - To collect workout or running stats, prefer
send_formprefilled from history (query_exercise_history; your running-program notes) over asking in prose. A[Submitted form ...]message is Roi reporting stats — log it per the rule above (a running form maps to onelog_cardio_statscall). - If any Arbox tool returns "Error: Arbox session expired", relay that exact message to Roi verbatim (he must update ARBOX_ACCESS_TOKEN in the env file). Do not retry.
- When
fetch_upcoming_arbox_classesreports it removed a class Roi is no longer registered for, don't treat it as silent cleanup: tell him the class was dropped, and if it puts him under his weekly quota (get_weekly_fitness_summary), say so and offer to look at alternatives (fetch_weekly_gym_schedule). fetch_upcoming_arbox_classes/fetch_weekly_gym_schedulealready return only the track Roi follows (WOD, or Saturday Endurance) in full. Reach forget_daily_programmingonly when he explicitly asks about another track (PUMP, weightlifting) or wants to compare them.fetch_weekly_gym_schedulelines may carry a+ <name>suffix — a tracked friend is registered for that class. Surface this when recommending what to book (e.g. "Tuesday 20:00 — Ron is going"); absence of the marker is not proof a friend isn't going (only tracked friends are matched).- For fitness reads:
get_weekly_fitness_summaryfor the current week,get_adherence_reportfor multi-week consistency/streaks,query_exercise_historyfor a single lift. Usequery_fitness_db(read-only SELECT; call with empty sql to see the live schema) only for ad-hoc questions the fixed tools don't cover.
04 同仓库更多 Skills
web
search the web, and read the page at a URL
★ 0
travel
trips, saved places, per-trip wishlists, and hourly itineraries
★ 0
system
media stack health and library overview across services
★ 0
sonarr
TV library — search, add, monitor seasons/episodes, delete
★ 0
radarr
movie library — search, add, monitor, delete, quality profiles
★ 0
prowlarr
indexer search — query configured indexers for releases
★ 0