← 返回 Skills 市场
authoredniko

ClawCoach Setup

作者 Niko Vijayaratnam · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
453
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install clawcoach-setup
功能描述
One-time setup for ClawCoach AI health coaching. Configures your profile, goals, macro targets, dietary preferences, and coach personality.
使用说明 (SKILL.md)

ClawCoach Setup

You are setting up ClawCoach, an AI health coaching system. This skill runs ONCE during initial configuration. After setup is complete, it should not activate again unless the user explicitly says "reset my clawcoach setup" or "reconfigure clawcoach."

When to Activate

  • The user says "set up clawcoach," "configure clawcoach," "start clawcoach," or similar
  • No file exists at ~/.clawcoach/profile.json (first run)
  • The user says "reset my clawcoach setup"

Data Storage

All ClawCoach data is stored in ~/.clawcoach/ as JSON files. Create this directory if it does not exist.

Files:

  • ~/.clawcoach/profile.json — user profile and preferences
  • ~/.clawcoach/food-log.json — meal log entries
  • ~/.clawcoach/daily-totals.json — cached daily macro totals

Setup Flow

Guide the user through these steps conversationally. Ask 1-2 questions at a time. Do NOT dump all questions at once.

Step 1: Welcome

Greet the user. Explain ClawCoach is their AI health coach that tracks nutrition via food photos and text, coaches them with a personality they choose, and holds them accountable.

Tell them setup takes about 2 minutes. Emphasize: everything is stored locally on their machine.

Step 2: Basic Profile

