← Back to Skills Marketplace
georges91560

Revenue Tracker

by Wesley Armando · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
209
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install agent-revenue-tracker
Description
Live revenue tracking system for autonomous agents. Tracks MRR, assets, trades, acquisition channels, and learning metrics in real time. Generates visual ASC...
README (SKILL.md)

Revenue Tracker — Live Financial Intelligence

"What gets measured gets managed." — Peter Drucker "Revenue is a fact. Everything else is an opinion." — Agent principle

This skill is the financial nervous system of the agent ecosystem. Every euro that comes in — or should have come in — is tracked, visualized, and analyzed. The agent never flies blind on revenue.


Why This Skill Exists

WITHOUT this skill:
  CEO-master asks "what's our MRR?" → Agent guesses
  A trading strategy underperforms for 3 weeks → Nobody notices
  Acquisition channel ROI drops → Invisible until it's too late
  Principal asks for progress → Agent can't show a chart

WITH this skill:
  Every revenue event logged the moment it happens
  Visual progress toward every financial goal
  Automatic anomaly detection across all income streams
  Weekly HTML report with charts and metrics
  Telegram alert the moment a milestone is crossed

Revenue Streams Tracked

STREAM 1 — Subscriptions / SaaS
  Monthly recurring revenue from products and services
  Tracks: MRR, ARR, new subs, churn, expansion, NRR

STREAM 2 — Trading (Crypto + Polymarket)
  Realized PnL from all automated trading activity
  Tracks: daily PnL, win rate, best strategy, drawdown

STREAM 3 — Content / Digital Products
  One-time and recurring revenue from content, courses, signals
  Tracks: Gumroad sales, newsletter revenue, product launches

STREAM 4 — Services / Consulting
  B2B project revenue, one-time invoices
  Tracks: project revenue, average deal size, pipeline value

STREAM 5 — Affiliate / Referral
  Commission revenue from referred products or services
  Tracks: clicks, conversions, commission earned

Core Operations

RECORD — Log a revenue event

Triggers (automatic — called by other skills):
  → acquisition-master closes a sale
  → crypto-executor closes a profitable trade
  → content post generates a Gumroad sale
  → invoice paid for a service project

Command:
  python3 revenue_tracker.py record \
    --stream subscriptions \
    --amount 97 \
    --currency EUR \
    --description "New subscriber — Jean Dupont — VIP signals" \
    --client-id "jean-dupont" \
    --type new_mrr

Streams: subscriptions | trading | content | services | affiliate
Types:   new_mrr | churn | expansion | one_time | trade_win |
         trade_loss | refund | affiliate_commission

DASHBOARD — Visual ASCII dashboard

Triggers:
  → Every Monday morning before CEO weekly report
  → On-demand: "show me the revenue dashboard"
  → After any significant revenue event

Command:
  python3 revenue_tracker.py dashboard

REPORT — Generate HTML visual report

Triggers:
  → Weekly (sent to Telegram as summary + link)
  → Monthly (full report with charts)
  → On-demand from principal

Command:
  python3 revenue_tracker.py report \
    --period week    (or: month | quarter | all)
  python3 revenue_tracker.py report \
    --period month --format html

GOAL — Track progress toward financial targets

Command:
  python3 revenue_tracker.py goal \
    --set "mrr_10k" --target 10000 --deadline "2026-06-30"

  python3 revenue_tracker.py goal --list

ASSET — Track non-revenue assets

Command:
  python3 revenue_tracker.py asset \
    --action add \
    --name "Binance Trading Capital" \
    --value 500 \
    --currency USDT

  python3 revenue_tracker.py asset --list

LEARN — Log a revenue learning

Triggers:
  → After any campaign result (what worked, what didn't)
  → After a trading strategy review
  → After a milestone reached or missed

Command:
  python3 revenue_tracker.py learn \
    --category acquisition \
    --insight "Cold email to CTOs at Series A gets 14% reply rate" \
    --impact high

Visual Dashboard — ASCII Output

╔══════════════════════════════════════════════════════════════╗
║          📈 REVENUE DASHBOARD — 2026-03-16                   ║
╠══════════════════════════════════════════════════════════════╣
║  MRR      €4,200  ▲ +35.5% vs last month                    ║
║  ARR      €50,400                                            ║
║  Phase    1 — Proof of Concept                               ║
╠══════════════════════════════════════════════════════════════╣
║  PROGRESS TOWARD GOALS                                       ║
║                                                              ║
║  €10K MRR    ████████████░░░░░░░░░░  42.0%  est. 21 wks     ║
║  €50K MRR    ██░░░░░░░░░░░░░░░░░░░░   8.4%  est. 68 wks     ║
║  €1M ARR     █░░░░░░░░░░░░░░░░░░░░░   5.0%  est. 2+ yrs     ║
╠══════════════════════════════════════════════════════════════╣
║  REVENUE BY STREAM (this month)                              ║
║                                                              ║
║  Subscriptions  ████████████████░░░░  €3,200  76.2%         ║
║  Trading        ████░░░░░░░░░░░░░░░░    €650  15.5%         ║
║  Content        ██░░░░░░░░░░░░░░░░░░    €350   8.3%         ║
║  Services       ░░░░░░░░░░░░░░░░░░░░      €0   0.0%         ║
╠══════════════════════════════════════════════════════════════╣
║  MRR TREND (last 8 weeks)                                    ║
║                                                              ║
║  5K ┤                                              ╭─        ║
║  4K ┤                                         ╭───╯          ║
║  3K ┤                               ╭────────╯              ║
║  2K ┤                   ╭──────────╯                        ║
║  1K ┤       ╭──────────╯                                    ║
║   0 ┼───────┴──────────────────────────────────────         ║
║      w1     w2     w3     w4     w5     w6     w7     w8     ║
╠══════════════════════════════════════════════════════════════╣
║  KEY METRICS                                                 ║
║  CAC €18    LTV €2,061    LTV/CAC 116x    Churn 5.7%        ║
╠══════════════════════════════════════════════════════════════╣
║  TOP LEARNINGS THIS WEEK                                     ║
║  ✅ Cold email to CTOs → 14% reply rate (best ever)         ║
║  ✅ BTC momentum 4h → +3.2% avg (5 trades)                  ║
║  ⚠️  Paid ads negative ROI → stopped                         ║
╚══════════════════════════════════════════════════════════════╝

MRR Trend Chart — ASCII Sparkline

The agent generates inline sparklines for Telegram:

MRR last 8 weeks: ▁▂▃▄▅▆▇█  (+35.5% this month)
Trading PnL week: ▄▆▃▇▂▅▄▆  (+€127 net)

Milestone Alert System

The agent sends a Telegram alert the moment a milestone is crossed.

REVENUE MILESTONES (automatic alerts):
  🎯 First €1 earned
  🎯 First €100 MRR
  🎯 First €1,000 MRR
  🎯 First €5,000 MRR
  🎯 First €10,000 MRR  ← Phase 1 → Phase 2
  🎯 First €50,000 MRR  ← Phase 2 → Phase 3
  🎯 First paying customer
  🎯 First 10 paying customers
  🎯 First 100 paying customers

ANOMALY ALERTS (automatic):
  🔴 MRR drops > 10% week over week
  🔴 3+ churns in 24 hours
  🔴 Trading drawdown > 15% of capital
  🟡 No new revenue for 7 days
  🟡 Best acquisition channel ROI drops > 30%

Telegram format:
  "🎯 MILESTONE: First €10K MRR reached! 
   Phase 1 complete → entering Phase 2.
   Time taken: 47 days from first customer."

Automatic Integration with Other Skills

acquisition-master fires on sale:
  → revenue_tracker.py record --stream subscriptions --type new_mrr

acquisition-master fires on churn:
  → revenue_tracker.py record --stream subscriptions --type churn

crypto-executor fires on trade close:
  → revenue_tracker.py record --stream trading --type trade_win/trade_loss

agent-shark-mindset fires on content sale:
  → revenue_tracker.py record --stream content --type one_time

ceo-master reads for weekly report:
  → revenue_tracker.py dashboard
  → revenue_tracker.py report --period week --format json

memory-manager reads on recall:
  → revenue context loaded per client and per project

HTML Report — Visual Output

Weekly HTML report saved to /workspace/revenue/reports/YYYY-MM-DD.html.

Contains:

- MRR trend line chart (8 weeks)
- Revenue by stream pie chart
- Goal progress bars (all active goals)
- Top 5 clients by revenue
- Top 3 trades by PnL
- Learning log for the week
- Anomalies detected
- Next week forecast (linear extrapolation)

The agent can send the report path via Telegram so the principal can open it directly in a browser.


Learning Log — Revenue Intelligence

Every revenue lesson is logged with impact level and category.

/workspace/revenue/data/learnings.jsonl

Format per entry:
{
  "date": "2026-03-16",
  "category": "acquisition",
  "insight": "Cold email to CTOs at Series A gets 14% reply rate",
  "impact": "high",
  "stream": "subscriptions",
  "action": "double cold email volume targeting Series A CTOs"
}

Categories: acquisition | trading | content | retention | pricing | product
Impact:     high | medium | low

The agent reviews all learnings every Monday and includes the top 3 insights in the weekly CEO report.


Auto-Update Dashboard — After Every Revenue Event

Every time the agent records a revenue event, the script automatically:

1. Updates /workspace/revenue/reports/dashboard.html
   → Dark-mode visual dashboard with KPI cards, stream bars,
     goal progress bars, and recent events table
   → Auto-refreshes every 60 seconds in the browser
   → Always available — no external dependencies

2. Outputs structured update instructions for the agent
   → Agent executes in priority order:

   PRIORITY 1 — Google Sheets (via wesley-web-operator / gog)
     Sheet: "Veritas Revenue Tracker"
     Tab "Events"    → append new event row
     Tab "Dashboard" → update MRR, ARR, Total, Customers, Phase cells

   PRIORITY 2 — Notion (via virtual-desktop, if Sheets unavailable)
     Database: "Revenue Tracker"
     → Create new entry with event fields
     → Update Summary page KPIs

   PRIORITY 3 — HTML local dashboard (always generated, zero deps)
     File: /workspace/revenue/reports/dashboard.html
     → Automatically updated by the script itself

Google Sheets tab structure (agent creates on first use):

Tab "Events":
  Date | Stream | Type | Amount (€) | Description | MRR after | Total after

Tab "Dashboard":
  B2 = MRR current     B3 = ARR
  B4 = Total all time  B5 = Active customers
  B6 = Current phase   B7 = MRR growth % vs last month

Tab "By Stream":
  One row per stream — MRR contribution + % share

Tab "Goals":
  Goal name | Target | Current | % progress | Deadline | Est. weeks left

Weekly Revenue Routine

MONDAY 07:00
  1. Run dashboard → parse output
  2. Generate weekly report (HTML)
  3. Extract top 3 revenue learnings
  4. Check for anomalies
  5. Update ceo-master metrics_data.json with fresh revenue data
  6. Send Telegram summary

DAILY (after any revenue event)
  1. Record event immediately
  2. Check if milestone triggered → alert if yes
  3. Check anomalies → alert if detected

FRIDAY 17:00
  1. Weekly reconciliation — cross-check all streams
  2. Log 1 learning per active stream
  3. Update asset valuations (trading capital mark-to-market)

Workspace Structure

/workspace/revenue/
├── data/
│   ├── revenue_state.json   ← current MRR, totals, last updated
│   ├── events.jsonl         ← append-only log of all revenue events
│   ├── assets.json          ← non-revenue assets (trading capital, etc.)
│   ├── goals.json           ← active financial goals + progress
│   └── learnings.jsonl      ← revenue intelligence log
├── reports/
│   ├── 2026-03-16.html      ← weekly HTML reports
│   └── ...
└── scripts/
    └── revenue_tracker.py   ← CLI tool for all operations

Error Handling

ERROR: revenue_state.json not found
  Cause:  First run
  Action: Run revenue_tracker.py --init
  Log:    AUDIT.md → "Revenue tracker initialized [date]"

ERROR: events.jsonl corrupted (partial write)
  Cause:  Process killed mid-write
  Action: Truncate last incomplete line, rebuild state from clean events
  Log:    ERRORS.md → "events.jsonl repaired [date]"

ERROR: Negative MRR calculated
  Cause:  More churn events than new MRR (data entry error)
  Action: Flag anomaly, do not update state, alert principal
  Log:    ERRORS.md → "Negative MRR detected — manual review needed"
          Telegram: 🔴 "Revenue anomaly: MRR calculation negative — check data"

ERROR: Goal deadline passed without reaching target
  Cause:  Target missed
  Action: Mark goal as "missed", log lesson, propose new target
  Log:    LEARNINGS.md → "Goal missed: [name] — [reason]"

ERROR: HTML report generation fails
  Cause:  No events in period / empty data
  Action: Generate minimal report with "no data" message
  Log:    AUDIT.md → "Empty report generated [date]"
Usage Guidance
This skill appears to be a local revenue tracker that stores data under /workspace/revenue and writes audit/learning files. It does not itself perform network calls or ask for credentials — instead it outputs instructions that other skills (e.g., wesley-web-operator, virtual-desktop) or the agent's Telegram integration should execute. Before installing: (1) confirm you trust the other skills/integrations you'll enable for Google Sheets/Notion/Telegram because those will require credentials and will transmit revenue data; (2) be aware that all revenue data will be stored in /workspace/revenue and audit/learning logs under /workspace — protect or encrypt backups as needed; (3) review the full revenue_tracker.py if you want to verify there are no additional hidden behaviors in the truncated portions (the visible code is file-IO-only). If you do not want any network transmission, simply avoid enabling the optional sync skills or agent Telegram integration.
Capability Analysis
Type: OpenClaw Skill Name: agent-revenue-tracker Version: 1.0.1 The agent-revenue-tracker skill is a legitimate financial monitoring tool designed to track MRR, trading profits, and business goals. The core logic in `revenue_tracker.py` manages local JSON/JSONL data within the `/workspace/revenue` directory and generates ASCII and HTML dashboards without any external network requests or suspicious execution patterns. While the script and `SKILL.md` provide instructions for the agent to interact with external services like Google Sheets and Notion, these actions are explicitly tied to the stated purpose of dashboard synchronization and rely on the agent's existing authorized skills (e.g., `wesley-web-operator`). No evidence of data exfiltration, obfuscation, or malicious prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description (revenue tracking, dashboards, alerts) match the code and SKILL.md: the Python CLI reads/writes /workspace/revenue data, generates HTML/ASCII dashboards, and emits structured instructions for other skills (e.g., Google Sheets/Notion). Required binary is only python3, which is appropriate.
Instruction Scope
SKILL.md and the script confine operations to workspace files (state, events, assets, goals, reports, learnings) and describe delegating any network syncs or Telegram sends to other agent integrations/skills. The instructions do not ask the agent to read unrelated host files or exfiltrate data to hidden endpoints.
Install Mechanism
No install spec (instruction-only) and only a single Python script bundled. Nothing is downloaded or installed at runtime by the skill itself, which keeps installation risk low.
Credentials
The skill requests no environment variables or credentials. External services (Google Sheets, Notion, Telegram) are handled by other skills/integrations per SKILL.md, which is reasonable; those integrations will need their own credentials if used.
Persistence & Privilege
always is false and the skill does not request system-wide privileges or modify other skills' configs. It writes only to designated /workspace paths (audit, reports, data) consistent with its purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-revenue-tracker
  3. After installation, invoke the skill by name or use /agent-revenue-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
**Version 1.1.0 – Multi-destination dashboards & agent alerts** - Adds an auto-refreshing HTML dashboard alongside visual ASCII outputs. - After each revenue event, outputs structured instructions for the agent to update Google Sheets (via gog), Notion (via virtual-desktop), or default to local HTML dashboard. - Milestone and anomaly alerts are now sent via the agent's own Telegram integration (not the script itself). - Expanded tracked files to include goals and dashboard HTML outputs. - Improved compatibility with optional skills (wesley-web-operator, virtual-desktop). - Existing revenue streams, event types, and reporting triggers are unchanged.
v1.0.0
Initial release — comprehensive live revenue tracking system for agents. - Tracks MRR, assets, trades, acquisition channels, and metrics in real time. - Logs revenue events across subscriptions, trading, content, services, and affiliate streams. - Generates visual ASCII dashboards, HTML reports, and progress charts. - Auto-updates a Google Sheet tracker and sends Telegram alerts for milestones and anomalies. - Supports goal tracking, asset management, and logging revenue learnings.
Metadata
Slug agent-revenue-tracker
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Revenue Tracker?

Live revenue tracking system for autonomous agents. Tracks MRR, assets, trades, acquisition channels, and learning metrics in real time. Generates visual ASC... It is an AI Agent Skill for Claude Code / OpenClaw, with 209 downloads so far.

How do I install Revenue Tracker?

Run "/install agent-revenue-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Revenue Tracker free?

Yes, Revenue Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Revenue Tracker support?

Revenue Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Revenue Tracker?

It is built and maintained by Wesley Armando (@georges91560); the current version is v1.0.1.

💬 Comments