Use this Skill's CLI: search tools → read inputSchema → invoke → organize results. Run with Node.js 18+; automatic updates require Git.
Search
Execute in the directory where this SKILL.md is located. On the first search, pass the user's original question verbatim to search.
node scripts/cli.mjs search "查询贵州茅台最新行情" --top-k 3
discover is an alias of search .--top-k is an integer from 1–10, default 3. Chinese or long questions can be saved as UTF-8 text and read with @<绝对路径> , or passed in via stdin with - .
From the returned structuredContent and content , read the tool names, purposes, and inputSchema. For tabular columnNames + rows , map by column name; theparams column is the target parameter definition. Select tools by underlying, date, frequency, convention, fields, and count; definitions that still apply to the current task can be reused, and re-search when the tool or parameters change.
Searchable tools vary with account permissions. If candidates are insufficient, increase topK and search again with the original question; if there are conditions or data not yet covered, construct supplementary queries for the missing items, retaining the relevant underlying, date, convention, and filter constraints, then search and invoke applicable tools. When there are no new leads, do not repeat the same search.
Invoke
node scripts/cli.mjs call <搜索返回的toolName> @<参数JSON绝对路径>
The parameter file should contain only the target tool's JSON object. The CLI wraps it as market_call_tool of toolName and the string arguments. Parameter names, types, enums, and required items follow this inputSchema: keep arrays as arrays and numeric strings in quotes.
For example, when the online definition requires windCodes: array<string>、indexes: string :
{"windCodes":["600519.SH"],"indexes":"最新成交价"}
Parameters also support inline JSON and stdin -; files and stdin support UTF-8 BOM. Using UTF-8 files in PowerShell reduces Chinese escaping. Place temporary files in the workspace or a temporary directory.
Query directly when required information is complete; clarify when necessary conditions that would affect results are missing. Identify the exact entity first when standard codes or indicator identifiers are needed. Prefer batch parameters and split according to the online per-call limit; execute dependent steps in order and reuse results. Item-by-item requests are serial by default; when the user requests concurrency, cap at 10, with server-side limits taking precedence.
Organize Results
stdout outputs the MCP results and cli_meta. Read each content and structuredContent, and parse according to the actual format of the body; financial business status is determined by the returned content. Preserve the server's original information for HTTP, JSON-RPC, and MCP errors.
Verify entities, actual data dates, fields, frequency, units, currencies, and conventions. Base answers on actual data and source materials, and state inputs and methods for calculations. Keep missing values empty and keep 0 as 0. In multi-condition filtering, comparison, or calculation tasks, verify item by item the coverage of necessary conditions and data; when items are missing, perform supplementary queries first and continue completing the task. Only after confirming that no applicable tools exist, that access is restricted, or that the required data still cannot be obtained after supplementary queries, provide clearly marked partial results listing uncovered items and reasons; objects whose all filter conditions have not been verified must not be marked as satisfying all conditions.
Fund and other tools may return Markdown tables; macro tools may return both annual and quarterly indicators; select the frequency according to the user's request. When the body contains documents or descriptions returned by tools, read them as source material.
Correct parameter errors according to the latest schema; the transport layer automatically retries tools/call once on timeout; authentication, permission, quota, and business errors are reported with their original causes.
After successfully obtaining data, annotate at the end of the reply in the user's language:
Data sourced from Wind Alice Wind Financial Data Service.
Data sourced from Wind Alice Financial Data Service.
Configuration and Updates
The CLI connects to https://mcp.wind.com.cn/vserver_wind_tools/mcp/, handling Bearer authentication, JSON/SSE, and MCP sessions. Key read order: global ~/.wind-aifinmarket/config 's WIND_API_KEY → this Skill config.json 's wind_api_key → environment variable WIND_API_KEY。
node scripts/cli.mjs open-portal
node scripts/cli.mjs setup-key <KEY> --scope global
node scripts/cli.mjs diagnose
node scripts/cli.mjs list-servers
node scripts/cli.mjs list-tools
Key acquisition entry points:https://market.windalice.com/#/user/overview。setup-key defaults to writing globally,--scope skill writes to this Skill. Invoking Agent auto-detects,--user-agent <ASCII标识> or WIND_USER_AGENT can override.diagnose displays version, configuration source, Agent identifier, and update status;WIND_TRACE=1 outputs request debugging information with the Key masked.
This Skill has built-in automatic upgrades. Aftersearch、discover or call returns a normal MCP result, the CLI automatically checks for and installs updates in the background, with no need for the user to run an update command or confirm; the current query result is returned directly.
Updates are fixed to use the main site repository https://github.com/Wind-Alice/AliceMarket.git 's main branch,skills/wind-one-mcp-skill directory. The source and path in the installation lock do not change the update target. Candidates are replaced after passing syntax, version, and transport type checks, local configuration is preserved, and subsequent CLI invocations load the new version. The check ends after success on the same day; failures back off starting at 30 minutes, up to a maximum of 6 hours.diagnose can view the installed version and update status;WIND_SKILL_AUTO_UPDATE=0 disables automatic updates.
During maintenance, you can immediately re-check and wait for completion:
node scripts/cli.mjs update --force
The command waits for the check and replacement to complete and outputs the update result; on failure it returns the specific error and a non-zero exit code.--force bypasses the same-day success record, failure backoff, and the automatic update switch.update without --force follows the check frequency described above.