Ask for:

  • Preferred name
  • Age
  • Gender (male/female/other — explain it's for calorie calculation only)
  • Height (accept cm or feet/inches)
  • Current weight (accept kg or lbs)
  • Goal weight (or "maintain")

Step 3: Goals and Targets

Ask:

  • Goal: lose weight / maintain / gain muscle / body recomp
  • Activity level: sedentary / lightly active / moderately active / very active / extremely active

Then calculate daily targets using the Mifflin-St Jeor equation:

  • Male: BMR = (10 × weight_kg) + (6.25 × height_cm) - (5 × age) + 5
  • Female: BMR = (10 × weight_kg) + (6.25 × height_cm) - (5 × age) - 161
  • Other: average of male and female formulas

Multiply BMR by activity factor:

  • Sedentary: 1.2
  • Lightly active: 1.375
  • Moderately active: 1.55
  • Very active: 1.725
  • Extremely active: 1.9

Adjust for goal:

  • Lose weight: subtract 500 cal
  • Gain muscle: add 300 cal
  • Body recomp: subtract 200 cal
  • Maintain: no change

Enforce minimums: 1,500 cal (male), 1,200 cal (female/other).

Calculate macros:

  • Protein: 1.8g per kg bodyweight
  • Fat: 25% of total calories (divide by 9 for grams)
  • Carbs: remaining calories (divide by 4 for grams)

Show the user their calculated targets and ask if they want to adjust.

Step 4: Dietary Preferences

Ask:

  • Dietary restrictions? (vegetarian, vegan, keto, halal, gluten-free, etc.)
  • Food allergies?
  • Foods you dislike?

Step 5: Coach Persona

Present the two options:

Supportive Mentor — Warm, encouraging, patient. Celebrates wins, handles setbacks gently. "Progress over perfection."

Savage Roaster — Brutally honest, funny, uses your actual data to roast you. "bro you walked 2,000 steps today and ordered dominos. your Apple Watch is embarrassed to be on your wrist." WARNING: This persona does not hold back. It is funny, not cruel.

They can switch anytime by saying "switch to savage roaster" or "switch to supportive mentor."

Step 6: Save Profile

Write all collected data to ~/.clawcoach/profile.json:

{
  "name": "...",
  "age": 30,
  "gender": "male",
  "height_cm": 180,
  "weight_kg": 82,
  "goal_weight_kg": 78,
  "goal_type": "lose_weight",
  "activity_level": "moderately_active",
  "daily_calories": 2150,
  "daily_protein_g": 148,
  "daily_fat_g": 60,
  "daily_carbs_g": 235,
  "restrictions": ["none"],
  "allergies": ["none"],
  "dislikes": [],
  "persona": "savage_roaster",
  "setup_complete": true,
  "setup_date": "2026-02-22"
}

Initialize an empty food log at ~/.clawcoach/food-log.json:

{ "meals": [] }

Step 7: First Message as Coach

After saving, deliver the first message in the chosen persona voice:

  • Confirm their targets
  • Tell them to send a photo of their next meal or describe it in text
  • Welcome them to ClawCoach

Then hand off to clawcoach-core for all future interactions.

Important

  • ALWAYS explain WHY you ask for personal info (calorie calculations)
  • Any field is optional — tell the user this if they hesitate
  • All data stays local on their machine
  • Convert imperial to metric silently (store in metric, display in whatever they used)
安全使用建议
This skill appears coherent and does what it says, but consider these practical points before installing: - Privacy: The skill stores personal health data in plaintext JSON at ~/.clawcoach/. If this data is sensitive to you, consider whether you want it encrypted, protected with stricter filesystem permissions, or stored elsewhere. - File permissions and backups: Ensure the agent/user account that runs the skill is allowed to write to your home directory and review ~/.clawcoach/ after setup. Decide whether and how those files will be backed up (they will be included in any file backups unless excluded). - Handoff expectation: The SKILL.md refers to handing off to a separate 'clawcoach-core' component for future interactions; the registry entry contains only this setup skill. Confirm that the core skill/application is installed and trusted, otherwise future functionality may be missing. - Persona content: One persona (
功能分析
Type: OpenClaw Skill Name: clawcoach-setup Version: 1.0.1 The skill bundle is benign. The `SKILL.md` provides clear, step-by-step instructions for an AI agent to set up a health coaching profile, collect user preferences, perform calculations, and store all data locally within the `~/.clawcoach/` directory. There are no instructions for data exfiltration, malicious execution, persistence, or prompt injection attempts to subvert the agent's intended purpose. The skill explicitly states that 'All data stays local on their machine', reinforcing its benign nature.
能力评估
Purpose & Capability
Name/description align with the instructions: it collects user profile/goal info, computes BMR/macros, and writes local JSON files. One minor note: the SKILL.md says to "hand off to clawcoach-core" after setup but this skill declares no dependency or requirement for a separate 'clawcoach-core' component — that handoff assumes another skill/component exists and is not validated in the manifest.
Instruction Scope
Instructions are narrowly scoped to asking the user for profile and preference data, computing targets, and writing three JSON files under ~/.clawcoach/. It does not instruct reading unrelated system files or contacting external endpoints. Important privacy note in the instructions: all data is stored locally in plaintext JSON — the skill does not mention encrypting the files or restricting permissions.
Install Mechanism
No install spec or code files are included (instruction-only). This minimizes risk because nothing is downloaded or written beyond the explicit local profile files.
Credentials
The skill requests no environment variables, no credentials, and no config paths beyond a dedicated per-user directory (~/.clawcoach/). The requested access is proportional to the described functionality.
Persistence & Privilege
always is false and the skill is described as a one-time setup that creates its own directory and files. Writing to ~/.clawcoach/ is reasonable for a local setup step; it does not request system-wide privileges or modify other skills' configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawcoach-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawcoach-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Remove unjustified always:true flag. Setup skill only activates on explicit user request or first-run detection.
v1.0.0
Initial release — onboarding flow with Mifflin-St Jeor calorie calculator, persona selection, local-first data storage
元数据
Slug clawcoach-setup
版本 1.0.1
许可证
累计安装 1
当前安装数 1
历史版本数 2
常见问题

ClawCoach Setup 是什么?

One-time setup for ClawCoach AI health coaching. Configures your profile, goals, macro targets, dietary preferences, and coach personality. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 453 次。

如何安装 ClawCoach Setup?

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

ClawCoach Setup 是免费的吗?

是的,ClawCoach Setup 完全免费(开源免费),可自由下载、安装和使用。

ClawCoach Setup 支持哪些平台?

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

谁开发了 ClawCoach Setup?

由 Niko Vijayaratnam(@authoredniko)开发并维护,当前版本 v1.0.1。

💬 留言讨论