Logo Founder Cost Leak

Founder Cost Leak

Cộng đồng
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".

Tổng quan

Nhà phát hànhjulisman
Kho mãfounder-id
Tên kỹ năngfounder-cost-leak
Sao
66
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được julisman công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Founder Cost Leak trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/julisman/founder-id/tree/main/skills/founder-cost-leak
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Founder Cost Leak trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Founder Cost Leak ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Founder Cost Leak với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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)

Câu hỏi thường gặp

Kỹ năng AI Founder Cost Leak làm được gì?

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...

Vì sao nên dùng Founder Cost Leak trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Founder Cost Leak là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Founder Cost Leak trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/julisman/founder-id/tree/main/skills/founder-cost-leak. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Founder Cost Leak?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Founder Cost Leak với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Founder Cost Leak với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Founder Cost Leak có miễn phí không?

Có. Kỹ năng này được julisman phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