Task Router Skill
Task Router
Food photo analysis and meal logging for ClawCoach. Send a photo of your meal and get instant macro breakdown via Claude Vision.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install authoredniko/clawcoach-food打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
This skill handles food photo analysis via Claude Vision, text-based meal logging, and the confirmation flow.
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"
}
]
}
When the user sends a photo:
Analyze the image using your vision capabilities. Identify every distinct food item visible. For each item estimate:
Use your nutritional knowledge. For common foods, these are well-established values. Be conservative with portions if uncertain.
Present the results in the user's persona voice:
Handle response:
~/.clawcoach/food-log.json with status "confirmed"这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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:
```json
{
"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.
2. **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)"
3. **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")...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.