🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Chart Splat (x402)

by @bobbyg603

Generate beautiful charts by paying per request with x402 micropayments (USDC on Base) instead of an API key. Use when the user wants a chart and has no CHAR...

βš™οΈ Configuration

  • An EVM wallet with β‰₯ $0.05 USDC on Base mainnet (eip155:8453)
  • Private key exported as X402_PRIVATE_KEY (a hex string starting with 0x)
  • Node.js 20+
  • The buyer never submits an on-chain transaction directly. The Coinbase x402 facilitator handles settlement and pays gas. See references/x402-protocol.md for protocol detail.

    πŸ“‹ Tips & Best Practices

  • The CLI accepts the full Chart Splat request body via --config β€” see examples/sample-charts.json for ready-to-use samples or chartsplat.com/docs for the full schema
  • For pie/doughnut charts, pass an array of colors via --config so each segment gets a distinct color
  • Default dimensions (800x600) suit most uses; raise via options.width / options.height for presentations
  • Settlement is logged with a BaseScan URL β€” keep these for accounting
  • View on ClawHub
    TERMINAL
    clawhub install chartsplat-x402

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’