FitBuddy

v2.1.1

专属健身追踪与饮食记录助手。支持体重/饮食/运动/饮水记录、BMR/TDEE自动计算、碳循环等饮食策略、食物数据库自动计算营养素、营养知识问答、训练计划制定、趋势图表、定时提醒。触发词:记录饮食/体重/运动/饮水、健身打卡/设置/初始化、今天吃了/练了、查看进度、训练建议、喝水了吗、蛋白质/碳水/脂肪/热量相关、...

0· 125·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for promisewhh/fitbuddy.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "FitBuddy" (promisewhh/fitbuddy) from ClawHub.
Skill page: https://clawhub.ai/promisewhh/fitbuddy
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install fitbuddy

ClawHub CLI

Package manager switcher

npx clawhub@latest install fitbuddy
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (fitness tracking, logging, reminders, nutrition) matches the provided scripts, data files, and reference docs. Optional McDonald's MCP integration is documented and justified by the feature; no unrelated credentials or services are required by default.
Instruction Scope
SKILL.md instructs the agent to read and update local files under skills/fitbuddy/fitbuddy-data/, run included Python scripts (calc.py, record.py, chart.py, init_profile.py) and create cron reminders. Those operations are within the stated purpose; the skill does not instruct broad system inspection or exfiltration of unrelated data. The only external interactions are optional channel integrations (mcporter/MCP, DingTalk/WeChat) described for sending reminders.
Install Mechanism
No install spec is provided (instruction-only with bundled scripts). That is low-risk; included Python scripts run locally and require Python/matplotlib as documented. There are no downloads from arbitrary URLs or package installs embedded in the skill packaging itself.
Credentials
The skill declares no required environment variables or primary credential. Optional integrations (McDonald's MCP, DingTalk MCP) require user-supplied tokens/configuration and are explicitly documented as opt-in. No secret is required by default, and the documentation explains where tokens would be stored if the user enables integration.
Persistence & Privilege
The skill creates cron reminders (OpenClaw cron) and writes/reads data under its own skills/fitbuddy/fitbuddy-data/ directory (profile.json, records, food-db). This is consistent with reminder and tracking functionality but does mean the skill will persist data locally and may create scheduled tasks — users should review and approve cron creation and any gateway/device pairing steps.
Assessment
This skill appears coherent with its stated purpose. Before installing: (1) Review the bundled scripts (especially record.py) to verify you are comfortable with local file writes under skills/fitbuddy/fitbuddy-data/ (profile.json and records/). (2) Be aware the skill may create OpenClaw cron tasks to send reminders; creating/removing cron tasks can require gateway/device permissions — approve only if you trust the skill and understand pairing implications. (3) Optional McDonald's/DingTalk integrations require you to add tokens/config (mcporter or mcporter.json); these are opt-in. If you enable them, store tokens securely and confirm promo/auto-claim features remain off (they default to OFF). (4) If you want minimal surface, do not enable external channel integrations and keep reminders disabled or manually configured. If you want higher assurance, run the skill in a sandboxed agent instance and inspect the created cron tasks and config files after initialization.

Like a lobster shell, security has layers — review code before you run it.

latestvk97737f0eqrjeczghmx98rfty184qhyv
125downloads
0stars
6versions
Updated 2w ago
v2.1.1
MIT-0

fitbuddy — Fitness Buddy

⛔ 绝对规则

  1. 数据路径skills/fitbuddy/fitbuddy-data/。脚本 cwd 为 skills/fitbuddy/
  2. 先读 profile 再行动:profile.json 有 BMR/TDEE/宏量/饮食策略,不要问用户已有的信息
  3. 输出规范:只输出最终用户消息,禁止暴露思考过程/步骤/内部逻辑
  4. 安全红线:热量缺口 ≤ 20% TDEE,减脂速度 ≤ 1kg/周,三大营养素缺一不可

初始化

如果 fitbuddy-data/profile.json 不存在 → 读 references/init-guide.md

用户意图 → 执行

用户说执行
记录体重record.py weight --date 今天 --kg 数值 → 更新 profile → 汇报+对比昨天
吃了什么record.py meal --date 今天 --food-name "食物" --grams 克数 → 汇报热量/宏量/剩余
吃了菜品(番茄炒蛋等)record.py meal --date 今天 --food-name "番茄炒蛋" --grams 200 → 菜品自动拆解食材
模糊份量(一碗饭/一个鸡蛋)AI 侧翻译:一碗饭→--food-name "白米饭" --grams 200,一个鸡蛋→--grams 50,一个鸡腿→--grams 120,一根香蕉→--grams 100
吃了多个食物逐条调用 record.py meal,每条自动保存
跟昨天一样record.py meal --date 今天 --like-yesterday → 追加昨日餐食
记错了/撤销record.py undo --date 今天
还剩多少/今天吃了啥record.py today --date 今天 → 读取后汇报
看进度record.py progress --date 今天 → 进度条
看周报record.py weekly --date 今天
看常吃什么record.py patterns
喝水record.py water --date 今天 --ml 数值
运动了record.py exercise --date 今天 --name 名称 --sets 组 --reps 次 --weight 重量 --group 肌群 --type strength
改设置/改目标直接改 profile.json
训练建议references/exercise.md + references/training-plan.md
营养知识references/nutrition-guide.md
该吃啥/推荐读今日记录 + calc.py daily 算剩余 → 推荐补蛋白质缺口的食物组合

关键机制

餐次自动判断--meal 不填时按时间自动归类(早6-10/午10-14/加14-16/晚16-21)

默认份量:food-db.json 的 serving_g 字段。--grams 不填时自动使用

食物匹配food-db search 模糊匹配 → 找到用DB数据 → 找不到则估算营养素并用 food-db add 存入DB

菜品:food-db 中 type: dish 的条目,记录时自动按比例拆解成食材计算

碳日目标python scripts/calc.py daily --profile fitbuddy-data/profile.json --date 日期 返回当天热量/宏量目标

定时提醒

逻辑统一在 references/reminder-logic.md

Cron 任务:执行 fitbuddy 定时提醒。读取 skills/fitbuddy/references/reminder-logic.md,按照 <TYPE> 类型的逻辑执行。

类型:weight / breakfast / lunch / dinner / water / preworkout

数据文件

fitbuddy-data/
  profile.json              — 用户档案
  records/YYYY-MM-DD.json   — 每日记录
  food-db.json              — 食物数据库
  user-patterns.json         — 用户习惯(自动维护)

参考文档

文件内容
references/init-guide.md初始化引导
references/nutrition-guide.md营养知识&份量估算
references/nutrition.md公式参考
references/exercise.md运动指南
references/training-plan.md训练计划
references/budget-meals.md平价饮食方案
references/reports.md报告&图表
references/channels.md提醒频道配置
references/reminder-logic.md提醒逻辑

Comments

Loading comments...