fatsecret
FatSecret nutrition API integration for food search, nutritional lookup, barcode scanning, recipe search, and food diary logging. Use when user needs to find nutritional information for foods, search the food database, scan product barcodes, look up calories/macros/micronutrients, search for healthy recipes, or log meals to their FatSecret diary.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/f-liva/fatsecretWhat This Skill Does
The FatSecret skill provides a comprehensive integration with the FatSecret Nutrition API, enabling users to access a vast database of food information and manage their personal dietary logs. It supports both read-only operations like searching for food items, looking up detailed nutritional information (calories, macros, micronutrients), and scanning product barcodes, as well as read-write operations such as searching for recipes and logging meals directly to a user's FatSecret diary. The skill offers two authentication methods: OAuth2 for simple read-only access without user login, and OAuth1 (3-legged) for full diary logging capabilities, which requires a one-time user authorization.
Installation
To install the FatSecret skill, navigate to your OpenClaw agent's environment and execute the following command:
clawhub install openclaw/skills/skills/f-liva/fatsecret
After installation, you will need to obtain API credentials from the FatSecret platform (https://platform.fatsecret.com) by registering an application. Save your Consumer Key and Consumer Secret in ~/.config/fatsecret/config.json. For diary logging, an additional one-time authorization flow is required via the CLI command scripts/fatsecret-cli.sh auth.
Use Cases
This skill is ideal for users who want to:
- Find nutritional information: Quickly look up calories, fat, protein, carbohydrates, and micronutrients for any food item.
- Search for foods: Discover specific food products or generic food items in a large database.
- Scan barcodes: Identify packaged foods and their nutritional content by scanning their barcodes.
- Search for recipes: Find healthy meal ideas and recipes based on various criteria.
- Log meals: Record breakfast, lunch, dinner, and snacks directly into a personal FatSecret food diary.
- Track diet: Monitor daily intake to manage weight, health goals, or dietary restrictions.
Example Prompts
- "Find the nutritional information for a medium avocado."
- "Scan the barcode 078742010351 and tell me its calories."
- "Log 2 eggs and a slice of toast as breakfast to my diary."
Tips & Limitations
- Authentication is key: For read-only operations (searching, barcode lookup), no user login is needed. However, to log food to a personal diary, you must complete the OAuth1 authentication flow.
- API Key Security: Protect your FatSecret Consumer Key and Secret; do not share them publicly.
- Data Accuracy: While FatSecret has a large database, nutritional information can vary. Always double-check critical data.
- Rate Limits: Be mindful of potential API rate limits imposed by FatSecret.
- Interactive Logging: The
logcommand is interactive and prompts for details, whilequickprovides a faster, non-interactive logging option for common entries.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-f-liva-fatsecret": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution
Related Skills
ynab-api
YNAB (You Need A Budget) budget management via API. Add transactions, track goals, monitor spending, create transfers, and generate budget reports. Use this skill whenever the user mentions YNAB, budget tracking, spending analysis, budget goals, Age of Money, or wants to manage their personal finances -- even if they just say 'add an expense', 'how much did I spend', 'check my budget', or 'upcoming bills' without naming YNAB explicitly. Also use for automated budget reports and financial summaries.
ryot
Complete Ryot media tracker with progress tracking, reviews, collections, analytics, calendar, and automated daily/weekly reports. Track TV shows, movies, books, anime, games with full GraphQL API integration.
track17
Track parcels via the 17TRACK API (local SQLite DB, polling + optional webhook ingestion)
bookstack
BookStack Wiki & Documentation API integration. Manage your knowledge base programmatically: create, read, update, and delete books, chapters, pages, and shelves. Full-text search across all content. Use this skill whenever the user mentions BookStack, wiki pages, knowledge base, documentation pages, or wants to publish, update, or search content on a BookStack instance -- even if they just say 'update the docs' or 'check the wiki' without naming BookStack explicitly. Also use when syncing or automating documentation workflows between systems.
17track
Track parcels and shipments via the 17TRACK API. Manage a local SQLite database of tracked packages with automatic status polling, webhook ingestion, and daily reports with auto-cleanup. Use this skill whenever the user mentions package tracking, parcel tracking, shipment status, 17TRACK, tracking numbers, delivery status, or wants to check where a package is -- even if they just say 'track this', 'where is my order', or 'any updates on my package' without naming 17TRACK explicitly. Also use for automating delivery notifications and daily shipping reports.