← 返回 Skills 市场
loveni

Futu Flash

作者 loveni · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
430
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install futu-flash
功能描述
抓取富途官网资讯「快讯」频道最新消息。用于用户要求“去富途快讯找最新N条(最多10条)”、“更新快讯”、“滚动刷新快讯”等场景;通过富途接口 /news-site-api/main/get-flash-list 获取并格式化返回。
使用说明 (SKILL.md)

Futu Flash Skill

使用这个 skill 时,按以下流程执行。

1) 获取最新快讯

调用接口:

  • GET https://news.futunn.com/news-site-api/main/get-flash-list?pageSize=\x3CN>
  • N 默认 10,最大 10。

请求头至少带:

  • User-Agent: Mozilla/5.0
  • Referer: https://news.futunn.com/main/live
  • Accept: application/json, text/plain, */*
  • Accept-Language: zh-CN,zh;q=0.9

优先用脚本:scripts/fetch_futu_flash.py

2) 解析字段

从响应中读取:

  • 顶层:code(应为 0)
  • 列表:data.data.news(数组)

每条快讯常用字段:

  • id
  • time(Unix 秒级时间戳)
  • title(常为空)
  • content(主要内容)
  • detailUrl(详情页)

显示文本时使用:

  • text = title or content

3) 时间与输出

  • time 转为北京时间(UTC+8)输出。
  • 按接口顺序返回(通常已是最新在前)。
  • 输出条数:默认 10;若用户指定条数,返回 min(用户要求, 10)

建议输出格式:

  1. YYYY-MM-DD HH:mm:ss + 文本
  2. 保留原顺序编号

4) 异常处理

  • HTTP 非 200:返回抓取失败与状态码。
  • JSON 解析失败:返回“接口返回非 JSON”。
  • code != 0 或列表为空:返回“暂无快讯/接口异常”。
  • 若用户要求 >10 条,明确说明“富途接口当前流程按最多10条返回”。

5) 备注

  • 页面 https://news.futunn.com/main/live 本身可能被反爬或返回无效内容,优先直连接口。
  • 不要编造快讯内容;只返回接口真实数据。
安全使用建议
This skill appears coherent and safe for its stated purpose. Before installing, ensure the execution environment has Python and the 'requests' package (the included script assumes they exist) and be aware it needs outbound network access to news.futunn.com. The script's shebang contains a local absolute path which may not exist in your environment—running it with your system Python interpreter or adjusting the shebang is recommended. Also consider obeying the target site's terms of service and rate limits when using the skill.
功能分析
Type: OpenClaw Skill Name: futu-flash Version: 1.0.0 The skill is a legitimate tool for fetching financial news from the Futu (futunn.com) flash news API. The Python script (scripts/fetch_futu_flash.py) and instructions (SKILL.md) are well-defined, perform standard HTTP requests with appropriate error handling, and contain no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description describe fetching Futu '快讯' via the /news-site-api/main/get-flash-list endpoint; both SKILL.md and the included Python script call that endpoint and parse the same fields—requirements align with purpose.
Instruction Scope
SKILL.md instructs only how to call the API, which headers to send, how to parse and format results, and how to handle errors. It does not ask the agent to read unrelated files, environment variables, or send data to other endpoints.
Install Mechanism
No install spec (instruction-only). There is a Python script included that imports the 'requests' library and has a hard-coded shebang path; the skill does not declare Python/requests as dependencies so runtime may fail if the environment lacks them. This is an operational mismatch, not a security concern.
Credentials
The skill does not request any environment variables, credentials, or config paths. The script only makes outbound HTTPS requests to news.futunn.com and prints parsed JSON—no secret access or unrelated services are requested.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent system privileges. It does not modify other skills or system configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install futu-flash
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /futu-flash 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: fetch latest 7x24 flash news from Futu
元数据
Slug futu-flash
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Futu Flash 是什么?

抓取富途官网资讯「快讯」频道最新消息。用于用户要求“去富途快讯找最新N条(最多10条)”、“更新快讯”、“滚动刷新快讯”等场景;通过富途接口 /news-site-api/main/get-flash-list 获取并格式化返回。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 430 次。

如何安装 Futu Flash?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install futu-flash」即可一键安装,无需额外配置。

Futu Flash 是免费的吗?

是的,Futu Flash 完全免费(开源免费),可自由下载、安装和使用。

Futu Flash 支持哪些平台?

Futu Flash 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Futu Flash?

由 loveni(@loveni)开发并维护,当前版本 v1.0.0。

💬 留言讨论