Logo van Founder Cost Leak

Founder Cost Leak

Community
julisman
founder-cost-leak

Finds the materials or stock used up faster than sales explain, by comparing what was bought (and the stock count) with what should have been used for what was sold: recipes for F&B, a bill of materials for products made in-house, one unit per unit for retail and online sellers. Ranks the five biggest gaps in Rupiah, separates price rises from waste and shrinkage, and gives a field check for each, without accusing anyone. Use when direct cost (food cost, COGS) is above the threshold, when the owner suspects non-standard portions, waste, missing stock or theft, or when purchase prices rose and the owner does not know which items are hit. Phrases: "which material is wasted", "bocor", "stock is missing", "why is buying up when sales are flat".

Overzicht

Uitgeverjulisman
Repositoryfounder-id
Skillnaamfounder-cost-leak
Sterren
66
Forks
1
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door julisman op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Founder Cost Leak in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/julisman/founder-id/tree/main/skills/founder-cost-leak
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/julisman/founder-id.git /tmp/founder-id
mkdir -p .claude/skills
cp -r /tmp/founder-id/skills/founder-cost-leak .claude/skills/founder-cost-leak
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Founder Cost Leak in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Founder Cost Leak automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Founder Cost Leak niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

founder-cost-leak

When to use

  • Last month's direct cost % is above the threshold in founder/profile.md (default 35% for F&B; ask for other businesses).
  • The owner asks "what are we wasting", "why is buying up when sales are the same", "is stock going missing".
  • After /founder-pnl finds a high direct cost.

This skill does not accuse people. The result is a list of items with the biggest gaps and likely causes that can be checked. Who is responsible is for the owner to decide after checking on the ground.

The data

sourcerequired columnsnotes
Purchasesdate, item, quantity, unit, total Rpone full month, one outlet or warehouse
Sales per itemproduct or menu item, quantity soldfrom the POS, the delivery apps and the marketplaces, same period
Usage per unit soldproduct, the main materials, quantity per unit, unitF&B: a rough recipe, 2 to 3 main ingredients per menu item is enough. Made in-house: the bill of materials. Retail / online: 1 unit of stock per unit sold (plus packaging per order if it matters)
Stock (optional)item, opening stock, closing stock, unitwith it, actual usage is far more accurate
Waste and returns (optional)date, item, quantity, value, reasonfrom a daily waste form, the returns log or the marketplace returns; explains part of the gap

If there is no recipe or bill of materials at all, ask the owner to fill a rough table for the 10 best sellers only. Do not continue with made-up quantities. If the owner insists, use common quantities and label every affected number (assumed quantity).

Units must match. If purchases are in kg and recipes in grams, convert first and write the conversion.

