{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mealie",
    "name": "Mealie API skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/g1mb01d/mealie",
    "canonicalUrl": "https://clawhub.ai/g1mb01d/mealie",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/mealie",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mealie",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mealie"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/mealie",
    "agentPageUrl": "https://openagent3.xyz/skills/mealie/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mealie/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mealie/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "When to use",
        "body": "The user provides a Mealie base URL (e.g., https://mealie.example.com) and/or an API token and asks to add/import a recipe, create or modify a meal plan, fetch a shopping list, or query existing recipes.\nThe user wants to automate meal‑planning tasks from the command line or through a script."
      },
      {
        "title": "Required environment variables",
        "body": "export MEALIE_URL=\"https://mealie.example.com\"   # base URL of the instance\nexport MEALIE_TOKEN=\"<your‑jwt‑api‑token>\"       # bearer token obtained from Mealie UI (Settings → API Keys)\n\nBoth variables must be set in the shell where the skill runs."
      },
      {
        "title": "Provided script",
        "body": "The skill bundles a small Bash helper (scripts/mealie.sh) that wraps the most common Mealie API calls using curl.\n\n#!/usr/bin/env bash\n# mealie.sh – simple wrapper for Mealie REST API\n# Requires MEALIE_URL and MEALIE_TOKEN env vars\nset -euo pipefail\n\ncmd=$1; shift\ncase \"$cmd\" in\n  add-recipe)\n    # Usage: mealie.sh add-recipe <path‑to‑json>\n    curl -s -X POST \"$MEALIE_URL/api/recipes\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" \\\n      -H \"Content-Type: application/json\" \\\n      --data @${1}\n    ;;\n  get-recipe)\n    # Usage: mealie.sh get-recipe <recipe‑id>\n    curl -s \"$MEALIE_URL/api/recipes/${1}\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" | jq '.'\n    ;;\n  create-plan)\n    # Usage: mealie.sh create-plan <json‑payload>\n    curl -s -X POST \"$MEALIE_URL/api/mealplan\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" \\\n      -H \"Content-Type: application/json\" \\\n      --data @${1}\n    ;;\n  get-shopping)\n    # Usage: mealie.sh get-shopping <plan‑id>\n    curl -s \"$MEALIE_URL/api/mealplan/${1}/shopping-list\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" | jq '.'\n    ;;\n  *)\n    echo \"Unknown command: $cmd\" >&2\n    exit 1\n    ;;\nesac\n\nMake it executable:\n\nchmod +x scripts/mealie.sh"
      },
      {
        "title": "How to use from the chat",
        "body": "You can ask me to run a specific operation, e.g.:\n\n\"Add this recipe to Mealie.\" → I will ask you for the JSON representation of the recipe and then run scripts/mealie.sh add-recipe.\n\"Show me the shopping list for my current week plan.\" → I will call scripts/mealie.sh get-shopping <plan‑id> and return the formatted list.\n\"Search for a recipe called Spaghetti Bolognese.\" → I will query the API (GET /api/recipes?search=Spaghetti%20Bolognese) and return matches."
      },
      {
        "title": "Extending the skill",
        "body": "If you need additional endpoints (e.g., tags, categories, batch import), just add new case blocks to mealie.sh or create separate scripts under scripts/ and reference them in this README.\n\nNote: The skill does not store the API token in any file; it relies on the environment variables you provide. Keep the token secret and rotate it regularly via the Mealie UI."
      }
    ],
    "body": "Mealie Skill\nWhen to use\nThe user provides a Mealie base URL (e.g., https://mealie.example.com) and/or an API token and asks to add/import a recipe, create or modify a meal plan, fetch a shopping list, or query existing recipes.\nThe user wants to automate meal‑planning tasks from the command line or through a script.\nRequired environment variables\nexport MEALIE_URL=\"https://mealie.example.com\"   # base URL of the instance\nexport MEALIE_TOKEN=\"<your‑jwt‑api‑token>\"       # bearer token obtained from Mealie UI (Settings → API Keys)\n\n\nBoth variables must be set in the shell where the skill runs.\n\nProvided script\n\nThe skill bundles a small Bash helper (scripts/mealie.sh) that wraps the most common Mealie API calls using curl.\n\n#!/usr/bin/env bash\n# mealie.sh – simple wrapper for Mealie REST API\n# Requires MEALIE_URL and MEALIE_TOKEN env vars\nset -euo pipefail\n\ncmd=$1; shift\ncase \"$cmd\" in\n  add-recipe)\n    # Usage: mealie.sh add-recipe <path‑to‑json>\n    curl -s -X POST \"$MEALIE_URL/api/recipes\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" \\\n      -H \"Content-Type: application/json\" \\\n      --data @${1}\n    ;;\n  get-recipe)\n    # Usage: mealie.sh get-recipe <recipe‑id>\n    curl -s \"$MEALIE_URL/api/recipes/${1}\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" | jq '.'\n    ;;\n  create-plan)\n    # Usage: mealie.sh create-plan <json‑payload>\n    curl -s -X POST \"$MEALIE_URL/api/mealplan\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" \\\n      -H \"Content-Type: application/json\" \\\n      --data @${1}\n    ;;\n  get-shopping)\n    # Usage: mealie.sh get-shopping <plan‑id>\n    curl -s \"$MEALIE_URL/api/mealplan/${1}/shopping-list\" \\\n      -H \"Authorization: Bearer $MEALIE_TOKEN\" | jq '.'\n    ;;\n  *)\n    echo \"Unknown command: $cmd\" >&2\n    exit 1\n    ;;\nesac\n\n\nMake it executable:\n\nchmod +x scripts/mealie.sh\n\nHow to use from the chat\n\nYou can ask me to run a specific operation, e.g.:\n\n\"Add this recipe to Mealie.\" → I will ask you for the JSON representation of the recipe and then run scripts/mealie.sh add-recipe.\n\"Show me the shopping list for my current week plan.\" → I will call scripts/mealie.sh get-shopping <plan‑id> and return the formatted list.\n\"Search for a recipe called Spaghetti Bolognese.\" → I will query the API (GET /api/recipes?search=Spaghetti%20Bolognese) and return matches.\nExtending the skill\n\nIf you need additional endpoints (e.g., tags, categories, batch import), just add new case blocks to mealie.sh or create separate scripts under scripts/ and reference them in this README.\n\nNote: The skill does not store the API token in any file; it relies on the environment variables you provide. Keep the token secret and rotate it regularly via the Mealie UI."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/g1mb01d/mealie",
    "publisherUrl": "https://clawhub.ai/g1mb01d/mealie",
    "owner": "g1mb01d",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mealie",
    "downloadUrl": "https://openagent3.xyz/downloads/mealie",
    "agentUrl": "https://openagent3.xyz/skills/mealie/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mealie/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mealie/agent.md"
  }
}