用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/yanacuti1121/Yana-AI --skill sports-kalshi命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Sovereign-grade safety OS for AI coding agents. 62 hooks, 2,025 skills, L1 memory, circuit breakers, and cross-engine enforcement — blocks rm -rf, force push, pipe-to-shell, and 40+ attack vectors before they reach your repo.
Use when the user wants to generate or keep repository documentation up to date via OpenWiki (langchain-ai/openwiki) — an LLM-driven CLI that writes a wiki for a codebase (or a personal knowledge base from Notion/Gmail/Slack/X/web search) and keeps it fresh via a scheduled CI pull request. Examples: "set up OpenWiki for this repo", "keep the docs updated automatically", "generate an agent wiki".
Use when implementing the core AR pipeline (camera pose estimation, marker tracking, projection overlay) from first principles — not when just using ARKit/ARCore/Unity's AR framework as a black box. Triggers on: 'build augmented reality from scratch', 'marker-based AR tracking', 'camera pose estimation', 'implement fiducial marker detection', 'AR projection matrix math', 'markerless AR tracking'. Covers marker-based vs markerless tracking, pose estimation, and the projection math to overlay 3D content on a camera feed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | sports--kalshi |
| description | | |
| origin | github.com/machina-sports/sports-skills (skill: kalshi) |
| license | MIT |
| version | 1.0.0 |
| compatibility | yana-ai >= 0.14.0 |
Before writing queries, consult references/api-reference.md for sport codes, series tickers, and command parameters.
Prefer the CLI — it avoids Python import path issues:
sports-skills kalshi search_markets --sport=nba
sports-skills kalshi get_todays_events --sport=nba
sports-skills kalshi get_sports_config
sports-skills kalshi get_markets --series_ticker=KXNBA --status=open
Python SDK (alternative):
from sports_skills import kalshi
kalshi.search_markets(sport='nba')
kalshi.search_markets(sport='nba', query='Lakers')
kalshi.get_todays_events(sport='nba')
kalshi.get_sports_config()
kalshi.get_markets(series_ticker="KXNBA", status="open")
CRITICAL: Before calling any market endpoint, verify:
sport parameter is always passed to search_markets and get_todays_events for single-game markets.status="open" is used when querying markets to exclude settled/closed markets.Without the sport parameter:
WRONG: search_markets(query="Leeds") → 0 results
RIGHT: search_markets(sport='epl', query='Leeds') → returns all Leeds markets
epl, ucl, laliga, bundesliga, seriea, ligue1, mls.last_price of 20 means 20% implied probability. Scale is 0-100 (not 0-1 like Polymarket).status="open" when querying markets, otherwise results include settled/closed markets.search_markets(sport=...), get_todays_events(sport=...), and get_sports_config() work the same way on both platforms.search_markets --sport=nba — finds all open NBA markets.--query="Lakers" to filter by keyword.get_todays_events --sport=nba — open events with nested markets.get_markets --series_ticker=<ticker> --status=openlast_price descending.search_markets --sport=nba.get_market_candlesticks --series_ticker=<s> --ticker=<t> --start_ts=<start> --end_ts=<end> --period_interval=60See references/api-reference.md for the full command list with parameters.
| Command | Description |
|---|---|
get_sports_config | Available sport codes and series tickers |
get_todays_events | Today's events for a sport with nested markets |
search_markets | Find markets by sport and/or keyword |
get_markets | Market listing (raw API) |
get_event | Event details |
get_market | Market details |
get_trades | Recent trades |
get_market_candlesticks | OHLC price history |
Example 1: NBA market search User says: "What NBA markets are on Kalshi?" Actions:
search_markets(sport='nba')
Result: All open NBA markets with yes/no prices and volumeExample 2: EPL game markets User says: "Show me Leeds vs Man City odds on Kalshi" Actions:
search_markets(sport='epl', query='Leeds')
Result: Leeds EPL markets across all EPL series with prices and volumeExample 3: Today's EPL events User says: "What EPL games are available on Kalshi?" Actions:
get_todays_events(sport='epl')
Result: Today's EPL events with nested marketsExample 4: Champions League futures User says: "Who will win the Champions League?" Actions:
search_markets(sport='ucl') or get_markets(series_ticker="KXUCL", status="open")last_price descending (price = implied probability)
Result: Top UCL contenders with yes_sub_title, last_price (%), and volumeExample 5: Market price history User says: "Show me the price history for this NBA game" Actions:
search_markets(sport='nba')get_market_candlesticks(series_ticker="KXNBA", ticker="...", start_ts=..., end_ts=..., period_interval=60)
Result: OHLC price data with volumeget_oddssearch_markets or get_markets to find market prices.get_team_scheduleget_scoresget_resultsIf a command is not listed in references/api-reference.md, it does not exist.
Error: search_markets returns 0 results
Cause: The sport parameter is missing — without it, search only returns high-volume futures and misses single-game markets
Solution: Always pass sport='<code>' to search_markets. Check references/api-reference.md for valid sport codes
Error: Markets returned include settled/expired contracts
Cause: status parameter is not set
Solution: Always pass status="open" to filter to open markets only
Error: Series ticker returns no results
Cause: The series ticker may be incorrect or have no open markets
Solution: Call get_series_list() to discover available tickers, or check references/series-tickers.md
Error: Football/soccer markets not found when searching "Football"
Cause: On Kalshi, "Football" refers to NFL — soccer uses league-specific codes
Solution: Use sport='epl', sport='ucl', sport='laliga', etc. for soccer leagues