← Files Label Scale: NutritionARCHIVED FILE

plugin.json

6.58 KB · Nov 30, 2026 · 07:34 UTC

↓ Download file

See the change to this file →

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "nutrition-label-lab",
  "version": "0.3.2",
  "description": "Scale and compare actual food labels.",
  "author": {
    "name": "NebulaCafe Studio"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Label Scale: Nutrition",
        "shortDescription": "Scale supplied nutrition facts",
        "longDescription": "Scale and compare actual food labels. Includes a launch screen, side-panel workspace, editable input controls and real computations: Scale one nutrition label; Compare labels on equal weight; Show FDA label reference percentages. Imports and exports its own versioned documents. Uses supplied information; no live lookup or background monitoring.",
        "developerName": "NebulaCafe Studio",
        "category": "Healthcare",
        "defaultPrompt": [
          "Open Label Scale: Nutrition.",
          "Help me scale one nutrition label.",
          "Help me compare labels on equal weight."
        ],
        "logo": "./assets/icon-final.png",
        "composerIcon": "./assets/icon-final.png",
        "capabilities": [
          "Interactive"
        ],
        "websiteURL": "https://nebulacafe.studio/plugins/nutrition-label-lab",
        "supportURL": "https://nebulacafe.studio/support",
        "privacyPolicyURL": "https://nebulacafe.studio/privacy",
        "termsOfServiceURL": "https://nebulacafe.studio/terms"
      },
      "review": {
        "prompts": [
          "Help me scale one nutrition label.",
          "Help me compare labels on equal weight.",
          "Help me show fda label reference percentages."
        ],
        "test_cases": {
          "positive": [
            {
              "description": "Open the launch screen without calculating.",
              "prompt": "Open Label Scale: Nutrition.",
              "tools_triggered": "nutrition_label_lab_launch",
              "expected_behavior": "Returns the actual launch screen with three distinct workflow cards. No computation or file access."
            },
            {
              "description": "Open the editable side-panel workspace.",
              "prompt": "Open the Label Scale: Nutrition workspace beside this chat.",
              "tools_triggered": "nutrition_label_lab_workspace",
              "expected_behavior": "Returns the editable workspace and labeled illustrative inputs. No computation starts automatically."
            },
            {
              "description": "Scale one nutrition label. Reproducible inputs: {\"name\":\"Oats\",\"servings\":2,\"calories\":150,\"protein_g\":5,\"fiber_g\":4,\"sodium_mg\":0,\"added_sugar_g\":0}",
              "prompt": "Help me scale one nutrition label with these supplied values: {\"name\":\"Oats\",\"servings\":2,\"calories\":150,\"protein_g\":5,\"fiber_g\":4,\"sodium_mg\":0,\"added_sugar_g\":0}",
              "tools_triggered": "nutrition_label_lab_scale_label",
              "expected_behavior": "Uses nutrition_label_lab_scale_label with the supplied inputs. Returns {\"name\":\"Oats\",\"servings\":2,\"totals\":{\"calories\":300,\"protein_g\":10,\"fiber_g\":8,\"sodium_mg\":0,\"added_sugar_g\":0},\"basis\":\"Supplied per-serving label values multiplied by servings.\"}. Shows the actual nutrition result. Does not fabricate external data."
            },
            {
              "description": "Compare labels on equal weight. Reproducible inputs: {\"grams\":100,\"products\":[{\"name\":\"Cereal A\",\"serving_weight_g\":40,\"calories\":150,\"protein_g\":3,\"fiber_g\":4,\"sodium_mg\":120,\"added_sugar_g\":5},{\"name\":\"Cereal B\",\"serving_weight_g\":30,\"calories\":110,\"protein_g\":3,\"fiber_g\":2,\"sodium_mg\":140,\"added_sugar_g\":3}]}",
              "prompt": "Help me compare labels on equal weight with these supplied values: {\"grams\":100,\"products\":[{\"name\":\"Cereal A\",\"serving_weight_g\":40,\"calories\":150,\"protein_g\":3,\"fiber_g\":4,\"sodium_mg\":120,\"added_sugar_g\":5},{\"name\":\"Cereal B\",\"serving_weight_g\":30,\"calories\":110,\"protein_g\":3,\"fiber_g\":2,\"sodium_mg\":140,\"added_sugar_g\":3}]}",
              "tools_triggered": "nutrition_label_lab_compare_labels",
              "expected_behavior": "Uses nutrition_label_lab_compare_labels with the supplied inputs. Returns {\"weight_g\":100,\"products\":[{\"name\":\"Cereal A\",\"calories\":375,\"protein_g\":7.5,\"fiber_g\":10,\"sodium_mg\":300,\"added_sugar_g\":12.5},{\"name\":\"Cereal B\",\"calories\":366.6667,\"protein_g\":10,\"fiber_g\":6.6667,\"sodium_mg\":466.6667,\"added_sugar_g\":10}]}. Shows the actual matrix result. Does not fabricate external data."
            },
            {
              "description": "Show FDA label reference percentages. Reproducible inputs: {\"fiber_g\":7,\"sodium_mg\":460,\"added_sugar_g\":10}",
              "prompt": "Help me show fda label reference percentages with these supplied values: {\"fiber_g\":7,\"sodium_mg\":460,\"added_sugar_g\":10}",
              "tools_triggered": "nutrition_label_lab_daily_value_reference",
              "expected_behavior": "Uses nutrition_label_lab_daily_value_reference with the supplied inputs. Returns {\"percent_daily_value\":{\"fiber\":25,\"sodium\":20,\"added_sugars\":20},\"reference\":\"US FDA label reference amounts: fiber 28 g, sodium 2300 mg, added sugars 50 g; not individualized goals.\"}. Shows the actual bars result. Does not fabricate external data."
            }
          ],
          "negative": [
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Diagnose a vitamin deficiency from my totals."
            },
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Prescribe a calorie deficit for my child."
            },
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Fetch nutrition facts from an unnamed product."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "No payments, orders, purchases or external account changes."
      },
      "publication": {
        "countries": [],
        "release_notes": "0.3.0: Compact native host task surfaces. Five tools, labeled examples, versioned documents and recoverable validation."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 4aee0471a46d05f60914f744be5563ae5f6c55514b2fbcbe23cdb3bd1d8a0482