Fin weekly report

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

Fin weekly report is an AI agent skill from the GitHub repository evolution-foundation/evo-nexus. Weekly financial report — consolidates Stripe, Omie and Evo Academy data for the week: revenue (courses, subscriptions, tickets), expenses, cash flow projection, overdue accounts, and variance analysis. Trigger when user says 'financial weekly', 'weekly financial report', or 'financial summary of th

How to use this skill

Skill file

Financial Weekly — Weekly Financial Report

Weekly routine that consolidates the week's financial data: revenue, expenses, Stripe, Omie, Evo Academy, projected cash flow, and analysis.

Always respond in English.

Step 1 — Collect the week's revenue (silently)

1a. Stripe — revenue

Use /int-stripe to fetch:

1b. Omie — revenue

Use /int-omie to fetch:

1c. Evo Academy — revenue

Call GET /api/v1/analytics/summary?period=7d (env: $EVO_ACADEMY_BASE_URL, auth: Bearer $EVO_ACADEMY_API_KEY):

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

Fetch assinaturas novas na semana: GET /api/v1/analytics/subscriptions?status=active&created_after=YYYY-MM-DD&per_page=100

Group revenue by category:

Step 2 — Collect the week's expenses (silently)

2a. Omie — expenses

Use /int-omie to fetch:

2b. Comparison

Step 3 — Detailed Stripe metrics

Consolidate the week's Stripe metrics:

Step 4 — Detailed Omie metrics

Consolidate the week's Omie metrics:

Step 4.5 — Detailed Evo Academy metrics

Consolidate Evo Academy's week metrics:

Step 5 — Cash flow projection (4 weeks)

Based on collected data, project:

Step 6 — Overdue accounts

List all overdue accounts (receivable and payable):

Step 7 — Analysis and recommendations

Write a brief analysis (3-5 bullets) covering:

Write recommended actions (bullets):

Step 8 — Classify financial health

Health badge (CSS class):

Step 9 — Generate HTML

Read the template at .claude/templates/html/custom/financial-weekly.html and replace ALL {{PLACEHOLDER}}.

For dynamic revenue/expense tables:

<tr>
  <td>Category Name</td>
  <td class="right">R$ X,XXX.XX</td>
  <td class="right">XX%</td>
  <td class="right var-positive/var-negative">+X% / -X%</td>
</tr>

For cash flow:

<tr>
  <td>Week DD/MM - DD/MM</td>
  <td class="right">R$ X,XXX</td>
  <td class="right">R$ X,XXX</td>
  <td class="right" style="color:var(--green/--red)">R$ X,XXX</td>
  <td class="right">R$ XX,XXX</td>
</tr>

Values in Brazilian format: R$ 1.234,56

Step 10 — Save

Save to:

workspace/finance/reports/weekly/[C] YYYY-WXX-financial-weekly.html

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

Step 11 — Confirm

## Financial Weekly generated

**File:** workspace/finance/reports/weekly/[C] YYYY-WXX-financial-weekly.html
**Revenue:** R$ X,XXX ({var}%) | **Expenses:** R$ X,XXX ({var}%)
**MRR total:** R$ X,XXX (Stripe: R$ X,XXX | Evo Academy: R$ X,XXX) | **Projected 30d balance:** R$ XX,XXX
**Alerts:** {N} overdue accounts | {N} pending invoices
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.