margin-analyzer

margin-analyzer is a skill for Claude Code, Codex from PrendsTaPart/Plugin-Claude-MCP-BraindCode-. It costs 107 tokens per session (2,457 once invoked), scanned A, original, Apache-2.0.

A tool for examining how much profit each restaurant product or service makes from its actual sales and costs.

In plain words
What is it for?
Review per-item costs and sales, assess profit margins, and compare pricing scenarios. It provides analysis only and does not change prices.
Why use it?
It shows when ingredient or operating costs are reducing profit and lets you compare possible prices before changing them.

Skill for Claude CodeCodex

Part of the foodeatup plugin — 22 skills, 5 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/prendstapart/plugin-claude-mcp-braindcode-/margin-analyzer
Any agent
npx skills add PrendsTaPart/Plugin-Claude-MCP-BraindCode- --skill margin-analyzer
Clone the repo
git clone --depth 1 https://github.com/PrendsTaPart/Plugin-Claude-MCP-BraindCode-

Made for: Claude Code, Codex.

Or install foodeatup, the plugin that ships this one along with the rest of its 22 skills, 5 agents.

Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,457 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00107 $0.02457
Opus 5 $0.00053 $0.01229
Sonnet 5 $0.00021 $0.00491
Haiku 4.5 $0.00011 $0.00246

Measured 3d ago against content hash 63c421e77094, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

margin-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

foodeatup/skills/margin-analyzer/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Margin Analyzer

Nécessite le MCP foodeatup (déclaré dans le .mcp.json du plugin). Découplé de RapidoCRM : FoodEatUp porte ses propres outils CRM.

Adaptation Rapido (lire d'abord)

Ce skill vient d'un contexte US générique. Dans cette marketplace, remplacer systématiquement ses outils par les équivalents Rapido :

Outil cité dans ce skill Équivalent à utiliser ici
QuickBooks / PayPal / Square / Stripe (finances, ventes) FoodEatUp : finance_summary, list_orders, list_invoices, list_expenses
HubSpot (CRM, pipeline) FoodEatUp : get_client, list_clients, list_quotes (devis restaurant) — le pipeline B2B relève du plugin rapidocrm, hors périmètre ici
Gmail (envoi d'emails) brouillons via le plugin rapido-direction ; réponse à un avis public : reply_review (confirmée)
Google Drive / Calendar plugin rapido-direction (coffre-documents, agenda)
Slack (notifications) pas d'équivalent — restituer dans la conversation, ou notification via un workflow n8n (plugin rapido-n8n)
Zendesk / Shopify pas d'équivalent direct — support : noter l'échange sur la fiche client (update_client) ; vente en ligne : carte vitrine FoodEatUp
CSV uploads inutile si les MCP répondent — les données viennent des serveurs

Les seuils, cadences et benchmarks du skill sont des DÉFAUTS US : les seuils maison de ./rapido-kb/processus-internes.md priment (les citer).

Status: MVP draft · Owner: JJ · Version: 1.1.0 Category: Finance & Ops · Phase: V2

Quick start

When an SMB owner asks "should I raise my prices?" or "are my margins okay?", this skill:

  1. Identifies what to analyze — which products/services are in scope
  2. Pulls cost data — coût matière depuis les recettes FoodEatUp (get_recipe, recette-cout-marge) + dépenses directes (list_expenses)
  3. Pulls revenue data — ventes réelles FoodEatUp (finance_summary, list_orders, list_invoices)
  4. Computes unit economics — revenue, COGS, gross margin, margin % per item
  5. Benchmarks against context — inflation, cost changes, industry norms if available
  6. Builds pricing scenarios — shows what happens to revenue and margin at +5%, +10%, +15% price changes, using historical correlation where data allows
  7. Presents the analysis — no price recommendation; the owner decides

Read the full file on GitHub · 198 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 198 lines · 107 tokens per session scan A 63c421e77094

Subscribe to this mod's changes

margin-analyzer is a skill published in the GitHub repository PrendsTaPart/Plugin-Claude-MCP-BraindCode- (8 stars, last pushed 9d ago), licensed Apache-2.0. It adds 107 tokens to every session and 2,457 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens

southwest

Search Southwest Airlines fares and points pricing via Patchright browser automation. SW is not in any GDS or API. Covers all fare classes, Companion Pass value, and fare drop monitoring.

borski/travel-hacking-toolkit · 40 tokens

alphagbm-greeks

Greeks dashboard for any option contract or multi-leg position. Covers first-order Greeks (Delta, Gamma, Theta, Vega, Rho) and second-order Greeks (Charm, Vanna, Volga). Returns individual and position-level Greeks with scenario heatmaps. Use when: checking option sensitivities, managing position risk, understanding…

AlphaGBM/skills · 128 tokens

reverse-dcf

Reverse DCF (reverse discounted cash flow) valuation tool. Uses the market price to back-solve the market's implied growth rate expectations, replacing the common forward DCF routine of "tweaking parameters to fit the conclusion." Suitable for mature companies with positive FCFF (A-shares, Hong Kong-listed stocks, and…

OpenMinis/MinisSkills · 158 tokens

hyperliquid

Use when backtesting, deploying, funding, or debugging a live trading strategy on Hyperliquid through the Superior Trade API — writing Freqtrade configs and strategy code, running backtest sweeps, checking wallet balances, depositing USDC, trading HIP-3 stock/commodity perps, or diagnosing a deployment that will not…

Superior-Trade/superior-skills · 73 tokens