verstige/munroe/calorie-counter
- community
Checking that the SKILL.md file is still in the repository.
Track daily calorie and protein intake, set goals, and log weight. Use when user mentions food they ate, wants to know remaining calories, or needs to track weight. Stores data in SQLite with automatic daily totals.
Install
npx vskill@latest install verstige/munroe/calorie-counterSKILL.md
The same SKILL.md was published earlier as jinhong270/ai-agent/calorie-counter.
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
Usage
Adding Food
Shows immediate feedback with today's totals and remaining calories.
Viewing Today's Summary
Shows:
- All entries for today
- Total calories and protein consumed
- Daily goal and remaining calories
- Progress percentage
Setting Goals
Sets the daily calorie goal (persists).
Weight Tracking
Weight is in pounds (decimals allowed: 175.5).
Viewing History
Deleting Entries
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 listto 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
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingscripts/template/skills/calorie-counter/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/verstige/munroe/calorie-counter)