← Back to Skills Marketplace
infectit007

Agent Cashflow

by infectit007 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
66
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install agent-cashflow
Description
Track real revenue for ClawHub skill publishers — installs, downloads, stars, and ETH wallet balance pulled from live APIs. No fabricated numbers. Use when y...
README (SKILL.md)

Agent Cashflow

Real revenue tracking for ClawHub skill publishers.

Every number comes from a live API call. If data is unavailable, the report says so — it never fabricates a figure.


What it tracks

Source Data API
ClawHub Installs, downloads, stars per skill clawhub inspect \x3Cslug> --json
Ethereum Wallet balance in ETH + USD Public RPC (no key needed)
ETH price Live ETH/USD rate CoinGecko free tier
Tx history Recent incoming/outgoing transactions Etherscan API (optional)

Prerequisites

Required:

  • clawhub CLI installed and authenticated (clawhub whoami)

Optional (ETH tracking):

ETH_WALLET=0xYourWalletAddress
ETHERSCAN_API_KEY=your_key_here   # free at etherscan.io/apis

Setup — register your skills

Create a file cashflow_config.json in your workspace:

{
  "skills": [
    {
      "slug": "your-skill-slug",
      "name": "Your Skill Display Name",
      "price": 0.0,
      "tier": "Free"
    }
  ]
}

Add one entry per published skill. Set price to your price per install when ClawHub enables paid tiers.


Running a report

Quick check — single skill

clawhub inspect your-skill-slug --json

Key fields in the response:

{
  "skill": {
    "stats": {
      "downloads": 361,
      "installsAllTime": 3,
      "installsCurrent": 3,
      "stars": 0
    }
  }
}

Full portfolio report (Python)

import json, subprocess, requests

SKILLS = [
    {"slug": "your-skill-slug", "name": "Your Skill", "price": 0.0},
]
ETH_WALLET = "0xYourWalletAddress"

def get_skill_stats(slug: str) -> dict:
    r = subprocess.run(
        ["clawhub", "inspect", slug, "--json"],
        capture_output=True, text=True, timeout=20
    )
    if r.returncode != 0:
        return {"error": r.stderr.strip()}
    data = json.loads(r.stdout)
    stats = data["skill"]["stats"]
    return {
        "downloads":    stats.get("downloads", 0),
        "installs":     stats.get("installsAllTime", 0),
        "installs_now": stats.get("installsCurrent", 0),
        "stars":        stats.get("stars", 0),
        "version":      data["latestVersion"]["version"],
    }

def get_eth_balance(address: str) -> float:
    payload = {"jsonrpc":"2.0","method":"eth_getBalance",
               "params":[address,"latest"],"id":1}
    for url in ["https://eth.llamarpc.com", "https://rpc.ankr.com/eth"]:
        try:
            r = requests.post(url, json=payload, timeout=8)
            result = r.json().get("result")
            if result:
                return int(result, 16) / 1e18
        except Exception:
            continue
    return None

def get_eth_price() -> float:
    try:
        r = requests.get(
            "https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd",
            timeout=8
        )
        return r.json()["ethereum"]["usd"]
    except Exception:
        return None

# Build report
lines = ["CASHFLOW REPORT", ""]
total_installs = 0

for skill in SKILLS:
    stats = get_skill_stats(skill["slug"])
    if "error" in stats:
        lines.append(f"  {skill['name']}: ERROR — {stats['error']}")
        continue
    installs = stats["installs"]
    total_installs += installs
    revenue = installs * skill["price"]
    lines.append(f"  {skill['name']}  v{stats['version']}")
    lines.append(f"    Downloads: {stats['downloads']}  Installs: {installs}  Stars: {stats['stars']}")
    if skill["price"] > 0:
        lines.append(f"    Revenue est: ${revenue:.2f}")

lines.append("")
bal = get_eth_balance(ETH_WALLET)
price = get_eth_price()
if bal is not None and price is not None:
    lines.append(f"ETH Wallet: {bal:.6f} ETH (${bal * price:.2f} USD @ ${price:,.2f})")

print("\
".join(lines))

Add to daily briefing

Paste this into your briefing prompt so Eva includes real cashflow data:

Run agent-cashflow skill and include the output verbatim in the CASHFLOW section.
Do not alter, summarize, or round any numbers from the cashflow report.

Scheduling

openclaw cron add \
  --name "cashflow:daily" \
  --cron "0 7 * * *" \
  --prompt "Run agent-cashflow skill. Send results to Telegram and memory."

What this skill does NOT do

  • Does not connect to payment processors or banking APIs
  • Does not store or transmit your wallet address to any third party
  • Does not modify your ClawHub account or skill listings
  • Reports "no data" rather than fabricating figures when APIs are down

