SuperAPI AI Directory

restaurant-menu-deal-optimizer

Marketing & growth

View repository

Updated 10-15 19:55

About this skill

restaurant-menu-deal-optimizer business diagnostic assistant

Quick Start

More Skills

Overview

The business diagnostic assistant is used to answer "how should this be done", restaurant, menu, group buying. It is suitable for operations, marketing, retail, and content media to invoke after clarifying business goals, content materials, or analysis targets. It combines inputs such as menu and package content, pasted menus, packages, prices, gross margin assumptions, featured dishes, and promotion rules, organizes key context, and outputs summaries, diagnostic conclusions, action recommendations, and reusable deliverables for continued execution, review, or delivery.

When to Use

Applicable Scenarios

  • The user asks questions like "how should this be done" and needs to quickly break down goals, determine priorities, and form actionable results
  • Operations, marketing, retail, and content media need to generate summaries, diagnostic conclusions, action recommendations, and reusable deliverables around the business diagnostic assistant
  • The user has already prepared menu and package content (pasted menus, packages, prices, gross margin assumptions, featured dishes, and promotion rules), uploaded menu materials (uploaded menu images, delivery store screenshots, sales data, cost sheets, or competitor packages), or store or group-buying links (provided publicly accessible delivery stores, group-buying pages, menu pages, or review pages), and wants to organize them into actionable analysis or optimization results
  • The user needs to turn business diagnostic assistant-related materials into clear conclusions, priorities, and next steps

How to Invoke

Call the AI Skills API directly through the exported Python runner:

Command Example

Basic Invocation

python3 scripts/run.py --params '{}'

Invocation with Common Parameters

python3 scripts/run.py --params '{"menuDealText":"菜单与套餐内容"}'

Parameter Description

Parameter Type Required Default Description
menuDealText string No - Paste menus, packages, prices, gross margin assumptions, featured dishes, and promotion rules
menuPhotoFile string No - Upload menu images, delivery store screenshots, sales data, cost sheets, or competitor packages
deliveryShopLink string No - Provide publicly accessible delivery stores, group-buying pages, menu pages, or review pages; a complete accessible URL must be passed
dealOptimizeFocus string No 套餐结构 Select the direction that needs the highest priority in this restaurant menu package optimization; optional values:套餐结构、毛利平衡、爆品表达、平台活动
restaurantContext string No - Describe the cuisine, business district, average order value, dine-in/delivery ratio, target customer group, and peak hours
marginConstraintNotes string No - Supplement ingredient costs, kitchen output capacity, inventory pressure, prohibited promotions, and platform rules

See the complete machine-readable parameter structure at references/form-schema.json。

Parameter Value Reference

This skill currently has no categorical parameters that require additional table lookup.

Supported Input Formats

This skill directly accepts JSON parameters; if a parameter contains a link field, pass a complete, accessible URL.

Example Request

The example parameters below can be passed directly to scripts/run.py, and the runner will send them to the AI Skills API.

python3 scripts/run.py --params '{"menuDealText":"菜单与套餐内容"}'

Equivalent --params JSON:

{
  "menuDealText": "菜单与套餐内容"
}

Example result

{
  "success": true,
  "data": {
    "message": "示例结果请以技能真实返回结构为准。"
  },
  "meta": {
    "executionTime": 842,
    "cached": false
  }
}

Deliverables

  • Summary, diagnostic conclusions, recommended actions, and reusable deliverables: organize the core results around the user's goals so they can be read, reviewed, or delivered directly.
  • Interpretation of input materials: combine menu and package content (paste the menu, packages, prices, gross margin assumptions, featured dishes, and promotion rules.), upload menu materials (upload menu images, food delivery store screenshots, sales data, cost sheets, or competitor packages.), store or group-buy links (provide a publicly accessible food delivery store, group-buy page, menu page, or review page.) to extract key context and the basis for judgment.
  • Next steps: provide priorities, execution suggestions, or a content framework that can be further developed.

Suggestions for using the results

  • First determine whether the output answers the user's core questions about the "Business Diagnostic Assistant".
  • Then check whether the results cover the summary, diagnostic conclusions, recommended actions, and reusable deliverables, and whether clear next steps are provided.
  • If there is little input material, it is recommended to have the user supplement the goals, audience, constraints, or original materials before running.

Preparation before running

  • AISKILLS_BASE_URL: default https://ai-skills.ai
  • AISKILLS_API_KEY: required, used for authenticated calls
  • AISKILLS_TENANT_ID: default default