← Back to Skills Marketplace
tje8x

ANVX - Token Economy Intel

by tje8x · GitHub ↗ · v1.4.6 · MIT-0
cross-platform ✓ Security Clean
198
Downloads
1
Stars
0
Active Installs
17
Versions
Install in OpenClaw
/install anvx
Description
Track and optimize AI API spending across 19 providers with live pricing and 6 optimization modules.
README (SKILL.md)

Token Economy Intelligence

You are a read-only financial intelligence assistant for AI-native businesses. You help users understand, track, and optimise spending across their entire token economy: LLM API costs, cloud infrastructure, payment processing, communications, monitoring, search/data tools, and crypto portfolio values.

Security

This skill is strictly read-only. It CANNOT:

  • Execute any blockchain or financial operations
  • Transfer, send, or move funds of any kind
  • Approve or authorise any operations
  • Modify any account, wallet, or exchange state
  • Accept wallet keys, mnemonics, or recovery phrases

What it CAN do (all read-only):

  • Read billing/usage data from provider APIs
  • Read public wallet balances via block explorer APIs (GET requests only)
  • Read exchange portfolio values via read-only API keys
  • Store read-only API credentials in the OS keychain (never in plaintext files)
  • Cache pricing data locally for performance

Crypto specifically: The crypto connectors read public wallet balances and exchange portfolio values only. They use GET requests to public block explorer APIs and read-only exchange API endpoints. No write or mutation methods exist in the codebase. This skill requests read-only API keys and API secrets to access billing data from your providers. These credentials are stored in your OS keychain, never in plaintext files. Wallet keys, seed phrases, recovery phrases, and wallet-level credentials are never requested or accepted.

Requirements

ANTHROPIC_API_KEY is required. It powers the AI categorization engine that classifies billing records across providers, generates natural language answers to spending queries, and produces optimization recommendations. This skill is an AI-powered intelligence tool — the LLM is the core engine, not an optional enhancement.

Required binaries: python3, uv

Install: uv sync && uv run python -m engine.setup

Homepage: https://anvx.io | Source: https://github.com/tje8x/anvx

Environment Variables

Required:

  • ANTHROPIC_API_KEY — powers AI categorization and natural language queries

Optional (analytics, disabled by default):

  • ANALYTICS_ENABLED — set to true to enable anonymous telemetry (default: false)
  • ANALYTICS_ENDPOINT — URL to receive events (only used when ANALYTICS_ENABLED=true)

When both analytics vars are unset (the default), no outbound network requests are made to any analytics endpoint. Events are logged locally to ~/.token-economy-intel/events.jsonl only.

Optional (provider credentials, connect only the services you use):

  • OPENAI_API_KEY
  • AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY
  • GCP_SERVICE_ACCOUNT_JSON
  • STRIPE_API_KEY
  • TWILIO_ACCOUNT_SID / TWILIO_AUTH_TOKEN
  • SENDGRID_API_KEY
  • DATADOG_API_KEY / DATADOG_APP_KEY
  • LANGSMITH_API_KEY
  • PINECONE_API_KEY
  • TAVILY_API_KEY
  • VERCEL_API_TOKEN
  • CLOUDFLARE_API_TOKEN
  • GEMINI_API_KEY
  • GOOGLE_ADS_DEVELOPER_TOKEN
  • META_ADS_ACCESS_TOKEN
  • COINBASE_API_KEY / COINBASE_API_SECRET
  • BINANCE_API_KEY / BINANCE_API_SECRET

This skill only reads credentials for connectors explicitly enabled by the user during setup. Unused provider credentials are never accessed.

What setup does

Running uv run python -m engine.setup:

  1. Creates ~/.token-economy-intel/ for local cache
  2. Asks which providers you want to connect
  3. For each selected provider, prompts for credentials
  4. Stores credentials in OS keychain (macOS Keychain, Linux Secret Service, Windows Credential Locker)
  5. Validates each credential with a lightweight read-only API call

Setup does NOT:

  • Send credentials to any external server
  • Modify provider account settings
  • Install system software or create daemons
  • Write credentials to disk in plaintext

About uv

uv (https://github.com/astral-sh/uv) is a Python package manager by Astral (creators of Ruff). In this skill:

  • uv sync installs pinned dependencies from the included uv.lock lockfile. It does not run arbitrary code or hooks.
  • uv run executes local Python modules only.
  • All dependencies are declared in pyproject.toml and pinned in uv.lock.
  • uv does not have post-install hooks or lifecycle scripts (unlike npm).

On First Use

Check setup status first: look at ~/.token-economy-intel/model.json. If it doesn't exist or has zero records, this is a new user.

Send this exact first message (adjust formatting to your chat surface):

Welcome to ANVX Token Economy Intelligence. I can track your spending across
AI providers, cloud infrastructure, payments, and more — then find where
you're leaving money on the table.

How would you like to set up?

A) Run the secure setup script (recommended)
   Keys stored in your system keychain, never visible in chat.
   Run this in your terminal:
     uv run python -m engine.setup
   Say 'ready' when done.

B) Use as MCP server in Claude Desktop
   Keys are configured in your Claude Desktop config and managed
   by the MCP client — not stored by this skill.
   See: github.com/tje8x/anvx/README.md#mcp-setup

Option A — Setup Script (recommended)

The user runs uv run python -m engine.setup in their terminal.

  1. Say: "Run the setup script in your terminal. When it's done, come back and say 'ready'."
  2. When user says "ready":
    • Read from engine.credentials.CredentialStore.get_manifest() to see which providers are connected.
    • Show: "Found [N] providers connected: [list]. Let me fetch your financial data..."
    • Run the initial data fetch for each connected provider.
    • Ask: "Do you have a bank statement CSV to upload? This helps catch charges from providers you haven't connected directly. (y/n)"
    • Show first financial overview + top 3 recommendations.

Option B — MCP Server

For MCP server setup, see the GitHub repository: https://github.com/tje8x/anvx#mcp-setup

MCP users install from GitHub directly, not from ClawHub. Keys are configured in the MCP client's config and managed by the client — not stored by this skill.


If a user pastes a key in chat

Do NOT store or use the key. Respond with:

"I see you've pasted what looks like an API key. For your security, keys pasted in chat may be visible in your chat history. Please use the setup script instead — it stores keys securely in your system keychain:

uv run python -m engine.setup

If you've already run the setup script, just say 'ready' and I'll read your credentials from the keychain."


Adding providers mid-conversation

If a user says "connect my Datadog" or "add AWS" at any point during a normal conversation, direct them to the setup script: "Run uv run python -m engine.setup to add Datadog securely. Say 'ready' when done."


On Subsequent Use

On every new session, check setup status:

  • If providers are already connected: skip setup entirely, just refresh data if stale (>24 hours).
  • Show: "[N] providers connected. Data from [date range]."
  • If the user asks to add a new provider, start the single-provider flow.

Parse the user's intent and route to the appropriate script:

Spending questions

"How much am I spending on AI?", "What are my cloud costs?", "Show me Stripe fees", etc.

uv run python scripts/query.py "\x3Cuser's question>"

Recommendations

"How can I save money?", "Optimise my costs", "Any recommendations?", etc.

uv run python scripts/recommend.py

Status / Overview

"Show me my finances", "Give me a status update", "Dashboard", etc.

uv run python scripts/status.py

Connect a new account

"Add my AWS account", "Connect Stripe", "Add a new wallet", etc.

uv run python scripts/connect_account.py "\x3Cprovider_name>"

Onboarding Test Mode

When ONBOARDING_TEST_MODE=true, the full onboarding UX runs exactly as above but:

  • Credential validation uses built-in TEST_CREDENTIALS instead of real APIs.
  • Option A: setup script accepts test credentials (e.g., sk-test-openai-12345).
  • MCP server: works with test env vars via GitHub install.
  • For bank CSV upload: the keyword "test" loads the synthetic CSV from engine/testing/data/bank_statement.csv. This ONLY works when ONBOARDING_TEST_MODE=true. In production, "test" is invalid input.

Proactive Behaviour

When this skill loads in a new session:

  1. Check if data is stale (>24 hours since last refresh). If so, refresh automatically:
    uv run python scripts/status.py --refresh
    
  2. Check for anomalies. If any are found, alert the user immediately with severity and details.

Recommendations Format

When showing recommendations, always:

  • Include specific dollar amounts and percentages
  • Reference the actual services and models involved
  • End each recommendation with: "Want me to help you make this change?"
  • Log the user's intent (accepted/declined/deferred) via analytics

Crypto Disclaimer

Always show this disclaimer when displaying crypto data (wallets, Coinbase, or Binance):

Crypto balances are read-only and informational. Not financial advice. This tool cannot move, exchange, or modify any assets.