founder/profile.md is written by /founder-plan. A business that skipped the build stage often has its own outlet profile instead (an owner's notes, a course profil-outlet.md): use it the same way, and say which file the thresholds came from. Where both exist and disagree, the owner's own file wins.

Steps

For each item in the usage table:

  1. Expected usage = sum of (quantity sold x quantity per unit) across every product that uses it.
  2. Actual usage = opening stock + purchases - closing stock. Without stock: actual usage = purchases, labelled (no stock count).
  3. Gap (quantity) = actual usage - expected usage.
  4. Gap % = gap / expected usage.
  5. Gap (Rp) = gap x the month's average purchase price (total Rp bought / total quantity bought).
  6. Sort by gap in Rupiah, biggest first. Take the top 5.
  7. For each of the top 5, check the purchase price: the average in the first week against the last week. A rise above 10% is reported separately as "price rise", not "waste".
  8. If waste and returns data exist: subtract the recorded waste for each item. The rest is the unexplained gap, and that is what gets reported as worth checking. Recorded waste has its own column.

A normal gap for fresh ingredients is 5 to 10% (trimming, shrinkage, tasting); for packaged retail stock, close to 0 to 2%. Above 15% for fresh, or above 3% for packaged, is worth checking. A large negative gap (actual far below expected) is also a finding: the recipe is wrong, portions were cut, or sales are missing from the POS.

Likely causes (pick the best fit, more than one is fine)

pattern in the datalikely causehow to check on the ground
The gap is spread across all protein or main materialsnon-standard portions or usageweigh 5 random portions or builds against the recipe
A big gap in 1 or 2 expensive items onlyunrecorded waste, or used for something elsecheck 7 days of the waste form, staff meals, samples and giveaways
Packaged stock missing, sales flatshrinkage, theft, or orders sent but not recordedcount stock today; match marketplace orders against shipments and returns
Purchases up, sales flat, no closing stockstock piling up or expiringcount physical stock today, check expiry dates
Average purchase price up more than 10%the supplier raised prices, selling prices have not followedcompare 2 suppliers, review prices with /founder-product-mix
A large negative gapthe recipe or BOM does not match practice, or sales did not go through the POSask the head cook or the packer, check manual transactions
The gap appears only on certain datesa specific event (a bazaar, a shift, a flash sale)match against the roster and the order log for those dates

Verification rules (required)

  • Show the calculation table for the top 5 items with every column: expected, actual, gap quantity, gap %, gap Rp, source rows.
  • Compare the top 5's total gap in Rupiah with the total direct-cost gap (actual direct cost - direct cost if everything matched the recipe or BOM). If the top 5 explain less than 50% of the total gap, say so and name where the rest is.
  • Never name employees or shifts, never allege theft. Write "worth checking" and how to check.
  • If some products sold have no recipe or BOM, give their count and their share of sales. If more than 20% of sales have none, label the title (low recipe coverage).

Output format (fixed)

COST LEAK CHECK: [Business], [Month Year]
Recipe/BOM coverage: xx% of sales | Direct cost this month xx.x% (benchmark xx-xx%)

TOP 5 ITEMS BY GAP
| Item | Expected | Actual | Gap | Gap % | Gap Rp | Likely cause |
| ... |
Top 5 total gap: Rp xxx.xxx (xx% of the total direct-cost gap of Rp xxx.xxx)

PURCHASE PRICES THAT ROSE
[item, price at the start -> end of the month, % rise, products affected] or "No rise above 10%"

3 FINDINGS
1. ...
2. ...
3. ...

1 ACTION THIS WEEK
[one concrete field check: which item, who checks, when, where the result is recorded]

1 NUMBER TO DOUBLE-CHECK
[usually: the recipe quantity of the item with the biggest gap, or the closing stock]

Source: [tabs and rows]

Save the report

After showing the report, save it so next time (and the founder-id dashboard) can use it. Two files in founder/reports/cost-leak/, named by the month or period:

  • 2027-01.md: the report exactly as shown above.
  • 2027-01.json: its key numbers, in this shape (money in full Rupiah as plain numbers, percentages as fractions: 0.45 means 45%):
json
{
  "month": "2027-01", "coverage_pct": 0.94, "direct_cost_pct": 0.478,
  "items": [
    {"item": "Fresh milk", "unit": "L", "expected": 2160, "actual": 2490, "gap_qty": 330, "gap_pct": 0.153,
     "gap_rp": 4950000, "waste_recorded": 0, "cause": "Non-standard portions"},
    "... the top 5, biggest gap_rp first"
  ],
  "price_rises": [{"item": "Fresh milk", "from": 14000, "to": 15500, "pct": 0.107}]
}

Get the paths with python3 "${CLAUDE_SKILL_DIR}/../founder-weekly-report/reports.py" path cost-leak 2027-01, write both files, then run python3 "${CLAUDE_SKILL_DIR}/../founder-weekly-report/reports.py" check founder/reports/cost-leak/2027-01.json. It checks that gap_qty = actual - expected, items sorted by gap_rp. If it reports a problem, fix the numbers (never the check) and say what changed. Copy numbers from the report; do not compute new ones for the JSON.

Thresholds the owner can change (in founder/profile.md)

  • Normal gap % (default 10% fresh, 2% packaged)
  • Gap % worth checking (default 15% fresh, 3% packaged)
  • Purchase price rise to report (default 10%)
  • Number of items shown (default 5)

Veelgestelde vragen

Wat doet de AI-skill Founder Cost Leak?

Finds the materials or stock used up faster than sales explain, by comparing what was bought (and the stock count) with what should have been used for what was sold: recipes for F&B, a bill of materials for products made in-house, one unit per unit for retail and online sellers. Ranks the five biggest gaps in Rupiah, separates price rises from waste and shrinkage, and gives a field check for each, without accusing anyone. Use when direct cost (food cost, COGS) is above the threshold, when the owner suspects non-standard portions, waste, missing stock or theft, or when purchase prices rose a...

Waarom Founder Cost Leak gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Founder Cost Leak bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Founder Cost Leak in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/julisman/founder-id/tree/main/skills/founder-cost-leak. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Founder Cost Leak gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Founder Cost Leak gebruiken?

Zoveel als je wilt. Je kunt Founder Cost Leak gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Founder Cost Leak gratis?

Ja. Deze skill is door julisman op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