教会你的 AI 智能体使用 BytNode。

七个开放技能。安装一次,你的智能体就能读对单位、遵守套餐限制并从错误中恢复。

MIT 许可开源,采用 Claude、Codex、Cursor 及 70 多个智能体都能读取的 Agent Skills 格式。

浏览仓库,无需离开本页。

公开
main0 个标签在 GitHub 打开
bytnodedocs(readme): Codex installer needs one path per skill; Windows zip command32678be2026年10月28日5 次提交

真实的 bytnode/bytnode-skills,与 GitHub 上的呈现一致。打开文件夹,阅读 SKILL.md,再返回上一级。

打开一个技能

阅读 README,从头到尾。

所有安装选项,以及技能如何与 API 保持同步。在其中滚动、打开目录,或切换到许可证。

跳转到
在 GitHub 打开

BytNode skills

Agent skills that teach an AI agent (Claude, Codex, Cursor, the BytNode-AI app…) to use BytNode, the crypto market-data API — correctly, the first time.

BytNode serves aggregated market data on the largest crypto pairs: candles and trades, order flow, derivatives (funding, open interest, basis, liquidations), options, technical indicators, on-chain, spot ETFs, macro and sentiment — over REST, a real-time WebSocket and a native MCP server. These skills carry what an agent needs to know and would otherwise get wrong: units, bucket timing, pagination, plan limits, error recovery, and how to read the numbers.

SkillUse it when the agent…
bytnode-apicalls the REST API or writes code against it (the foundation: auth, discovery, units, time, pagination, errors)
bytnode-mcpanswers questions through the BytNode MCP server's tools
bytnode-market-analysisinterprets funding, open interest, basis, CVD, liquidations, options, sentiment or macro
bytnode-history-backtestdownloads history for a backtest, a dataset or a chart
bytnode-realtime-streambuilds on the WebSocket stream (trades, liquidations, order books)
bytnode-sdkuses the official Python or TypeScript SDK
bytnode-market-briefwrites a market report or daily brief from BytNode data

Install

The seven skills follow the open Agent Skills format (one folder per skill, a SKILL.md inside), so the same files work in every agent below. Install all of them: each skill is only loaded when a task needs it.

Claude Code

Plugin marketplace (recommended — one command to update later):

/plugin marketplace add bytnode/bytnode-skills
/plugin install bytnode@bytnode

Update: /plugin marketplace update bytnode. Or, from a terminal, with the skills CLI (Node.js 18+):

npx skills add bytnode/bytnode-skills -a claude-code -g    # -g: every project (~/.claude/skills)
                                                           # without -g: this project (.claude/skills)

Codex (CLI, IDE extension, desktop app)

From a terminal:

npx skills add bytnode/bytnode-skills -a codex -g          # -g: ~/.agents/skills, every repo
                                                           # without -g: .agents/skills of this repo

Or ask Codex itself, at its prompt, with the built-in installer (it writes to ~/.codex/skills). Give it the path of each skill — a URL to the whole skills/ folder is refused:

$skill-installer install from the repo bytnode/bytnode-skills the paths skills/bytnode-api skills/bytnode-mcp skills/bytnode-market-analysis skills/bytnode-history-backtest skills/bytnode-realtime-stream skills/bytnode-sdk skills/bytnode-market-brief

One skill: $skill-installer install https://github.com/bytnode/bytnode-skills/tree/main/skills/bytnode-api.

Codex picks up new skills automatically; type /skills to check, restart Codex if one is missing.

Any other coding agent

Cursor, Gemini CLI, GitHub Copilot, OpenCode, Windsurf, Cline, Goose, Kiro, Roo Code and 70+ others:

npx skills add bytnode/bytnode-skills                      # detects your agents and asks where
npx skills add bytnode/bytnode-skills -a cursor -a gemini-cli -g   # or name them
npx skills add bytnode/bytnode-skills --list               # see the skills without installing
npx skills add bytnode/bytnode-skills --skill bytnode-api  # only one skill
npx skills update -g                                       # update later

Without Node.js, copy the folders yourself into the skills folder your agent reads (.agents/skills/ in a project is read by Codex, Cursor, Gemini CLI, Copilot, OpenCode and most others; Claude Code reads .claude/skills/):

