AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Openfoodfacts Product Lookup

skill-alfredvc-openfoodfacts-cli-openfoodfacts-product-lookup · by Alfredvc

Look up food products by barcode or search with filters. Find products by category, nutrition grade, eco-score, label, ingredient, or allergen. Use when you have a barcode or need to find products matching specific criteria.

No reviews yet
0 installs
24 views
0.0% view→install

Install

$ agentstack add skill-alfredvc-openfoodfacts-cli-openfoodfacts-product-lookup

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-alfredvc-openfoodfacts-cli-openfoodfacts-product-lookup)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Openfoodfacts Product Lookup? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

openfoodfacts-product-lookup

Workflow for finding food product data from the Open Food Facts database.

Look Up a Product by Barcode

openfoodfacts --json products get 

Example (Nutella):

openfoodfacts --json products get 3017624010701

Use --fields to return only what you need:

openfoodfacts --json --fields product_name,brands,nutriscore_grade,ecoscore_grade,ingredients_text_en products get 3017624010701

If the product is not found, the CLI exits 1 with {"error": "product not found: "}.

Search by Filters

Filter-only search (no full-text query) uses the v2 API:

openfoodfacts --json products search --category en:chocolates --nutrition-grade a

Available filter flags:

| Flag | Description | Example | |------|-------------|---------| | --category | Category tag | en:chocolates | | --nutrition-grade | Nutri-Score | a | | --ecoscore-grade | Eco-Score | b | | --label | Label tag | en:organic | | --ingredient | Ingredient tag | en:salt | | --allergen | Allergen tag | en:gluten |

Combine filters freely — all are ANDed:

openfoodfacts --json products search --category en:biscuits-and-cakes --nutrition-grade a --label en:organic

Full-Text Search

Use --query for keyword search (routes to the v1 search endpoint):

openfoodfacts --json products search --query "organic olive oil"

Combine with filters:

openfoodfacts --json products search --query "dark chocolate" --nutrition-grade b --label en:fair-trade

Pagination

Default: 20 results per page. The response envelope tells you how many pages exist:

{"count": 4821, "page": 1, "page_count": 242, "page_size": 20, "products": [...]}

Fetch a specific page:

openfoodfacts --json products search --category en:chocolates --page 3 --page-size 50

Fetch all pages at once (returns flat array — use with care on large result sets):

openfoodfacts --json products search --category en:chocolates --nutrition-grade a --all

Tips

  • Tag values are always prefixed with a language code: en:chocolates, not chocolates. Use facets list to discover valid tags.
  • Use --fields code,product_name,nutriscore_grade on search results to keep response sizes small.
  • --all can trigger many API calls. Check page_count in a regular search first.
  • Rate limit for search is 10 req/min — avoid tight loops.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.