ashare-news-fetcher
An agent skill by daymade, from daymade/claude-code-skills. Tags: analytics, data, news, research, trading.
What it does
抓取 A 股消息面情报:从财联社、华尔街见闻、金十、新浪 7x24、东财快讯、 证监会/央行/上交所/财政部政策公告、东方财富股吧等公开来源抓取与股票相关的 新闻、政策、情绪,输出结构化 JSON 或 Markdown。 当用户提到“A 股消息面”、“抓新闻”、“个股消息”、“政策监管”、“股吧情绪”、 “财联社”、“东财快讯”、“市场情绪”或需要把某只股票相关的公开情报聚合出来时 触发。也适用于“帮我看看 000001 最近有什么消息”这类口语化请求。
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add daymade/claude-code-skills --skill ashare-news-fetcher
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/daymade/claude-code-skills
cp -r claude-code-skills/daymade-financial/ashare-news-fetcher ~/.claude/skills/ashare-news-fetcher
Safety box score
Grade B, low risk: 25 of 100 risk points, rated 2026-10-21. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.
This skill is a live market-data fetcher: it reaches out to many public finance and government endpoints, parses the results, and can also query Jin10 if `JIN10_APP_ID` is set. The main risks are outbound network exposure to third parties, optional transmission of that app ID, and the ability to write results to a user-chosen file path.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 1 (low) | It runs as a Python CLI (`scripts/fetch_intel.py`) with `requests`/optional `bs4`/`jieba`, but there is no shell/eval/downloaded-code execution beyond the script itself. |
| Network access | 2 (moderate) | The skill makes live outbound requests to many hosts (`cls.cn`, `wallstreetcn.com`, `jin10.com`, `sina.com.cn`, `eastmoney.com`, `csrc.gov.cn`, `pbc.gov.cn`, `sse.com.cn`, `mof.gov.cn`) on normal runs. |
| Filesystem reach | 1 (low) | It can write output anywhere the process can access via `--output`; `main()` calls `args.output.write_text(output, encoding="utf-8")`. |
| Secrets & credentials | 2 (moderate) | It reads `JIN10_APP_ID` from the environment and sends it as the `x-app-id` header to Jin10, so a credential can leave the machine. |
| Privilege & persistence | 0 (none) | No sudo, service registration, global installation, shell startup edits, or OS/git setting changes are present. |
| Instruction hijack surface | 0 (none) | There are no instructions to ignore safety rules, fetch remote prompts, or hide behavior; the `html.unescape(re.sub(...))` helper only strips HTML. |
| Irreversible actions | 0 (none) | It fetches and formats information only; it does not post, deploy, pay, book, or delete anything. |
| Transparency | 0 (none) | All shipped files are readable source and markdown; there are no binaries, base64 blobs, or decoded-at-runtime code payloads. |
Before installing
- Decide whether you will ever set `JIN10_APP_ID`; if yes, assume it will be sent to Jin10.
- Read `scripts/fetch_intel.py` around `--output` before using it on anything outside the repo.
- If you want to verify behavior first, run `python scripts/fetch_intel.py --sources cn --limit 1` in a scratch environment with no sensitive env vars set.
Rated 2026-10-21 by an automated review of 7 files from the skill's repository.
Source
- Repository
- daymade/claude-code-skills (all skills from this repository)
- Path
- daymade-financial/ashare-news-fetcher/SKILL.md
- Branch
- main
- Updated
- 2026-09-20
Related skills
- bigdata-skill — Pull Bigdata.com (RavenPack) financial and news data via the official `bigdata-client` SDK and `/v1/*` REST endpoints — structured financials, prices.
- bilibili-source — Fetch comprehensive, login-free data for any Bilibili (B站) video — title, UP name and follower count, publish date, partition, tags, per-part cids.
- daymade-sector-research — A股行业投研工作流:全板块 Top N 涨幅标的计算、公告窗口检索(周/月)、市场情绪证据分级判断,并以 Agent Team 并行执行 + fresh-context 对抗验证。 触发场景(命中任一即读本 skill): - 「XX 行业 Top N / Top 10 标的」(如「医药行业今天的 Top 10.
- pharma-daily-report — 生成 A 股医药行业日报:从新浪财经抓取 20 只核心医药股实时行情,分析 7 大细分赛道排名、涨跌榜 TOP 3、资金流向,然后通过飞书发送富文本日报。 覆盖恒瑞医药、百济神州、智飞生物、药明康德、迈瑞医疗、片仔癀、云南白药等 20 只核心标的。 当用户需要 医药日报、医药行业日报、pharma daily.
- pandas-pro — Performs pandas DataFrame operations for data analysis, manipulation, and transformation.
- analytics — When the user wants to set up, improve, or audit analytics tracking and measurement.