Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

calorie-visualizer

bởi vintlin

Image & Video Generation
445Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Local calorie logging and visual reporting (auto-refreshes and returns report image after each log)

Mô tả

Kỹ năng này làm gì

Logs meals locally and generates a visual nutrition report image after each entry. Tracks calories and protein against a daily goal stored in a local SQLite database. Supports manual nutrition input, food database lookup, and optional photo attachment.

All data stays in a local SQLite database with no account, subscription, or cloud sync required.

Khi nào nên dùng

  • Logging a post-workout meal with exact calorie and protein counts
  • Checking daily intake progress mid-day with a visual chart
  • Looking up nutrition data for a common food by name
  • Setting a personal daily calorie target
  • Reviewing end-of-day totals against a TDEE-derived goal

Quy trình ví dụ

ĐẦU VÀO

User asks: Log a chicken sandwich with 520 calories and 30g protein

AGENT
  1. 1

    Parse meal name and nutrition values from user message

  2. 2

    Run add command: calorie_visualizer.py add "chicken sandwich" 520 30

  3. 3

    Write entry to calorie_data.db

  4. 4

    Regenerate report image via visual_renderer.py

  5. 5

    Return report image path to chat layer for display

ĐẦU RA

Meal logged; updated daily summary image showing calorie and protein progress returned to user

Yêu cầu

  • Chromium or Chrome installed on the system (required by html2image for report rendering)
  • USDA_API_KEY environment variable (optional, enables online food database lookups)

Cài đặt

clawhub install vintlin/calorie-visualizer

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết