mcp-query-playbook
SKILL.md
MCP Query Playbook
Purpose
Provide reusable financial query playbooks so the router can execute consistent, auditable query chains.
Tool selection and parameters must follow ~/Max/research-warehouse/docs/query-guide.md.
Each playbook defines:
question_patternprimary_toolconfirmatory_toolstop_conditionoutput_focus
Core Playbooks
1) 财报后异动归因
question_pattern: 财报后涨跌原因、业绩是否超预期、电话会关键信号primary_tool:get_earnings_callconfirmatory_tool:query_options_flow,query_technicalsstop_condition: 出现quality=error或两次连续partialoutput_focus: 管理层表述、期权行为、价格结构是否一致
2) 产业链冲击传导
question_pattern: 上游涨价/断供如何影响核心公司primary_tool:query_bottleneckconfirmatory_tool:query_supply_chain,query_companystop_condition: 关键公司字段持续缺失output_focus: 传导路径、受影响公司、活跃信号
3) 宏观冲击行业
question_pattern: 利率/通胀/风险偏好对行业或主题的影响primary_tool:query_macroconfirmatory_tool:search_semanticstop_condition: 宏观指标为空且语义检索为空output_focus: 指标方向、宏观信号、历史可比叙事
4) 机构资金动向
question_pattern: 近期是否有机构资金偏好变化primary_tool:query_etf_flowconfirmatory_tool:query_options_flowstop_condition: flow 工具连续不可用output_focus: 资金流强弱、持仓变化、异常合约
5) 个股风险排查
question_pattern: 某标的当前主要风险点是什么primary_tool:query_companyconfirmatory_tool:query_macro,query_technicalsstop_condition: 公司主数据缺失output_focus: 基本面风险、宏观暴露、技术弱化信号
6) 研报观点验证
question_pattern: 某观点是否被数据支持primary_tool:get_research_reportsconfirmatory_tool:search_semantic,query_companystop_condition: 无可用研报且检索为空output_focus: 观点共识、反例证据、数据一致性
7) 技术面与基本面冲突诊断
question_pattern: 基本面看多但走势转弱是否合理primary_tool:query_technicalsconfirmatory_tool:query_company,query_options_flowstop_condition: 技术数据为空output_focus: 趋势结构、资金行为、基本面背离解释
8) 标的发现到深挖
question_pattern: 先找标的,再挑选深入研究对象primary_tool:search_companiesconfirmatory_tool:query_company,query_supply_chainstop_condition: 搜索结果为空output_focus: 候选池、基本特征、链条位置
Quality Guardrails
- Any
quality=erroron primary tool: stop and repair input first. - Two consecutive
partial: switch to "information insufficient" mode. emptyon primary tool: try one adjacent-tool fallback only.
Parameter Canonical Rules
query_supply_chain: useentity(notticker), optionaldirection/max_depthquery_bottleneck: usedomaininmemory|photonics|packaging|power|gpuquery_options_flow: useticker+ optionaldaysquery_etf_flow: optionalticker, optionalweeksquery_technicals: useticker+ optionaldays
Output Focus Rules
- State evidence first, inference second.
- If evidence is cross-tool inconsistent, mark as unresolved.
- Always include next actionable query when confidence is low.
Command-Level Examples (rw)
First configure once:
rw setup --server-url https://your-mcp-gateway.example.com
rw doctor
财报后异动归因
rw earnings --ticker NVDA
rw options --ticker NVDA --days 30
rw technicals --ticker NVDA --days 7
产业链冲击传导
rw bottleneck --domain packaging
rw chain --entity NVDA --direction both --max-depth 3
rw company --ticker NVDA
宏观冲击行业
rw macro --days 30
rw semantic --query "semiconductor demand under high rates" --limit 5
标的发现到深挖
rw search --sector photonics --tier chokepoint
rw company --ticker LITE
rw chain --entity LITE --direction upstream
Weekly Installs
1
Repository
zz3310969/max-skillsFirst Seen
10 days ago
Security Audits
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1