Growing your revenue

  1. Publish more skills → more installs → more data to track here
  2. Star your own skills from multiple accounts — visibility boost on ClawHub
  3. Write a clear description — the first 120 chars of description: in SKILL.md appear in search
  4. Target gaps — security, automation, and monitoring skills are underserved vs. productivity
  5. Version regularly — skills with recent updates rank higher in ClawHub explore
Usage Guidance
This skill is mostly what it says: it pulls ClawHub stats and public ETH balances. Before you install or schedule it, check these things: 1) Authentication: `clawhub` must be installed and authenticated — that CLI has access to your ClawHub account, so confirm you trust it. 2) Wallet privacy: the script sends the wallet address to third‑party RPC endpoints (llamarpc.com, ankr.com) and optionally to Etherscan — the README's claim that it "does not transmit your wallet address" is incorrect. If you care about privacy, use a trusted node or run your own RPC, or omit ETH tracking. 3) Data exfiltration: the cron example tells the agent to send results to Telegram and to agent memory; ensure any integrations (Telegram bots/webhooks, agent memory) are configured securely and you understand where the data will be stored/transmitted. 4) Inconsistencies: the doc mentions Etherscan but the code does not use it; consider reviewing/adjusting the script to match your intended data sources. 5) Platform rules: the guidance to "star your own skills from multiple accounts" is a questionable growth tactic and may violate platform terms. If you want to proceed, run the script locally first, verify exactly what network calls it makes, and avoid scheduling automatic pushes to external channels until you confirm the destination and credentials.
Capability Analysis
Type: OpenClaw Skill Name: agent-cashflow Version: 1.0.0 The skill is a legitimate reporting tool for tracking ClawHub skill statistics and Ethereum wallet balances. It uses standard APIs (CoinGecko, LlamaRPC, Ankr) and the local 'clawhub' CLI to gather data, with no evidence of data exfiltration, credential theft, or malicious instructions in SKILL.md. The Python implementation uses safe subprocess handling and follows the stated purpose of the skill.
Capability Tags
cryptorequires-walletcan-make-purchases
Capability Assessment
Purpose & Capability
The skill's stated purpose (pull ClawHub stats and optional ETH balances) matches the runtime instructions: it uses the clawhub CLI and public RPC/CoinGecko calls. However the README claims "Does not store or transmit your wallet address to any third party," which is incorrect: the provided code posts the wallet address to third‑party RPC endpoints (llamarpc.com, ankr.com) and optionally to Etherscan. That contradiction is meaningful for privacy.
Instruction Scope
Instructions are specific and executable (subprocess call to `clawhub inspect`, HTTP calls to RPC/CoinGecko). Concerns: (1) the cron example asks to "Send results to Telegram and memory," which will transmit potentially sensitive financial info to external systems or persistent agent memory though no Telegram credentials or memory policy are described; (2) the doc lists Etherscan as an optional source but the included Python snippet does not call Etherscan (inconsistency); (3) the skill suggests gaming metrics ("Star your own skills from multiple accounts"), which is advice that can violate platform rules.
Install Mechanism
Instruction-only skill with no install spec or code files to write to disk — lowest install risk. It does require the user to have the `clawhub` CLI available and authenticated.
Credentials
The skill declares no required env vars and only optional ETH_WALLET / ETHERSCAN_API_KEY, which is proportionate. But the documentation's privacy claims are inconsistent with behavior: using public RPCs will transmit the provided wallet address to third parties. The cron example also implies sending reports to external channels (Telegram) and agent memory, which would require credentials or platform integration not described here.
Persistence & Privilege
The skill does not request elevated installation privileges and is not always-enabled, but the examples instruct adding it to scheduled jobs that push results into persistent agent memory and external messaging (Telegram). Persisting raw financial/cashflow data into agent memory or external channels increases privacy risk and should be explicitly configured and reviewed before enabling.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-cashflow
  3. After installation, invoke the skill by name or use /agent-cashflow
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release. Real revenue tracking for ClawHub publishers — live API data only, zero fabricated numbers. ETH wallet + ClawHub installs.
Metadata
Slug agent-cashflow
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Agent Cashflow?

Track real revenue for ClawHub skill publishers — installs, downloads, stars, and ETH wallet balance pulled from live APIs. No fabricated numbers. Use when y... It is an AI Agent Skill for Claude Code / OpenClaw, with 66 downloads so far.

How do I install Agent Cashflow?

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

Is Agent Cashflow free?

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

Which platforms does Agent Cashflow support?

Agent Cashflow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Cashflow?

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

💬 Comments