workout-explainer
Translates planned workouts into clear execution cues, purpose, mistakes to avoid, and substitutions.
When & Why to Use This Skill
The workout-explainer skill acts as an intelligent fitness coach by translating complex workout plans into clear, actionable execution cues. It enhances user safety and performance by explaining the intent of each movement, identifying common mistakes to avoid, and providing personalized exercise substitutions based on the user's experience level and physical capabilities.
Use Cases
- Real-time Form Guidance: Providing concise, beginner-friendly execution cues and purpose descriptions when a user opens a workout detail modal or asks for clarification on a specific exercise.
- Adaptive Exercise Substitution: Automatically suggesting safe alternatives or easier variations when a programmed workout intensity mismatches the user's current fitness level or equipment availability.
- Injury Prevention & Safety Guardrails: Monitoring workout intensity and emitting safety flags to prevent overexertion, while offering specific 'mistakes to avoid' to ensure proper technique and long-term health.
| name | workout-explainer |
|---|---|
| description | Translates planned workouts into clear execution cues, purpose, mistakes to avoid, and substitutions. |
| short-description | Explains workouts with cues, intent, and safe substitutions. |
When Codex should use it
- When the user opens a workout detail modal or asks “how do I do this workout?”
- During chat if the user needs clarifications or substitutions.
Invocation guidance
- Provide the
Workoutobject and user capability context (experience, recent runs). - Return execution cues, purpose, common mistakes, and two substitutions.
- Keep guidance concise (<120 words) and beginner-friendly when experience is low.
Input schema
See references/input-schema.json.
Output schema
See references/output-schema.json.
Integration points
- UI: Workout detail modal and plan screen tooltips.
- Chat: Served through
v0/app/api/chat/route.tswithworkout-explainerintent.
Safety & guardrails
- If workout intensity mismatches user level, propose easier substitution and emit
SafetyFlag. - No medical advice; advise stopping on pain/dizziness.
Telemetry
- Emit
ai_skill_invokedwithworkout_type,experience,safety_flags.