Логотип Founder Cost Leak

Founder Cost Leak

Сообщество
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".

Обзор

Издательjulisman
Репозиторийfounder-id
Название навыкаfounder-cost-leak
Звёзды
66
Форки
1
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — julisman. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Founder Cost Leak в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/julisman/founder-id/tree/main/skills/founder-cost-leak
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Founder Cost Leak в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Founder Cost Leak, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Founder Cost Leak не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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)

Часто задаваемые вопросы

Что делает навык ИИ 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...

Зачем использовать Founder Cost Leak в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Founder Cost Leak — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Founder Cost Leak в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/julisman/founder-id/tree/main/skills/founder-cost-leak. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Founder Cost Leak?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Founder Cost Leak?

С любым количеством. В TypingMind вы можете использовать Founder Cost Leak с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Founder Cost Leak?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — julisman. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