Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add x402agent/solana-clawd --skill dflow-kalshi-market-datagit clone --depth 1 https://github.com/x402agent/solana-clawdWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/x402agent/solana-clawd/dflow-kalshi-market-data)<a href="https://agentmods.dev/skills/x402agent/solana-clawd/dflow-kalshi-market-data"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/dflow-kalshi-market-data/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/x402agent/solana-clawd/dflow-kalshi-market-data"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/dflow-kalshi-market-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00187 | $0.02752 |
| Opus 5.5 | $0.00075 | $0.01101 |
| Sonnet 5.5 | $0.00037 | $0.00550 |
| Haiku 4.5 | $0.00019 | $0.00275 |
Grade A, and why
dflow-kalshi-market-data scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
All data endpoints in this skill run against the **Metadata API** (`https://pond.dflow.net/build/metadata-api`) — REST for snapshots and history, WebSockets for live streams. Call it from anywhere: a `curl` from the comm How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DFlow Kalshi Market Data
Pull data about a known Kalshi market (or set of markets) — orderbook, trades, prices, candles, forecasts, in-game live data — as a snapshot, a historical range, or a live stream.
Prerequisites
- DFlow docs MCP (
https://pond.dflow.net/mcp) — install per the repo README. This skill is the recipe; the MCP is the reference. Query params, pagination, exact payload schemas, WS snapshot-vs-diff semantics, and the category-specificlive_data.detailsshapes all live there — don't guess.
Surface
All data endpoints in this skill run against the Metadata API (https://pond.dflow.net/build/metadata-api) — REST for snapshots and history, WebSockets for live streams. Call it from anywhere: a curl from the command line, a Node/Python script, a cron job, a backend, or a Next.js proxy fronting a browser UI.
If the user says "run this from my terminal", don't reach for the dflow CLI — it has no market-data subcommands. Write a short HTTP/WS script against the Metadata API instead.
Pick the shape first
Three intents, three shapes. Match the user's phrasing, then pick the endpoint:
- Snapshot ("right now", "current") → REST, one call.
- History ("last hour", "between T1 and T2", "last N trades") → REST with time / limit params.
- Stream ("live", "as it happens", "alert me when") → WebSocket subscription.
Data → endpoint map
For each dataset below, the one-liner covers all three shapes. Field-level details (exact params, pagination tokens, payload schemas) → docs MCP.
Orderbook
- Snapshot:
GET /api/v1/orderbook/{ticker}or/api/v1/orderbook/by-mint/{mint}(includessequence). - Stream:
orderbookchannel (yes_bids+no_bidsmaps per update; nosequenceon the stream payload).
Trades — two endpoints, overlapping but different scopes
GET /api/v1/trades(and/trades/by-mint/{mint}) — the complete market print tape. All trades that hit Kalshi's orderbook, which includes DFlow onchain fills (those hit Kalshi's book too; see the "Do onchain trades show up on Kalshi's trade websocket?" FAQ). This is the default for "show me trades on this market." Stream equivalent:tradeschannel.GET /api/v1/onchain-trades(and/onchain-trades/by-market/{ticker},/onchain-trades/by-event/{eventTicker}) — DFlow onchain fills only, with onchain-specific fields that/tradesdoesn't carry:wallet,transactionSignature,id,inputAmount,outputAmount,createdAt. Subset of what's on/trades, but richer per-row. No WS stream.- Decision: complete tape →
/trades. Wallet-scoped activity feed, DFlow-execution analytics, tx-signature lookups →/onchain-trades. Real-time fill detection for a specific user order → parse program events directly (see/build/prediction-markets/onchain-trade-parsing).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 107 lines · 187 tokens per session scan A 7f868de5da47
dflow-kalshi-market-data is a skill published in the GitHub repository x402agent/solana-clawd (26 stars, last pushed 6mo ago), licensed MIT. It adds 187 tokens to every session and 2,752 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
dflow-kalshi-market-data compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dflow-kalshi-market-datax402agent/solana-clawd | Skill | 26 | 6mo ago | MIT | A | 187 | Claude Code, Codex |
| sector-rotationHKUDS/Vibe-Trading | Skill | 40k | today | MIT | A | 39 | Claude Code, Codex |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 9.7k | today | MIT | A | 28 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.6k | 29d ago | MIT | A | 110 | Claude Code |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.6k | today | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | yesterday | GPL-2.0 | A | 292 | Codex |