0xArchive Skill

August 22, 2026 ยท View on GitHub

Agent-ready 0xArchive market data prompts with no runtime dependency beyond curl and jq.

0xArchive is granular market data infrastructure for the Hyperliquid and Lighter.xyz venue APIs. Hyperliquid includes core perps, HIP-3 builder perps, HIP-4 outcome markets, and Hyperliquid Spot; HIP-3, HIP-4, and Spot stay under the Hyperliquid namespace. Lighter.xyz is the second top-level venue API. This repository ships the local skill package for Claude Code, ChatGPT Codex, and other skill-capable coding-agent environments.

Use this repo when Claude Code, ChatGPT Codex, or another local skill-capable coding agent needs the fastest route from X-API-Key to one live market-data answer. Use AI Clients to choose between skills, MCP, CLI, markdown docs, llms.txt, OpenAPI, and other Claude Code or ChatGPT Codex routes.

First Answer

Claude Code and ChatGPT Codex install

git clone https://github.com/0xArchiveIO/0xarchive-skill.git

# Claude Code
mkdir -p .claude/skills/0xarchive
cp 0xarchive-skill/skills/query/SKILL.md .claude/skills/0xarchive/SKILL.md

# ChatGPT Codex repo-scoped skill
mkdir -p .agents/skills/0xarchive
cp 0xarchive-skill/skills/query/SKILL.md .agents/skills/0xarchive/SKILL.md

export OXARCHIVE_API_KEY="0xa_your_api_key"

Then ask:

/0xarchive:query BTC funding rate

Expected result: current or recent 0xArchive market data, or a direct auth/configuration error.

If your workflow already manages skills through OpenClaw, install the same 0xArchive skill with:

openclaw install 0xarchive

Use the local .claude or .agents paths above for Claude Code and ChatGPT Codex installs.

Agent Integration Requirements

Agent surfaceRequirementSetup mechanic
Claude CodeLocal skills enabledClone or copy the skill into .claude/skills/0xarchive
ChatGPT CodexChatGPT Codex with skills enabledClone or copy the skill into .agents/skills/0xarchive in the target repo where applicable, or use the skill path your Codex client documents
Both coding agentsOXARCHIVE_API_KEY, curl, and jqAsk one /0xarchive query first, then expand into CLI, MCP, SDKs, or Data Catalog exports
OpenClawOptional install helperopenclaw install 0xarchive
No local skill supportShell, MCP, or docs accessUse the CLI, MCP where supported, SDKs, llms.txt, OpenAPI, or markdown docs

Standalone install

git clone https://github.com/0xArchiveIO/0xarchive-skill.git

# Claude Code
mkdir -p .claude/skills/0xarchive
cp 0xarchive-skill/skills/query/SKILL.md .claude/skills/0xarchive/SKILL.md

# ChatGPT Codex repo-scoped skill
mkdir -p .agents/skills/0xarchive
cp 0xarchive-skill/skills/query/SKILL.md .agents/skills/0xarchive/SKILL.md

export OXARCHIVE_API_KEY="0xa_your_api_key"

Then ask:

/0xarchive:query BTC orderbook

Claude Code And ChatGPT Codex

Claude Code and ChatGPT Codex should both start from the same 0xArchive product truth: one authenticated request first, then expand into deeper tooling only after the result is concrete. Use this SKILL.md package directly in skill-capable clients. When a client does not support local skills, use the same API key through the CLI, SDKs, MCP where supported, llms.txt, OpenAPI, and markdown docs.

Usage Examples

CommandWhat you get
/0xarchive:query BTC funding rateCurrent funding rate for BTC
/0xarchive:query ETH 4h candles last weekHistorical OHLCV candles
/0xarchive:query SOL liquidations last 24hRecent liquidation events
/0xarchive:query km:US500 trades last hourHyperliquid HIP-3 trades
/0xarchive:query system healthData quality status across venue APIs
/0xarchive:query BTC open interest on LighterLighter open-interest history
/0xarchive:query HIP-4 coin 0 candles last dayHIP-4 implied-probability OHLCV
/0xarchive:query sign up with wallet 0x...Web3 onboarding for a free API key

Data Available

  • Orderbooks -- Hyperliquid-family native L2 is capped at 20 levels per side. Lighter native L2 includes all served levels.
  • L4 Orderbooks -- All-level user-attributed reconstruction, diffs, and checkpoints across Hyperliquid core, Spot, HIP-3, and HIP-4.
  • L3 Orderbooks -- Lighter order-level snapshots with owner filtering, capped at 250 orders per side from March 5, 2026.
  • Orders -- Order history with user attribution, order flow aggregation, and TP/SL history on Hyperliquid families, separate from the resting L4 book.
  • Trades -- Fill-level rows. Lighter has an observed global floor of August 27, 2025, exact starts vary by market, and maker/taker context is included where served. HIP-3 served trades begin February 1, 2026.
  • Candles -- OHLCV aggregations from 1m to 1w where served. Lighter candles begin August 1, 2025; HIP-4 implied-probability candles begin May 2, 2026; Hyperliquid Spot candles begin exactly 2025-03-22T10:50:22Z and accept a maximum limit of 1000 with opaque cursors.
  • Funding Rates -- Hyperliquid core at roughly one minute. HIP-3 begins February 16, 2026; Lighter begins August 25, 2025. Both update at roughly 10 seconds. HIP-4 and Spot have no funding.
  • Open Interest -- Hyperliquid core, HIP-3, Lighter, and HIP-4 outcome-side OI. HIP-3 begins February 16, 2026; Lighter begins August 25, 2025; HIP-4 begins May 2, 2026 and updates at roughly 10 seconds.
  • Liquidations -- Completed-event history on Hyperliquid and HIP-3; Lighter live liquidation-event and aggregated-volume routes with incomplete historical metadata.
  • Price History -- Mark, oracle, and mid price over time
  • Freshness -- Per-data-type lag and last-updated timestamps
  • Market Summary -- Price, funding, OI, volume, and liquidations in one call
  • Data Quality -- Coverage, latency, SLA, incidents

Install

For Claude Code or ChatGPT Codex with skills enabled, copy the skill into the local skill directory your client reads:

git clone https://github.com/0xArchiveIO/0xarchive-skill.git

# Claude Code
mkdir -p .claude/skills/0xarchive
cp 0xarchive-skill/skills/query/SKILL.md .claude/skills/0xarchive/SKILL.md

# ChatGPT Codex repo-scoped skill
mkdir -p .agents/skills/0xarchive
cp 0xarchive-skill/skills/query/SKILL.md .agents/skills/0xarchive/SKILL.md

Set your API key:

export OXARCHIVE_API_KEY="0xa_your_api_key"

Then use /0xarchive in that skill-capable client, e.g.:

/0xarchive BTC funding rate
/0xarchive ETH 4h candles last week
/0xarchive system health status

Data Catalog

For file-based historical pulls, use the Data Catalog. It lets you search markets, choose datasets and dates, see a live quote, and export zstd-compressed Parquet.

Requirements

  • An 0xArchive API key from signup
  • curl and jq available in your shell

Next Paths