---
name: restaurant-menu-profitability
description: Analyze restaurant dishes using sales mix, net selling prices, and comparable variable costs to identify contribution, pricing questions, and menu opportunities. Use when an owner asks which dishes make money or what to promote; not for a full business valuation or unsupported profit estimates.
license: MIT
metadata:
  author: Heep
  version: "0.3.0"
title: restaurant-menu-profitability
canonical_url: https://skilld.dev/gh/heep-ai/restaurant-ai-skills/restaurant-menu-profitability
last_updated: 2026-11-22T15:45:50.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [LICENSE](https://skilld.dev/api/skills-raw/heep-ai/restaurant-ai-skills/restaurant-menu-profitability/LICENSE), [references/example.md](https://skilld.dev/api/skills-raw/heep-ai/restaurant-ai-skills/restaurant-menu-profitability/references/example.md), [references/menu.csv](https://skilld.dev/api/skills-raw/heep-ai/restaurant-ai-skills/restaurant-menu-profitability/references/menu.csv), [scripts/analyze_menu.py](https://skilld.dev/api/skills-raw/heep-ai/restaurant-ai-skills/restaurant-menu-profitability/scripts/analyze_menu.py).
>
> If the user asked to install this Skill, run `npx skilld install heep-ai/restaurant-ai-skills/restaurant-menu-profitability`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/restaurant-menu-profitability`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/heep-ai/restaurant-ai-skills/restaurant-menu-profitability) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/restaurant-menu-profitability`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/restaurant-menu-profitability --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/restaurant-menu-profitability --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Find what your menu earns

Turn a menu and sales/cost data into decisions about which dishes to feature,
investigate, or test. Use the owner's language. With only a menu, suggest
positioning and identify missing economics; do not invent margins.

## Align the numbers

Establish venue, period, currency, portion size, sales quantities, realized unit
revenue after discounts and excluding tax, and the variable costs included.
Compare prices and costs on the same tax basis. Ask for a supplied conversion
when tax treatment is unknown rather than guessing a rate.

Distinguish ingredient cost from a fuller variable cost including packaging or
transaction fees. State the cost scope. Staffing, rent, and overhead that are
absent from the data cannot be silently treated as zero or declared covered.
Separate dine-in, takeaway, and delivery when channel costs differ.

For each item, calculate:

- Unit contribution = net unit revenue − comparable variable cost per unit.
- Period contribution = unit contribution × units sold.
- Contribution margin = contribution / net revenue, with the denominator stated.
- Sales mix within comparable categories when quantities are available.

A margin percentage and a cost-markup percentage are different measures. A
high-volume dish can contribute more in total than a higher-margin dish. A
zero-sales item is untested in this period, not automatically a bad dish.
Negative contribution can be real; missing costs must not become zero costs.

## Calculate consistently

For a suitable CSV, use the bundled standard-library Python 3 helper:

```bash
python3 scripts/analyze_menu.py /path/to/menu.csv --currency EUR
```

Paths to bundled resources are relative to this skill directory. See the
[example and CSV contract](https://skilld.dev/api/skills-raw/heep-ai/restaurant-ai-skills/restaurant-menu-profitability/references/example.md), and the fictional
[sample input](https://skilld.dev/api/skills-raw/heep-ai/restaurant-ai-skills/restaurant-menu-profitability/references/menu.csv). The helper outputs exact decimal amounts
as JSON strings; it never sends data or changes prices. Do not force other
valid source formats into CSV when equivalent careful calculation is simpler.

## Turn the analysis into decisions

Return the contribution table, data limitations, and a few prioritized actions.
Examples: improve visibility for a strong-contribution item, review portions or
purchasing for weak contribution, or test clearer menu wording. Consider prep
time, kitchen bottlenecks, dietary variety, and brand role where facts exist.

Do not label an item a star, dog, or best seller using unexplained universal
thresholds. Do not remove a low-volume item without checking its role and sample
size. Price changes are proposals; model their impact with explicit quantity
assumptions rather than asserting demand stays constant.

Separate contribution from net profit. If comparing a proposed promotion, include
its variable cost and likely displacement as explicit scenarios. No guaranteed
revenue lift or optimal price can be established from one historical snapshot.

The result is an analysis and proposed changes. Updating a live menu, POS,
website, or price requires the user's instruction for that action.
