技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
analysis【数据与研究】Guide Kalshi, Polymarket, and cross-venue analysis workflows for prediction-market-analysis.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for anything that runs, interprets, or extends the repo's analysis classes.
It covers both the menu-driven CLI and the Python Analysis framework.
Analysis, AnalysisOutput, or ChartConfig.Analysis.save() output formats and ChartConfig JSON export.sub-skills/indexing/.sub-skills/data-ops/.../../references/analysis-catalog.md for the full analysis list.../../references/api-reference.md for the Analysis and ChartConfig APIs.../../references/data-layout.md for the required Parquet inputs.../../references/troubleshooting.md for cross-cutting failures.scripts/catalog.py.uv run main.py analyze <name> or the equivalent wrapper.output/<analysis-name>.*.Use these when the task is about price calibration, mispricing, or expected value:
win_rate_by_pricemispricing_by_pricewin_rate_by_trade_sizeev_yes_vs_noTypical inputs:
data/kalshi/trades/, data/kalshi/markets/.
Use these when the task is about temporal trends or notional volume:
returns_by_hourvwap_by_hourvolume_over_timelongshot_volume_share_over_timekalshi_calibration_deviation_over_timemaker_taker_gap_over_timeTypical inputs:
data/kalshi/trades/, sometimes data/kalshi/markets/.
Use these when the task compares makers and takers, direction, or category grouping:
trade_size_by_rolemaker_returns_by_directionmaker_win_rate_by_directionmaker_vs_taker_returnsmaker_taker_returns_by_categorymarket_typesyes_vs_no_by_pricemeta_statsstatistical_testsTypical inputs:
data/kalshi/trades/, data/kalshi/markets/, and src.analysis.kalshi.util.categories.
Use these when the task is about Polymarket calibration, volume, or block-level trade history:
polymarket_win_rate_by_pricepolymarket_calibration_by_bucketpolymarket_volume_over_timepolymarket_trades_over_timeTypical inputs:
data/polymarket/trades/, data/polymarket/legacy_trades/, data/polymarket/markets/, data/polymarket/blocks/, and data/polymarket/fpmm_collateral_lookup.json.
Use win_rate_by_price_animated when the user wants a single workflow that compares Kalshi and Polymarket in one animated calibration plot.
Typical inputs:
Both platforms' data directories plus data/polymarket/blocks/ and the collateral lookup file.
Analysis.name and a human-readable description in __init__.run() or helper methods.AnalysisOutput.self.progress() for longer SQL or dataframe steps.ChartConfig helpers when the analysis should also emit JSON chart output.src.analysis.kalshi.util.categories when grouping Kalshi markets.data/ subtrees.Analysis.load() returning no classes because the command was run from the wrong directory.../../scripts/catalog.py lists the analysis names without opening the interactive menu when run through the repo environment.