# Send Calorie Counter 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-counter",
    "name": "Calorie Counter",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/cnqso/calorie-counter",
    "canonicalUrl": "https://clawhub.ai/cnqso/calorie-counter",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/calorie-counter",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calorie-counter",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "QUICK_START.md",
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/calorie_tracker.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "calorie-counter",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T03:28:46.449Z",
      "expiresAt": "2026-05-06T03:28:46.449Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calorie-counter",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calorie-counter",
        "contentDisposition": "attachment; filename=\"calorie-counter-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "calorie-counter"
      },
      "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-counter"
    },
    "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-counter",
    "downloadUrl": "https://openagent3.xyz/downloads/calorie-counter",
    "agentUrl": "https://openagent3.xyz/skills/calorie-counter/agent",
    "manifestUrl": "https://openagent3.xyz/skills/calorie-counter/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/calorie-counter/agent.md"
  }
}
```
## Documentation

### Calorie Counter

Simple, reliable calorie and protein tracking with SQLite database.

### Features

Manual Entry: Add food with calories and protein
Protein Tracking: Monitor daily protein intake
Daily Goals: Set custom calorie targets
Weight Tracking: Log weight in pounds
Instant Feedback: See totals immediately after adding food
History: View past days and trends

### Adding Food

python scripts/calorie_tracker.py add "chicken breast" 165 31
python scripts/calorie_tracker.py add "banana" 100 1

Shows immediate feedback with today's totals and remaining calories.

### Viewing Today's Summary

python scripts/calorie_tracker.py summary

Shows:

All entries for today
Total calories and protein consumed
Daily goal and remaining calories
Progress percentage

### Setting Goals

python scripts/calorie_tracker.py goal 2000

Sets the daily calorie goal (persists).

### Weight Tracking

python scripts/calorie_tracker.py weight 175
python scripts/calorie_tracker.py weight-history

Weight is in pounds (decimals allowed: 175.5).

### Viewing History

# Last 7 days
python scripts/calorie_tracker.py history

# Last 30 days
python scripts/calorie_tracker.py history 30

### Deleting Entries

# List entries to get ID
python scripts/calorie_tracker.py list

# Delete by ID
python scripts/calorie_tracker.py delete 42

### Database

SQLite database: calorie_data.db

### Tables

entries - Food log

id (INTEGER) - Auto-increment
date (TEXT) - YYYY-MM-DD
food_name (TEXT)
calories (INTEGER)
protein (INTEGER)
created_at (TIMESTAMP) - Automatic

daily_goal - Single calorie target

id (INTEGER) - Always 1
calorie_goal (INTEGER)

weight_log - Weight tracking

id (INTEGER) - Auto-increment
date (TEXT) - YYYY-MM-DD
weight_lbs (REAL) - Pounds with decimals
created_at (TIMESTAMP) - Automatic

### Agent Instructions

Important: The skill is located at workspace/calorie-counter/ in your agent's workspace. All commands should use this path prefix.

### When user mentions food:

Extract food name, calories, and protein (estimate if not provided)
Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py add "food" CALORIES PROTEIN
The command outputs immediate totals (no need to run summary separately)

Example:

User: "I had a chicken breast for lunch, about 165 calories"
Estimate protein (chicken is ~30g per 165 cal)
Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py add "chicken breast" 165 30

### When user wants remaining calories:

Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py summary

### When user sets a goal:

Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py goal CALORIES

### When user logs weight:

Convert to pounds if needed (1 kg ≈ 2.205 lbs)
Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py weight POUNDS

### When user wants to delete entry:

Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py list to show IDs
Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py delete ID

### Protein Estimation Guide

If user doesn't specify protein, estimate based on food type:

Lean meats (chicken, turkey): ~0.30g per calorie
Fish: ~0.25g per calorie
Red meat: ~0.20g per calorie
Eggs: ~0.12g per calorie (1 egg = 70 cal, 6g protein)
Greek yogurt: ~0.10g per calorie
Nuts: ~0.04g per calorie
Bread/pasta: ~0.03g per calorie
Fruits: ~0.01g per calorie or less
Vegetables: ~0.02-0.04g per calorie

When uncertain, estimate conservatively or ask the user.

### Notes

Calories and protein are integers (no decimals)
Weight is in pounds (decimals allowed)
Database created automatically on first use
All times in local timezone
Dates in YYYY-MM-DD format
Time shown in lists is from created_at timestamp (HH:MM format)

### Example Session

# Set goal
$ python scripts/calorie_tracker.py goal 2000
✓ Set daily goal: 2000 cal

# Add breakfast
$ python scripts/calorie_tracker.py add "oatmeal" 150 5
✓ Added: oatmeal (150 cal, 5g protein)
  Entry ID: 1
  Today: 150 / 2000 cal (remaining: 1850) | Protein today: 5g | Entries: 1

# Add lunch
$ python scripts/calorie_tracker.py add "grilled chicken salad" 350 45
✓ Added: grilled chicken salad (350 cal, 45g protein)
  Entry ID: 2
  Today: 500 / 2000 cal (remaining: 1500) | Protein today: 50g | Entries: 2

# Check summary
$ python scripts/calorie_tracker.py summary
============================================================
DAILY SUMMARY - 2026-02-05
============================================================
Entries: 2
Total consumed: 500 cal | 50g protein
Daily goal: 2000 cal
Remaining: 1500 cal
  25.0% of goal consumed
============================================================

# Log weight
$ python scripts/calorie_tracker.py weight 175.5
✓ Logged weight: 175.5 lbs
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cnqso
- 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-04-29T03:28:46.449Z
- Expires at: 2026-05-06T03:28:46.449Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/calorie-counter)
- [Send to Agent page](https://openagent3.xyz/skills/calorie-counter/agent)
- [JSON manifest](https://openagent3.xyz/skills/calorie-counter/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/calorie-counter/agent.md)
- [Download page](https://openagent3.xyz/downloads/calorie-counter)