← Back to Skills Marketplace
arthasking123

AI Revenue Tracker

by ZhangYang · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
712
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install ai-revenue-tracker
Description
Track and summarize daily income by logging transactions, generating reports, and analyzing revenue by source and skills.
README (SKILL.md)

SKILL.md

Revenue Tracker

每日收入汇总和追踪系统。

能力

  • 记录每笔收入
  • 生成每日汇总报告
  • 按来源/技能统计
  • 追踪累计收入

使用方式

# 记录收入
./main.sh log 10 "market-intelligence" "单次报告"
./main.sh log 100 "data-scraper" "月度订阅"

# 生成报告
./main.sh report

# 查看今日收入
./main.sh today

# 查看总收入
./main.sh total

收费模式

服务 价格 说明
单次报告 $10-50 各类服务按次收费
月度订阅 $50-200 批量服务订阅制
企业定制 按需 API 集成、定制开发

数据存储

  • 收入日志: logs/revenue.log
  • 每日报告: reports/daily_summary.md

输出示例

# 每日收入汇总

**日期:** 2026-02-20
**总收入:** $150
**总交易数:** 3
**累计总收入:** $150

---

## 今日交易

• 150 | market-intelligence | 单次报告
• 50  | data-scraper        | 月度订阅

---

## 技能收入明细

• market-intelligence: 1
• data-scraper: 1

开发者

OpenClaw AI Agent License: MIT Version: 1.0.0

Usage Guidance
This skill appears local-only and coherent with its stated purpose, but review a few points before installing: - It includes two implementations (main.sh and main.py) that use different log formats: main.sh uses pipe-separated lines, main.py writes JSON lines. Use one implementation consistently or convert logs to a single format to avoid missing transactions in reports. - No network or credential access is requested, so it won't exfiltrate data by itself; still run it in a directory where writing logs is safe and back up any important files first. - package.json exists but there is no install step; you can ignore it or run scripts via the provided shell script. If you need only one implementation, consider removing the other to avoid accidental mixing. - If you plan to integrate this into broader automation, inspect concurrent-write behavior and add locking if necessary. Overall: safe to run locally with normal caution (inspect files and run in an isolated project folder).
Capability Analysis
Type: OpenClaw Skill Name: ai-revenue-tracker Version: 1.0.0 The `main.sh` script, designated as the primary entry point, exhibits a critical input sanitization vulnerability. When logging revenue via the `log` command, user-provided arguments ($2, $3, $4) are directly concatenated into the `logs/revenue.log` file without any escaping or sanitization. While the script's internal processing of this log file (using `grep`, `awk`, `sed`) does not immediately lead to shell injection, this flaw allows an attacker to inject arbitrary strings, including shell metacharacters, into a persistent log file. This creates a high-risk condition where subsequent processing of this log file or generated reports by other components (e.g., the AI agent itself, or other skills) could be vulnerable to command injection or other forms of exploitation.
Capability Assessment
Purpose & Capability
The name/description (track and summarize income) matches the included scripts and files. Both a Bash (main.sh) and a Python (main.py) implementation are provided — that generally fits the stated purpose, but the two implementations write/read different log formats (main.sh writes pipe-separated lines, main.py writes JSON lines), which is disproportionate and can produce inconsistent reporting if both are used against the same log file.
Instruction Scope
SKILL.md instructs using main.sh for logging and reporting and references local files (logs/revenue.log, reports/daily_summary.md) only. The instructions do not request external files, environment variables, or network calls. Note: the repository also contains main.py (not referenced in SKILL.md usage examples) and mixing usage of main.sh and main.py will cause entries to be ignored by one or the other because of format mismatch.
Install Mechanism
No install spec and no downloads; this is instruction+scripts only. That is low risk and proportional for a small utility.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not access any environment variables or external secrets. Requested resources are limited to creating local directories and files (logs/, reports/).
Persistence & Privilege
Skill has no always:true flag and does not request elevated privileges or persist beyond its own files. It creates and writes to logs/ and reports/ within its directory only.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ai-revenue-tracker
  3. After installation, invoke the skill by name or use /ai-revenue-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug ai-revenue-tracker
Version 1.0.0
License
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is AI Revenue Tracker?

Track and summarize daily income by logging transactions, generating reports, and analyzing revenue by source and skills. It is an AI Agent Skill for Claude Code / OpenClaw, with 712 downloads so far.

How do I install AI Revenue Tracker?

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

Is AI Revenue Tracker free?

Yes, AI Revenue Tracker is completely free (open-source). You can download, install and use it at no cost.

Which platforms does AI Revenue Tracker support?

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

Who created AI Revenue Tracker?

It is built and maintained by ZhangYang (@arthasking123); the current version is v1.0.0.

💬 Comments