Token导航 LogoToken导航

Agent Skill · 研究检索

fatsecret-api(fatsecret API 搜索)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

fatsecret-api 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 23,090。

总安装 4,368周安装 182GitHub Stars 1下载 1,456核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fatsecret-api(fatsecret API 搜索)
来源仓库:https://github.com/ivanvmoreno/fatsecret-api
安装命令:
openclaw skills install fatsecret-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install fatsecret-api

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

通过 FatSecret API 搜索食物、查找营养成分、记录膳食、跟踪体重、浏览食谱和管理锻炼。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install fatsecret-api;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

fatsecret-api 怎么安装?

在终端执行 openclaw skills install fatsecret-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

fatsecret-api 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

fatsecret-api 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

fatsecret-api 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

fatsecret-api 用的人多吗?

公开数据是累计安装 4,368 次,近一周安装 182 次,下载 1,456 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

fatsecret-api 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
fatsecret-api

fatsecret API 搜索 · 本页

4,3681接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
fatsecret-api
description
Search foods, look up nutrition, log meals, track weight, browse recipes, and manage exercises via the FatSecret API.
version
1.0.1
homepage
https://github.com/ivanvmoreno/fatsecret-skill
metadata
clawdbot
requires
env
bins
primaryEnv
FATSECRET_CLIENT_ID
emoji
\F34E
files

FatSecret API Skill

What it does

Use this skill when the user wants to:

  • Search for foods or get nutritional information
  • Look up a food by barcode
  • Log food diary entries (create, edit, delete, copy)
  • View daily or monthly food diary summaries
  • Create and manage saved meals
  • Search or browse recipes
  • View or log exercises
  • Track weight
  • Manage a FatSecret user profile

All operations go through the FatSecret REST API via a Python helper script bundled with this skill.

Prerequisites

  1. The pyfatsecret Python package must be installed: pip install pyfatsecret
  2. Environment variables must be set:

- FATSECRET_CLIENT_ID — OAuth 2.0 client ID from https://platform.fatsecret.com/api/ - FATSECRET_CLIENT_SECRET — OAuth 2.0 client secret

How to run commands

Every operation is a single command:

python3 <skill-dir>/scripts/fs_runner.py <command> [--param value ...]

The script prints JSON to stdout on success and exits non-zero with an error message on failure.

Available operations

Food search and lookup

CommandRequired paramsOptional paramsDescription
foods_search--query TEXT--page INT, --max INT, --region, --languageSearch the food database
foods_autocomplete--expression TEXT--max INT, --regionGet autocomplete suggestions
food_get--food_id IDGet detailed nutrition for a food
food_get_v2--food_id ID--region, --languageGet detailed nutrition (v2)
food_find_id_for_barcode--barcode TEXT--region, --languageFind a food by its GTIN-13 barcode

Example — search foods:

python3 scripts/fs_runner.py foods_search --query "chicken breast"

Example — get nutrition for a specific food:

python3 scripts/fs_runner.py food_get --food_id 4384

Food favorites (delegated)

CommandRequired paramsOptional paramsDescription
food_add_favorite--food_id ID--serving_id, --number_of_unitsAdd a food to favorites
food_delete_favorite--food_id ID--serving_id, --number_of_unitsRemove a food from favorites
foods_get_favoritesList favorite foods
foods_get_most_eaten--mealList most eaten foods
foods_get_recently_eaten--mealList recently eaten foods

Food diary (delegated)

CommandRequired paramsOptional paramsDescription
food_entry_create--food_id, --food_entry_name, --serving_id, --number_of_units, --meal--date YYYY-MM-DDLog a food diary entry
food_entry_edit--food_entry_id--food_entry_name, --serving_id, --number_of_units, --mealEdit a food diary entry
food_entry_delete--food_entry_idDelete a food diary entry
food_entries_get--food_entry_id or --date YYYY-MM-DDGet food diary entries
food_entries_get_month--date YYYY-MM-DDGet monthly food diary summary
food_entries_copy--from_date YYYY-MM-DD, --to_date YYYY-MM-DD--mealCopy entries between dates
food_entries_copy_saved_meal--saved_meal_id, --meal--date YYYY-MM-DDCopy a saved meal to the diary

Example — log breakfast:

python3 scripts/fs_runner.py food_entry_create --food_id 4384 --food_entry_name "Chicken Breast" --serving_id 25381 --number_of_units 1.0 --meal breakfast

Saved meals (delegated)

CommandRequired paramsOptional paramsDescription
saved_meal_create--saved_meal_name--saved_meal_description, --mealsCreate a saved meal
saved_meal_delete--saved_meal_idDelete a saved meal
saved_meal_edit--saved_meal_id--saved_meal_name, --saved_meal_description, --mealsEdit a saved meal
saved_meal_get--mealList saved meals
saved_meal_item_add--saved_meal_id, --food_id, --saved_meal_item_name, --serving_id, --number_of_unitsAdd item to saved meal
saved_meal_item_delete--saved_meal_item_idDelete saved meal item
saved_meal_item_edit--saved_meal_item_id--saved_meal_item_name, --number_of_unitsEdit saved meal item
saved_meal_items_get--saved_meal_idList items in a saved meal

Recipes

CommandRequired paramsOptional paramsDescription
recipes_search--query TEXT--recipe_type, --page INT, --max INTSearch recipes
recipe_get--recipe_id IDGet recipe details
recipe_types_getList all recipe types
recipes_add_favorite--recipe_id IDAdd recipe to favorites
recipes_delete_favorite--recipe_id IDRemove recipe from favorites
recipes_get_favoritesList favorite recipes

Example — search recipes:

python3 scripts/fs_runner.py recipes_search --query "low carb dinner"

Exercises (delegated)

CommandRequired paramsOptional paramsDescription
exercises_getList all exercise types
exercise_entries_get--date YYYY-MM-DDGet exercise entries for a day
exercise_entries_get_month--date YYYY-MM-DDGet monthly exercise summary
exercise_entries_commit_day--date YYYY-MM-DDSave default exercises for a day
exercise_entries_save_template--days BITS--date YYYY-MM-DDSave exercise day as template
exercise_entry_edit--shift_to_id, --shift_from_id, --minutes--date, --shift_to_name, --shift_from_name, --kcalEdit exercise entry

Profile (delegated)

CommandRequired paramsOptional paramsDescription
profile_create--user_idCreate a new profile
profile_get_auth--user_idGet auth info for a user

Weight (delegated)

CommandRequired paramsOptional paramsDescription
weight_update--current_weight_kg FLOAT--date, --weight_type, --height_type, --goal_weight_kg, --current_height_cm, --commentRecord weight
weights_get_month--date YYYY-MM-DDGet monthly weight log

Example — log weight:

python3 scripts/fs_runner.py weight_update --current_weight_kg 75.5

Output format

  • The script always prints JSON to stdout.
  • Summarize the JSON for the user in a readable way (e.g. a table of foods with calories, a confirmation message for diary entries).
  • When returning food nutrition, highlight: calories, fat, carbs, protein, and serving size.

Guardrails

  • Never fabricate food IDs, serving IDs, entry IDs, or nutritional values. Always look them up first.
  • Before creating or deleting diary entries, confirm the action with the user.
  • Before deleting saved meals or favorites, confirm with the user.
  • Prefer read-only operations (search, get) unless the user explicitly asks to create, edit, or delete.
  • Profile-scoped operations (diary, favorites, exercises, weight) require a profile to be created first via profile_create.

Failure handling

  • If the script exits non-zero, show the error message to the user.
  • Common errors:

- Code 2: "Requires authenticated session" — delegated credentials are missing. - Code 101–108: Parameter error — a required parameter is missing or invalid. - Code 201–207: Application error — contact FatSecret support.

  • If a search returns no results, tell the user and suggest refining the query.
  • If a date is required but not provided, ask the user which date they mean.

External endpoints

EndpointMethodData sent
https://platform.fatsecret.com/rest/v2/server.apiPOSTOAuth 2.0 bearer-token authorized requests: method name, search terms, food/recipe/entry IDs, dates, serving sizes, weight values. No raw user content beyond search queries.
https://oauth.fatsecret.com/connect/tokenPOSTOAuth 2.0 client credentials grant (client_id, client_secret) to obtain access tokens.

No other endpoints are contacted. All network calls are made by the pyfatsecret Python package via the requests library.

Security and privacy

  • What leaves the machine: Search queries, food/recipe/entry IDs, serving sizes, weight values, and OAuth 2.0 credentials are sent to platform.fatsecret.com and oauth.fatsecret.com over HTTPS.
  • What stays local: The script reads environment variables for credentials and prints JSON to stdout. No data is written to disk. No data is sent to any service other than FatSecret.
  • Credentials: Client ID/secret are read from environment variables only. They are never logged or printed.
  • Shell safety: The script is pure Python using the requests library. There is no shell expansion or interpolation of user input.

Model invocation note

This skill may be invoked autonomously by the agent when it determines the user's request matches the skill's capabilities (food search, nutrition lookup, diary management, etc.). This is standard OpenClaw behavior. To disable autonomous invocation, configure the skill as manual-only in your OpenClaw settings.

Trust statement

By using this skill, food-related queries and diary data are sent to the FatSecret API (platform.fatsecret.com) over HTTPS. Only install this skill if you trust the FatSecret platform with your nutritional and health data. Review the FatSecret API Terms of Use before use.

平台分布

OpenClaw

70.09%
按下载量换算1,021

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills