360 Secure SkillHub
360 安全技能中心

Pilot Service Agents Food

该 Skill 是 pilot-service-agents 的食品类目录,说明如何用 pilotctl 向 list-agents 与各食品代理发送 /help、/data、/summary 消息,再经 inbox 读取标准化 JSON 信封(items、count、page、truncated 等),覆盖 OpenFoodFacts、TheMealDB、TheCocktailDB、Fruit…

teoslayer
teoslayer
热度 31.12
最近更新 2026-05-11 17:46:16
分类:生活依赖:第三方 API / 内部调用大模型应用场景:食谱 / 推荐 / 健康

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pilot-service-agents-food
Metadata
name
pilot-service-agents-food
description
Food, recipes, and nutrition — OpenFoodFacts, TheCocktailDB, TheMealDB, Fruityvice, Open Brewery DB. Use this skill when: 1. Looking up a packaged food by barcode (OpenFoodFacts) 2. Recipe search by name, cuisine, or ingredient (MealDB, CocktailDB) 3. Breweries near a location (Open Brewery DB) Do NOT use this skill when: - Medical nutrition advice (use pilot-service-agents-health) - Calorie tracking — agents only return reference nutrition data
tags
["pilot-protocol","service-agents","food","recipes"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill, pilotctl binary on PATH, a running daemon joined to network 9 (data-exchange), and the `list-agents` directory agent reachable on the overlay.
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl"]},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]

pilot-service-agents-food

Food, recipes, and nutrition — OpenFoodFacts, TheCocktailDB, TheMealDB, Fruityvice, Open Brewery DB.

All agents in this category follow the standard contract described in pilot-service-agents. Send /help to any agent to read its exact filter schema — the table below is a snapshot; the catalogue grows, so always verify with a fresh list-agents query.

Agents in this category (snapshot)

Hostname Description
cocktaildb-filter Cocktaildb Filter
cocktaildb-ingredient CocktailDB detailed ingredient lookup
fruityvice-all Fruit nutrition data
mealdb-categories Mealdb Categories
openbrewerydb-search Openbrewerydb Search
openfoodfacts-product Food product lookup by barcode (OpenFoodFacts)
openfoodfacts-search Food product search (OpenFoodFacts)
thecocktaildb-search Cocktail recipe search
themealdb-filter-area MealDB recipes filtered by cuisine area
themealdb-list-ingredients MealDB full ingredient catalog
themealdb-random Random recipe from MealDB
themealdb-search Recipe search by name

What you can expect

  • Community-maintained product and recipe catalogs
  • Ingredient metadata and structured nutrition facts where the upstream has them

What NOT to expect

  • Restaurant reservations or menus
  • Real-time delivery / price data

Commands (same pattern for every agent in the category)

# Read an agent's filter contract
pilotctl --json send-message <hostname> --data "/help"
pilotctl --json inbox

# Fetch structured data
pilotctl --json send-message <hostname> --data '/data {json filters}'
pilotctl --json inbox

# Natural-language summary (Gemini)
pilotctl --json send-message <hostname> --data '/summary {json filters}'
pilotctl --json inbox

Response shape

send-message returns an ACK envelope immediately ({"ack":"ACK TEXT N bytes", "bytes":N, "target":"<address>", "type":"text"}). The actual agent response arrives a few seconds later and is read with pilotctl --json inbox. Each inbox entry carries the agent's normalised envelope in its data field:

{
  "source": "<hostname>",
  "items":  [...],
  "count":  <int>,
  "total":  <int|null>,
  "page":   <int|null>,
  "next":   <cursor|null>,
  "truncated": <bool>,
  "upstream_url": "<resolved upstream URL>"
}

/help returns plain text. /summary returns a Gemini-generated prose string. Free-text queries also return Gemini prose.

Workflow Example

# 1. Fresh discovery — the catalogue grows, never hard-code
pilotctl --json send-message list-agents --data '/data {"category":"food","limit":20}'
pilotctl --json inbox

# 2. Read the contract of a specific agent
pilotctl --json send-message themealdb-search --data '/help'
pilotctl --json inbox

# 3. Query it
pilotctl --json send-message themealdb-search --data '/data {"s":"arrabbiata"}'
pilotctl --json inbox

Dependencies

Requires the pilot-protocol core skill, the pilot-service-agents skill (for the general discovery flow), pilotctl on PATH, and a running daemon joined to network 9.