---
name: php186-skill-47776
description: "根据力量训练录音或文本生成 WorkoutSummary 笔记，支持 .m4a、.mp3、.wav、.caf 等音频文件以及 .md、.txt、.srt 等转录文件。"
---

# Strength Training Recording Summary

## Strength Training Recording Summary

 

Use this skill when the user wants a strength-training session recording or transcript converted into a compact summary note for future reference.

 

Load ` references/summary-workflow.md ` only when you need implementation details, transcription backend guidance, audio cleanup commands, dataset matching rules, or helper-script behavior.

 

## Accepted Inputs

 

- Audio recordings: ` .m4a `, ` .mp3 `, ` .wav `, ` .caf `
- Transcript files: ` .md `, ` .txt `, ` .srt `, ` .vtt `, ` .json `
- Mixed-language trainer sessions, including Chinese/English audio or transcripts

 

## How To Invoke

 

The user can ask naturally, for example:

 

```
Use strength-training-recording-summary on /path/to/workout.m4a
Summarize this strength training transcript: /path/to/session.md
Create a WorkoutSummary for my Chinese/English trainer recording
```

 

## Example Output

 

```
WorkoutSummary 2026-06-20
Total length: 01:21:44
Exercises completed: 14

1. Dumbbell lateral raise, ~4 min total, 2 groups * 12 reps
- Keep shoulders down and stop before shrugging.

2. Goblet squat, ~3 min, 3 groups * 10 reps
- Slow the descent and keep pressure through the mid-foot.
```

 

## Summary Rules

 

- Start with ` WorkoutSummary <date> `.
- Include total session length and number of completed exercises.
- Use duration on each exercise line, not raw timestamp ranges.
- For split/non-contiguous work, show the combined duration, e.g. ` ~4 min total `.
- Count completed groups/sets and reps from the transcript; mark approximate values with ` ~ ` when needed.
- Standardize exercise names against ` hasaneyldrm/exercises-dataset ` when practical, but do not mention ` dataset match ` in the final output.
- Put useful coach notes directly under the exercise without labels like ` trainer-specific cue `.
- Preserve the user's requested output language when known.
- Never invent weights, reps, sets, pain details, diagnoses, or medical conclusions.

 

## Helper Scripts

 

Use bundled helpers when useful:

 

```
python scripts/calc_duration.py '03:50-05:17 07:51-10:00'
python scripts/match_exercises.py --lang zh --top-k 3 "哑铃侧平举"
```

 

## Transcription Notes

 

Prefer an input transcript when one already exists. For audio, use the best available transcription backend:

 

- local Whisper CLI when installed
- Groq Whisper when ` GROQ_API_KEY ` is configured
- OpenAI or another compatible API when the user has credentials ready

 

Do not embed API keys in the skill or output. If no transcription backend is ready, explain the options and ask which one the user wants to set up.
