Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

clawcoach-food爪教练食品

Agent Skill

clawcoach-food 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

18,531

周安装

757

GitHub Stars

公开资料未说明

下载量

5,995
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:clawcoach-food(爪教练食品)
来源仓库:https://github.com/authoredniko/clawcoach-food
安装命令:
openclaw skills install clawcoach-food
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install clawcoach-food

简介

ClawCoach 的食物照片分析和膳食记录。发送您的用餐照片,并通过 Claude Vision 获得即时宏观分析。

SKILL.md

name
clawcoach-food
description
Food photo analysis and meal logging for ClawCoach. Send a photo of your meal and get instant macro breakdown via Claude Vision.
emoji
\F4F8
user-invocable
true
homepage
https://github.com/clawcoach/clawcoach
metadata
openclaw
{"requires": {"env": ["ANTHROPIC_API_KEY"]}}

ClawCoach Food — Photo Analysis & Meal Logging

This skill handles food photo analysis via Claude Vision, text-based meal logging, and the confirmation flow.

When to Activate

  • User sends a photo — assume it is food unless context clearly suggests otherwise
  • User types a food description ("I had 2 eggs and toast for breakfast")
  • User says "log [food]" or "I ate [food]"
  • User wants to edit or delete a previous meal

Data Storage

All meals are stored in ~/.clawcoach/food-log.json with this structure:

{
  "meals": [
    {
      "id": "2026-02-22-lunch-001",
      "date": "2026-02-22",
      "type": "lunch",
      "status": "confirmed",
      "items": [
        {
          "name": "grilled chicken breast",
          "portion": "6 oz",
          "calories": 280,
          "protein_g": 52,
          "fat_g": 6,
          "carbs_g": 0
        }
      ],
      "total_calories": 520,
      "total_protein_g": 62,
      "total_fat_g": 14,
      "total_carbs_g": 48,
      "source": "photo",
      "timestamp": "2026-02-22T12:35:00Z"
    }
  ]
}

Photo Analysis Flow

When the user sends a photo:

  1. Analyze the image using your vision capabilities. Identify every distinct food item visible. For each item estimate:

- Name (be specific: "grilled chicken breast" not just "chicken") - Portion in common units (oz, cups, pieces, slices) - Calories and macros (protein, fat, carbs in grams)

Use your nutritional knowledge. For common foods, these are well-established values. Be conservative with portions if uncertain.

  1. Present the results in the user's persona voice:

- List each item with portion and macros - Show meal total - Show daily running totals (consumed / target / remaining) - Ask: "confirm? (yes / edit / redo)"

  1. Handle response:

- "yes" / "confirm" — Write the meal to ~/.clawcoach/food-log.json with status "confirmed" - Correction (e.g., "the rice was brown rice" or "it was more like 8oz") — recalculate and present updated totals - "redo" — ask for a new photo or text description

  1. After confirmation, always show updated daily totals.

Text-Based Logging

When the user describes food in text:

  1. Parse the food items and estimate portions from the description
  2. Calculate macros for each item using your nutritional knowledge
  3. Follow the same confirmation flow as photo analysis

Meal Type Auto-Detection

Categorize meals by time:

  • Before 10:00 = breakfast
  • 10:00 - 14:00 = lunch
  • 14:00 - 17:00 = snack
  • After 17:00 = dinner

The user can override: "log this as a snack"

Editing and Deleting

  • "Delete my lunch" — find today's lunch entry, remove it from food-log.json
  • "I think that was more like 400 calories" — update the specific meal entry
  • "What did I eat today?" — list all confirmed meals for today with totals

Daily Totals

After any meal is confirmed, calculate and show:

  1. Read profile from ~/.clawcoach/profile.json for targets
  2. Sum all confirmed meals for today from food-log.json
  3. Display:

- Consumed: X cal | Xg protein | Xg fat | Xg carbs - Target: X cal | Xg protein | Xg fat | Xg carbs - Remaining: X cal | Xg protein | Xg fat | Xg carbs

Edge Cases

  • Blurry or unclear photo: "I can't quite make out the food. Try a better lit photo, or just tell me what you had."
  • Non-food photo: "That doesn't look like food! Send a photo of your meal, or type what you ate."
  • Unknown food: Ask the user for clarification rather than guessing wildly.
  • Multiple items unclear: "I can see chicken and something else — is that rice or pasta?"
  • No portion visible: Use standard serving sizes and note: "I estimated a standard portion — let me know if it was more or less."

Nutritional Reference (Common Foods per 100g)

Use these as a baseline. Scale by estimated portion size.

FoodCalProteinFatCarbs
Chicken breast (grilled)165313.60
Salmon (baked)20820130
White rice (cooked)1302.70.328
Brown rice (cooked)1232.71.026
Pasta (cooked)13151.125
Broccoli (steamed)352.40.47
Egg (whole, large ~50g)15513111.1
Avocado1602159
Sweet potato (baked)9020.121
Greek yogurt (plain)59100.73.6
Banana (~120g)891.10.323
Oats (cooked)682.41.412
Bread (white, per slice ~30g)26593.249
Cheese (cheddar)40325331.3
Almonds579215022
Olive oil (1 tbsp ~14ml)88401000
Pizza (pepperoni, per slice)298121430
Burger (quarter lb w/ bun)~550303040
Steak (sirloin)20626110
Tofu (firm)1441793
Lentils (cooked)11690.420
Milk (whole, 250ml)613.23.34.8
Protein shake (~1 scoop)~120251.53

For foods not on this list, use your general nutritional knowledge. Be transparent when estimating.

Important

  • Always present macros rounded to whole numbers
  • Always show daily running totals after confirming a meal
  • The persona voice comes from clawcoach-core — match it in all responses
  • Never log a meal without user confirmation
  • Generate unique meal IDs as: {date}-{meal_type}-{sequence}

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.04%
按下载量换算4,199

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills