executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
indexingGuide Kalshi and Polymarket market, trade, block, and legacy backfill workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for data-collection workflows that write Parquet chunks and resume from cursor files. It covers both API-based and blockchain-based collectors.
KalshiClient, PolymarketClient, PolygonClient, and Indexer.load().sub-skills/analysis/.sub-skills/data-ops/.../../references/indexing-catalog.md for the full indexer list.../../references/api-reference.md for the client and base-class APIs.../../references/data-layout.md for chunk paths, cursor files, and helper files.../../references/troubleshooting.md for cross-cutting failures.POLYGON_RPC for blockchain-backed collectors.uv run main.py index or directly from the Python class.kalshi_markets backfills market snapshots into chunked Parquet files.kalshi_trades fetches trades for markets discovered from the market parquet tree and skips already-processed tickers.Important details:
ParquetStorage for chunking and deduplication.trade_id.kalshi_trades only considers markets above the built-in volume threshold.polymarket_markets paginates the Gamma API with an offset cursor.polymarket_trades backfills CTF and NegRisk OrderFilled logs by block range.Important details:
data/polymarket/trades/.polymarket_blocks builds a block-to-timestamp lookup.polymarket_fpmm_trades decodes FPMMBuy and FPMMSell logs from the Polygon chain.Indexer.name and description in __init__.POLYGON_RPC for chain-backed collectors.../../scripts/catalog.py --indexers lists the indexer names without opening the interactive menu when run through the repo environment.