agentleFS
julismanjulisman/founder-id/skills/founder-cashflow/SKILL.md

founder-cashflow

Skill43 starsChanged 13 days agoMITView on GitHub

Projects the cash balance week by week for the next 4 weeks (up to 8) from the daily sales pattern per channel, the payout delay of each channel (cash and QRIS next day, delivery apps a few days, marketplaces after the order completes), supplier due dates, payroll, THR, BPJS, PPh Final and fixed costs, then flags the weeks at risk of going negative and gives two ways to handle each. Cash, not profit. Works for any business. Use when the owner asks "will the money last until payday", "cukup tidak uangnya", before a big purchase, before Lebaran (THR), or at the start of every month.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before a big spending decision (equipment, renovation, a big stock order, a marketplace campaign).

    line 20
  2. Distinctive:

    If supplier due dates are not recorded, ask the owner for the 3 biggest suppliers and how they are paid (cash, 7, 14, 30 days, consignment).

    line 42
  3. Distinctive:

    Lowest balance inside the week: if a big bill falls early in the week before sales come in, compute the balance on that day.

    line 69
  4. Distinctive:

    Do not include income that is not certain (an order with no deposit, a loan not yet disbursed).

    line 94
  5. Distinctive:

    If the owner gives no supplier due dates, write in the title (no supplier schedule: the balance may be lower than this).

    line 97
  6. Very specific:

    After showing the report, save it so next time (and the founder-id dashboard) can use it.

    line 136
  7. Distinctive:

    If it reports a problem, fix the numbers (never the check) and say what changed.

    line 159

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

founder-cashflow

When to use

  • The owner asks whether cash will cover wages, rent, THR or suppliers.
  • Before a big spending decision (equipment, renovation, a big stock order, a marketplace campaign).
  • At the start of each month, before Lebaran, or when /founder-weekly-report flags cash falling two weeks running.
  • The last weekly reports in founder/reports/weekly/ are a quick source for the sales pattern when no 8-week export is at hand; say so if you use them.

This skill is about cash, not profit. A business that is profitable on its P&L can run out of cash because bills fall due in the same week, marketplace money is held, or THR lands. Say so if the owner mixes them up.

The data

sourcerequired columnsnotes
Daily salesdate, net sales, channelat least the last 8 weeks; channel matters because payouts arrive at different times
Cash todayone number: cash in the drawer + the operating account (+ balances waiting in platform wallets, listed separately)with the date
Supplier due datessupplier, amount, due datefrom the purchases tab, or typed by the owner
Payrolltotal wages, pay dateinclude overtime, and THR if it falls in the period
Fixed costs and statutory paymentsitem, amount, daterent, utilities, internet, loan instalments, subscriptions; BPJS by the 10th; PPh Final by the 15th; PBJT per the region
Business profilefounder/profile.md: payout delay per channel, planned big purchasesdefault delays: cash/QRIS 1 day; delivery apps 3 to 7 days; marketplaces 3 to 14 days after the order completes; B2B invoices per their terms

If supplier due dates are not recorded, ask the owner for the 3 biggest suppliers and how they are paid (cash, 7, 14, 30 days, consignment). Do not assume everything is cash.

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

  1. Sales pattern: the average net sales per weekday (Monday to Sunday) over the last 8 weeks, per channel. Use the median instead if there were big event days. Adjust for the calendar ahead (${CLAUDE_SKILL_DIR}/../founder-indonesia/reference/calendar.md): payday weeks, Ramadan, Lebaran and mudik, 11.11 and 12.12, and say what you assumed.
  2. Trend: compare the last 4 weeks with the 4 before. If up or down by more than 10%, use the last 4 weeks and state the trend.
  3. Cash in per week for weeks 1 to 4 = sum of (sales per day per channel, shifted by that channel's payout delay). A Friday GoFood sale lands next week, not this week.
  4. Cash out per week = supplier due dates + payroll + THR + fixed costs + BPJS + taxes + routine purchases (estimate: direct cost % x that week's sales, for suppliers paid in cash) + planned big purchases.
  5. End-of-week balance = opening balance + cash in - cash out. Week 1 opens with today's balance.
  6. Lowest balance inside the week: if a big bill falls early in the week before sales come in, compute the balance on that day. A week can end positive and be negative on Tuesday.
  7. Pessimistic case: repeat steps 3 to 6 with sales 15% lower (adjustable). Weeks negative only in the pessimistic case are "watch"; weeks negative in the normal case are "at risk". "Negative" includes the lowest balance inside the week (step 6), not only the end balance. Separately, name every week whose end or lowest balance is below the minimum safe balance from the profile (default one week of operating costs), even if it stays positive: "week 2 ends at Rp3.071.000, under the Rp4.000.000 safe minimum".
  8. Two options for each week at risk, from: move a supplier due date (name the supplier and amount), delay a big purchase, withdraw platform balances early, collect receivables, a promotion the week before to pull cash in, split THR payment within the legal window, or as a last resort an owner top-up for an exact amount.

Verification rules (required)

  • Show the cash-in and cash-out table per week with its detail, not only the end balance.
  • State the date of the opening balance and its source. A balance typed from memory is labelled (from memory).
  • The 8-week sales total you use must equal the data's total. Exclude incomplete weeks (fewer than 6 trading days) and say so.
  • Do not include income that is not certain (an order with no deposit, a loan not yet disbursed). If the owner insists, put it on its own line labelled (not certain) and show the balance with and without it.
  • If the owner gives no supplier due dates, write in the title (no supplier schedule: the balance may be lower than this).

Output format (fixed)

4-WEEK CASH FORECAST: [Business], from [date]
Cash today Rp xxx.xxx.xxx ([source]) | Pattern from 8 weeks, trend xx% | Payouts: cash 1 day, GoFood 5 days, Shopee 7 days

| Week | Cash in | Suppliers | Payroll/THR | Fixed + BPJS + tax | Routine buying | Big purchases | End balance | Lowest (day) | Status |
| 1 (dd-dd) | ... | ... | ... | ... | ... | ... | ... | ... | safe/watch/at risk |
| 2 | |
| 3 | |
| 4 | |

Pessimistic case (sales -15%): week 4 end balance Rp xxx.xxx.xxx, negative weeks: [..]
Below the safe minimum of Rp x.xxx.xxx: weeks [..]

WEEKS AT RISK
Week x (dd-dd): negative Rp xxx.xxx on [day] because [which payment].
  Option A: [action, amount, who to contact, when]
  Option B: [action, amount]

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

1 ACTION THIS WEEK
[usually: call one supplier to move a due date, or delay one purchase]

1 NUMBER TO DOUBLE-CHECK
[the opening balance, or the biggest supplier due date]

Source: [tabs, rows, balance date]

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/cashflow/, named by the date of the opening balance:

  • 2027-02-03.md: the report exactly as shown above.
  • 2027-02-03.json: its key numbers, in this shape (money in full Rupiah as plain numbers, percentages as fractions: 0.45 means 45%):
{
  "from": "2027-02-03", "opening_balance": 18000000, "source": "bank app + drawer (from memory)",
  "pessimistic_drop": 0.15,
  "weeks": [
    {"label": "1", "start": "2027-02-03", "end": "2027-02-09", "cash_in": 21800000,
     "suppliers": 9800000, "payroll": 0, "fixed": 1800000, "routine": 3100000, "big": 0,
     "cash_out": 14700000, "end_balance": 25100000, "lowest": 8200000, "lowest_day": "Tue", "status": "safe"},
    "... one per week"
  ],
  "options": ["Move the espresso machine to next month", "Ask the milk supplier for 14-day terms"]
}

Get the paths with python3 "${CLAUDE_SKILL_DIR}/../founder-weekly-report/reports.py" path cashflow 2027-02-03, write both files, then run python3 "${CLAUDE_SKILL_DIR}/../founder-weekly-report/reports.py" check founder/reports/cashflow/2027-02-03.json. It checks that each week's parts add up to cash_out, each week opens with the last week's end_balance, status is safe, watch or at risk. 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)

  • Payout delay per channel
  • Pessimistic sales drop (default 15%)
  • Minimum safe balance (default: one week of operating costs)
  • Number of weeks (default 4, at most 8)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.