git clone --depth 1 https://github.com/bytnode/bytnode-skills
mkdir -p ~/.agents/skills && cp -r bytnode-skills/skills/* ~/.agents/skills/
git clone --depth 1 https://github.com/bytnode/bytnode-skills
New-Item -ItemType Directory -Force "$HOME\.agents\skills" | Out-Null
Copy-Item -Recurse -Force bytnode-skills\skills\* "$HOME\.agents\skills\"

BytNode-AI app: copy the folders into ~/.bytnode-ai/skills/ (same commands, other folder).

Chat assistants (claude.ai, Claude Desktop, ChatGPT, Gemini, Mistral…)

Claude (claude.ai, desktop app): zip one skill folder per upload, then Settings → Capabilities → Skills → Upload skill (code execution must be on; the menu can sit under Customize depending on your plan). Start with bytnode-mcp and bytnode-market-analysis.

cd bytnode-skills/skills && zip -r bytnode-mcp.zip bytnode-mcp      # macOS, Linux
cd bytnode-skills\skills; Compress-Archive bytnode-mcp bytnode-mcp.zip   # Windows

Any other chatbot (no skill upload): paste the content of the SKILL.md you need into the custom instructions of a project or custom assistant, and attach its references/ files as knowledge files. For live data, also add the BytNode MCP server as a connector: https://api.bytnode.com/mcp (sign-in with OAuth on bytnode.com, no key to paste).

Then give the agent data access

  • REST, SDK, WebSocket: a key in the environment, export BYTNODE_API_KEY=cb_live_… (PowerShell: $env:BYTNODE_API_KEY="cb_live_…"), free at bytnode.com/sign-up.
  • MCP connectors (claude.ai, ChatGPT, Claude Code): add https://api.bytnode.com/mcp; they sign in with OAuth, no key. See the bytnode-mcp skill.

How the skills stay true

Everything that can drift — routes, parameters, units, error codes, snapshot fields, indicators, MCP tools — lives in references/*.generated.md, generated from the public contract (https://api.bytnode.com/openapi.json) and the MCP server card. CONTRACT.json records the contract version they were generated from. The skills never hard-code a pair count or a price: they tell the agent to ask the API (/v1/symbols, /v1/limits).

python tools/generate_references.py          # regenerate from the live contract
python tools/generate_references.py --check  # CI: fail if a generated file is stale

evals/ holds the test tasks used to check each skill (run with and without the skill) and real captured responses in evals/fixtures/.

License

MIT for the skills. The data you fetch with them is governed by your BytNode subscription.

七个技能,各司其职。

全部安装即可:智能体只会在任务需要时打开对应技能。

  • REST API基础

    调用 API 或基于它编写代码:发现、单位、桶的时间标注、分页、套餐限制与错误恢复。

    其余六个技能都以它为基础。
    bytnode-apiSKILL.md源码
  • MCP 服务器

    通过十一个 MCP 工具回答市场问题:什么问题用什么工具、套餐限制、摘要与被截断的响应。

    bytnode-mcpSKILL.md源码
  • 市场分析

    解读资金费率、持仓量、基差、CVD、爆仓、期权、情绪与宏观,不弄错单位或时间窗口。

    bytnode-market-analysisSKILL.md源码
  • 历史数据与回测

    为回测或数据集下载历史:按套餐规划、读完每一页、只保留最终行、避免前视偏差。

    bytnode-history-backtestSKILL.md源码
  • 实时数据流

    基于 WebSocket 开发:浏览器令牌、由成交构建实时 K 线、丢失消息与重连。

    bytnode-realtime-streamSKILL.md源码
  • Python 与 TypeScript SDK

    使用官方 SDK 编写代码:安装、历史数据转 pandas、错误与内置重试、数据流。

    bytnode-sdkSKILL.md源码
  • 市场简报

    撰写每日或早间市场报告:获取什么、检查什么,以及固定且注明时间的格式。

    bytnode-market-briefSKILL.md源码
  • bytnode/bytnode-skills七个技能、包含所有安装选项的 README,以及让它们与 API 保持同步的生成器。在 GitHub 查看

一行命令安装,无论智能体运行在哪里。

同一套文件适用于所有智能体。选择你的那一个。

你的智能体所有选项的分步说明见 README
  1. 在 Claude Code 中添加插件市场并安装插件(推荐):

  2. 之后更新:

  3. 或在终端中为所有项目安装(Node.js 18+):

然后为智能体接入数据。

使用 REST API、SDK 与 WebSocket 时,把密钥放进 BYTNODE_API_KEY:免费套餐无需银行卡。聊天助手则连接 MCP 服务器,并通过 OAuth 登录。

始终与 API 同步

路由、单位、错误码与 MCP 工具均由公开的 API 契约生成,从不手工复制;每个技能都与不使用它的智能体对比测试过。