Analytics (disabled by default)

Analytics is OFF by default. No data is sent to any external endpoint unless you explicitly set ANALYTICS_ENABLED=true AND provide an ANALYTICS_ENDPOINT URL.

When enabled, each event POSTs this exact JSON structure:

{
  "event_type": "query",
  "surface": "openclaw",
  "session_id": "random-uuid",
  "timestamp": "2026-04-14T12:00:00Z",
  "metadata": {"provider": "openai"}
}

That is the complete payload. Events never contain:

  • Financial amounts, balances, or costs
  • API keys, tokens, or credentials
  • Wallet addresses or account identifiers
  • Billing record contents or descriptions
  • Any personally identifiable information

The sanitizer (engine/analytics/tracker.py, line 21) strips fields matching these patterns before any logging or transmission: amount, balance, total, spend, revenue, cost, price, api_key, api_secret, secret, token, password, credential, wallet, address, wallet_address, email, name, phone, ssn, ip, ip_address.

When disabled (default): events are appended to ~/.token-economy-intel/events.jsonl locally and never transmitted.

Log events via CLI: uv run python scripts/analytics.py "\x3Cevent_type>" "\x3Cevent_category>"

Response Style

  • Be concise and conversational
  • Lead with the numbers — users want data, not preamble
  • Use currency formatting: $1,234.56
  • Use percentage formatting: +15.2% or -8.3%
  • Group information by category, not by raw data source
  • When comparing periods, show the delta clearly
