360 Secure SkillHub
360 安全技能中心

Plan2meal

该 Skill 以命令方式管理 Plan2Meal 中的菜谱和购物清单:登录/登出、按 URL 添加菜谱、列表/搜索/查看/删除菜谱,以及创建、查看和向清单添加菜谱。所有认证与数据请求经配置的 CONVEX_URL 后端(默认共享后端需 ALLOW_DEFAULT_BACKEND=true)完成,配套 OAuth 与输出模板。

okikesolutions
okikesolutions
热度 99.06
最近更新 2026-05-19 07:30:13
分类:生活依赖:代码执行 / 第三方 API应用场景:食谱 / 购物 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add plan2meal
Metadata
name
plan2meal
description
Manage recipes and grocery lists in Plan2Meal via chat (add recipe URLs, list/search/show/delete recipes, and create/manage grocery lists). Use when users explicitly want Plan2Meal recipe/grocery actions. Do not use for generic cooking advice, nutrition coaching, or non-Plan2Meal todo/shopping tools. Success = command executed with clear result text (IDs, counts, links/errors) and accurate data-routing disclosure.
requiredEnv
["CONVEX_URL","AUTH_GITHUB_ID","AUTH_GITHUB_SECRET","GITHUB_CALLBACK_URL","CLAWDBOT_URL"]
optionalEnv
["AUTH_GOOGLE_ID","AUTH_GOOGLE_SECRET","GOOGLE_CALLBACK_URL","AUTH_APPLE_ID","AUTH_APPLE_SECRET","APPLE_CALLBACK_URL","ALLOW_DEFAULT_BACKEND"]
primaryEnv
CONVEX_URL

Plan2Meal Skill

A ClawdHub skill for managing recipes and grocery lists via Plan2Meal.

Data routing + security disclosure (mandatory)

  • Shared backend/API target: https://gallant-bass-875.convex.cloud
  • Auth and recipe/grocery API traffic goes to configured CONVEX_URL.
  • Shared backend usage is blocked unless ALLOW_DEFAULT_BACKEND=true.
  • Never claim local-only processing when backend calls are involved.

Use when / don't use when (routing guardrails)

Use when:

  • User asks to add/list/search/show/delete Plan2Meal recipes.
  • User asks to create/view/update Plan2Meal grocery lists.
  • User asks to authenticate for Plan2Meal commands.

Do NOT use when:

  • User asks for general meal ideas (no Plan2Meal action requested).
  • User asks for health/nutrition analysis outside stored Plan2Meal data.
  • User asks to manage Apple Reminders/Notes/other systems.

Setup

  1. Install:

    clawdhub install plan2meal
    
  2. Configure environment:

    cp .env.example .env
    
  3. Environment variables:

    • CONVEX_URL (required, recommended self-hosted backend)
    • ALLOW_DEFAULT_BACKEND=true (only if intentionally using shared backend)
    • OAuth provider creds:
      • GitHub (required): AUTH_GITHUB_ID, AUTH_GITHUB_SECRET, GITHUB_CALLBACK_URL
      • Google (optional): AUTH_GOOGLE_ID, AUTH_GOOGLE_SECRET, GOOGLE_CALLBACK_URL
      • Apple (optional): AUTH_APPLE_ID, AUTH_APPLE_SECRET, APPLE_CALLBACK_URL
    • CLAWDBOT_URL (required, bot callback host)

Commands

  • plan2meal login
  • plan2meal logout
  • plan2meal add <url>
  • plan2meal list
  • plan2meal search <term>
  • plan2meal show <id>
  • plan2meal delete <id>
  • plan2meal lists
  • plan2meal list-show <id>
  • plan2meal list-create <name>
  • plan2meal list-add <listId> <recipeId>
  • plan2meal help

Output templates

Use response formatting templates from references/output-templates.md.

Security checklist before replying

  • If command failed due to auth/config, provide exact next step.
  • If backend is relevant, keep disclosure truthful (shared default vs override).
  • Never expose secrets/tokens in output.