← 返回 Skills 市场
brs999

kalshi api

作者 Ben · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
313
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kalshi-api
功能描述
Read-only Kalshi API skill for market discovery, liquidity checks, and market validation. Use for scanning and ranking Kalshi opportunities. Pair with a sepa...
使用说明 (SKILL.md)

Kalshi API (Read-Only)

Use this skill for Kalshi scouting and market validation only.

Rules

  • Use OpenAPI read endpoints for market discovery and validation.
  • This skill does not place, amend, or cancel orders.
  • This skill does not include paper ledger execution scripts.

Primary Commands

Exchange status:

node {baseDir}/scripts/kalshi-api.mjs status --pretty

Broad market scan:

node {baseDir}/scripts/kalshi-api.mjs markets --status open --limit 1000 --pretty
node {baseDir}/scripts/kalshi-api.mjs events --limit 100 --pretty
node {baseDir}/scripts/kalshi-api.mjs series --limit 400 --pretty

Focused validation:

node {baseDir}/scripts/kalshi-api.mjs market --ticker \x3CTICKER> --pretty
node {baseDir}/scripts/kalshi-api.mjs trades --ticker \x3CTICKER> --limit 200 --pretty
node {baseDir}/scripts/kalshi-api.mjs orderbook --ticker \x3CTICKER> --pretty

Optional Integration: Paper Ledger Skill Required

If you want paper open/close workflows, install and use a separate paper-trading skill that provides the execution script. This Kalshi skill can supply candidate/market data to that separate skill.

node --experimental-strip-types skills/paper-trading/scripts/paper_trading.ts status --account kalshi --format json --pretty

Environment

Optional override (defaults to Kalshi production API):

export KALSHI_BASE_URL="https://api.elections.kalshi.com/trade-api/v2"

Tests

Run the Kalshi reader smoke tests:

node --test {baseDir}/tests/kalshi-api.test.mjs
安全使用建议
This skill appears to do only read-only Kalshi API queries and is consistent with its description. Before installing, ensure you have a trusted Node runtime and network policy in place. Be cautious about setting KALSHI_BASE_URL to arbitrary URLs (only point it to trusted Kalshi or test endpoints), and review the small included script if you want extra assurance. Because disable-model-invocation is true, the skill cannot be invoked autonomously by the model — you'll need to call it explicitly.
功能分析
Type: OpenClaw Skill Name: kalshi-api Version: 1.0.0 The kalshi-api skill is a legitimate read-only tool for querying Kalshi market data, including exchange status, market tickers, and order books. The implementation in scripts/kalshi-api.mjs is clean, uses standard Node.js fetch for GET requests to official Kalshi endpoints (api.elections.kalshi.com), and contains no evidence of credential theft, data exfiltration, or malicious command execution.
能力评估
Purpose & Capability
Name/description (read-only market discovery, liquidity checks, validation) match the included Node script and test files. The script only issues GET requests to Kalshi OpenAPI endpoints and prints JSON; required binary 'node' is appropriate and proportional.
Instruction Scope
SKILL.md restricts usage to read endpoints and documents the exact CLI commands to run. The only scope caveat is an optional KALSHI_BASE_URL environment override (documented) which can redirect requests to a different HTTP endpoint for testing — this is expected for dev/testing but could be misused if pointed at an untrusted server.
Install Mechanism
No install spec; skill is instruction + small included scripts. No remote downloads or package installs are requested, minimizing install-time risk.
Credentials
No required environment variables or credentials. The single optional env var KALSHI_BASE_URL is documented and reasonable for testing; there are no hidden env accesses in the code.
Persistence & Privilege
Skill is not always-enabled and declares disable-model-invocation: true, so it cannot be autonomously invoked by the model. It does not modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kalshi-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kalshi-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of kalshi-trades (v1.0.0): - Introduces a read-only Kalshi OpenAPI skill for market discovery, liquidity checks, and validation. - Enables users to scan, rank, and summarize Kalshi market opportunities using accessible CLI scripts. - Does not support order placement, amendment, or cancellation (no trading/execution features included). - Designed to pair with a separate skill for paper-trading execution if open/close workflows are needed. - Includes examples for broad market scans, focused market validation, and basic configuration.
元数据
Slug kalshi-api
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

kalshi api 是什么?

Read-only Kalshi API skill for market discovery, liquidity checks, and market validation. Use for scanning and ranking Kalshi opportunities. Pair with a sepa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 313 次。

如何安装 kalshi api?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kalshi-api」即可一键安装,无需额外配置。

kalshi api 是免费的吗?

是的,kalshi api 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

kalshi api 支持哪些平台?

kalshi api 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 kalshi api?

由 Ben(@brs999)开发并维护,当前版本 v1.0.0。

💬 留言讨论