← 返回 Skills 市场
dsdevq

Workout Claw

作者 Denys · GitHub ↗ · v0.3.0 · MIT-0
cross-platform ✓ 安全检测通过
105
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install workout-claw
功能描述
Log workouts, track progress, compute PRs, edit/delete sessions via a local CLI. Local-first, JSON storage.
使用说明 (SKILL.md)

workout-claw

Local-first gym workout tracker. Plain-JSON storage at ~/.workout-claw/. Invokable as a CLI by an agent — no MCP server, no daemon.

When to invoke

User describes a workout session, asks about progress, or wants to see a PR. Examples that should trigger this skill:

  • "I just did chest day — bench 4x10 at 60, incline DB 4x12 at 20, triceps 4x12 at 40"
  • "Log today's workout"
  • "What's my bench PR?"
  • "Show my back workouts from the last 4 weeks"
  • "What did I do at the gym today?"

How to invoke

Use the workout-claw CLI via Bash. All commands output YAML to stdout, errors to stderr.

Log a workout

workout-claw log "bench 4x10@60, incline-db-press 4x12@20, triceps-pushdown 4x12@40"

Optional flags:

  • --muscle \x3Cgroup>back | legs | chest | shoulders | arms | core | full | cardio | other. If omitted, inferred from weekday (Mon=back, Wed=legs, Fri=chest per ~/.life/domains/health.md).
  • --cardio "\x3Centry>" — e.g. "incline-walk 20min @4.5kmh i6" (minutes, speed kmh, incline)
  • --note "\x3Ctext>" — free-text note
  • --date YYYY-MM-DD — override date
  • --time HH:MM — override time

Input syntax

\x3Cexercise> \x3Csets>x\x3Creps>@\x3Cweight> per entry, comma-separated for multiple exercises.

  • Multi-word exercise names use dashes: incline-db-press, barbell-row
  • Bodyweight: pullups 4x10@bw
  • All weights in kg

Query history

workout-claw history --muscle chest --weeks 4
workout-claw history --exercise bench

Get a PR

workout-claw pr bench

Returns best estimated 1RM via Epley formula: weight × (1 + reps/30).

Cross-day muscle volume (v0.3+)

workout-claw volume --muscle back --weeks 4
workout-claw volume --muscle chest --weeks 8

Aggregates volume per exercise, not per session. Pullups on chest day count toward back volume; triceps-pushdown counts toward arms. Returns total kg lifted, sets, reps, days trained, and a per-date breakdown.

This is the right query for tracking weekly volume per muscle group — far more accurate than history --muscle X which is session-grain.

Summary of today

workout-claw summary
workout-claw summary --date 2026-05-15

Most recent session

workout-claw last

Returns the latest session across all dates — useful for "what did I do at the gym?" without naming a date.

Delete a session

workout-claw delete \x3Csession-id>

Session IDs come from the id field in any log / summary / last output. No confirmation prompt — the CLI is non-interactive by design.

Edit a session

workout-claw edit \x3Csession-id>

Opens the session JSON in $EDITOR (defaults to vi). On save: validates JSON, refuses to save if the id was changed. On parse error: original session unchanged. Useful for fixing typos in exercise names or set counts without a full delete + re-log.

Agent note: edit requires an interactive editor, so the agent should not invoke this in a Telegram round-trip. Instead, when a user asks to fix a logged workout via Telegram, prefer delete + log again, or hand back the session ID and tell the user to run workout-claw edit \x3Cid> from their terminal.

Data location

  • ~/.workout-claw/logs/\x3Cdate>.json — one JSON file per day, array of sessions
  • Schema: see src/lib/types.ts in the workout-claw repo

Notes for the agent

  • After logging, relay the YAML summary back to the user in a readable form (don't dump raw YAML)
  • If the user names an exercise that doesn't match the dash-naming convention, normalize before invoking (e.g. "incline DB press" → incline-db-press)
  • Session-level --muscle is inferred from weekday — only set explicitly if the user names a non-standard split (e.g. arm day on a Tuesday). Per-exercise muscle tags are inferred automatically at log time via name lookup (pullups→back, bench→chest, etc.), so no extra input is needed.
  • When user describes cardio separately, use --cardio flag. When they describe both lifting + cardio in one breath, use both.
  • For "how much back/chest/leg volume?" questions, prefer volume --muscle X over history --muscle X — volume aggregates per-exercise, history filters per-session.
安全使用建议
Before installing, make sure you trust the separate `workout-claw` CLI that this skill will call. Expect workout logs to be stored locally under `~/.workout-claw/`, and double-check session IDs before using delete commands.
功能分析
Type: OpenClaw Skill Name: workout-claw Version: 0.3.0 The workout-claw skill bundle describes a legitimate local-first workout tracking utility. It uses a CLI tool to manage JSON-based logs in `~/.workout-claw/` and provides clear instructions for the agent to handle logging, history queries, and volume calculations. No indicators of malicious intent, data exfiltration, or harmful prompt injection were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The described capabilities—logging workouts, querying history, computing PRs, and editing/deleting sessions—match the stated workout-tracking purpose.
Instruction Scope
Instructions are mostly scoped to the workout CLI, but the delete command has no confirmation prompt, so users should be precise about session IDs.
Install Mechanism
This is an instruction-only skill with no install spec or code files, yet it assumes a local `workout-claw` executable is available; that executable is outside the reviewed artifacts.
Credentials
No network access or credentials are requested. Local workout data storage is purpose-aligned, but it may include personal health notes and references a local health configuration file.
Persistence & Privilege
The skill persists workout logs under the user's home directory and supports local mutation through edit/delete, but it discloses no daemon, background service, or elevated privilege requirement.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install workout-claw
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /workout-claw 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.0
- Added new `volume` command for cross-day muscle volume tracking, aggregating volume per exercise (not session). - Clarified difference between `volume --muscle X` (preferred for weekly volume tracking) and `history --muscle X`. - Expanded and refined CLI invocation examples and flags, including support for logging cardio and custom session notes. - Updated agent/usage guidance, emphasizing correct trigger behavior and input normalization for exercise names. - Improved documentation on session editing (`edit` command), with caution for Telegram/integrated agent usage. - General documentation and clarity improvements throughout the SKILL.md.
元数据
Slug workout-claw
版本 0.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Workout Claw 是什么?

Log workouts, track progress, compute PRs, edit/delete sessions via a local CLI. Local-first, JSON storage. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 105 次。

如何安装 Workout Claw?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install workout-claw」即可一键安装,无需额外配置。

Workout Claw 是免费的吗?

是的,Workout Claw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Workout Claw 支持哪些平台?

Workout Claw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Workout Claw?

由 Denys(@dsdevq)开发并维护,当前版本 v0.3.0。

💬 留言讨论