AGENT SKILL

quotient-api

Accesses Quotient market intelligence through either x402 micropayments or API key auth, with explicit 402 challenge/settle handling when using x402.

License 许可
GPL-3.0
最近更新
2026-07-02
Stars
★ 1
Forks
0

01 前言 Front Matter

name
quotient-api
description
Accesses Quotient market intelligence through either x402 micropayments or API key auth, with explicit 402 challenge/settle handling when using x402.

02 资源文件 4

03 SKILL.md 正文

Quotient API Skill

Use this skill when an agent needs Quotient market intelligence and must execute x402 payment flows correctly.

Base URL

  • QUOTIENT_BASE_URL: https://q-api.quotient.social
  • Use this single origin for runtime requests and discovery docs (/openapi.json, /api/public/pricing, /llms.txt, /skill/*).

Access Model

  • Use x402 or API key for monetized requests.
  • Prefer Bankr wallet tooling when available.
  • Support vanilla SIWE/SIWX x402 clients as a first-class fallback.
  • Include x-quotient-api-key when available; runtime requests can be authorized via either x402 payment handling or API key auth.
  • If using Bankr signing (/agent/sign), provide a Bankr API key via X-API-Key with Agent API access enabled and signing permissions (not read-only).

Getting a Quotient API Key

  • Sign up (or log in) at https://dev.quotient.social.
  • Account creation supports:
    • email login
    • Google login
  • New accounts include free credits, so users can try the API before paying.
  • After signup/login, create or copy a Quotient API key from the Quotient account settings/developer area.
  • Pass the key to the agent via config/secrets as x-quotient-api-key (or equivalent env/secret wiring used by your client).

Operator vs Agent Signup Path

  • Preferred: human operator completes signup/login and key creation, then injects the API key into agent config.
  • Optional self-serve agent path: if your runtime supports browser automation plus secure secret storage, the agent can perform signup/login at https://dev.quotient.social, generate a key, and store it for later requests.
  • If interactive auth (email verification, Google OAuth, CAPTCHA, 2FA, policy prompts) cannot be completed programmatically, fall back to the human-operator path.

x402 API Call Checklist

  1. Send request to Quotient gateway without payment headers.
  2. If response is 402, parse PAYMENT-REQUIRED.
  3. Sign payment and retry with PAYMENT-SIGNATURE.
  4. On success, parse PAYMENT-RESPONSE.
  5. Apply retry/backoff rules for 429 and transient 5xx.

Required Preflight (Deterministic)

Before the first API call in a session, fetch these discovery endpoints:

  • /openapi.json
  • /api/public/pricing
  • Treat OpenAPI as canonical route and invocation metadata.
  • Treat pricing endpoint as supplemental billing/network metadata (assets, chains, credit mapping), and treat runtime 402 challenge data as authoritative.
  • Cache pricing metadata and refresh periodically (for example, every 15-60 minutes) or immediately when runtime 402 details differ from cache.

Canonical Endpoints and Discovery

  • OpenAPI: /openapi.json
  • Pricing discovery endpoint: GET /api/public/pricing
  • AI index: /llms.txt

Core Endpoints

  • GET /api/v1/markets - covered markets with forecast status
  • GET /api/v1/markets/mispriced - markets where Q diverges from market odds
  • GET /api/v1/markets/lookup - batch lookup by slugs or condition IDs
  • GET /api/v1/markets/{slug}/intelligence - full intelligence on a single market
  • GET /api/v1/markets/{slug}/signals - paginated analyst signals for a market

References

  • API reference: /skill/references/api-reference.md
  • Bankr-preferred x402 flow: /skill/references/bankr-preferred-flow.md
  • Vanilla x402 flow: /skill/references/vanilla-x402-flow.md
  • Error handling: /skill/references/error-handling.md

04 同仓库更多 Skills

enuno
enuno/hyperliquid-trading-firm

supermemory

Supermemory is a state-of-the-art memory and context infrastructure for AI agents. Use this skill when building applications that need persistent memory, user personalization, long-term context retention, or semantic search across knowledge bases. It provides Memory API for learned user context, User Profiles for static/dynamic facts, and RAG for semantic search. Perfect for chatbots, assistants, and knowledge-intensive applications.

★ 1
enuno
enuno/hyperliquid-trading-firm

wolverine-strategy

WOLVERINE v2.0 — HYPE alpha hunter. Entry-only scanner, DSL-exit-only architecture. v1.1 lost -22.7% because the scanner's thesis exit chopped 25/27 trades before DSL could manage them. v2.0 removes thesis exit entirely. Scanner decides entries (score 8+, 4H/1H aligned, SM consensus). DSL manages all exits (wide Phase 1 for HYPE volatility, trailing tiers starting at +15% ROE). Leverage lowered to 7x. Max 4 entries/day. 3-hour cooldown between entries. DSL exit managed by plugin runtime via runtime.yaml.

★ 1
enuno
enuno/hyperliquid-trading-firm

wolf-strategy

WOLF v6.3 — Fully autonomous multi-strategy trading for Hyperliquid perps via Senpi MCP. Manages multiple strategies simultaneously, each with independent wallets, budgets, slots, and DSL configs. 5+N cron architecture: 5 shared wolf crons (Emerging Movers 3min, SM Flip 5min, Watchdog 5min, Risk Guardian 5min, Health Check 10min) plus one DSL v5.2 cron per strategy (native Hyperliquid SL sync via dsl-dynamic-stop-loss skill v5.3.1). Same asset can be traded in different strategies simultaneously. Enter early on first jumps, not at confirmed peaks. Dynamic risk-based leverage per strategy. Requires Senpi MCP connection, python3, mcporter CLI, OpenClaw cron system, and dsl-dynamic-stop-loss skill (provides dsl-cli.py + dsl-v5.py).

★ 1
enuno
enuno/hyperliquid-trading-firm

wolf-howl

HOWL v2 — Hunt, Optimize, Win, Learn. Nightly self-improvement loop for the WOLF autonomous trading strategy. Runs once per day (via cron) to review all trades from the last 24 hours, compute win rates, analyze signal quality correlation, evaluate DSL tier performance, identify missed opportunities, and produce concrete improvement suggestions for the wolf-strategy skill. v2 adds fee drag ratio (FDR) analysis, holding period bucketing, LONG vs SHORT regime detection, rotation cost tracking, cumulative drift detection, and gross vs net profit factor separation. Use when setting up daily trade review automation, analyzing trading performance, or improving an autonomous trading strategy through data-driven feedback loops. Requires Senpi MCP connection, mcporter CLI, and OpenClaw cron system.

★ 1
enuno
enuno/hyperliquid-trading-firm

whale-index

Auto-mirror top Discovery traders on Hyperliquid. Scans top 50 traders, scores on PnL rank (35%), win rate (25%), consistency (20%), hold time (10%), drawdown (10%). Creates 2-5 mirror strategies with overlap checks. Daily rebalance with 2-day watch period before swaps. Use when setting up trader mirroring, copy trading, or portfolio auto-rebalancing based on Discovery leaderboard performance.

★ 1
enuno
enuno/hyperliquid-trading-firm

vixen-strategy

VIXEN v1.0 — Dual-mode emerging movers scanner. Built from FOX v1.6 live trading data (+34.5% ROI). Two entry modes: STALKER (steady accumulation, score 6+, catches the SM buildup BEFORE the explosion) and STRIKER (violent FIRST_JUMP, score 9+, with raw volume confirmation to filter blow-off tops). 2-hour per-asset cooldown after Phase 1 exits. DSL High Water Mode mandatory.

★ 1