paddleocr
Reads text from scanned pages, photos and PDFs and returns it as structured Markdown or JSON, so you can pull tables, formulas and headers out of a document without retyping them. Covers many languages and works as input for AI tools.
Quant research skills for coding agents on 0xArchive data. Reverse engineer any trader, test any idea: a deterministic Rust backtester, a trial ledger, a sealed holdout and a verdict you can rerun. Plus live market data for Hyperliquid and Lighter.
Claude Code
> /plugin marketplace add 0xarchiveio/0xarchive-quant> /plugin install 0xarchive@0xarchive-quant
Codex
$ npx skills add 0xarchiveio/0xarchive-quant -a codex
Cursor
$ npx skills add 0xarchiveio/0xarchive-quant -a cursor
Gemini CLI
$ npx skills add 0xarchiveio/0xarchive-quant -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add 0xarchiveio/0xarchive-quant$ copilot plugin install 0xarchive@0xarchive-quant
OpenCode
$ npx skills add 0xarchiveio/0xarchive-quant -a opencode
Windsurf
$ npx skills add 0xarchiveio/0xarchive-quant -a windsurf


Install · How it works · The verdict · Showcases · Market data skill · Docs
Hand your coding agent a wallet, a trading idea, a Pine script, a paper or someone else's backtest. It comes back the way a careful quant desk would: a spec, the cheapest evidence first, a backtest with every cost in, and a verdict read off fixed rules, with a receipt anyone can rerun.
/0xarchive-backtest is 7-day momentum on the top 25 perps real, or luck?
0xbt data pull builds a minute dataset of Hyperliquid perps from the 0xArchive API: prices, taker flow, funding, open interest, liquidations and order activity.# Claude Code: both skills, as one plugin
claude plugin marketplace add 0xArchiveIO/0xarchive-quant
claude plugin install 0xarchive@0xarchive-quant
# The engine: prebuilt for macOS, Linux and Windows (Python 3.12+)
pip install "0xarchive-backtest[curated]"
# Data, with your key
export OXARCHIVE_API_KEY="0xa_your_api_key"
0xbt data pull --markets BTC,ETH,SOL --from 2025-06 --to 2026-09
Then ask with /0xarchive:0xarchive-backtest. Free keys read the last 30 days; longer backtests need a paid plan.
Codex, or Claude Code without the plugin
git clone https://github.com/0xArchiveIO/0xarchive-quant.git
mkdir -p .claude/skills # Codex: .agents/skills
cp -R 0xarchive-quant/skills/backtest .claude/skills/0xarchive-backtest
Then ask with /0xarchive-backtest in Claude Code or $0xarchive-backtest in Codex.
The skill routes what you hand it, writes the spec before any run, and keeps every run in a study whose last months stay sealed. A few things to ask:
| Ask | What happens |
|---|---|
| "reverse engineer 0x..." | Pulls the wallet's position changes, profiles its style, runs its book through the engine, tests skill against luck, and scores candidate rules by how much of the book they reproduce |
| "does a funding flip predict a reversal?" | Writes the claim as a spec with a kill condition, runs an event study, then a strategy through the gauntlet |
| "port this Pine script" | Ports it to the strategy API, checks the port bar by bar, then tests it |
| "audit backtest.py" | Lists lookahead, survivorship, cost and fill problems line by line, then reruns it honestly |
| "find me something in cross-sectional momentum" | A declared search with a trial budget, then one candidate committed to the sealed holdout |
Every study ends on one rung, the first whose rule fails. The rules are code in the engine, not the agent's judgment.
| Rung | Verdict | Reached when |
|---|---|---|
| 1 | loses after costs | Sharpe at or below 0 after fees and funding |
| 2 | fails nulls | the flipped signal does as well, or over 5% of random or stale runs match it |
| 3 | in-sample only | the split or walk-forward Sharpe is at or below 0 |
| 4 | holds out of sample | the deflated Sharpe over every try is under 0.95 |
| 5 | passes deflated Sharpe | not yet tested on the sealed holdout |
| 6 | passes sealed holdout | the committed candidate made money on months nobody had seen |
Every gauntlet also runs the candidate on six clock phases. A winner that loses on any of them carries a clock luck note on its card, with the range of returns, whatever its rung.
Is momentum real? The engine's 7-day momentum over the top 25 perps, 2025-03 to 2026-07: Sharpe 2.43 after costs, alpha 41% a year against BTC, no random or stale null matched it, Sharpe 1.81 out of sample. Verdict holds out of sample: over four tries its deflated Sharpe is 0.93, and the card says the best setting is a peak, not a plateau. Result hash b006441fde024786.
Can it find a trader's rules? A test where the answer is known: a book of 297 position changes across 10 markets, made by one of the engine's example strategies and written in the API's wallet format. Mirrored through the engine and scored against two candidates:
| Candidate | Same side as the trader | Daily return correlation |
|---|---|---|
| The rules that made the book | 100% of held hours | 0.97 |
| An unrelated strategy | 2.5% | -0.02 |
The mirror's random and stale nulls redraw at the trader's own holding period (detected: 168 hours), so "skill or luck" compares like with like.
The original skill: one authenticated request to one live market-data answer, with no runtime dependency beyond curl and jq.
0xArchive is granular market data infrastructure for two venues: Hyperliquid and Lighter. 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 has two deployments: mainnet (/v1/lighter) and Robinhood Chain (/v1/rh-lighter, USDG-quoted perps and spot such as AAPL-USDG). Account positions are available on Hyperliquid core, HIP-3, and both Lighter deployments.
Use this skill 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.
The Claude Code plugin from Install already includes it as /0xarchive:0xarchive. To add it on its own:
git clone https://github.com/0xArchiveIO/0xarchive-quant.git
# Claude Code: project skill
mkdir -p .claude/skills/0xarchive
cp 0xarchive-quant/skills/query/SKILL.md .claude/skills/0xarchive/SKILL.md
# ChatGPT Codex: repo-scoped skill
mkdir -p .agents/skills/0xarchive
cp 0xarchive-quant/skills/query/SKILL.md .agents/skills/0xarchive/SKILL.md
export OXARCHIVE_API_KEY="0xa_your_api_key"
For a skill available in every project, copy it to ~/.claude/skills/0xarchive/ (Claude Code) or ~/.agents/skills/0xarchive/ (ChatGPT Codex) instead. With OpenClaw: openclaw install 0xarchive.
The skill is named 0xarchive. How you call it depends on the client:
| Client | Call it with | Example |
|---|---|---|
| Claude Code | /0xarchive | /0xarchive BTC funding rate |
| ChatGPT Codex CLI or IDE extension | $0xarchive, or pick it from /skills | $0xarchive BTC funding rate |
Both clients can also load the skill on their own when a request matches its description, so a plain question such as "What is the BTC funding rate on Hyperliquid?" works too.
Expected result: current or recent 0xArchive market data, or a direct auth/configuration error.
| Agent surface | Requirement | Setup mechanic |
|---|---|---|
| Claude Code | Local skills enabled | Copy the skill into .claude/skills/0xarchive |
| ChatGPT Codex | ChatGPT Codex with skills enabled | Copy the skill into .agents/skills/0xarchive in the target repo, or into ~/.agents/skills/0xarchive for every repo |
| Both coding agents | OXARCHIVE_API_KEY, curl, and jq | Ask one question first, then expand into CLI, MCP, SDKs, or Data Catalog exports |
| OpenClaw | Optional install helper | openclaw install 0xarchive |
| No local skill support | Shell, MCP, or docs access | Use the CLI, MCP where supported, SDKs, llms.txt, OpenAPI, or markdown docs |
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.
Shown in the Claude Code form. In ChatGPT Codex, write $0xarchive in place of /0xarchive.
| Command | What you get |
|---|---|
/0xarchive BTC funding rate | Current funding rate for BTC |
/0xarchive ETH 4h candles last week | Historical OHLCV candles |
/0xarchive SOL liquidations last 24h | Recent liquidation events |
/0xarchive xyz:SP500 trades last hour | Hyperliquid HIP-3 trades |
/0xarchive system health | Data quality status across venue APIs |
/0xarchive BTC open interest on Lighter | Lighter open-interest history |
/0xarchive AAPL-USDG orderbook on Lighter Robinhood Chain | Lighter on Robinhood Chain L2 order book |
/0xarchive positions for wallet 0x... | Current Hyperliquid positions and account summary |
/0xarchive largest BTC longs | Market-wide positions for one symbol, largest first |
/0xarchive HIP-4 outcome candles last day | HIP-4 implied-probability OHLCV |
/0xarchive verify wallet 0x... | SIWE sign-in for an existing wallet account |
Reads text from scanned pages, photos and PDFs and returns it as structured Markdown or JSON, so you can pull tables, formulas and headers out of a document without retyping them. Covers many languages and works as input for AI tools.
Gives your AI assistant a memory that persists across sessions, so it remembers your preferences and earlier work in this repository instead of starting fresh. Search, forget, pause and resume memories with simple commands.
Gives AI agents a library of ready-made skills for scientific work such as metabolic flux analysis, protein experiment design, time series modeling, and analytical method validation, so research tasks need less hand-built code. It works with any agent that supports the open Agent Skills standard.
Gives Claude Code skills, agents, and commands for PostHog analytics, session replay, feature flags, error tracking, and LLM observability. Includes MCP server setup and project access checks.
Quant research skills for coding agents on 0xArchive data. Reverse engineer any trader, test any idea: a deterministic Rust backtester, a trial ledger, a sealed holdout and a verdict you can rerun. Plus live market data for Hyperliquid and Lighter. Install it with the command on its page. It includes backtest, query. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it