AINow
📢 赞助位招租 · 月访问 XXXX · 联系 weixin_xxx
了解详情
返回 Skill 列表
金融投资热门

AI 实时数据校准 Skill

解决AI不知道「现在几点」和「当前股价」的核心问题。MCP工具配置+时间校准。

📋 SKILL.md 完整代码

---
name: ai-realtime-data
description: >-
  解决AI不知道「现在几点」和「当前股价」的核心问题。MCP工具配置+时间校准。
  Use when working on ai realtime data tasks.
allowed-tools: Read,Write,Bash
---

# AI 实时数据校准 Skill

## Quick Start
1. Save as `~/.claude/skills/ai-realtime-data/SKILL.md`
2. Restart Claude Code
3. Type `/ai-realtime-data` or describe your task naturally
4. Claude auto-triggers when your task matches the description

## Instructions
- Understand the user's specific context and needs
- Apply domain best practices consistently
- Provide actionable, specific guidance with examples
- Verify all outputs before presenting to user

## Gotchas
- Test with a fresh Claude instance after changes
- Keep SKILL.md under 500 lines; use references/ for details
- Description is the trigger key — make it specific and keyword-rich

🚀 怎么用

1. 复制上面的 SKILL.md 代码
2. 保存为 ~/.claude/skills/ai-realtime-data/SKILL.md
3. 重启 Claude Code
4. 输入 /ai-realtime-data 或直接描述任务触发
5. AI 自动按 Skill 流程执行

核心问题

AI 大模型的知识有截止日期,默认情况下它看不到今天的行情、不知道现在的股价。必须通过 MCP 工具让 AI 获取实时数据。没有实时数据的 AI 分析等于蒙着眼睛开车。

MCP 工具推荐

A股选择:财搭子 MCP(npx -y @caidazi/mcp@latest install)支持行情查询、市场热点。TickDB MCP 支持 A股+港股+美股+期货。美股选择:Alpha Vantage MCP(免费API Key)或 Twelve Data MCP(60+技术指标+WebSocket实时推送)。

时间校准 Skill

在分析前强制 AI 确认「今天是哪年哪月哪日」「是否是交易日」。配置 MCP Time Server 自动获取系统时间。每次分析前先核对数据 timestamp 是否在有效范围内。

验证流程

Step 1 确认工具可见→Step 2 单次查询用真实代码(如 600519.SH)→Step 3 核对 symbol/price/timestamp 合法→Step 4 确认通过后再分析。先查后写,不凭记忆。