Xpersona
C

Crypto charting with USD pricing (1s)

CLAWHUB · Unverified

Real-time streaming crypto token feed for charting with 1-second OHLC ticks and USD pricing across Arbitrum, Base, Matic, Ethereum, Solana, Binance Smart Cha...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176j9yg3ck3epn3kgfdra114d83jxn2:crypto-chart-usd
  1. Install using `clawhub skill install s176j9yg3ck3epn3kgfdra114d83jxn2:crypto-chart-usd` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/divyn/crypto-chart-usd before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-divyn-crypto-chart-usd/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

96,153 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: crypto-chart-usd
description: >
  Real-time streaming crypto token feed for charting with 1-second OHLC ticks and USD pricing
  across Arbitrum, Base, Matic, Ethereum, Solana, Binance Smart Chain, Tron, and Optimism — all
  tokens on these chains. Subscribe to a live multi-token, multi-chain stream over WebSocket:
  OHLC, volume (Base/Quote/USD), and USD pricing (OHLC, moving averages) from the Bitquery
  Trading.Tokens API.
requires:
  env:
    - name: BITQUERY_API_KEY
      required: true
      description: Your Bitquery API token (required for WebSocket connection)
---

# Crypto charting with USD pricing (1s)

This skill gives you a **real-time streaming multi-token, multi-chain crypto feed** over WebSocket for charting: **1-second** OHLC ticks, volume (Base, Quote, USD), and USD pricing (OHLC, moving averages) for **all tokens** on the supported chains. Data is streamed in real time from the Bitquery Trading.Tokens API — no polling. Default interval is **1 second** (duration 1).

**Supported networks:** Arbitrum, Base, Matic (Polygon), Ethereum, Solana, Binance Smart Chain, Tron, Optimism. The subscription returns tokens across all of these; use the `Token.Network` field to filter or group by chain.

**When to use this skill**

- **Chart multiple tokens** across chains with 1-second OHLC and USD volume
- Get **USD pricing** where available (`Price.IsQuotedInUsd`); OHLC and averages in USD
- Live multi-token, multi-chain feed for dashboards and charting (no single-token or single-network filter)

---

## What to consider before installing

This skill implements a Bitquery WebSocket Trading.Tokens stream and uses one external dependency and one credential. Before installing:

1. **Required credential**: This skill requires `BITQUERY_API_KEY` (your Bitquery API token). The registry metadata **must** declare this credential so installers are prompted to provide it. Verify the registry entry lists `BITQUERY_API_KEY` as a required environment variable.

2. **⚠️ Critical security risk — Token in WebSocket URL**: Bitquery's API does **not** support header-based auth or any method other than embedding the token in the WebSocket URL as `?token=...`. This is an **inherent design limitation** of the API, not a bug in this skill. However, it creates a **significant leakage risk**:
   - The token will **always** be present in the connection URL in memory and in any logs or captured network traffic
   - If the URL is printed, logged, captured in shell history, IDE history, proxy logs, firewall logs, or monitoring systems, the token is **exposed**
   - Once exposed, anyone with the token can impersonate your account and consume your quota
   - **Mitigation**: Store the key **only** in a secure environment variable; never print or log the full URL; rotate the key **immediately** if you suspect exposure; run in a sandboxed environment (virtualenv/container) to limit logging surface

3. **Sandbox first**: Before using this skill in production or in sh

README.md

# Crypto charting with USD pricing (1s)

Real-time multi-token, multi-chain crypto chart feed with 1-second OHLC ticks and USD pricing from the Bitquery Trading.Tokens API. Supports **Arbitrum**, **Base**, **Matic**, **Ethereum**, **Solana**, **Binance Smart Chain**, **Tron**, and **Optimism** — all tokens on these chains.

## Required

- **BITQUERY_API_KEY** — Set in your environment. The token is only supported in the WebSocket URL (`?token=...`); do not print or log the full URL. See SKILL.md for security notes.
- Python 3 and `pip install 'gql[websockets]'`

## Run the stream

```bash
python scripts/stream_crypto_chart.py
# or with timeout: python scripts/stream_crypto_chart.py --timeout 60
```

## Docs

See **SKILL.md** for full instructions, subscription shape, and output format.

_meta.json

{
  "ownerId": "kn7c0ghqdzah1gq0ax28ddjk8n82dzr2",
  "slug": "crypto-chart-usd",
  "version": "1.0.5",
  "publishedAt": 1774601246595
}

references/graphql-fields.md

# Bitquery Trading.Tokens — GraphQL Field Reference

