stock-announcements

stock-announcements is a skill for Claude Code, Codex from FTShare-Lab/FTShare-skill. It costs 42 tokens per session (877 once invoked), scanned A, original, MIT.

A paginated lookup of announcements published by Chinese A-share listed companies. You can search by stock code or by a date range of up to three days.

In plain words
What is it for?
Use it to retrieve announcements for a selected stock or recent dates, with page and page-size controls.
Why use it?
It avoids checking each company's announcement page separately when monitoring new filings and notices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve announcements for a selected stock or recent dates, with page and page-size controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ftshare-lab/ftshare-skill/stock-announcements
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FTShare-Lab/FTShare-skill --skill stock-announcements
Clone the repo
git clone --depth 1 https://github.com/FTShare-Lab/FTShare-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stock-announcements

README.md
[![agentmods](https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-announcements/github.svg)](https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-announcements)
Your own site
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-announcements"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-announcements/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stock-announcements

Your own site · 80×15
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-announcements"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-announcements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00877
Opus 5.5 $0.00017 $0.00351
Sonnet 5.5 $0.00008 $0.00175
Haiku 4.5 $0.00004 $0.00088

Measured 11d ago against content hash 6a4cd18b191b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stock-announcements scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/handler.py, scripts/test_handler.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ftshare-market-data/sub-skills/stock-announcements/SKILL.md · 66 lines

What it actually says

A 股公告列表 / 公告正文下载

接口:GET /api/v2/market/data/announcements/stock-announcements。在线文档:《公告列表》

1. 接口描述

项目 说明
接口名称 A 股公告(stock_announcements / stock_announcements_download)
外部接口 GET /api/v2/market/data/announcements/stock-announcements(列表)GET /api/v2/market/data/announcements/stock-announcements/{url_hash}(正文 PDF)
请求方式 GET(列表用 query 参数;下载为路径参数)

同一个子 skill 两种模式:

  1. 列表模式(不带 --url-hash):按标的或日期查公告列表。
  2. 下载模式(带 --url-hash):下载该公告的正文 PDF 到本地。

必须提供 --stock-code 或 --start-date,--type 当前固定为 stock,列表模式下 --page 与 --page-size 必填。按日期范围查询时日期跨度最多 3 天。所有请求必须设置环境变量 FTSHARE_API_KEY;缺失凭据时不会发起请求。

2. 请求参数

列表模式:

参数名 类型 是否必填 描述 取值示例
stock_code string 二选一 股票代码 002142.XSHE
start_date string 二选一 起始日期 20260908
end_date string 否 结束日期 20260908
type string 否 公告类型,固定 stock stock
page int 是 页码 1
page_size int 是 每页条数 5

下载模式:

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

3. 调用方式

# 列表
python <RUN_PY> stock-announcements --start-date 20260918 --end-date 20260918 --page 1 --page-size 5

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

# 指定落盘路径
python <RUN_PY> stock-announcements --url-hash d8d54544...cf574adf --output ./ann.pdf

<RUN_PY> 为主 SKILL.md 同级 run.py 的绝对路径。列表模式输出 JSON;下载模式只向 stdout 输出落盘后的文件路径。

4. 注意事项

  • 下载用的 url_hash 须取自列表响应,勿硬编码。
  • 下载过程中半成品写在 <目标文件>.part,成功后原子改名;失败会清理半成品。
  • 落盘路径必须在当前工作目录及其子目录内,否则以非零状态退出。
  • 下载失败(HTTP 错误、网络异常、响应地址跳出基础地址)以非零状态退出并清理半成品。
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · +2 lines 6a4cd18b191b
  2. 2mo ago Changed · +47 lines · +17 tokens per session 430a4fc84142
  3. 2mo ago Changed ae4031901c74
  4. 2mo ago First seen · 17 lines · 25 tokens per session scan A 51a15dfc03cf

Subscribe to this mod's changes

stock-announcements is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 42 tokens to every session and 877 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

stock-announcements compared with skills from other repositories

stock-announcements next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stock-announcementsFTShare-Lab/FTShare-skillSkill657d agoMITA42Claude Code, Codex
tickdb-market-dataTickDB/tickdb-unified-realtime-marketdata-apiSkill95025d agoMITA165Claude Code, Codex
defeatbeta-earnings-analysisdefeat-beta/defeatbeta-apiSkill81221d agoApache-2.0A112Claude Code
bprrwilsonfreitas/awesome-quantSkill31ktodaynoneA36Claude Code, Codex
create-entrywilsonfreitas/awesome-quantSkill31ktodaynoneA43Claude Code, Codex
update-pypi-dateswilsonfreitas/awesome-quantSkill31ktodaynoneA47Claude Code, Codex
defeatbeta-earnings-previewdefeat-beta/defeatbeta-apiSkill81221d agoApache-2.0A60Claude Code, Codex