← Back to Skills Marketplace
query1988

Workout Tracker

by zenggang · GitHub ↗ · v1.3.7 · MIT-0
cross-platform ✓ Security Clean
198
Downloads
1
Stars
1
Active Installs
17
Versions
Install in OpenClaw
/install workout-tracker
Description
个人健身跟踪器 — 通过文字记录健身训练数据,自动解析动作、组数、次数和重量,实时写入本地 MySQL 数据库。支持制定专属训练计划、查询历史记录、追踪进步曲线,以及球类和有氧运动记录。
Usage Guidance
This skill appears internally consistent with a local MySQL workout tracker, but take these precautions before installing: 1) Review the included scripts (init_database.py, verify_setup.py) yourself — they are small and only use the declared MYSQL_* vars, but confirm no surprises. 2) Create and use a dedicated local MySQL user with minimal privileges (INSERT/SELECT/UPDATE/DELETE) and do NOT use production or admin DB credentials. 3) Keep the .workout-tracker.env file permission-restricted (chmod 600) and do not commit it to version control; verify how the scripts parse values (they read raw values and will include quotes if present). 4) Run the init/verify steps in an isolated/dev environment or container first to confirm behavior. 5) If you do not want the agent to write to your local DB without prompts, consider disabling or limiting autonomous invocation in your agent policy. 6) Because the package source is unknown, prefer to run it locally from a vetted copy or audit the repository before granting access to any sensitive systems.
Capability Analysis
Type: OpenClaw Skill Name: workout-tracker Version: 1.3.7 The workout-tracker skill is a legitimate tool designed to log fitness activities to a local MySQL database. The bundle includes well-documented scripts for database initialization (init_database.py) and environment verification (verify_setup.py), both of which follow standard practices. The SKILL.md file provides the AI agent with clear instructions on parsing workout data and emphasizes security by strictly mandating parameterized SQL queries to prevent injection. No indicators of data exfiltration, unauthorized execution, or malicious intent were found.
Capability Assessment
Purpose & Capability
Name/description, required binaries (python3, mysql), required env vars (MYSQL_*), and included scripts (init_database.py, verify_setup.py) all align with a local MySQL-based fitness tracker. Required items are expected for the stated purpose.
Instruction Scope
SKILL.md instructs installing a Python MySQL connector, configuring local env vars/.env, creating a minimal-privilege DB user, running the init and verify scripts. The runtime instructions and scripts only read local config (.workout-tracker.env) and access the local MySQL socket; they do not call external endpoints or request unrelated system data.
Install Mechanism
No automated install download or remote-executable install spec is present (instruction-only); scripts are plain Python files included in the package. The only third-party dependency is mysql-connector-python installed via pip as instructed — proportionate to the task.
Credentials
Requested environment variables are limited to MYSQL_SOCKET, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE and match the service the skill uses. The scripts only reference those vars (and defaults) and do not ask for unrelated secrets or credentials.
Persistence & Privilege
Skill is not forced-always, does not request system-wide privileges, and does not modify other skills' configs. It can be invoked autonomously (platform default) — appropriate for a local helper that writes to a database, but consider user policy if you want to avoid autonomous DB writes.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install workout-tracker
  3. After installation, invoke the skill by name or use /workout-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.7
移除未实现的拍照/图像识别功能描述,确保文档与实际代码功能一致
v1.3.6
在SKILL.md frontmatter metadata中正确声明requires.env环境变量,与运行时说明一致
v1.3.5
修复unicode-control-chars提示注入信号:移除所有零宽连接符(ZWJ),修正仓库源地址
v1.3.4
修复安全漏洞:添加环境变量元数据声明,移除明文密码存储风险,修复可能的提示注入标记,强化安全配置指南
v1.3.3
添加安装验证脚本和数据库初始化脚本,完善一键安装指南,解决依赖声明不完整问题
v1.3.2
更新README.md:添加明确的依赖安装步骤和验证脚本
v1.3.1
修复依赖声明不一致问题:添加明确的环境变量和Python依赖说明,完善安装文档
v1.3.0
修复安全漏洞:增强SQL注入防护,新增安全审计清单,强化数据库权限管理
v1.2.0
**Summary:** Version 1.2.0 updates the workout-tracker skill with an improved standard workout recording flow and adds intelligent training plan generation. - 全新默认“标准预排模式”:用户可以一次性录入全部训练组,每完成一组用“done”标记完成,支持追加组数与快速切换动作。 - 增强训练计划功能:根据本周训练历史与现有健身器械,智能分析并推荐训练计划,避免重复肌群训练。 - 优化鼓励机制:完成每组/动作时,自动根据概率附加简短鼓励语,更自然温暖。 - 简化技能环境配置说明,强化单用户本地部署说明。 - 移除 SKILL.md 中的部分旧内容,精简环境变量等信息,聚焦在使用说明和主要流程。 - 增补更清晰的 SQL 操作流程示例,提高实际部署和定制的易用性。
v1.1.4
v1.1.4: 环境变量声明已完整( MYSQL_SOCKET/USER/PASSWORD/DATABASE),所有SQL参数化,数据本地存储,图片访问已声明
v1.1.3
TOOLS.md: 明确仅支持本地socket连接,禁止远程;新增最小权限数据库用户创建步骤;移除MYSQL_HOST歧义;强调数据不外传
v1.1.2
声明必需环境变量(MYSQL_*)、工具(image)、数据处理说明;所有SQL改为参数化查询(?);增加数据库最小权限用户建议
v1.1.1
移除所有硬编码凭据,TOOLS.md 改为配置模板,user_id 改为单用户本地部署默认值
v1.1.0
新增情绪价值模块:训练过程中随机提供鼓励语,30-50%触发概率,覆盖进度/力量/夸赞/幽默/完成类鼓励
v1.0.2
更新 name/tagline/description,优化技能描述和 tagline
v1.0.1
Remove hardcoded credentials from description, move to TOOLS.md
v1.0.0
Initial release: real-time set tracking, gym equipment catalog, post-workout status check
Metadata
Slug workout-tracker
Version 1.3.7
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 17
Frequently Asked Questions

What is Workout Tracker?

个人健身跟踪器 — 通过文字记录健身训练数据,自动解析动作、组数、次数和重量,实时写入本地 MySQL 数据库。支持制定专属训练计划、查询历史记录、追踪进步曲线,以及球类和有氧运动记录。 It is an AI Agent Skill for Claude Code / OpenClaw, with 198 downloads so far.

How do I install Workout Tracker?

Run "/install workout-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Workout Tracker free?

Yes, Workout Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Workout Tracker support?

Workout Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Workout Tracker?

It is built and maintained by zenggang (@query1988); the current version is v1.3.7.

💬 Comments