agentsclimarketplace

Skill

Skill alexbanda08/solana-prediction-quant/skill

Prediction-market quant infra for Solana - normalize Jupiter Prediction, Kalshi-via-DFlow, and Polymarket events/orderbooks; compute de-vig fair value and implied probability; scan cross-venue arb mispricing; enforce binary-outcome risk limits and Solana-native SPL position handling. Use for odds, fair value, mispricing, position sizing, max-loss, and unsigned prediction-market orders.From its SKILL.md

Install
npx -y skills add alexbanda08/solana-prediction-quant --skill skill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.5 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

solana-prediction-quant

Prediction-market quant infrastructure for Solana. Normalizes multi-venue events and orderbooks to a common implied-probability + USD frame, removes the bookmaker margin (de-vig) for fair value, scans for cross-venue mispricing, and gates every trade through a binary-outcome risk engine before returning an unsigned transaction.

Prior art (honest): joinQuantish/skills ships cross-venue Polymarket + Kalshi-via-DFlow discovery/trading skills. This skill differs by adding (1) de-vig fair-value math, (2) a binary-outcome / event-cluster RISK engine (full-stake max loss, correlation groups, Kelly capped per market), and (3) Jupiter Prediction venue inclusion + Solana-native SPL position handling that joinQuantish lacks.

Source precedence (read before answering)

  1. Prefer the routed VENUE leaf over memory for any endpoint, scale, or field name.
  2. Price scales are venue-specific: Jupiter 1000000 = $1.00, DFlow 10000 = $1.00, Polymarket cents (dollars 0..1). Convert everything to common 0..1 implied probability + USD via toUsd(venue, raw) / adapters in normalized-market.ts.
  3. NEVER auto-sign or auto-submit. Clients return an UNSIGNED transaction; signing and submission are delegated. See references/safety-rails.md.
  4. Delegate tx build / signing / priority fees to ../solana-dev/; delegate token swaps to the jupiter skill. See references/delegation.md.
  5. Venue maturity: Jupiter = BETA (US/KR IP-blocked); DFlow = GA but KYC-gated via Proof; Polymarket = GA but settles on Polygon (reference leg only); Epoch/Arcium = NOT-YET-INTEGRABLE (no public dev API).

Task Routing Guide

Open exactly ONE leaf per task.

User asks about XLeaf
events / odds / orderbook (Jupiter Prediction)references/venues/jupiter-prediction.md
Kalshi / SPL positions / redeem (DFlow)references/venues/dflow-kalshi.md
Polymarket book / WS / reference legreferences/venues/polymarket-direct.md
private / Arcium / Epoch venuesreferences/venues/epoch-arcium.md
fair value / de-vig / implied probabilityreferences/math/implied-probability-devig.md
cross-venue arb / mispricingreferences/strategy/cross-venue-arb.md
position sizing / risk / exposure / max lossreferences/risk/binary-outcome-risk.md
stream live prices / positionsreferences/streaming/data-stream.md
sign / submit / swapreferences/delegation.md
package / version pinsreferences/sdk-versions.md
safety / confirm-gate / capsreferences/safety-rails.md

Progressive disclosure

  • This SKILL.md is a ROUTER. Do not inline venue content here.
  • Load the SKILL body on activation -> open ONE leaf for the task -> follow that leaf's links only if it points further (e.g. a venue leaf -> delegation.md for submit).
  • Code templates live beside the leaves and export the symbols in the contract (normalized-market.ts, devig.ts, risk-engine.ts, arb-scanner.ts, venue clients, stream.ts, devig.test.ts). Reuse them; do not re-derive.

Agents

AgentUse when
agents/prediction-quant-architect.mddesigning a multi-venue strategy, risk model, or de-vig pipeline (opus)
agents/market-data-engineer.mdwiring a venue client, adapter, or stream to the normalized frame (sonnet)

Commands

CommandDoes
commands/scaffold-prediction-bot.mdscaffold a bot wiring clients, de-vig, arb scanner, risk gate, and stream
commands/check-risk-limits.mddry-run OrderIntents through the RiskEngine pre-trade gate

What ships with it: 21 files

114.4 KB alongside SKILL.md, 8 of them executable

Keep looking

Skills are one crate of 326,286. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.