# Send Ai Economic Tracker to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-economic-tracker",
    "name": "Ai Economic Tracker",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/dagangtj/ai-economic-tracker",
    "canonicalUrl": "https://clawhub.ai/dagangtj/ai-economic-tracker",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ai-economic-tracker",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-economic-tracker",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "package.json",
      "tracker.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-economic-tracker"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-economic-tracker",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-economic-tracker",
    "agentUrl": "https://openagent3.xyz/skills/ai-economic-tracker/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-economic-tracker/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-economic-tracker/agent.md"
  }
}
```
## Documentation

### AI Economic Tracker

Track daily costs, income, and net worth for AI agents. Implements economic pressure-driven decision making: "work or learn" based on financial runway.

Inspired by HKUDS/ClawWork research on economic incentives for AI agents.

### Features

Balance Tracking: Monitor current balance, total income, and total costs
Survival Status: Automatic status classification (thriving/stable/struggling/critical/bankrupt)
Runway Calculation: Days remaining before funds run out
Service Valuation: Estimate task value using BLS wage data
Work/Learn Decision: Economic pressure-driven task prioritization
Daily Reports: Formatted economic status reports
JSONL Logs: Append-only transaction history

### Use Cases

Agent Cost Management: Track API costs, compute resources, and operational expenses
Revenue Tracking: Log income from completed tasks or services
Economic Decision Making: Decide whether to work (earn) or learn (invest) based on financial status
Service Pricing: Estimate fair pricing using US Bureau of Labor Statistics wage data
Financial Monitoring: Daily/weekly economic health checks

### Installation

clawhub install ai-economic-tracker

### Command Line

# View current status
python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py status

# Daily report
python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report

# Initialize balance
python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py init 1000.0

# Record income
python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py income 50.0 "task_completion" "Completed data analysis"

# Record cost
python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py cost 15.0 "api_usage" "OpenAI API calls"

# Estimate service value
python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py estimate software_developer 2.5

# Get work/learn decision
python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py decide

### From OpenClaw Agent

# In your agent workflow
exec("python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report")

### Cron Integration

Add to your OpenClaw cron for daily monitoring:

openclaw cron add "0 9 * * *" "python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report" --label "daily-economic-report"

### Configuration

Set environment variables to customize:

# Data directory (default: ~/.openclaw/workspace/data/economics)
export ECONOMIC_TRACKER_DATA_DIR="/custom/path/to/data"

# Daily costs (default values shown)
export ECONOMIC_TRACKER_ELECTRICITY_DAILY=0.50
export ECONOMIC_TRACKER_INTERNET_DAILY=1.50

# Survival thresholds (default values shown)
export ECONOMIC_TRACKER_THRIVING=5000
export ECONOMIC_TRACKER_STABLE=1500
export ECONOMIC_TRACKER_STRUGGLING=500
export ECONOMIC_TRACKER_CRITICAL=0

### Data Storage

All data stored in JSONL format (append-only):

balance.jsonl: Balance snapshots with timestamps
daily_log.jsonl: Cost transactions
income_log.jsonl: Income transactions

Default location: ~/.openclaw/workspace/data/economics/

### Status Levels

StatusBalance RangeMeaning🟢 Thriving> $5,000Healthy runway, can invest in learning🔵 Stable$1,500 - $5,000Comfortable, balanced work/learn🟡 Struggling$500 - $1,500Low runway, prioritize income🔴 Critical$0 - $500Emergency mode, work only💀 Bankrupt< $0Out of funds

### BLS Wage Reference

Built-in hourly wage data for service valuation:

Computer Systems Manager: $90.38/hr
Financial Manager: $86.76/hr
Software Developer: $69.50/hr
Financial Analyst: $47.16/hr
Market Research: $38.71/hr
Data Analyst: $52.00/hr
General Operations: $64.00/hr
Customer Service: $22.00/hr

### Work/Learn Decision Logic

The tracker implements economic pressure-driven decision making:

Critical/Struggling (< $1,500): Must work to earn money
Stable ($1,500 - $5,000): 70% work, 30% learn
Thriving (> $5,000): 50% work, 50% learn

Use decide command to get recommendation based on current balance.

### Example Output

📊 经济日报 | 2026-02-26
========================================
💰 余额: $1,234.56
📈 总收入: $2,500.00
📉 总支出: $1,265.44
💵 净利润: $1,234.56
🔥 日消耗: $2.00
⏳ 跑道: 617 天
🔵 状态: STABLE
========================================

### Dependencies

Zero external dependencies. Uses only Python standard library:

json
os
datetime
pathlib

### Security

No API keys required
All data stored locally
No network requests
Configurable via environment variables (no hardcoded paths)

### Inspiration

Based on research from HKUDS/ClawWork on economic incentives for AI agents. Adapted for OpenClaw agent systems.

### License

MIT

### Author

OpenClaw Community

### Version

1.0.0
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dagangtj
- Version: 1.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ai-economic-tracker)
- [Send to Agent page](https://openagent3.xyz/skills/ai-economic-tracker/agent)
- [JSON manifest](https://openagent3.xyz/skills/ai-economic-tracker/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ai-economic-tracker/agent.md)
- [Download page](https://openagent3.xyz/downloads/ai-economic-tracker)