搜索东方财富金融资讯,包括研报、新闻、公告、政策等敏感时效信息,过滤非权威来源。需设置 EASTMONEY_APIKEY 环境变量。
Ships in eastmoney-miaoxiang. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
根据用户问句搜索相关金融资讯,获取与问句相关的资讯信息(如研报、新闻、解读等),并返回可读的文本内容,可选保存到工作目录。
EASTMONEY_APIKEY是否存在:
echo $EASTMONEY_APIKEY
如果不存在,提示用户在东方财富Skills页面(https://marketing.dfcfs.com/views/finskillshub/indexuNdYscEA?appfenxiang=1)获取apikey并设置到环境变量。⚠️ 安全注意事项
- 外部请求: 本 Skill 会将用户的查询关键词(Keyword)发送至东方财富官方 API 接口 (
mkapi2.dfcfs.com) 进行解析与检索。- 数据用途: 提交的数据仅用于资讯搜索,不包含个人隐私信息。
- 凭据保护: API Key 仅通过环境变量
EASTMONEY_APIKEY在服务端或受信任的运行环境中使用,不会在前端明文暴露。
curl -X POST --location 'https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search' \
--header 'Content-Type: application/json' \
--header "apikey: $EASTMONEY_APIKEY" \
--data '{"query":"用户的查询内容"}'
当用户查询以下类型的内容时使用本skill:
| 字段路径 | 简短释义 |
|---|---|
title | 信息标题,高度概括核心内容 |
secuList | 关联证券列表,含代码、名称、类型等 |
secuList[].secuCode | 证券代码(如 002475) |
secuList[].secuName | 证券名称(如立讯精密) |
secuList[].secuType | 证券类型(如股票 / 债券) |
trunk | 信息核心正文 / 结构化数据块,承载具体业务数据 |
import os
import requests
api_key = os.getenv("EASTMONEY_APIKEY")
if not api_key:
raise ValueError("请先设置EASTMONEY_APIKEY环境变量")
url = "https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search"
headers = {
"Content-Type": "application/json",
"apikey": api_key
}
data = {
"query": "立讯精密的资讯"
}
response = requests.post(url, headers=headers, json=data)
response.raise_for_status()
result = response.json()
print(result)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
3 skills in this plugin
/eastmoney_financial_data本 Skill 基于东方财富权威数据库及最新行情底层数据构建,支持通过自然语言查询行情类数据(股票、行业、板块、指数、基金、债券的实时行情、主力资金流向、估值等)、财务类数据(上市公司基本信息、财务指标、高管信息、主营业务等)、关系与经营类数据(关联关系、企业经营数据)。避免模型基于过时知识回答金融数据问题,提供权威及时的金融数据。/eastmoney_select_stock本 Skill 支持基于股票选股条件(行情指标、财务指标等)筛选满足条件的股票;可查询指定行业/板块内的股票、上市公司,以及板块指数的成分股;同时支持股票、上市公司、板块/指数推荐等相关任务,避免大模型在选股时使用过时信息。/eastmoney-miaoxiang:eastmoney_financial_searchfrom eastmoney-miaoxiang
eastmoney-miaoxiang@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin eastmoney-miaoxiang