{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/calorie-counter",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=calorie-counter",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "QUICK_START.md",
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/calorie_tracker.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/calorie-counter",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Calorie Counter",
        "body": "Simple, reliable calorie and protein tracking with SQLite database."
      },
      {
        "title": "Features",
        "body": "Manual Entry: Add food with calories and protein\nProtein Tracking: Monitor daily protein intake\nDaily Goals: Set custom calorie targets\nWeight Tracking: Log weight in pounds\nInstant Feedback: See totals immediately after adding food\nHistory: View past days and trends"
      },
      {
        "title": "Adding Food",
        "body": "python scripts/calorie_tracker.py add \"chicken breast\" 165 31\npython scripts/calorie_tracker.py add \"banana\" 100 1\n\nShows immediate feedback with today's totals and remaining calories."
      },
      {
        "title": "Viewing Today's Summary",
        "body": "python scripts/calorie_tracker.py summary\n\nShows:\n\nAll entries for today\nTotal calories and protein consumed\nDaily goal and remaining calories\nProgress percentage"
      },
      {
        "title": "Setting Goals",
        "body": "python scripts/calorie_tracker.py goal 2000\n\nSets the daily calorie goal (persists)."
      },
      {
        "title": "Weight Tracking",
        "body": "python scripts/calorie_tracker.py weight 175\npython scripts/calorie_tracker.py weight-history\n\nWeight is in pounds (decimals allowed: 175.5)."
      },
      {
        "title": "Viewing History",
        "body": "# Last 7 days\npython scripts/calorie_tracker.py history\n\n# Last 30 days\npython scripts/calorie_tracker.py history 30"
      },
      {
        "title": "Deleting Entries",
        "body": "# List entries to get ID\npython scripts/calorie_tracker.py list\n\n# Delete by ID\npython scripts/calorie_tracker.py delete 42"
      },
      {
        "title": "Database",
        "body": "SQLite database: calorie_data.db"
      },
      {
        "title": "Tables",
        "body": "entries - Food log\n\nid (INTEGER) - Auto-increment\ndate (TEXT) - YYYY-MM-DD\nfood_name (TEXT)\ncalories (INTEGER)\nprotein (INTEGER)\ncreated_at (TIMESTAMP) - Automatic\n\ndaily_goal - Single calorie target\n\nid (INTEGER) - Always 1\ncalorie_goal (INTEGER)\n\nweight_log - Weight tracking\n\nid (INTEGER) - Auto-increment\ndate (TEXT) - YYYY-MM-DD\nweight_lbs (REAL) - Pounds with decimals\ncreated_at (TIMESTAMP) - Automatic"
      },
      {
        "title": "Agent Instructions",
        "body": "Important: The skill is located at workspace/calorie-counter/ in your agent's workspace. All commands should use this path prefix."
      },
      {
        "title": "When user mentions food:",
        "body": "Extract food name, calories, and protein (estimate if not provided)\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py add \"food\" CALORIES PROTEIN\nThe command outputs immediate totals (no need to run summary separately)\n\nExample:\n\nUser: \"I had a chicken breast for lunch, about 165 calories\"\nEstimate protein (chicken is ~30g per 165 cal)\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py add \"chicken breast\" 165 30"
      },
      {
        "title": "When user wants remaining calories:",
        "body": "Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py summary"
      },
      {
        "title": "When user sets a goal:",
        "body": "Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py goal CALORIES"
      },
      {
        "title": "When user logs weight:",
        "body": "Convert to pounds if needed (1 kg ≈ 2.205 lbs)\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py weight POUNDS"
      },
      {
        "title": "When user wants to delete entry:",
        "body": "Run: python3 workspace/calorie-counter/scripts/calorie_tracker.py list to show IDs\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py delete ID"
      },
      {
        "title": "Protein Estimation Guide",
        "body": "If user doesn't specify protein, estimate based on food type:\n\nLean meats (chicken, turkey): ~0.30g per calorie\nFish: ~0.25g per calorie\nRed meat: ~0.20g per calorie\nEggs: ~0.12g per calorie (1 egg = 70 cal, 6g protein)\nGreek yogurt: ~0.10g per calorie\nNuts: ~0.04g per calorie\nBread/pasta: ~0.03g per calorie\nFruits: ~0.01g per calorie or less\nVegetables: ~0.02-0.04g per calorie\n\nWhen uncertain, estimate conservatively or ask the user."
      },
      {
        "title": "Notes",
        "body": "Calories and protein are integers (no decimals)\nWeight is in pounds (decimals allowed)\nDatabase created automatically on first use\nAll times in local timezone\nDates in YYYY-MM-DD format\nTime shown in lists is from created_at timestamp (HH:MM format)"
      },
      {
        "title": "Example Session",
        "body": "# Set goal\n$ python scripts/calorie_tracker.py goal 2000\n✓ Set daily goal: 2000 cal\n\n# Add breakfast\n$ python scripts/calorie_tracker.py add \"oatmeal\" 150 5\n✓ Added: oatmeal (150 cal, 5g protein)\n  Entry ID: 1\n  Today: 150 / 2000 cal (remaining: 1850) | Protein today: 5g | Entries: 1\n\n# Add lunch\n$ python scripts/calorie_tracker.py add \"grilled chicken salad\" 350 45\n✓ Added: grilled chicken salad (350 cal, 45g protein)\n  Entry ID: 2\n  Today: 500 / 2000 cal (remaining: 1500) | Protein today: 50g | Entries: 2\n\n# Check summary\n$ python scripts/calorie_tracker.py summary\n============================================================\nDAILY SUMMARY - 2026-02-05\n============================================================\nEntries: 2\nTotal consumed: 500 cal | 50g protein\nDaily goal: 2000 cal\nRemaining: 1500 cal\n  25.0% of goal consumed\n============================================================\n\n# Log weight\n$ python scripts/calorie_tracker.py weight 175.5\n✓ Logged weight: 175.5 lbs"
      }
    ],
    "body": "Calorie Counter\n\nSimple, reliable calorie and protein tracking with SQLite database.\n\nFeatures\nManual Entry: Add food with calories and protein\nProtein Tracking: Monitor daily protein intake\nDaily Goals: Set custom calorie targets\nWeight Tracking: Log weight in pounds\nInstant Feedback: See totals immediately after adding food\nHistory: View past days and trends\nUsage\nAdding Food\npython scripts/calorie_tracker.py add \"chicken breast\" 165 31\npython scripts/calorie_tracker.py add \"banana\" 100 1\n\n\nShows immediate feedback with today's totals and remaining calories.\n\nViewing Today's Summary\npython scripts/calorie_tracker.py summary\n\n\nShows:\n\nAll entries for today\nTotal calories and protein consumed\nDaily goal and remaining calories\nProgress percentage\nSetting Goals\npython scripts/calorie_tracker.py goal 2000\n\n\nSets the daily calorie goal (persists).\n\nWeight Tracking\npython scripts/calorie_tracker.py weight 175\npython scripts/calorie_tracker.py weight-history\n\n\nWeight is in pounds (decimals allowed: 175.5).\n\nViewing History\n# Last 7 days\npython scripts/calorie_tracker.py history\n\n# Last 30 days\npython scripts/calorie_tracker.py history 30\n\nDeleting Entries\n# List entries to get ID\npython scripts/calorie_tracker.py list\n\n# Delete by ID\npython scripts/calorie_tracker.py delete 42\n\nDatabase\n\nSQLite database: calorie_data.db\n\nTables\n\nentries - Food log\n\nid (INTEGER) - Auto-increment\ndate (TEXT) - YYYY-MM-DD\nfood_name (TEXT)\ncalories (INTEGER)\nprotein (INTEGER)\ncreated_at (TIMESTAMP) - Automatic\n\ndaily_goal - Single calorie target\n\nid (INTEGER) - Always 1\ncalorie_goal (INTEGER)\n\nweight_log - Weight tracking\n\nid (INTEGER) - Auto-increment\ndate (TEXT) - YYYY-MM-DD\nweight_lbs (REAL) - Pounds with decimals\ncreated_at (TIMESTAMP) - Automatic\nAgent Instructions\n\nImportant: The skill is located at workspace/calorie-counter/ in your agent's workspace. All commands should use this path prefix.\n\nWhen user mentions food:\nExtract food name, calories, and protein (estimate if not provided)\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py add \"food\" CALORIES PROTEIN\nThe command outputs immediate totals (no need to run summary separately)\n\nExample:\n\nUser: \"I had a chicken breast for lunch, about 165 calories\"\nEstimate protein (chicken is ~30g per 165 cal)\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py add \"chicken breast\" 165 30\nWhen user wants remaining calories:\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py summary\nWhen user sets a goal:\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py goal CALORIES\nWhen user logs weight:\nConvert to pounds if needed (1 kg ≈ 2.205 lbs)\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py weight POUNDS\nWhen user wants to delete entry:\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py list to show IDs\nRun: python3 workspace/calorie-counter/scripts/calorie_tracker.py delete ID\nProtein Estimation Guide\n\nIf user doesn't specify protein, estimate based on food type:\n\nLean meats (chicken, turkey): ~0.30g per calorie\nFish: ~0.25g per calorie\nRed meat: ~0.20g per calorie\nEggs: ~0.12g per calorie (1 egg = 70 cal, 6g protein)\nGreek yogurt: ~0.10g per calorie\nNuts: ~0.04g per calorie\nBread/pasta: ~0.03g per calorie\nFruits: ~0.01g per calorie or less\nVegetables: ~0.02-0.04g per calorie\n\nWhen uncertain, estimate conservatively or ask the user.\n\nNotes\nCalories and protein are integers (no decimals)\nWeight is in pounds (decimals allowed)\nDatabase created automatically on first use\nAll times in local timezone\nDates in YYYY-MM-DD format\nTime shown in lists is from created_at timestamp (HH:MM format)\nExample Session\n# Set goal\n$ python scripts/calorie_tracker.py goal 2000\n✓ Set daily goal: 2000 cal\n\n# Add breakfast\n$ python scripts/calorie_tracker.py add \"oatmeal\" 150 5\n✓ Added: oatmeal (150 cal, 5g protein)\n  Entry ID: 1\n  Today: 150 / 2000 cal (remaining: 1850) | Protein today: 5g | Entries: 1\n\n# Add lunch\n$ python scripts/calorie_tracker.py add \"grilled chicken salad\" 350 45\n✓ Added: grilled chicken salad (350 cal, 45g protein)\n  Entry ID: 2\n  Today: 500 / 2000 cal (remaining: 1500) | Protein today: 50g | Entries: 2\n\n# Check summary\n$ python scripts/calorie_tracker.py summary\n============================================================\nDAILY SUMMARY - 2026-02-05\n============================================================\nEntries: 2\nTotal consumed: 500 cal | 50g protein\nDaily goal: 2000 cal\nRemaining: 1500 cal\n  25.0% of goal consumed\n============================================================\n\n# Log weight\n$ python scripts/calorie_tracker.py weight 175.5\n✓ Logged weight: 175.5 lbs"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cnqso/calorie-counter",
    "publisherUrl": "https://clawhub.ai/cnqso/calorie-counter",
    "owner": "cnqso",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}