본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

fatsecret

f-liva 제작

Browser & Automation
519clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

FatSecret nutrition API integration for food search, nutritional lookup, barcode scanning, recipe search, and food.

설명

이 스킬이 하는 일

Connects to the FatSecret API for food search, nutritional data lookup, barcode scanning, recipe search, and meal diary logging. Supports two authentication modes: OAuth2 for read-only food queries and OAuth1 for full diary access. Also includes an Open Food Facts client for European product coverage without authentication.

Combines read-only food search and authenticated diary logging in one skill, so you don't need separate tools for lookup versus tracking.

사용 시점

  • Looking up calories and macros for a meal
  • Scanning a product barcode to get nutrition facts
  • Logging breakfast, lunch, and dinner entries to a FatSecret diary
  • Searching for recipes that match dietary goals
  • Checking micronutrient data for a specific food item

예시 워크플로

입력

User asks: log 156 grams of cookies to my breakfast diary

에이전트
  1. 1

    Check authentication status via get_authentication_flow()

  2. 2

    If OAuth1 tokens are missing, prompt user to visit authorization URL and enter PIN

  3. 3

    Complete authentication with complete_authentication_flow(pin)

  4. 4

    Search for the food with search_food('cookies') to get food_id and serving_id

  5. 5

    Call log_food(food_id, serving_100g_id, 156, 'Breakfast', 'Cookies') to record the entry

출력

156g of cookies logged to the user's FatSecret breakfast diary with correct calorie count

요구 사항

  • FATSECRET_CONSUMER_KEY — FatSecret API Consumer Key from platform.fatsecret.com
  • FATSECRET_CONSUMER_SECRET — FatSecret API Consumer Secret from platform.fatsecret.com
  • FatSecret account (required for diary logging via OAuth1)

설치

clawhub install f-liva/fatsecret

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크