ashare-news-fetcher

ashare-news-fetcher is a skill for Claude Code from daymade/claude-code-skills. It costs 162 tokens per session (1,571 once invoked), scanned A, original, MIT.

A Chinese-language information fetcher for A-shares, stocks listed on mainland China's exchanges. It gathers public financial news, policy notices, and investor-forum sentiment, then returns JSON or Markdown.

In plain words
What is it for?
Use it to collect news about specific stock codes, scan policy updates, filter reports by keywords, or gather forum sentiment. It does not provide live market prices.
Why use it?
It brings related public information together instead of requiring separate searches across news, government, and stock-discussion sources.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the daymade-financial plugin — 8 skills shipped together

Good fit Use it to collect news about specific stock codes, scan policy updates, filter reports by keywords, or gather forum sentiment. It does not provide live market prices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/ashare-news-fetcher
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,387 stars · on GitHub

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 daymade/claude-code-skills --skill ashare-news-fetcher
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code.

Or install daymade-financial, the plugin that ships this one along with the rest of its 8 skills.

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 ashare-news-fetcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/ashare-news-fetcher/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/ashare-news-fetcher)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/ashare-news-fetcher"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/ashare-news-fetcher/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 ashare-news-fetcher

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/ashare-news-fetcher"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/ashare-news-fetcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,571 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.00162 $0.01571
Opus 5 $0.00081 $0.00785
Sonnet 5 $0.00032 $0.00314
Haiku 4.5 $0.00016 $0.00157

Measured 11d ago against content hash 60678cf874db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ashare-news-fetcher 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 3 executable files (scripts/fetch_intel.py, tests/test_fetch_intel_network.py, tests/test_fetch_intel.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.

daymade-financial/ashare-news-fetcher/SKILL.md · 151 lines

How it starts

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

A 股消息面抓取

从多个公开中文财经/政策/社交来源抓取 A 股相关情报,输出结构化条目。

这个 skill 做什么

  1. 抓取中文财经快讯(财联社、华尔街见闻、金十、新浪 7x24、东财快讯)
  2. 抓取监管政策公告(证监会、央行、上交所、财政部)
  3. 抓取东方财富股吧的个股情绪指标
  4. 从标题/摘要中提取相关 A 股代码
  5. 输出 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
  • --formatjsonmarkdown,默认 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": {}
}

Read the full file on GitHub · 151 lines

Files

What ships with it

7 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 First seen · 151 lines · 162 tokens per session scan A 60678cf874db

Subscribe to this mod's changes

ashare-news-fetcher is a skill published in the GitHub repository daymade/claude-code-skills (1,387 stars, last pushed today), licensed MIT. It adds 162 tokens to every session and 1,571 once invoked, about $0.0008 per session on Opus 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-08-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

trading-risk-gate

Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.

winstonkoh87/Athena-Public · 53 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens