Fin daily pulse

From evolution-foundation/evo-nexus · View interactive version

Fin daily pulse is an AI agent skill from the GitHub repository evolution-foundation/evo-nexus. Daily financial pulse — queries Stripe (MRR, charges, churn, failures), Omie (accounts payable/receivable, invoices) and Evo Academy (courses, subscriptions, Summit tickets) to generate an HTML snapshot of the company's financial health. Trigger when user says 'financial pulse', 'financial snapshot'

How to use this skill

Skill file

Financial Pulse — Daily Financial Snapshot

Daily routine that pulls data from Stripe, Omie and Evo Academy to generate an HTML snapshot of financial health.

Always respond in English.

Currency Conversion Rule (apply to every Stripe value)

All monetary values MUST be converted to BRL before summing or displaying as R$.

  1. Fetch the USD-to-BRL exchange rate from https://api.exchangerate-api.com/v4/latest/USD (field rates.BRL).
  1. For each Stripe item, read the currency field (lowercase ISO-4217, e.g. "usd", "brl", "idr").
  1. Never add raw amounts of different currencies together. Convert first, then sum.

Step 1 — Collect Stripe data (silently)

Use the /int-stripe skill to fetch:

1a. MRR and Subscriptions

1b. Today's Charges

1c. Churn (last 30 days)

1d. Refunds (last 7 days)

1e. New customers (last 7 days)

Step 2 — Collect Omie data (silently)

Use the /int-omie skill to fetch:

2a. Overdue receivables

2b. Payables (next 7 days)

2c. Invoices

Step 2.5 — Collect Evo Academy data (silently)

Call the Evo Academy Analytics API directly:

2.5a. Summary do dia

GET /api/v1/analytics/summary?period=today

Captura: revenue.total, orders.completed, orders.pending, orders.failed, subscriptions.active, students.new_in_period

2.5b. Orders completados hoje

GET /api/v1/analytics/orders?status=completed&created_after=YYYY-MM-DD&per_page=100

(today in BRT; convert to UTC: created_after = date.today().isoformat())

2.5c. MRR de assinaturas ativas (Evo Academy)

GET /api/v1/analytics/subscriptions?status=active&per_page=100

Step 3 — Day's transactions

Consolidate all financial transactions for the day:

Format each transaction with: type (Revenue/Expense/Refund), description, amount in BRL, status.

Total revenue = Stripe today (BRL) + Evo Academy today

Total MRR = Stripe MRR (BRL) + Evo Academy MRR

Step 4 — Classify financial health

Define the health badge (CSS class):

Step 5 — Alerts

Generate list of financial alerts:

If there are no alerts: "No financial alerts at this time."

Step 6 — Generate HTML

Read the template at .claude/templates/html/custom/financial-pulse.html and replace ALL {{PLACEHOLDER}} with the collected data.

For transactions (dynamic table):

<tr>
  <td><span class="badge green/red/yellow">Revenue/Expense/Refund</span></td>
  <td>Description</td>
  <td class="right">R$ X,XXX.XX</td>
  <td><span class="badge green/yellow">Confirmed/Pending</span></td>
</tr>

Values in Brazilian format: R$ 1.234,56

Step 7 — Save

Save the filled HTML to:

workspace/finance/reports/daily/[C] YYYY-MM-DD-financial-pulse.html

Create the directory workspace/finance/reports/daily/ if it does not exist.

Step 8 — Confirm

Output the completion summary in the terminal:

## Financial Pulse generated

**File:** workspace/finance/reports/daily/[C] YYYY-MM-DD-financial-pulse.html
**MRR total:** R$ X,XXX (Stripe: R$ X,XXX | Evo Academy: R$ X,XXX)
**Receita hoje:** R$ X,XXX | **Subscriptions:** N | **Churn:** X%
**USD/BRL rate:** X.XXXX (live) or 5.75 (fallback)
**Alerts:** {N} attention points

Do NOT send a Telegram message here — the caller handles notifications.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.