Tooluck logoTooluck
SKILL.md

stock-announcements

Agent skill fromfreestylefly/wesight

获取A股上市公司公告信息(真实数据)。基于AkShare从东方财富网获取当日全部公告,支持按股票代码筛选、关键词过滤。 适用于监控重大事件、业绩快报、股东变动、重组公告等投资决策关键信息。数据源:东方财富网(稳定可靠)。

How to install stock-announcements

install stock-announcements
# install the wesight pack with the skills CLI
npx skills add freestylefly/wesight

# or add only this skill to Claude Code: copy the folder

SKILLs/stock-announcements/

# into

~/.claude/skills/stock-announcements/ (all projects)

.claude/skills/stock-announcements/ (one project)

SKILLs/stock-announcements/SKILL.md

MITFull file
1# Stock Announcement Fetcher
2
3获取A股上市公司的官方公告信息(真实数据),帮助投资者及时掌握重要信息披露。
4
5## 真实数据保证
6
7- **数据来源:** 东方财富网(通过AkShare开源库)
8- **更新频率:** 实时(当日公告)
9- **覆盖范围:** 全部A股上市公司
10- **数据质量:** 官方权威数据
11
12## Dependencies
13
14Python packages (install once):
15
16```bash
17pip install akshare pandas requests PyPDF2
18```
19
20## When to Use This Skill
21
22触发条件(用户提及以下任一场景时激活):
23
241. **查询特定公司公告** — "查看五粮液最近的公告"、"002368有什么新公告?"
252. **监控特定事件** — "哪些公司今天发布了业绩预告?"
263. **投资决策辅助** — "公司有利好消息吗?"
27
28## Usage
29
30**IMPORTANT:** Always use the `$SKILLS_ROOT` environment variable to locate scripts.
31
32### 基础查询
33
34```bash
35export PYTHONIOENCODING=utf-8
36python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858
37```
38
39### 查询最近7天
40
41```bash
42export PYTHONIOENCODING=utf-8
43python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --days 7
44```
45
46### 关键词筛选
47
48```bash
49export PYTHONIOENCODING=utf-8
50python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --keyword 业绩
51```
52
53### JSON格式输出
54
55```bash
56export PYTHONIOENCODING=utf-8
57python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --format json
58```
59
60### 提取PDF内容并总结
61
62```bash
63export PYTHONIOENCODING=utf-8
64python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --detail
65```
66
67## Parameters
68
69| 参数 | 说明 | 示例 | 默认值 |
70|------|------|------|--------|
71| `stock_code` | 股票代码(必填) | 000001, 600000.SS | - |
72| `--days` | 最近N天 | 7 | 30 |
73| `--format` | 输出格式 | json/text | text |
74| `--keyword` | 标题关键词筛选 | 业绩 | None |
75| `--detail` | 提取PDF内容并总结 | — | false |
76…

Excerpt shown under the repository's MIT license.

More skills in wesight

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates