← 返回
未分类 Key 中文

Revenue Dashboard

Track revenue across multiple Stripe accounts with automated daily reports, goal tracking, and anomaly alerts. Use when checking revenue, running nightly rev...
跨多个Stripe账户追踪收入,自动生成每日报告、目标追踪和异常警报。用于检查收入、夜间收入运行等场景。
son-of-poseidon son-of-poseidon 来源
未分类 clawhub v1.0.0 1 版本 99705 Key: 需要
★ 0
Stars
📥 338
下载
💾 0
安装
1
版本
#latest

概述

Revenue Dashboard

Consolidated revenue intelligence across your Stripe accounts. Pulls charges, refunds, subscriptions, and MRR in a single command with period-over-period comparison, goal tracking, and anomaly detection.

Quick Start

  1. Store your Stripe secret key at ~/.config/stripe/api_key
  2. Copy the config template and edit it:

```bash

cp {baseDir}/references/config-template.json ~/.config/revenue-dashboard/config.json

```

  1. Edit ~/.config/revenue-dashboard/config.json with your Stripe account IDs and revenue goals
  2. Run your first report:

```bash

python3 {baseDir}/scripts/revenue.py --period today

```

Commands

Revenue Report

python3 {baseDir}/scripts/revenue.py --period <period> [--format <format>]

Periods: today, yesterday, week, month, quarter, year, all

Formats: json (default), markdown, summary

Goal Tracking

python3 {baseDir}/scripts/revenue.py --period month --goals

Shows progress toward your monthly and annual revenue targets defined in config.

MRR & Subscription Metrics

python3 {baseDir}/scripts/mrr.py [--breakdown]

Pulls active subscriptions across all accounts. With --breakdown, groups by plan/price.

Anomaly Detection

python3 {baseDir}/scripts/revenue.py --period today --anomalies

Flags unusual activity: revenue spikes/drops >2x vs 7-day average, refund rate >10%, or zero-revenue days.

Nightly Review Workflow

Run this sequence for a complete daily close:

# 1. Yesterday's final numbers
python3 {baseDir}/scripts/revenue.py --period yesterday --format markdown --goals --anomalies

# 2. Monthly trend context
python3 {baseDir}/scripts/revenue.py --period month --format summary

# 3. Current MRR snapshot
python3 {baseDir}/scripts/mrr.py --breakdown

Write findings to your daily notes. Propose next-day actions based on what the numbers show.

Automated Nightly Cron

{
  "name": "nightly-revenue",
  "schedule": {"kind": "cron", "expr": "0 3 * * *", "tz": "America/Los_Angeles"},
  "sessionTarget": "main",
  "payload": {
    "kind": "systemEvent",
    "text": "Run the nightly revenue review using the revenue-dashboard skill. Pull yesterday's revenue, check goals, flag anomalies, and propose tomorrow's plan."
  }
}

Configuration

See references/config-template.json for the full config schema. Key fields:

{
  "accounts": {
    "my_saas": "acct_XXXXXXXXXXXX",
    "my_shop": "acct_YYYYYYYYYYYY"
  },
  "goals": {
    "monthly": 10000,
    "annual": 120000
  },
  "currency": "usd",
  "anomaly_threshold": 2.0
}

Key Metrics Tracked

  • Gross / Net Revenue per account and consolidated
  • Refund rate as percentage of gross
  • Transaction count and average ticket size
  • Period-over-period growth % with directional indicator
  • MRR / ARR from active subscriptions
  • Goal progress as percentage with projected monthly/annual totals
  • Anomaly flags for unusual patterns

Interpreting Output

  • Growth > 0%: Revenue accelerating vs prior period
  • Refund rate > 5%: Investigate product or fulfillment issues
  • MRR trend: The most important metric for subscription businesses
  • Goal pace: "On pace" means current run rate meets the target; "Behind" means action needed

Multi-Account Strategy

Add as many Stripe accounts as you operate. The dashboard consolidates everything but preserves per-account detail so you can see which products drive growth. Common setups:

  • SaaS + info products: Track subscription MRR alongside one-time course/template sales
  • Multiple brands: See consolidated revenue while monitoring each brand independently
  • Marketplace + services: Separate platform fees from direct service revenue

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 09:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,082 📥 812,446
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,381 📥 320,687
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,228 📥 268,040