Vai al contenuto
TakoAPI
Torna alle skill

chart-image

di dannyshmueli

Image & Video Generation
5.1kDownload riportati da clawskills.sh
5Stelle
0Visualizzazioni
0 likeAccedi per mettere like a questa skill
—Non ancora valutato
La tua valutazione

Sintesi

Generate publication-quality chart images from data.

Descrizione

Cosa fa questa skill

Generates PNG or SVG chart images from JSON data using Vega-Lite. Supports line, bar, area, pie, donut, candlestick, heatmap, multi-series, and stacked charts. Runs as a pure Node.js script with no browser or native compilation required.

Unlike Puppeteer-based chart tools, it uses prebuilt Sharp binaries and generates charts in under 500ms with no browser overhead, making it suitable for Fly.io, Docker, and VPS deployments.

Quando usarla

  • Embedding price charts in trading alerts
  • Visualizing server metrics in monitoring reports
  • Generating activity heatmaps from log data
  • Plotting time series for scheduled digest emails
  • Creating candlestick charts for financial dashboards

Esempio di workflow

INPUT

User asks: Plot hourly temperature readings from today as a dark-mode line chart with change annotation

AGENT
  1. 1

    Format temperature data as a JSON array with x (time) and y (temperature) fields

  2. 2

    Run chart.mjs with --type line, --x-type temporal, --dark, --show-change, --show-values flags

  3. 3

    Set --title and --output path under /data/clawd/tmp/

  4. 4

    Send the generated PNG to the user's channel using the message tool with filePath

OUTPUT

A dark-mode line chart PNG showing temperature over time with a +/-% change label at the last data point

Installazione

clawhub install dannyshmueli/chart-image

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link