mealie
Interact with a self‑hosted Mealie instance (recipe manager & meal planner) via its REST API. Use for adding, updating, retrieving recipes, meal plans and generating shopping lists. Trigger when the user mentions their Mealie URL, wants to import a recipe, create a meal plan or fetch a shopping list.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- mealie
- description
- Interact with a self‑hosted Mealie instance (recipe manager & meal planner) via its REST API. Use for adding, updating, retrieving recipes, meal plans and generating shopping lists. Trigger when the user mentions their Mealie URL, wants to import a recipe, create a meal plan or fetch a shopping list.
03 SKILL.md 正文
Mealie Skill
When to use
- 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. - The user wants to automate meal‑planning tasks from the command line or through a script.
Required environment variables
export MEALIE_URL="https://mealie.example.com" # base URL of the instance
export MEALIE_TOKEN="<your‑jwt‑api‑token>" # bearer token obtained from Mealie UI (Settings → API Keys)
Both variables must be set in the shell where the skill runs.
Provided script
The skill bundles a small Bash helper (scripts/mealie.sh) that wraps the most common Mealie API calls using curl.
#!/usr/bin/env bash
# mealie.sh – simple wrapper for Mealie REST API
# Requires MEALIE_URL and MEALIE_TOKEN env vars
set -euo pipefail
cmd=$1; shift
case "$cmd" in
add-recipe)
# Usage: mealie.sh add-recipe <path‑to‑json>
curl -s -X POST "$MEALIE_URL/api/recipes" \
-H "Authorization: Bearer $MEALIE_TOKEN" \
-H "Content-Type: application/json" \
--data @${1}
;;
get-recipe)
# Usage: mealie.sh get-recipe <recipe‑id>
curl -s "$MEALIE_URL/api/recipes/${1}" \
-H "Authorization: Bearer $MEALIE_TOKEN" | jq '.'
;;
create-plan)
# Usage: mealie.sh create-plan <json‑payload>
curl -s -X POST "$MEALIE_URL/api/mealplan" \
-H "Authorization: Bearer $MEALIE_TOKEN" \
-H "Content-Type: application/json" \
--data @${1}
;;
get-shopping)
# Usage: mealie.sh get-shopping <plan‑id>
curl -s "$MEALIE_URL/api/mealplan/${1}/shopping-list" \
-H "Authorization: Bearer $MEALIE_TOKEN" | jq '.'
;;
*)
echo "Unknown command: $cmd" >&2
exit 1
;;
esac
Make it executable:
chmod +x scripts/mealie.sh
How to use from the chat
You can ask me to run a specific operation, e.g.:
- "Add this recipe to Mealie." → I will ask you for the JSON representation of the recipe and then run
scripts/mealie.sh add-recipe. - "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. - "Search for a recipe called Spaghetti Bolognese." → I will query the API (
GET /api/recipes?search=Spaghetti%20Bolognese) and return matches.
Extending the skill
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.
Note: 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.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.