← ClaudeAtlas

schwab-marketdata-opslisted

Use when the user wants to call Schwab Market Data Production via the schwab-marketdata-mcp server, troubleshoot OAuth or 7-day refresh-token expiry, recover from 401/429/5xx errors, or look up the exact input/output schema for any of the 13 market-data tools (quotes×2, price_history, option_chain×2, market_hours×2, movers, search_instruments, get_instrument_by_cusip, health_check, get_server_info, get_streaming_snapshot). Use this skill instead of schwab-marketdata-workflows when the request is about a single MCP tool call or troubleshooting (not a multi-step playbook). Triggers on "Schwab quote", "Schwab price history", "Schwab option chain", "Schwab token expired", "reauthorize Schwab", "Schwab API 报错". 对于以上场景使用本 skill;面向用户的所有回答必须使用简体中文。
kevinkda/schwab-marketdata-skill · ★ 2 · AI & Automation · score 81
Install: claude install-skill kevinkda/schwab-marketdata-skill
# schwab-marketdata-ops > **Responsibility disclaimer**: 本工具调用 Schwab Market Data > Production API。用户须自行阅读 <https://www.schwab.com/legal/terms> 与 > <https://developer.schwab.com/legal>,并对其使用方式的合规性负全责。 > `schwab-marketdata-mcp` 与 `schwab-marketdata-skill` 的作者不对违反 > Schwab ToS 的使用承担责任。 ## Activation handshake (run first) 激活本 skill 时**第一步**必须调用 `get_server_info`,确认返回的 `server_version` 落在 frontmatter `compatible_mcp_version` 范围内: ```text get_server_info() → { "server_version": "0.1.x", "supported_tools": [...13 names...] } ``` 若版本不匹配或调用失败:**立即停下**,告知用户升级 `schwab-marketdata-mcp` 或本 skill,**不要**继续执行业务调用。 完整握手流程(含 token 体检): ```text 1. get_server_info() → 校验 server_version ∈ compatible_mcp_version 2. health_check() → 校验 token_state == "valid" 且 token_expires_in_days >= 0.5 3. 若任一步骤失败 → 立即停下,按 reference 修复 ``` ## Quick Start — 7 步从零到 hello-world 第一次接入或换台机器,按顺序读以下 7 个 step 文件: | Step | 文件 | 期望产出 | | ---- | ---- | -------- | | 1 | [`references/quick-start/step-1-developer-portal-app.md`](references/quick-start/step-1-developer-portal-app.md) | Schwab Developer Portal app 已创建,App Key / Secret 已拿到 | | 2 | [`references/quick-start/step-2-credentials-env.md`](references/quick-start/step-2-credentials-env.md) | `.env` 已填好(chmod 600),pre-commit 钩子已装 | | 3 | [`references/quick-start/step-3-first-oauth.md`](references/quick-start/step-3-first-oauth.md) | `token.json` 已落地(chmod 600) | | 4 | [`references/quick-start/step-4-token-health-check.md`](references/