# Send Calorie Visualizer to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "calorie-visualizer",
    "name": "Calorie Visualizer",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/VintLin/calorie-visualizer",
    "canonicalUrl": "https://clawhub.ai/VintLin/calorie-visualizer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/calorie-visualizer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calorie-visualizer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CHANGELOG.md",
      "QUICK_START.md",
      "README.md",
      "SKILL.md",
      "_meta.json",
      "data/food_database.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "calorie-visualizer",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T06:58:13.866Z",
      "expiresAt": "2026-05-08T06:58:13.866Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calorie-visualizer",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calorie-visualizer",
        "contentDisposition": "attachment; filename=\"calorie-visualizer-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "calorie-visualizer"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/calorie-visualizer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/calorie-visualizer",
    "downloadUrl": "https://openagent3.xyz/downloads/calorie-visualizer",
    "agentUrl": "https://openagent3.xyz/skills/calorie-visualizer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/calorie-visualizer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/calorie-visualizer/agent.md"
  }
}
```
## Documentation

### Calorie Visualizer

A local skill for meal logging and visual nutrition analysis.

### Core Flow

User sends meal text/photo (upstream extracts calorie/protein values or calls food-db lookup).
add (or add-food) writes to calorie_data.db.
After write, visual_renderer.py generates a fresh report image.
CLI prints REPORT_IMAGE:<path> so the chat layer can send the image.

### Daily Goal Priority

config.daily_goal (manual override)
TDEE derived from USER.md
If user explicitly refuses profile data: logging only, no repeated prompting
Fallback default in renderer: 2000 kcal

### CLI Commands

# Add a meal with explicit nutrition values
python3 scripts/calorie_visualizer.py add "food name" 500 25 [--photo /path/to/image.jpg]

# Add from local food database (local-first, online fallback optional)
python3 scripts/calorie_visualizer.py add-food "Subway chicken sandwich" --multiplier 1.0
python3 scripts/calorie_visualizer.py add-food "rice" --offline

# Daily summary
python3 scripts/calorie_visualizer.py summary

# Regenerate report image
python3 scripts/calorie_visualizer.py report

# Config
python3 scripts/calorie_visualizer.py config daily_goal 2000
python3 scripts/calorie_visualizer.py config user_refused_profile True

### Dependencies

cd skills/calorie-visualizer
python3 -m pip install -r requirements.txt

Python libs: html2image, Pillow
Online fallback: optional USDA API (USDA_API_KEY)
Database: SQLite (built into Python)
Rendering: requires system Chromium/Chrome (called by html2image)

### Storage

calorie_data.db (local SQLite)
No automatic external sync
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: VintLin
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T06:58:13.866Z
- Expires at: 2026-05-08T06:58:13.866Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/calorie-visualizer)
- [Send to Agent page](https://openagent3.xyz/skills/calorie-visualizer/agent)
- [JSON manifest](https://openagent3.xyz/skills/calorie-visualizer/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/calorie-visualizer/agent.md)
- [Download page](https://openagent3.xyz/downloads/calorie-visualizer)