stock-announcements

stock-announcements is a skill for Claude Code, Codex from freestylefly/wesight. It costs 79 tokens per session (925 once invoked), scanned A, a copy of stock-announcements, MIT.

A tool for fetching official announcements from companies listed on Chinese stock exchanges. It uses East Money data through the AkShare Python library and can retrieve announcement details from PDFs.

In plain words
What is it for?
Looking up a company's announcements, monitoring recent disclosures, filtering by terms such as earnings, and extracting PDF contents.
Why use it?
It gives investors a way to find recent company disclosures and filter them by time or keyword using real market data.

Skill for Claude CodeCodex

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

Good fit Looking up a company's announcements, monitoring recent disclosures, filtering by terms such as earnings, and extracting PDF contents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/freestylefly/wesight/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 freestylefly/wesight --skill stock-announcements
Clone the repo
git clone --depth 1 https://github.com/freestylefly/wesight

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/freestylefly/wesight/stock-announcements/github.svg)](https://agentmods.dev/skills/freestylefly/wesight/stock-announcements)
Your own site
<a href="https://agentmods.dev/skills/freestylefly/wesight/stock-announcements"><img src="https://agentmods.dev/badge/skills/freestylefly/wesight/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/freestylefly/wesight/stock-announcements"><img src="https://agentmods.dev/badge/skills/freestylefly/wesight/stock-announcements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 925 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.
Origin 100% copy Near-identical to another mod 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.00079 $0.00925
Opus 5 $0.00039 $0.00463
Sonnet 5 $0.00016 $0.00185
Haiku 4.5 $0.00008 $0.00093

Measured 10d ago against content hash 7a3d91450d17, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/announcements.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.

Origin

This is a copy

100% identical to stock-announcements — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

SKILLs/stock-announcements/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stock Announcement Fetcher

获取A股上市公司的官方公告信息(真实数据),帮助投资者及时掌握重要信息披露。

真实数据保证

  • 数据来源: 东方财富网(通过AkShare开源库)
  • 更新频率: 实时(当日公告)
  • 覆盖范围: 全部A股上市公司
  • 数据质量: 官方权威数据

Dependencies

Python packages (install once):

pip install akshare pandas requests PyPDF2

When to Use This Skill

触发条件(用户提及以下任一场景时激活):

  1. 查询特定公司公告 — "查看五粮液最近的公告"、"002368有什么新公告?"
  2. 监控特定事件 — "哪些公司今天发布了业绩预告?"
  3. 投资决策辅助 — "公司有利好消息吗?"

Usage

IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.

基础查询

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858

查询最近7天

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --days 7

关键词筛选

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --keyword 业绩

JSON格式输出

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --format json

提取PDF内容并总结

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --detail

Parameters

参数 说明 示例 默认值
stock_code 股票代码(必填) 000001, 600000.SS -
--days 最近N天 7 30
--format 输出格式 json/text text
--keyword 标题关键词筛选 业绩 None
--detail 提取PDF内容并总结 false

Workflow

Step 1: 识别股票代码

用户可能提供以下任一格式:

  • 公司名称:"五粮液" → 先用 web-search 查询股票代码
  • Yahoo Finance格式:"000858.SZ" → 提取纯数字代码
  • 纯代码:"000858" → 直接传递

Step 2: 执行查询

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" <股票代码> [参数]

Step 3: 解读结果

Agent 应该:

  1. 提取关键信息(标题、类型、日期)
  2. 分类汇总(业绩类、股东类、重大合同等)
  3. 标注重要性(🔴高/🟡中/⚪低)
  4. 提供简洁解读

Limitations

  1. 只能查询当日公告 — AkShare 的 stock_notice_report 接口只返回指定日期的全部公告
  2. 查询速度约7-10秒 — 需遍历1000+条公告
  3. 中文显示乱码 — Windows PowerShell GBK编码问题,使用 --format json 可规避

Read the full file on GitHub · 114 lines

Files

What ships with it

1 file 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. 10d ago First seen · 114 lines · 79 tokens per session scan A 7a3d91450d17

Subscribe to this mod's changes

stock-announcements is a skill published in the GitHub repository freestylefly/wesight (916 stars, last pushed 16d ago), licensed MIT. It adds 79 tokens to every session and 925 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to stock-announcements, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

finance-analyst

Becomes a senior financial analyst who builds analysis frameworks, forecasting models, and budget reviews with explicit assumptions and scenario comparisons. Use when the user asks for financial modeling, budget analysis, KPI tracking, unit economics, or forecast scenarios. Do NOT use when the user needs personal…

FerroxLabs/wayland · 91 tokens

finance-balance-sheet

Generate a Balance Sheet (Statement of Financial Position) showing assets, liabilities, and owner equity at a point in time. Entity-aware equity treatment (sole-prop / partnership / LLC / S-corp / C-corp); GAAP vs tax-basis distinction. Templates only - not financial or tax advice.

FerroxLabs/wayland · 67 tokens

finance-r-and-d-credit

Form 6765 R&D Tax Credit walkthrough plus §174 capitalization rules (post-TCJA mandate, software-SMB hot topic). Inputs qualified research activities, qualified research expenses (wages, supplies, contract research), four-part test screening. Outputs 6765 prep package + §174 capitalization schedule. Templates only …

FerroxLabs/wayland · 75 tokens

finance-receivables

Analyze accounts receivable aging, calculate DSO, and generate compliant collection email sequences for overdue invoices. FDCPA / state-UDAP-aware language; intent-gated escalation; SOL-aware bad-debt write-off guidance. Ported from Anthropic's reconciliation skill, hardened for SMB liability surface.

FerroxLabs/wayland · 65 tokens

finance-1099-prep

Vendor W-9 collection workflow, 1099-NEC vs 1099-MISC vs 1099-K decision tree, contractor classification check (IRS 20-factor + ABC test embedded), TIN matching, backup withholding triggers. Templates only - not personalized tax advice.

FerroxLabs/wayland · 63 tokens

finance-sales-tax

Wayfair economic-nexus tracker, marketplace facilitator law handling, multi-state filing checklist, exemption certificate management, tax-on-shipping rules. Outputs a state-by-state nexus exposure report. Templates only - not personalized sales-tax advice.

FerroxLabs/wayland · 49 tokens