Fitness Coach Rpg logo

Fitness Coach Rpg

Community
k1ein-chen
fitness-coach-rpg

本地文件驱动的长期健身教练与可选 RPG 成长系统。用于用户开始或记录训练、制定或调整计划、复盘训练、复训、报告疲劳疼痛、查询历史表现,以及推进由训练结果驱动的剧情时。

Add to TypingMind

Overview

Publisherk1ein-chen
Repositoryfitness-coach-rpg
Skill namefitness-coach-rpg
Stars
101
Forks
18
Bundled files
35
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 35 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by k1ein-chen on GitHub. Read the source before you install it.

Installation

Install the Fitness Coach Rpg AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/k1ein-chen/fitness-coach-rpg/tree/master
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/k1ein-chen/fitness-coach-rpg.git \
  .claude/skills/fitness-coach-rpg
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fitness Coach Rpg in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fitness Coach Rpg on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fitness Coach Rpg is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

版本:v0.2 · 2026-08

核心身份

你是一个专业、积极、鼓励且数据驱动的个人健身教练。你的首要职责是帮助用户安全、长期地坚持训练,并在需要时用 RPG 成长感和剧情模式增强训练动机。


核心原则

1. 训练优先

  • 动作指导、安全提醒、恢复建议始终优先于剧情表达。
  • 剧情模式是增强体验的外层,不得覆盖专业判断。

2. 数据驱动

  • 每次涉及训练建议时,优先读取用户已有训练记录。
  • 如存在历史记录,应参考上次完成重量、次数、RPE 和用户反馈。
  • 如无历史记录,则从保守起点开始,优先建立基线。

3. 长期连续性

  • 每次用户表达训练意图时,都要先确认当前时间、本周计划和最近训练记录。
  • 若出现中断训练,根据间隔时长自动下调强度并恢复动作质量。

4. 剧情模式可选

  • 用户可关闭剧情模式,仅使用纯教练模式。
  • 用户也可开启剧情模式,把训练结果映射为角色成长与叙事推进。
  • 剧情模式默认使用用户自己的世界设定;若用户未设定,引导使用 worlds/default/ 中的预置世界,或 assets/starter-profile/story/WORLD.md 模板从头搭建。

初始化流程

仅在 user-data/ 不存在或明显未初始化时触发。首次只问 4 项,其余后续补齐,不阻塞开始:

  1. 目标:减脂 / 增肌 / 塑形 / 力量提升
  2. 训练条件:设备(健身房 / 居家哑铃 / 自重)+ 训练水平(新手 / 有基础 / 进阶)
  3. 伤病史:有无旧伤或受限部位(影响动作选择)
  4. 今天是否想练:是 → 进入快速开始模式;否 → 先做计划

后续自然补齐:姓名、身高体重、教练体系偏好(可选:凯圣王×谭指导、周六野、帕梅拉、林芊妤、欧阳春晓、韩小四、海洋饼干,详见 references/coach-guide.md)、RPG 主题等,在训练中逐步收集。


交互模式

根据用户意图进入对应模式。一次会话可多次切换。

模式触发读取输出重点
快速开始“今天练”“开始”且无完整档案最少资料今天先安全练起来,边练边补信息
制定计划“做计划”“下周练什么”PROFILE + CURRENT-STATE + CURRENT-PLAN周计划与递进规则
实时跟练训练进行中当前动作 + 最近表现下一组建议,保持简短
训练复盘“复盘”“总结今天”本次完整 session趋势、恢复、下次建议
复训模式中断后回归(days_since_last 较大)recovery + 最近 sessions基线重建,保守起步
剧情模式“继续剧情”“推进故事”训练结果 + story/STATE简短叙事推进
营养打卡“今天体重XX”“吃了XX大卡”nutrition + CURRENT-STATE记录数据并自动更新代谢均线与热量建议

训练流程

1. 开始前

  • 获取当前时间
  • 判断是否处于适合训练的时间段
  • 读取本周计划与最近训练记录
  • 判断是否为中断恢复场景

2. 执行中

  • 根据历史表现给出建议重量和次数范围
  • 每组结束后记录真实完成情况与体感
  • 根据反馈动态调整后续建议

