ashare-news-fetcher
抓取 A 股消息面情报:从财联社、华尔街见闻、金十、新浪 7x24、东财快讯、 证监会/央行/上交所/财政部政策公告、东方财富股吧等公开来源抓取与股票相关的 新闻、政策、情绪,输出结构化 JSON 或 Markdown。 当用户提到“A 股消息面”、“抓新闻”、“个股消息”、“政策监管”、“股吧情绪”、 “财联社”、“东财快讯”、“市场情绪”或需要把某只股票相关的公开情报聚合出来时 触发。也适用于“帮我看看 000001 最近有什么消息”这类口语化请求。
Install / Use
npx skills add daymade/claude-code-skills --skill ashare-news-fetcherInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Tags
Our assessment of ashare-news-fetcher
ashare-news-fetcher scores 89/100 on our quality scale, 518th of 1,153 Content & Media skills we index (top 45%).
Its SKILL.md is 3.0 KB long, well organised into 17 sections with 4 code examples: a solid amount of guidance for an agent.
With 1,426 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so ashare-news-fetcher is actively maintained.
- Our last check on 2026-10-31 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-03. Automated pattern scan on 2026-10-03. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
ashare-news-fetcher compared with similar skills
All 4 of these similar skills score higher than ashare-news-fetcher; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ashare-news-fetcher (this skill)by daymade | 89 | 1.4k | 53d ago | SKILL.md |
| siyuanby siyuan-note | 100 | 47.3k | today | MCP Server |
| x402by browser-use | 100 | 121.0k | 3d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 55d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 55d ago | SKILL.md |
Frequently asked questions
- How do I install ashare-news-fetcher?
- Run
npx skills add daymade/claude-code-skills --skill ashare-news-fetcher. The install tabs above show the steps for each supported agent. - Which AI agents does ashare-news-fetcher work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is ashare-news-fetcher safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ashare-news-fetcher still maintained?
- The repository was last updated about 2 months ago, so ashare-news-fetcher is actively maintained.
Skill content
View source on GitHubname: ashare-news-fetcher disable-model-invocation: true description: >- 抓取 A 股消息面情报:从财联社、华尔街见闻、金十、新浪 7x24、东财快讯、 证监会/央行/上交所/财政部政策公告、东方财富股吧等公开来源抓取与股票相关的 新闻、政策、情绪,输出结构化 JSON 或 Markdown。 当用户提到“A 股消息面”、“抓新闻”、“个股消息”、“政策监管”、“股吧情绪”、 “财联社”、“东财快讯”、“市场情绪”或需要把某只股票相关的公开情报聚合出来时 触发。也适用于“帮我看看 000001 最近有什么消息”这类口语化请求。 argument-hint: "[--sources <groups>] [--symbols <codes>] [--limit <n>]"
A 股消息面抓取
从多个公开中文财经/政策/社交来源抓取 A 股相关情报,输出结构化条目。
这个 skill 做什么
- 抓取中文财经快讯(财联社、华尔街见闻、金十、新浪 7x24、东财快讯)
- 抓取监管政策公告(证监会、央行、上交所、财政部)
- 抓取东方财富股吧的个股情绪指标
- 从标题/摘要中提取相关 A 股代码
- 输出 JSON 或 Markdown,方便后续分析、存档或喂给 LLM
能力边界
能做的:
- 输入股票代码(如
000001,600519)抓取该股股吧情绪 - 不输入代码时抓取全市场财经/政策快讯
- 按关键词过滤结果
- 输出 JSON(结构化)或 Markdown(可读)
不能做的:
- 不抓取付费/登录墙后的内容
- 不保证实时性(来源本身是公开聚合,可能有分钟级延迟)
- 不抓取交易所 L1/L2 行情(这是新闻/情绪抓取,不是行情接口)
- 不替代合规投顾研究,输出仅作信息聚合参考
前置条件
- Python 3.10+
requests(必须)beautifulsoup4(可选,只有抓取政策来源时才需要)akshare(可选,用于名称→代码匹配;没有时只用正则提取代码)jieba(可选,安装后名称匹配使用分词,降低误匹配)- 环境变量
JIN10_APP_ID(金十数据接口需要;未设置时会跳过该来源,不影响其他cn来源)
最简安装:
pip install requests
# 如需政策来源:
pip install beautifulsoup4
# 如需名称匹配:
pip install akshare
# 如需更精确的名称匹配:
pip install jieba
使用方式
方式 1:对话里直接调用
/ashare-news-fetcher 000001,600519 cn,guba
参数说明(都是可选的):
- 第一个参数:股票代码,逗号分隔,例如
000001,600519 - 第二个参数:来源组,逗号分隔,可选
cn(中文快讯)、policy(政策)、guba(股吧) - 不传参数时默认
--sources cn --limit 30
方式 2:直接运行脚本
python scripts/fetch_intel.py --sources cn,policy --limit 20
python scripts/fetch_intel.py --symbols 000001,600519 --sources guba
python scripts/fetch_intel.py --sources cn --keywords 降准,降息 --format markdown
常用选项:
--sources:来源组,默认cn--symbols:股票代码,用于guba--keywords:关键词过滤,逗号分隔--limit:每组最多返回条数,默认 30--format:json或markdown,默认json--output:输出到文件;省略则打印到 stdout--verbose:打印调试日志
信源说明
| 来源组 | 来源 | 内容类型 | 是否需要 bs4 |
|---|---|---|---|
| cn | 财联社、华尔街见闻、金十、新浪 7x24、东财快讯 | 市场快讯 | 否 |
| policy | 证监会、央行、上交所、财政部 | 政策/监管公告 | 是(证监会除外) |
| guba | 东方财富股吧 | 个股散户情绪 | 否 |
详细 API 端点和解析方式见 references/source_apis.md。
测试
测试说明与运行方式见 references/testing.md。
输出格式
JSON
每个 item 的结构见 references/output_schema.md。示例:
{
"item_id": "4ffde7bc7b18b55e",
"source_id": "cn_sina",
"source_name": "sina",
"title": "...",
"summary": "...",
"url": "...",
"category": "market",
"priority": "normal",
"tags": ["公司", "市场"],
"related_symbols": ["000001"],
"published_at": "2026-06-25 17:50:41",
"fetched_at": "2026-06-25 09:50:52",
"extra": {}
}
Markdown
按时间倒序排列,每条展示来源、时间、分类、相关代码、标签、链接和摘要。
注意事项
- 公开接口可能随时变化;脚本会跳过失败的来源,不影响其他来源。
- 如果在国内网络环境遇到请求失败,确认系统 HTTP_PROXY/HTTPS_PROXY 已指向可用代理。
guba来源对反爬较敏感,建议单次不要请求过多股票,代码之间已有 0.5s 请求间隔。- 使用金十数据(
jin10)前,建议在环境变量中配置JIN10_APP_ID;未配置时该来源会自动跳过,不影响财联社、华尔街见闻、新浪、东财等其他cn来源。export JIN10_APP_ID="your-app-id"
Next Step
拿到结构化情报后,常见的下一步是交给分析 skill 做总结或生成日报:
要不要把这些消息总结一下,生成一份 A 股消息日报?
- A) 生成 Markdown 简报(推荐)
- B) 只做情绪/关键词聚合
- C) 不需要,当前输出已足够
Related Skills
siyuan
47.3kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
x402
121.0kSet up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
