{
  "markdown": "# Backtesting Arena — Agent Skill\n\n**Battle-tested market intelligence for AI agents — every claim backtested,\nversioned, and explainable. Evidence and base rates, never financial advice.**\n\nSkill package for AI agents and LLMs that need programmatic access to the\n**[Backtesting Arena](https://tradingstrategies.work)** API: daily Bitcoin /\ncrypto cycle scoring, on-chain indicators, aggregated strategy insights, and\non-demand backtests.\n\n**Three channels, one product:**\n\n| Channel | Auth | Use case |\n|---|---|---|\n| **Public** | none, fair-use cache | quick reads, no signup |\n| **REST + MCP** | Bearer API key (Free tier available) | full surface, higher quotas |\n| **x402 pay-per-call** | EIP-3009 wallet signature (USDC on Base) | autonomous agents, no account |\n\nThe full capability descriptor an agent should load is [`SKILL.md`](./skills/backtesting-arena/SKILL.md).\n\n---\n\n## Install for Claude Code / Claude Desktop\n\n```\n# Coming soon when /install-skill GA's; for now clone + reference manually:\ngit clone https://github.com/Schoasch/skill-backtesting-arena.git\n```\n\nReference `skills/backtesting-arena/SKILL.md` as a context document in your agent runtime, or use the\nMCP server directly (see below).\n\n## Quick start\n\n### 1. Cycle-aware trading bot (Bearer)\n\n```bash\ncurl https://tradingstrategies.work/api/arena-pulse/today\n# → { \"score\": 35, \"band\": \"risk-off\", ... } — no API key required\n```\n\nWant higher quotas + full surface? [Get a free Bearer key](https://tradingstrategies.work/dashboard/account/api-keys).\n\n### 2. Autonomous agent with USDC wallet (x402)\n\n```bash\n# First call returns HTTP 402 + payment instructions:\ncurl -i https://tradingstrategies.work/api/v1/agent/btc-cycle/latest\n# → 402 Payment Required, body has accepts[] with payTo, asset, amount, network\n\n# Discovery descriptor lists all paid endpoints + pricing:\ncurl https://tradingstrategies.work/.well-known/x402\n```\n\nFull Python client showing the EIP-3009 sign + retry pattern: [`examples/python-x402-client.py`](./examples/python-x402-client.py).\n\n### 3. MCP server (Claude Desktop, Cursor, etc.)\n\nTwo transports — HTTP (recommended, requires Bearer key) or stdio.\n\nHTTP variant (drop into `claude_desktop_config.json` → `mcpServers`):\n\n```json\n{\n  \"backtesting-arena\": {\n    \"url\": \"https://tradingstrategies.work/api/mcp\",\n    \"headers\": { \"Authorization\": \"Bearer sk-arena-…\" }\n  }\n}\n```\n\nFull example incl. stdio variant + Cursor config: [`examples/claude-desktop-config.json`](./examples/claude-desktop-config.json).\n\n## Examples folder\n\n| File | What |\n|---|---|\n| [`examples/curl-snippets.sh`](./examples/curl-snippets.sh) | Bash snippets for public + Bearer endpoints |\n| [`examples/python-x402-client.py`](./examples/python-x402-client.py) | Python EIP-3009 signing + retry for x402 endpoints |\n| [`examples/typescript-mcp-client.ts`](./examples/typescript-mcp-client.ts) | Connect to MCP server, list 87 tools, call one |\n| [`examples/claude-desktop-config.json`](./examples/claude-desktop-config.json) | Drop-in config for Claude Desktop / Cursor |\n\n## Discovery files (machine-readable)\n\nFor AI tooling that auto-discovers APIs:\n\n- [`/openapi.json`](https://tradingstrategies.work/openapi.json) — full OpenAPI 3.1 spec, ~70 paths, `x-x402` extension on agent endpoints\n- [`/skill.md`](https://tradingstrategies.work/skill.md) — this skill (canonical, kept in sync with this repo)\n- [`/llms.txt`](https://tradingstrategies.work/llms.txt) — LLM-friendly summary\n- [`/.well-known/api.json`](https://tradingstrategies.work/.well-known/api.json) — cross-tool discovery hub\n- [`/.well-known/x402`](https://tradingstrategies.work/.well-known/x402) — Bazaar-v2 descriptor of paid endpoints (alias `.json`)\n- [`/.well-known/ai-plugin.json`](https://tradingstrategies.work/.well-known/ai-plugin.json) — OpenAI-style plugin manifest\n\n## Pricing\n\n- **Free** — public endpoints + Free Bearer tier (30 req/h, 200/d)\n- **API Pro €9,99/mo** — 300 req/h, 3k/d, backtest triggers, larger windows\n- **API Power €29,99/mo** — 2000 req/h, 30k/d, universe-backtests (50 pairs)\n- **x402 pay-per-call** — $0.01-$0.50 USDC per call, no subscription\n\nOne subscription covers both REST and MCP channels. Pricing is reviewed\nquarterly against agent-economy benchmarks ([changelog](https://tradingstrategies.work/api)).\n\n## License\n\nMIT (this skill package). The Backtesting Arena API itself follows the\n[Terms](https://tradingstrategies.work/agb).\n\n## Operator\n\nSolo-built crypto strategy backtesting platform from Germany/Austria. Public\nsince 2026. Educational and research focus, not signal-selling.\n\nContact: info@tradingstrategies.work · Issues: [github.com/Schoasch/skill-backtesting-arena/issues](https://github.com/Schoasch/skill-backtesting-arena/issues)\n",
  "bytes": 4742,
  "sha": "1197a590203de46c121f12dff42eade5d475c3677d5ea349da7b8a49aedeb9ff",
  "repo_slug": "schoasch/skill-backtesting-arena",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_schoasch_backtesting_arena_78be84a2/readme"
}