شعار 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 أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها julisman على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Founder Cost Leak في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ 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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Founder Cost Leak معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Founder Cost Leak مجانية؟

نعم. نشرها julisman على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