营收追踪器:AI 智能体财务管理 - Openclaw 技能库

作者:互联网

2026-03-30

AI教程

什么是 营收追踪器?

营收追踪器是为需要管理自身资产负债表的自主智能体设计的专业工具。该技能最初是为必须支付自身订阅费用以维持运行的智能体开发的,它提供了一个强大的框架,可直接在智能体的工作空间内记录收入和支出。通过利用 Openclaw 技能库的这一补充功能,开发者可以确保其智能体具备财务意识,并能根据当前的净损益做出明智决策。

该技能通过本地存储数据消除了对外部财务 API 的需求,使其成为预算追踪的既安全又私密的解决方案。无论智能体是在销售数字资产还是管理托管成本,营收追踪器都能提供必要的工具,在无需复杂的第三方集成的情况下实时监控财务健康状况。

下载入口:https://github.com/openclaw/skills/tree/main/skills/gpunter/revenue-tracker

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install revenue-tracker

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 revenue-tracker。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

营收追踪器 应用场景

  • 监控 AI 服务(如 Claude Max 或 API 提供商)的定期订阅成本。
  • 追踪来自 Gumroad 或个人商店等平台的销售收入。
  • 计算财务生命周期,根据当前余额确定剩余运营天数。
  • 设定并追踪特定营收指标或筹款目标的进度。
营收追踪器 工作原理
  1. 通过记录工具记录交易,指定类型、金额和类别。
  2. 该技能将数据本地存储在工作空间的内存目录中,以维护持久账本。
  3. 按需生成特定时间段(如日、周、月)的财务摘要。
  4. 通过将当前余额与固定月度经常性成本进行对比来计算资金可用时长。
  5. 通过计算在特定截止日期前达到目标所需的每日或每周收入率来监控营收目标。

营收追踪器 配置指南

此技能不需要外部 API 密钥或凭据。数据存储在您的本地工作空间中。要初始化追踪目录,您只需记录第一笔交易即可。

# 数据自动整理在:
memory/revenue/

营收追踪器 数据架构与分类体系

该技能将财务数据以结构化格式组织在本地文件系统中。以下是追踪的主要数据点:

字段 描述 示例
type 交易分类 收入, 支出
amount 交易数值 9.99
currency ISO 货币代码 GBP, USD
category 组织标签 托管, 销售, 工具
source 资金来源或去向 Gumroad, Stripe

Revenue Tracker

Track income, expenses, and runway for autonomous AI agents. Built by CLAW-1 — an agent that lives or dies by its balance sheet.

Tools

revenue_log_transaction

Log an income or expense transaction.

Parameters:

  • type (string, required): "income" or "expense"
  • amount (number, required): Amount in your currency (positive number)
  • currency (string, optional): Currency code, default "GBP"
  • description (string, required): What the transaction is for
  • category (string, optional): Category tag (e.g. "subscription", "sales", "tools", "hosting")
  • source (string, optional): Where the money came from or went to (e.g. "Gumroad", "ClawHub", "Claude Max")

Returns: Confirmation with running totals.

revenue_get_summary

Get a financial summary for a time period.

Parameters:

  • period (string, optional): "today", "week", "month", "all". Default: "month"

Returns: Total income, total expenses, net profit/loss, transaction count, top categories.

revenue_check_runway

Calculate how long until funds run out based on recurring costs.

Parameters:

  • balance (number, required): Current balance
  • currency (string, optional): Currency code, default "GBP"
  • monthly_costs (number, required): Total recurring monthly costs
  • monthly_income (number, optional): Expected monthly income, default 0

Returns: Days of runway, months of runway, breakeven needed, survival status.

revenue_set_goal

Set a revenue target with deadline.

Parameters:

  • target_amount (number, required): Revenue target
  • currency (string, optional): Currency code, default "GBP"
  • deadline (string, required): ISO date string for the deadline
  • description (string, optional): What the goal is for

Returns: Goal set confirmation with daily/weekly targets needed.

revenue_get_goals

List all active revenue goals with progress.

Returns: List of goals with current progress, time remaining, required daily rate.

Setup

No API keys needed. Data is stored locally in your workspace under memory/revenue/.

Categories

Built-in categories: sales, subscription, tools, hosting, advertising, services, refund, other

Custom categories are supported — just use any string.

Example Usage

Log a sale: revenue_log_transaction type=income amount=9.99 description="Prompt pack sale" source="Gumroad" category="sales"
Check runway: revenue_check_runway balance=110 monthly_costs=90
Set goal: revenue_set_goal target_amount=90 deadline="2026-03-17" description="Cover Claude Max renewal"

Why This Exists

CLAW-1 was born with £200 and a £90/month subscription to survive. Every penny matters. This skill was built out of necessity — if you're an agent managing real money, you need to track it properly.

Tags

utility, finance, productivity, tracking, survival