Etf Announcements logo

Etf Announcements

Organization
FTShare-Lab
etf-announcements

查询 ETF 公告列表(etf_announcements),或按 url_hash 下载公告正文 PDF。用户问 ETF 公告、基金公告、ETF 中期报告/年报公告、按日期查全市场 ETF 公告、要公告原文 PDF 时使用。

Overview

PublisherFTShare-Lab
RepositoryFTShare-skill
Skill nameetf-announcements
Stars
64
Forks
14
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by FTShare-Lab on GitHub. Read the source before you install it.

Installation

Install the Etf Announcements AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data/sub-skills/etf-announcements
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/FTShare-Lab/FTShare-skill.git /tmp/FTShare-skill
mkdir -p .claude/skills
cp -r /tmp/FTShare-skill/ftshare-market-data/sub-skills/etf-announcements .claude/skills/etf-announcements
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Etf Announcements in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Etf Announcements on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Etf Announcements is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ETF 公告列表

1. 接口描述

项目说明
接口名称ETF 公告列表(etf_announcements)
外部接口GET /api/v2/market/data/announcements/etf-announcements(列表)GET /api/v2/market/data/announcements/etf-announcements/{url_hash}(正文 PDF)
请求方式GET(列表用 query 参数;下载为路径参数)
适用场景按标的查单只 ETF 全部公告,或按单日日期查全市场 ETF 公告;拿到 url_hash 后可下载公告正文 PDF

同一个子 skill 三种模式:

  1. 按标的:传 etf_code,查单只 ETF 所有公告。
  2. 按日期:传 start_date(必须等于 end_date,仅支持单日),查指定日期全市场 ETF 公告。
  3. 下载正文:传 --url-hash,下载该公告的正文 PDF 到本地(url_hash 取自列表响应)。

2. 请求参数

列表模式:

参数名类型是否必填描述取值示例备注
etf_codestring二选一ETF 代码159915支持裸代码/短后缀/长后缀(159915.SZ、510300.XSHG),大小写不敏感
start_datestring二选一日期20260831YYYYMMDD;按日期查询时必填,仅支持单日
end_datestring否日期20260831不填默认等于 start_date,且必须等于 start_date
pageint是页码1必填
page_sizeint是每页条数5必填
--all-否自动翻页拉全量-仅本子 skill 扩展参数

下载模式:

参数名类型是否必填描述取值示例备注
--url-hashstring是公告文件 URL 哈希d8d54544…cf574adf取自列表响应;传入即下载
--outputstring否落盘路径./etf.pdf默认 <url_hash>.pdf;必须在当前工作目录内

3. 响应说明

外层固定为 code / message / data。data 为分页对象:pageNum / pageSize / total / pages / records。

records 元素:

字段名类型说明
etf_codestringETF 代码,6 位裸代码,不带交易所后缀
etf_namestringETF 名称
announcement_idstring公告 id
announcement_titlestring公告标题
announcement_timestring公告时间,格式 YYYY-MM-DD HH:MM:SS
url_hashstring公告文件 URL 哈希,用于下载正文文件

4. 调用方式

bash
python <RUN_PY> etf-announcements --etf-code 159915 --page 1 --page-size 5
python <RUN_PY> etf-announcements --start-date 20260831 --page 1 --page-size 20
python <RUN_PY> etf-announcements --etf-code 159915 --page 1 --page-size 20 --all

# 下载正文 PDF(默认落到当前目录的 <url_hash>.pdf)
python <RUN_PY> etf-announcements --url-hash d8d54544...cf574adf --output ./etf.pdf

<RUN_PY> 为主 SKILL.md 同级 run.py 的绝对路径。列表模式输出 JSON;下载模式只向 stdout 输出落盘后的文件路径。HTTP 错误输出到 stderr 并以非零状态退出。

5. 注意事项

  • 必须提供 etf_code 或 start_date 之一,否则服务端报错(handler 会本地校验并拒绝)。
  • 按日期查询仅支持单日:end_date 不填默认等于 start_date,填了则必须相等。
  • ETF 范围为场内 ETF,不含联接基金、LOF。
  • 下载用的 url_hash 须取自列表响应,勿硬编码。
  • 下载过程中半成品写在 <目标文件>.part,成功后原子改名;失败会清理半成品。落盘路径必须在当前工作目录及其子目录内,否则以非零状态退出。
  • 当前数据源仅覆盖深市 ETF(159 开头);查询沪市代码会返回空列表。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Etf Announcements AI skill do?

查询 ETF 公告列表(etf_announcements),或按 url_hash 下载公告正文 PDF。用户问 ETF 公告、基金公告、ETF 中期报告/年报公告、按日期查全市场 ETF 公告、要公告原文 PDF 时使用。

Why use Etf Announcements on TypingMind?

Because you install it once and use it with any model. Etf Announcements is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Etf Announcements in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data/sub-skills/etf-announcements. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Etf Announcements?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Etf Announcements?

As many as you like. As long as a model supports skills, you can use Etf Announcements with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Etf Announcements AI skill free?

Yes. It is published on GitHub by FTShare-Lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