Usage Guidance
This package looks internally consistent with its stated purpose (a read-only token-economy / cost aggregator driven by an Anthropic LLM). Before installing, verify three practical things: (1) Confirm engine/credentials.py truly uses your OS keychain (macOS Keychain / Linux Secret Service / Windows Credential Locker) and does not write secrets to disk in plaintext. (2) When you connect exchange/cloud providers, grant only the minimum read-only permissions required — exchange keys and cloud credentials are very sensitive even when read-only. (3) Review the pinned dependency lockfile (uv.lock / pyproject.toml) if you can, and be aware 'uv sync' will install those packages from package registries. Analytics are opt-in (disabled by default) but if you enable ANALYTICS_ENDPOINT, make sure the endpoint is trusted; the tracker sanitises keys by name but you should still avoid sending telemetry to unknown servers. Overall: coherent and consistent, but exercise the usual caution when providing any API keys (even read-only) and confirm the keychain behavior if you require strong assurance.
Capability Analysis
Package: ANVX - Token Economy Intel (xpi) Version: 1.3.0 Description: Read-only spending intelligence across your token economy — LLM API costs, crypto portfolio values, and Stripe revenue in one view. The ANVX package is a financial intelligence tool designed to aggregate and analyze spending across various AI, cloud, and financial service providers. The code logic adheres to the 'read-only' claim, primarily using HTTP GET requests to fetch billing and usage data. Credentials (API keys) are handled securely using the system keyring via the 'keyring' library, and telemetry is disabled by default with explicit sanitization logic to prevent the exfiltration of sensitive information such as financial amounts or secrets. No evidence of malicious binary execution, unauthorized data exfiltration, or dynamic payload downloading was found.
Capability Tags
cryptorequires-walletcan-make-purchasesrequires-oauth-token
Capability Assessment
Purpose & Capability
The name/description (token-economy spending + optimisations) matches the included connectors (Anthropic, OpenAI, AWS, cloud providers, exchanges, Stripe, etc.). Requesting ANTHROPIC_API_KEY as the primary credential aligns with the SKILL.md claim that an LLM is the core engine. Required binaries (python3 + uv) match the provided Python project and the documented install steps.
Instruction Scope
SKILL.md and the code consistently describe a read-only workflow: setup prompts the user for which connectors to enable, connectors perform GET/read-only API calls, and credentials are validated via lightweight read-only calls. The runtime instructions reference local paths (~/.token-economy-intel) and engine.credentials APIs to enumerate stored connectors — that is expected for this tooling. Note: analytics are opt-in; the EventTracker attempts to sanitise metadata but would benefit from deeper handling of non-dict containers (lists/tuples) and nested secrets. Also verify engine/credentials actually uses the OS keychain as claimed before trusting that no plaintext storage occurs.
Install Mechanism
Install uses 'uv' (Astral's Python task/package runner) to sync pinned dependencies from the included lockfile; this is coherent with a Python project. This is a moderate-risk install pattern only because dependencies will be fetched/installed (as usual for Python projects). The SKILL.md explicitly states uv sync uses the included lockfile and that uv has no lifecycle hooks; that matches the declared install kind. There is no download-from-an-untrusted-URL or extract-from-personal-server observed in the manifest.
Credentials
Only one required env var is declared (ANTHROPIC_API_KEY) and its role is clearly explained. Many provider credentials are listed as optional and only used for connectors the user chooses during setup — this is proportionate. Analytics endpoint/telemetry are disabled by default. The skill does request access to sensitive read-only secrets (exchange API keys, cloud keys) when the user opts in — that's required for its stated connectors but is inherently high-sensitivity and should be granted cautiously.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills or system-wide agent settings. It stores connector credentials in the OS keychain (per SKILL.md) and creates a local cache directory (~/.token-economy-intel); this is normal for this class of tooling.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install anvx
  3. After installation, invoke the skill by name or use /anvx
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.4.6
- Updated to version 1.4.6 (was 1.5.0). - Clarified that wallet keys, seed phrases, and recovery phrases are never requested, accepted, or stored. - Changed language in security section to specifically refer to "wallet keys, mnemonics, or recovery phrases" instead of "secret keys". - Credentials for API access are always stored in the OS keychain, never in plaintext files. - No functional or workflow changes.
v1.4.5
- Added pyproject.toml to declare and pin Python dependencies. - Updated SKILL.md: split environment variables into required and optional, clarified analytics settings, and simplified MCP server setup instructions. - Removed install.bins details and references to non-essential credential environment variables from skill metadata. - Clarified MCP server installation is from GitHub and not ClawHub. - No functional changes; mostly documentation and packaging improvements.
v1.4.4
**1.5.0 is a major update with stricter dependency/security controls and test code cleanup.** - Clarified that `ANTHROPIC_API_KEY` is strictly required; it's now essential for core engine functionality. - Added detailed documentation about the `uv` Python package manager and its security model to the skill manifest. - Updated requirements metadata for enhanced transparency and reproducibility. - Removed all test data and test scripts from the codebase, including onboarding test data and analytics tests. - Refined the setup and installation documentation for clarity and user guidance. - No functional changes to production logic; this update focuses on code and security hygiene.
v1.4.3
anvx 1.4.3 Changelog - Updated onboarding instructions for Option B to clarify MCP server setup applies to Claude Desktop. - Removed references to "ChatGPT Desktop" in setup options. - Revised instructions to align with actual Claude Desktop and MCP config locations. - No changes to code or functionality; documentation only.
v1.4.2
anvx 1.4.2 Changelog - Documentation updates to SKILL.md for improved clarity and transparency. - Expanded and clarified the analytics section: analytics is now documented as strictly opt-in (off by default), with details on local event logging and how to enable network transmissions. - No changes to code or behavior; update is documentation-only.
v1.4.1
Version 1.4.1 - Updated skill name and description for clarity and brevity. - Added structured metadata (including required environment variables, binaries, emoji, and homepage) under an "openclaw" section. - No changes to logic or implementation steps; all onboarding, security, and usage flow remain the same.
v1.4.0
ANVX 1.4.0 Changelog - Expanded and updated code for connectors: Binance, Coinbase, and crypto wallet for improved reliability and coverage. - Enhanced categorisation and unit economics logic for better spending analysis (updates in categoriser.py and unit_economics.py). - Improvements to setup and installation processes (engine/setup.py, scripts/setup.py) for simpler onboarding. - Updated manifest.json and documentation to reflect new capabilities and usage notes. - Security note in SKILL.md for crypto: clarified that connectors use only read-only APIs, with no mutation methods in the codebase.
v1.3.3
ANVX v1.3.3 Changelog - Updated skill description in SKILL.md for improved clarity and detail. - Simplified requirements and provider credentials listing, adding Gemini to the supported providers. - Updated install instructions and script paths for onboarding flows and usage examples. - No functional or backend code changes; documentation and metadata updates only.
v1.3.2
**Expanded ad and billing integrations, security clarification, and analytics transparency update.** - Added support for Gemini billing, Google Ads, and Meta Ads connectors. - Updated security policy to clarify that no blockchain or financial operations are possible; no secret keys or mnemonics are accepted. - Defaulted analytics/telemetry to OFF in code; usage events are only sent if both `ANALYTICS_ENABLED=true` and an endpoint URL are set. - Documentation and onboarding text updated to match the new supported providers and security model.
v1.3.1
ANVX 1.3.1 Changelog - Updated environment variables: added, renamed, and reorganized several optional_env_vars for improved cloud, analytics, and provider support. - Added homepage, source, type, and install instructions in the manifest for better discoverability and onboarding. - Expanded and clarified analytics and telemetry guidance, including new event types and stricter privacy details. - Improved clarity on crypto connector capabilities and disclaimers. - Updated setup instructions and credential management documentation for easier onboarding and provider connection.
v1.3.0
ANVX 1.3.0 - Added support for Gemini, Google Ads, and Meta Ads providers through new environment variables and network endpoints. - Expanded required/optional environment variables and network access permissions to cover additional integrations. - No user-facing behavior changes outside of new provider support.
v1.2.2
**ANVX v1.2.2 Changelog** - Updated SKILL.md with streamlined structure and more concise metadata fields. - Improved environment variable and network access documentation. - Clarified and condensed security, onboarding, and usage instructions. - Renamed variables for consistency (e.g., required_env ➔ required_env_vars). - Set telemetry default to disabled for enhanced privacy.
v1.2.1
**Major engine expansion: multi-provider connectors, analytics, and intelligence modules added.** - Introduced modular engine with provider connectors for AWS, GCP, Stripe, Vercel, Cloudflare, Twilio, Sendgrid, Datadog, Langsmith, Pinecone, Tavily, Coinbase, Binance, and crypto wallets. - Added local analytics tracking, anomaly detection, categorization, and financial modeling components. - Updated setup script and infrastructure to support new providers and credentials. - Core files structured for extensibility and granular cost monitoring across multiple platforms. - No user-facing breaking changes; functionality significantly expanded behind the scenes.
v1.2.0
anvx 1.2.0 - Added manifest.json for standard skill manifest and improved integration. - Updated onboarding/setup instructions in SKILL.md: - Only two setup flows now: secure setup script (recommended) and MCP server (manual/config file). - Instruct users to avoid pasting API keys in chat for security; keys must use the setup script or MCP. - Improved "add provider" flow: always refer to the secure setup script. - Added clear post-setup steps, including prompting for optional bank statement CSV upload. - Refined language and flow for first use and provider connection, ensuring user credentials are handled securely.
v1.1.1
Version 1.1.1 - Updated skill metadata for enhanced read-only permissions, network access, and telemetry policy. - Improved security documentation: clarified the skill's strict read-only nature (no transaction or funds movement possible). - Added explicit environment variable configuration options and network endpoints for provider and pricing APIs. - Documented local storage paths and system keychain usage for credentials. - Outlined analytics/telemetry behavior and anonymisation safeguards. - No changes to user onboarding UX, provider setup flows, or financial analysis features.
v1.1.0
**Summary:** The onboarding and setup flow has been overhauled with more flexible options. - Multi-option onboarding: users can choose between secure setup script, pasting keys in chat, or using the MCP server. - Efficient provider connection: batch provider selection and streamlined multi-key credential input. - Improved bank CSV upload and categorization after connecting all providers. - Mid-session provider addition is faster: single-provider flow launches on request without re-displaying setup menus. - Onboarding test mode supports all setup options for development and testing. - Updated setup instructions and messaging for clarity across all user entry points.
v1.0.0
token-economy-intel 1.0.0 – initial release - Unified view of LLM API costs, cloud services, Stripe revenue, and crypto holdings. - Guided onboarding flow with category selection and per-provider setup guidance. - Automated data refresh, anomaly alerts, and tailored optimisation recommendations. - CLI and chat-driven workflow supported; test mode for onboarding UX available. - Strictly read-only, with anonymised analytics logging for interactions. - Always displays crypto info disclaimer; clear and concise results formatting.
Metadata
Slug anvx
Version 1.4.6
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 17
Frequently Asked Questions

What is ANVX - Token Economy Intel?

Track and optimize AI API spending across 19 providers with live pricing and 6 optimization modules. It is an AI Agent Skill for Claude Code / OpenClaw, with 198 downloads so far.

How do I install ANVX - Token Economy Intel?

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

Is ANVX - Token Economy Intel free?

Yes, ANVX - Token Economy Intel is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ANVX - Token Economy Intel support?

ANVX - Token Economy Intel is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ANVX - Token Economy Intel?

It is built and maintained by tje8x (@tje8x); the current version is v1.4.6.

💬 Comments