{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ai-economic-tracker",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-economic-tracker",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "package.json",
      "tracker.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/ai-economic-tracker",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "AI Economic Tracker",
        "body": "Track daily costs, income, and net worth for AI agents. Implements economic pressure-driven decision making: \"work or learn\" based on financial runway.\n\nInspired by HKUDS/ClawWork research on economic incentives for AI agents."
      },
      {
        "title": "Features",
        "body": "Balance Tracking: Monitor current balance, total income, and total costs\nSurvival Status: Automatic status classification (thriving/stable/struggling/critical/bankrupt)\nRunway Calculation: Days remaining before funds run out\nService Valuation: Estimate task value using BLS wage data\nWork/Learn Decision: Economic pressure-driven task prioritization\nDaily Reports: Formatted economic status reports\nJSONL Logs: Append-only transaction history"
      },
      {
        "title": "Use Cases",
        "body": "Agent Cost Management: Track API costs, compute resources, and operational expenses\nRevenue Tracking: Log income from completed tasks or services\nEconomic Decision Making: Decide whether to work (earn) or learn (invest) based on financial status\nService Pricing: Estimate fair pricing using US Bureau of Labor Statistics wage data\nFinancial Monitoring: Daily/weekly economic health checks"
      },
      {
        "title": "Installation",
        "body": "clawhub install ai-economic-tracker"
      },
      {
        "title": "Command Line",
        "body": "# View current status\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py status\n\n# Daily report\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report\n\n# Initialize balance\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py init 1000.0\n\n# Record income\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py income 50.0 \"task_completion\" \"Completed data analysis\"\n\n# Record cost\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py cost 15.0 \"api_usage\" \"OpenAI API calls\"\n\n# Estimate service value\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py estimate software_developer 2.5\n\n# Get work/learn decision\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py decide"
      },
      {
        "title": "From OpenClaw Agent",
        "body": "# In your agent workflow\nexec(\"python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report\")"
      },
      {
        "title": "Cron Integration",
        "body": "Add to your OpenClaw cron for daily monitoring:\n\nopenclaw cron add \"0 9 * * *\" \"python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report\" --label \"daily-economic-report\""
      },
      {
        "title": "Configuration",
        "body": "Set environment variables to customize:\n\n# Data directory (default: ~/.openclaw/workspace/data/economics)\nexport ECONOMIC_TRACKER_DATA_DIR=\"/custom/path/to/data\"\n\n# Daily costs (default values shown)\nexport ECONOMIC_TRACKER_ELECTRICITY_DAILY=0.50\nexport ECONOMIC_TRACKER_INTERNET_DAILY=1.50\n\n# Survival thresholds (default values shown)\nexport ECONOMIC_TRACKER_THRIVING=5000\nexport ECONOMIC_TRACKER_STABLE=1500\nexport ECONOMIC_TRACKER_STRUGGLING=500\nexport ECONOMIC_TRACKER_CRITICAL=0"
      },
      {
        "title": "Data Storage",
        "body": "All data stored in JSONL format (append-only):\n\nbalance.jsonl: Balance snapshots with timestamps\ndaily_log.jsonl: Cost transactions\nincome_log.jsonl: Income transactions\n\nDefault location: ~/.openclaw/workspace/data/economics/"
      },
      {
        "title": "Status Levels",
        "body": "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"
      },
      {
        "title": "BLS Wage Reference",
        "body": "Built-in hourly wage data for service valuation:\n\nComputer Systems Manager: $90.38/hr\nFinancial Manager: $86.76/hr\nSoftware Developer: $69.50/hr\nFinancial Analyst: $47.16/hr\nMarket Research: $38.71/hr\nData Analyst: $52.00/hr\nGeneral Operations: $64.00/hr\nCustomer Service: $22.00/hr"
      },
      {
        "title": "Work/Learn Decision Logic",
        "body": "The tracker implements economic pressure-driven decision making:\n\nCritical/Struggling (< $1,500): Must work to earn money\nStable ($1,500 - $5,000): 70% work, 30% learn\nThriving (> $5,000): 50% work, 50% learn\n\nUse decide command to get recommendation based on current balance."
      },
      {
        "title": "Example Output",
        "body": "📊 经济日报 | 2026-02-26\n========================================\n💰 余额: $1,234.56\n📈 总收入: $2,500.00\n📉 总支出: $1,265.44\n💵 净利润: $1,234.56\n🔥 日消耗: $2.00\n⏳ 跑道: 617 天\n🔵 状态: STABLE\n========================================"
      },
      {
        "title": "Dependencies",
        "body": "Zero external dependencies. Uses only Python standard library:\n\njson\nos\ndatetime\npathlib"
      },
      {
        "title": "Security",
        "body": "No API keys required\nAll data stored locally\nNo network requests\nConfigurable via environment variables (no hardcoded paths)"
      },
      {
        "title": "Inspiration",
        "body": "Based on research from HKUDS/ClawWork on economic incentives for AI agents. Adapted for OpenClaw agent systems."
      },
      {
        "title": "License",
        "body": "MIT"
      },
      {
        "title": "Author",
        "body": "OpenClaw Community"
      },
      {
        "title": "Version",
        "body": "1.0.0"
      }
    ],
    "body": "AI Economic Tracker\n\nTrack daily costs, income, and net worth for AI agents. Implements economic pressure-driven decision making: \"work or learn\" based on financial runway.\n\nInspired by HKUDS/ClawWork research on economic incentives for AI agents.\n\nFeatures\nBalance Tracking: Monitor current balance, total income, and total costs\nSurvival Status: Automatic status classification (thriving/stable/struggling/critical/bankrupt)\nRunway Calculation: Days remaining before funds run out\nService Valuation: Estimate task value using BLS wage data\nWork/Learn Decision: Economic pressure-driven task prioritization\nDaily Reports: Formatted economic status reports\nJSONL Logs: Append-only transaction history\nUse Cases\nAgent Cost Management: Track API costs, compute resources, and operational expenses\nRevenue Tracking: Log income from completed tasks or services\nEconomic Decision Making: Decide whether to work (earn) or learn (invest) based on financial status\nService Pricing: Estimate fair pricing using US Bureau of Labor Statistics wage data\nFinancial Monitoring: Daily/weekly economic health checks\nInstallation\nclawhub install ai-economic-tracker\n\nUsage\nCommand Line\n# View current status\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py status\n\n# Daily report\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report\n\n# Initialize balance\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py init 1000.0\n\n# Record income\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py income 50.0 \"task_completion\" \"Completed data analysis\"\n\n# Record cost\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py cost 15.0 \"api_usage\" \"OpenAI API calls\"\n\n# Estimate service value\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py estimate software_developer 2.5\n\n# Get work/learn decision\npython3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py decide\n\nFrom OpenClaw Agent\n# In your agent workflow\nexec(\"python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report\")\n\nCron Integration\n\nAdd to your OpenClaw cron for daily monitoring:\n\nopenclaw cron add \"0 9 * * *\" \"python3 ~/.openclaw/workspace/skills/ai-economic-tracker/tracker.py report\" --label \"daily-economic-report\"\n\nConfiguration\n\nSet environment variables to customize:\n\n# Data directory (default: ~/.openclaw/workspace/data/economics)\nexport ECONOMIC_TRACKER_DATA_DIR=\"/custom/path/to/data\"\n\n# Daily costs (default values shown)\nexport ECONOMIC_TRACKER_ELECTRICITY_DAILY=0.50\nexport ECONOMIC_TRACKER_INTERNET_DAILY=1.50\n\n# Survival thresholds (default values shown)\nexport ECONOMIC_TRACKER_THRIVING=5000\nexport ECONOMIC_TRACKER_STABLE=1500\nexport ECONOMIC_TRACKER_STRUGGLING=500\nexport ECONOMIC_TRACKER_CRITICAL=0\n\nData Storage\n\nAll data stored in JSONL format (append-only):\n\nbalance.jsonl: Balance snapshots with timestamps\ndaily_log.jsonl: Cost transactions\nincome_log.jsonl: Income transactions\n\nDefault location: ~/.openclaw/workspace/data/economics/\n\nStatus Levels\nStatus\tBalance Range\tMeaning\n🟢 Thriving\t> $5,000\tHealthy runway, can invest in learning\n🔵 Stable\t$1,500 - $5,000\tComfortable, balanced work/learn\n🟡 Struggling\t$500 - $1,500\tLow runway, prioritize income\n🔴 Critical\t$0 - $500\tEmergency mode, work only\n💀 Bankrupt\t< $0\tOut of funds\nBLS Wage Reference\n\nBuilt-in hourly wage data for service valuation:\n\nComputer Systems Manager: $90.38/hr\nFinancial Manager: $86.76/hr\nSoftware Developer: $69.50/hr\nFinancial Analyst: $47.16/hr\nMarket Research: $38.71/hr\nData Analyst: $52.00/hr\nGeneral Operations: $64.00/hr\nCustomer Service: $22.00/hr\nWork/Learn Decision Logic\n\nThe tracker implements economic pressure-driven decision making:\n\nCritical/Struggling (< $1,500): Must work to earn money\nStable ($1,500 - $5,000): 70% work, 30% learn\nThriving (> $5,000): 50% work, 50% learn\n\nUse decide command to get recommendation based on current balance.\n\nExample Output\n📊 经济日报 | 2026-02-26\n========================================\n💰 余额: $1,234.56\n📈 总收入: $2,500.00\n📉 总支出: $1,265.44\n💵 净利润: $1,234.56\n🔥 日消耗: $2.00\n⏳ 跑道: 617 天\n🔵 状态: STABLE\n========================================\n\nDependencies\n\nZero external dependencies. Uses only Python standard library:\n\njson\nos\ndatetime\npathlib\nSecurity\nNo API keys required\nAll data stored locally\nNo network requests\nConfigurable via environment variables (no hardcoded paths)\nInspiration\n\nBased on research from HKUDS/ClawWork on economic incentives for AI agents. Adapted for OpenClaw agent systems.\n\nLicense\n\nMIT\n\nAuthor\n\nOpenClaw Community\n\nVersion\n\n1.0.0"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/dagangtj/ai-economic-tracker",
    "publisherUrl": "https://clawhub.ai/dagangtj/ai-economic-tracker",
    "owner": "dagangtj",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}