SuperAPI AI Directory

wind-quote-skill

Data & analytics

View repository

Updated 10-15 17:27

About this skill

Wind market data query

This skill focuses on Wind market data (corresponding MCP server:vserver_wind_quote). Single responsibility, zero redundancy.

When to use

✅ Trigger scenarios:

  • Latest market data for A-share / Hong Kong stocks (latest price, change, turnover)
  • K-lines (daily / weekly / monthly / forward-adjusted / backward-adjusted)
  • Minute-level market data
  • Wind sector (industry / concept / theme / style) constituent securities

❌ Non-trigger scenarios:

  • Company financials, shareholders, announcements → please use wind-financial-data-skill
  • US stocks / European stocks / non-China-concept stocks → not supported
  • FX / futures order book / cryptocurrency → not supported
  • Non-financial data → not triggered

Workflow (3 steps)

All commands are prefixed with node ~/.claude/skills/wind-quote-skill/scripts/cli.mjs .

Step 1: List available tools

node ~/.claude/skills/wind-quote-skill/scripts/cli.mjs list-tools

Returns all tools of this server (quote_get_indicators / quote_get_kline / quote_get_minute / quote_sector_get_members_sorted), including complete inputSchema。

Step 2: Select a tool + construct parameters

Based on the user's question and tool descriptions, select the most appropriate tool and construct parameters according to inputSchema .

Step 3: Call

node ~/.claude/skills/wind-quote-skill/scripts/cli.mjs call <tool_name> '<params_json>'

Typical example

User: "Help me check the latest price of Kweichow Moutai"

# Step 1
node ~/.claude/skills/wind-quote-skill/scripts/cli.mjs list-tools
# → 4 个工具全景

# Step 3(跳过 Step 2 因为行情快照明显用 quote_get_indicators)
node ~/.claude/skills/wind-quote-skill/scripts/cli.mjs call \
  quote_get_indicators \
  '{"windcode":"600519.SH","indexes":"NAME,MATCH,PRECLOSE,OPEN,HIGH,LOW,CHANGE,CHANGERANGE,VOLUME,TURNOVER,TRADINGDATE,TIME"}'
# → 真实行情

API Key configuration (three-level fallback,shared by all wind-series skills)

Priority from high to low:

# A. 环境变量
export WIND_API_KEY=ak_xxx

# B. 本 skill 目录 config.json(仅本 skill 用)
echo '{"wind_api_key":"ak_xxx"}' > ~/.claude/skills/wind-quote-skill/config.json

# C. 全局 config(推荐:所有 wind 系列 skill 共享一份)
mkdir -p ~/.wind-aimarket && echo "WIND_API_KEY=ak_xxx" > ~/.wind-aimarket/config

Get Key: aimarket.wind.com.cn → log in → Developer Center

Common errors

Error Handling
WIND_API_KEY 未配置 Choose one of the three above
MCP 调用失败 HTTP 401 / 403 Invalid Key → regenerate in Developer Center
MCP 调用失败 HTTP 5xx Server-side exception → retry later or check status.wind.com.cn
tool not found Tool name typo, run list-tools first to confirm
params JSON 解析失败 Mind JSON escaping (double quotes, Chinese requires UTF-8)

Data source attribution

When presenting results to the user, you must add a note: 数据来源于 Wind 万得金融终端。

Self-check (before responding)

  • Is the user's questionmarket-data-related(not financials, not US stocks, not FX)? Yes → continue; No → do not trigger this skill
  • Is WIND_API_KEYconfigured? If not → guide first
  • Are the results annotated with the data source?