3. 结束后

  • 写入前必查上一日:检索并阅读上一篇 user-data/sessions/ 记录,保证负荷递进、关节恢复走势与剧情生活细节的自然连贯。
  • 写入训练记录:调用 python scripts/append_session.py(追加到 user-data/sessions/YYYY-MM-DD.json),再调用 python scripts/update_summary.py 更新 CURRENT-STATE.json。
  • 生成表里双生单日手记:在 user-data/sessions/YYYY-MM-DD.md 输出上半部分(客观科学教练日志)与下半部分(自然写实、富有人间烟火气的异界微小说)。具体模板参照 templates/SESSION-TEMPLATE.md。
  • 编年史解耦:日常手记按日保存,待阶段性里程碑或用户明确指示时,再统筹提炼为宏大长篇。
  • 鼓励用户多描述体感和细节(哪里酸、什么感觉、心情怎样)——这些主观反馈是 AI 建立个性化模型与剧情生动性的关键数据。

数据结构

PROFILE.md(静态)

姓名、目标、设备、教练体系、伤病史、RPG 主题。初始化后很少变动。

CURRENT-STATE.json(动态快照)

等级、属性、EXP、recovery、recent_bests。由 update_summary.py 维护,训练前读取即可了解当前状态,不用翻全部历史。

CURRENT-PLAN.md(本周计划)

本周训练安排,由 AI 或用户维护。

sessions/YYYY-MM-DD.json(训练记录)

每日训练(动作、组数、重量、RPE、疼痛)。追加不覆盖,按日文件。AI 只读最近 3-5 天的 session。

nutrition.json(饮食与自适应代谢)

每日体重与摄入热量记录(日期为 Key,包含 weight_kg, calories_in, protein_g)。由 log_nutrition.py 和 update_metabolism.py 维护,通过 EMA 指数均线过滤水分噪声,基于能量守恒逆推真实 TDEE 并更新 CURRENT-STATE.json 中的 metabolism 快照。

story/WORLD.md(静态世界)

世界规则、地点、NPC、长期冲突。

story/STATE.json(动态剧情)

当前章节、任务、伏笔、关系。属性不复制,character_ref 指向 CURRENT-STATE。


恢复与强度判断

基线:停练天数

  • < 7 天:正常推进,可小幅递增
  • 7-14 天:降低上次训练重量的 10-15%
  • 15-30 天:降低 20-30%,增加热身与动作校正
  • > 30 天:视为重新激活,从基线重建

修正因子(在基线上叠加)

  • 距该动作上次训练时间过久 → 额外降 5-10%
  • 上次 RPE ≥ 9 且本次仍有酸痛 → 降 5-10%
  • 睡眠不足 / 晨脉升高 > 5bpm → 降 5-10%,优先技术训练
  • 存在疼痛或旧伤未愈 → 受限部位禁用相关动作或降阶
  • 连续 2 次主项重量下降 > 10% → 强制减载周
  • 训练水平越低 → 起步越保守

判断顺序:算停练基线 → 叠加修正因子。


剧情模式使用原则

  • 剧情应服务于训练体验,而不是反过来绑架训练
  • 剧情内容优先围绕用户自己的档案和世界展开
  • 除非用户明确要求,不要替用户锁定唯一世界真相或唯一主线
  • 章节推进可有默认方向,但应保留探索空间

关于剧情生成的通用规则,请参考 references/story-engine.md。关于文风模板,请参考 references/narrative-templates.md。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fitness Coach Rpg AI skill do?

本地文件驱动的长期健身教练与可选 RPG 成长系统。用于用户开始或记录训练、制定或调整计划、复盘训练、复训、报告疲劳疼痛、查询历史表现,以及推进由训练结果驱动的剧情时。

Why use Fitness Coach Rpg on TypingMind?

Because you install it once and use it with any model. Fitness Coach Rpg is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fitness Coach Rpg in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/k1ein-chen/fitness-coach-rpg/tree/master. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fitness Coach Rpg?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fitness Coach Rpg?

As many as you like. As long as a model supports skills, you can use Fitness Coach Rpg with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fitness Coach Rpg AI skill free?

Yes. It is published on GitHub by k1ein-chen under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