stock-announcements
Skill969 starsChanged 6 months agoMITView on GitHub
获取A股上市公司公告信息(真实数据)。基于AkShare从东方财富网获取当日全部公告,支持按股票代码筛选、关键词过滤。 适用于监控重大事件、业绩快报、股东变动、重组公告等投资决策关键信息。数据源:东方财富网(稳定可靠)。
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- netease-youdao/LobsterAIword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- netease-youdao/LobsterAI★ 6.2k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- article-writerSkill
- canvas-designSkill
- content-plannerSkill
- create-planSkill
- daily-trendingSkill
- develop-web-gameSkill
- docxSkill
- films-searchSkill
- frontend-designSkill
- imap-smtp-emailSkill
- local-toolsSkill
- music-searchSkill
- pdfSkill
- playwrightSkill
- pptxSkill
- remotion-best-practicesSkill
- seedanceSkill
- seedreamSkill
- skill-creatorSkill
- skill-vetterSkill
- stock-analyzerSkill
- stock-explorerSkill
- technology-searchSkill
- weatherSkill
- web-searchSkill
- xlsxSkill
- youdaonoteSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Stock Announcement Fetcher
获取A股上市公司的官方公告信息(真实数据),帮助投资者及时掌握重要信息披露。
真实数据保证
- 数据来源: 东方财富网(通过AkShare开源库)
- 更新频率: 实时(当日公告)
- 覆盖范围: 全部A股上市公司
- 数据质量: 官方权威数据
Dependencies
Python packages (install once):
pip install akshare pandas requests PyPDF2When to Use This Skill
触发条件(用户提及以下任一场景时激活):
- 查询特定公司公告 — "查看五粮液最近的公告"、"002368有什么新公告?"
- 监控特定事件 — "哪些公司今天发布了业绩预告?"
- 投资决策辅助 — "公司有利好消息吗?"
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 --detailParameters
| 参数 | 说明 | 示例 | 默认值 |
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 应该:
- 提取关键信息(标题、类型、日期)
- 分类汇总(业绩类、股东类、重大合同等)
- 标注重要性(🔴高/🟡中/⚪低)
- 提供简洁解读
Limitations
- 只能查询当日公告 — AkShare 的
stock_notice_report接口只返回指定日期的全部公告 - 查询速度约7-10秒 — 需遍历1000+条公告
- 中文显示乱码 — Windows PowerShell GBK编码问题,使用
--format json可规避
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