Full reference for the fields available in the `Trading.Tokens` **query** and **subscription** on the Bitquery streaming API. For real-time streaming, use a `subscription` with the same structure (no `limit`/`orderBy`); this skill uses the subscription for the multi-token, multi-chain 1-second chart feed with USD pricing. Supported networks: Arbitrum, Base, Matic, Ethereum, Solana, Binance Smart Chain, Tron, Optimism.

## Query / Subscription Structure

```graphql
{
  Trading {
    Tokens(
      where: <FilterInput>
      limit: <LimitInput>
      orderBy: <OrderByInput>
    ) {
      Token { ... }
      Block { ... }
      Interval { ... }
      Volume { ... }
      Price { ... }
    }
  }
}
```

---

## Filters (`where`)

### Currency / Token Filters

| Filter | Description | Example |
|--------|-------------|---------|
| `Currency.Id.is` | Match a specific token by Bitquery ID | `"bid:bitcoin"` |
| `Currency.SmartContract.is` | Match by contract address | `"0xabc...def"` |
| `Currency.Symbol.is` | Match by ticker symbol | `"BTC"` |
| `Token.Network.is` | Filter by chain (see supported networks below) | `"Ethereum"`, `"Solana"` |

**Supported networks (this skill):** Arbitrum, Base, Matic, Ethereum, Solana, Binance Smart Chain, Tron, Optimism. Use `Token.Network.is` in the `where` clause to restrict to one chain.

**Common `bid:` token IDs:**
- `bid:bitcoin` — Bitcoin
- `bid:ethereum` — Ethereum

### Time / Interval Filters

| Filter | Description | Example |
|--------|-------------|---------|
| `Interval.Time.Duration.eq` | Candle duration: **1 = 1 second (tick)**; 5, 60, 1440 = minutes | `1`, `5`, `60`, `1440` |
| `Block.Time.after` | Filter data after this ISO timestamp | `"2025-01-01T00:00:00Z"` |
| `Block.Time.before` | Filter data before this ISO timestamp | `"2025-12-31T23:59:59Z"` |
| `Block.Time.between` | Array of [start, end] ISO timestamps | `["2025-01-01", "2025-02-01"]` |

---

## Sorting (`orderBy`)

```graphql
orderBy: { descending: Block_Time }   # Newest first
orderBy: { ascending: Block_Time }    # Oldest first
```

---

## Limit (`limit`)

```graphql
limit: { count: 1 }      # Latest single candle
limit: { count: 100 }    # Up to 100 candles
limit: { count: 1000 }   # Up to 1000 candles
```

---

## Output Fields

### `Token`

| Field | Type | Description |
|-------|------|-------------|
| `Address` | String | Token contract address (null for native) |
| `Id` | String | Bitquery token ID (e.g., `bid:bitcoin`) |
| `IsNative` | Boolean | True if native coin (BTC, ETH, etc.) |
| `Name` | String | Token full name |
| `Network` | String | Blockchain network (e.g., `ethereum`, `solana`) |
| `Symbol` | String | Ticker symbol (e.g., `BTC`) |
| `TokenId` | String | Internal Bitquery token ID |

### `Block`

| Field | Type | Description |
|-------|------|-------------|
| `Date` | String | Date in `YYYY-MM-DD` format |
| `Time` | String | ISO timestamp of the block |
| `Timestamp` | 

skill-card.md

## Description:

Streams real-time Bitquery Trading.Tokens data for multi-token, multi-chain crypto charting with 1-second OHLC ticks, USD volume, and USD pricing where available.

This skill is ready for commercial/non-commercial use.

## Publisher:

[divyn](https://clawhub.ai/user/divyn)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to stream live crypto market ticks into charting, monitoring, or dashboard workflows across supported chains.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The Bitquery API token is passed in the WebSocket URL and can leak through logs, shell history, network tooling, or captured URLs.

Mitigation: Store the token only in a secure environment variable, avoid printing or logging full WebSocket URLs, run in an isolated environment, and rotate the token if exposure is suspected.

Risk: The skill depends on an unpinned Python package, which can change behavior across installs.

Mitigation: Use a virtual environment or container and pin dependencies before production use.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/divyn/skills/crypto-chart-usd)
- [Bitquery Trading.Tokens GraphQL field reference](references/graphql-fields.md)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with Python and shell command examples; runtime script prints formatted text ticks.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires BITQUERY_API_KEY and outbound WebSocket access to Bitquery.]

## Skill Version(s):

1.0.5 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Crypto charting with USD pricing (1s) and adjacent AI workflows.