feat: 股票 skill
This commit is contained in:
parent
37b1fd4010
commit
c5be12b8d3
25
skills/stocks/SKILL.md
Normal file
25
skills/stocks/SKILL.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
name: stocks
|
||||||
|
description: "当用户说「今日大盘」或「今天股票行情」或「今天 A 股涨跌情况」时触发。"
|
||||||
|
argument-hint: "无需参数,直接调用即可"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Stocks Skill
|
||||||
|
|
||||||
|
## 描述
|
||||||
|
|
||||||
|
这是一个获取当天 A 股涨跌情况的技能。当用户说「今日大盘」或「今天股票行情」或「今天 A 股涨跌情况」时触发。只能获取当天的整体涨跌情况或者某些板块的涨跌情况,个股信息。
|
||||||
|
|
||||||
|
## 触发条件
|
||||||
|
|
||||||
|
- 用户说「今日大盘」或「今天股票行情」或「今天 A 股涨跌情况」时
|
||||||
|
|
||||||
|
## 执行步骤
|
||||||
|
|
||||||
|
1. 使用 `web-page` 这个网页内容读取、自动化交互和截图技能,访问 `https://quote.eastmoney.com/stockhotmap/` 这个网页。
|
||||||
|
2. 网页上有这个类名(`topzs`)的 div 元素,展示了`上证指数`、`深证成指`、`创业板指`、`科创综指`、`北证50`的涨跌情况。你需要这些信息的时候,就从这个元素里提取出来。
|
||||||
|
3. 网页上有这个类名(`stockmap`)的 div 元素,展示了各个板块的涨跌情况。你需要这些信息的时候,就从这个元素里提取出来。
|
||||||
|
|
||||||
|
## 回复要求
|
||||||
|
|
||||||
|
- 根据上下文按需返回文字/图片
|
||||||
Loading…
Reference in New Issue
Block a user