Agent skill

Stock Announcements

by freestylefly in freestylefly/wesight

获取A股上市公司公告信息(真实数据)。基于AkShare从东方财富网获取当日全部公告,支持按股票代码筛选、关键词过滤. An agent skill from freestylefly/wesight.

MITAuto-check passed

Install Stock Announcements

skills CLI
$ npx skills add freestylefly/wesight --skill stock-announcements -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install freestylefly/wesight stock-announcements --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/freestylefly/wesight.git skills-src && mkdir -p .claude/skills && cp -r skills-src/SKILLs/stock-announcements .claude/skills/stock-announcements && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stock-announcements
GitHub stars
946
Token cost
~562 tokens
SKILL.md length
121 words
Files
2 (incl. scripts)
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

获取A股上市公司公告信息(真实数据)。基于AkShare从东方财富网获取当日全部公告,支持按股票代码筛选、关键词过滤. An agent skill from freestylefly/wesight.

  • Works in 3 steps: 识别股票代码 → 执行查询 → 解读结果
  • SKILL.md covers 真实数据保证, Dependencies, When to Use This Skill and Usage, plus 3 more sections
  • Runs Python scripts from its folder; calls python and pip

What it does

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

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/announcements.py`).

The repository describes itself as: Open-source desktop AI agent workspace with one-click Claude Code, Codex, OpenClaw, Hermes Agent setup and custom LLM model routing. The licence is MIT.

Example prompts

  • “/stock-announcements”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 识别股票代码
  2. 执行查询
  3. 解读结果

What it can do on your machine

Read from SKILL.md and the folder at commit c913cd9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stock Announcements loads about 562 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 121 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~562

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from freestylefly/wesight at commit c913cd9, republished under its MIT licence (© freestylefly). 121 words, ~562 tokens.

Download SKILL.mdSave it as .claude/skills/stock-announcements/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
stock-announcements
description
获取A股上市公司公告信息(真实数据)。基于AkShare从东方财富网获取当日全部公告,支持按股票代码筛选、关键词过滤。 适用于监控重大事件、业绩快报、股东变动、重组公告等投资决策关键信息。数据源:东方财富网(稳定可靠)。
official
true

Stock Announcement Fetcher

获取A股上市公司的官方公告信息(真实数据),帮助投资者及时掌握重要信息披露。

真实数据保证

  • 数据来源: 东方财富网(通过AkShare开源库)
  • 更新频率: 实时(当日公告)
  • 覆盖范围: 全部A股上市公司
  • 数据质量: 官方权威数据

Dependencies

Python packages (install once):

bash
pip install akshare pandas requests PyPDF2

When to Use This Skill

触发条件(用户提及以下任一场景时激活):

  1. 查询特定公司公告 — "查看五粮液最近的公告"、"002368有什么新公告?"
  2. 监控特定事件 — "哪些公司今天发布了业绩预告?"
  3. 投资决策辅助 — "公司有利好消息吗?"

Usage

IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.

基础查询
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858
查询最近7天
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --days 7
关键词筛选
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --keyword 业绩
JSON格式输出
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --format json
提取PDF内容并总结
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --detail

Parameters

参数说明示例默认值
stock_code股票代码(必填)000001, 600000.SS-
--days最近N天730
--format输出格式json/texttext
--keyword标题关键词筛选业绩None
--detail提取PDF内容并总结—false

Workflow

Step 1: 识别股票代码

用户可能提供以下任一格式:

  • 公司名称:"五粮液" → 先用 web-search 查询股票代码
  • Yahoo Finance格式:"000858.SZ" → 提取纯数字代码
  • 纯代码:"000858" → 直接传递
Step 2: 执行查询
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" <股票代码> [参数]
Step 3: 解读结果

Agent 应该:

  1. 提取关键信息(标题、类型、日期)
  2. 分类汇总(业绩类、股东类、重大合同等)
  3. 标注重要性(🔴高/🟡中/⚪低)
  4. 提供简洁解读

Limitations

  1. 只能查询当日公告 — AkShare 的 stock_notice_report 接口只返回指定日期的全部公告
  2. 查询速度约7-10秒 — 需遍历1000+条公告
  3. 中文显示乱码 — Windows PowerShell GBK编码问题,使用 --format json 可规避

© freestylefly, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in SKILLs/stock-announcements of freestylefly/wesight.

  • SKILL.md
  • scripts/announcements.py

Open the folder on GitHubat commit c913cd9

Compare with similar skills

Stock Announcements next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stock Announcements compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stock Announcements this skillfreestylefly/wesight946—~562Automated safety check: PassMIT
Release Openclaw Announcementopenclaw/openclaw392k—~1.1kAutomated safety check: PassMIT
Release Announcementpaperclipai/paperclip99k—~1.7kAutomated safety check: PassMIT
StockMagicCube/agentara516—~1.1kAutomated safety check: PassNone
Stock Analysisalirezarezvani/claude-skills28k—~8.5kAutomated safety check: PassMIT
Announcement Boardsickn33/agentic-awesome-skills47k1 repos~3.4kAutomated safety check: PassMIT

Similar skills

  • Draft or post OpenClaw beta, stable, or extended-stable Discord release announcements from changelog, tag, registry, and validation evidence.

    392k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Release Announcement

    paperclipai/paperclip

    Write a release announcement — changelog, blog post, in-app note, or social post — that leads with user impact, names the audience, and includes upgrade/migration steps without filler.

    99k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Stock

    MagicCube/agentara

    Query stock quotes for US stocks, Hong Kong stocks, and A-shares.

    516 GitHub stars~1.1k tokensUpdated 5 mo ago
    Business, Finance & HRAuto-check passed
  • Stock Analysis

    alirezarezvani/claude-skills

    Produce a rigorous, sector-relative, multi-factor fundamental analysis of a publicly listed company — Indian (NSE/BSE) or US/global.

    28k GitHub stars~8.5k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Announcement Board

    sickn33/agentic-awesome-skills

    Announcement board: author, category, department, priority, audience, publish and expiry dates, status and acknowledgements, as CSV, SQL, JSON Schema or Notion on request.

    47k GitHub starsUsed in 1 repo~3.4k tokens
    Documents & OfficeAuto-check passed
  • Xvary Stock Research

    sickn33/agentic-awesome-skills

    Thesis-driven equity analysis from public SEC EDGAR and market data; /analyze, /score, /compare workflows with bundled Python tools (Claude Code, Cursor, Codex).

    47k GitHub starsUsed in 2 repos~952 tokens
    Business, Finance & HRAuto-check passed

More from freestylefly/wesight

All 17 skills in this repo
  • Develop Web Game

    freestylefly/wesight

    A skill your agent uses when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with…

    946 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Web Search

    freestylefly/wesight

    Real-time web search using Playwright-controlled browser. An agent skill from freestylefly/wesight.

    946 GitHub starsUsed in 1 repo~4k tokens
    Auto-check: notes
  • Technology Search

    freestylefly/wesight

    Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation.

    946 GitHub stars~3.3k tokensUpdated 9 days ago
    Auto-check passed
  • Content Planner

    freestylefly/wesight

    WeChat Official Account topic planning and content calendar management.

    946 GitHub stars~1.2k tokensUpdated 9 days ago
    Auto-check passed
  • Films Search

    freestylefly/wesight

    Search cloud drives for downloadable film and TV resources (movies, TV series, anime).

    946 GitHub stars~825 tokensUpdated 9 days ago
    Auto-check: notes
  • Create Plan

    freestylefly/wesight

    Create a concise plan. An agent skill from freestylefly/wesight.

    946 GitHub starsUsed in 4 repos~611 tokens
    Auto-check passed

Questions about Stock Announcements

What does Stock Announcements do?

获取A股上市公司公告信息(真实数据)。基于AkShare从东方财富网获取当日全部公告,支持按股票代码筛选、关键词过滤. An agent skill from freestylefly/wesight. Stock Announcements is an agent skill from freestylefly/wesight.

How do I install Stock Announcements in Claude Code?

Run `npx skills add freestylefly/wesight --skill stock-announcements -a claude-code`. Or copy the skill folder (SKILLs/stock-announcements in freestylefly/wesight) into .claude/skills/stock-announcements in your project. Claude Code loads it when a task matches its description.

How do I install Stock Announcements in Codex?

Run `npx skills add freestylefly/wesight --skill stock-announcements -a codex`. Or copy the skill folder (SKILLs/stock-announcements in freestylefly/wesight) into .agents/skills/stock-announcements in your project. Codex loads it when a task matches its description.

Can I use Stock Announcements in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add freestylefly/wesight --skill stock-announcements -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stock-announcements, .gemini/skills/stock-announcements, .github/skills/stock-announcements and .opencode/skills/stock-announcements in your project.

What does Stock Announcements need to run?

Going by SKILL.md and its folder, Stock Announcements needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Stock Announcements access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Stock Announcements safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Stock Announcements use?

Stock Announcements is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Stock Announcements use?

About 562 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Stock Announcements?

Skills that share tags, products or a category with Stock Announcements: Release Openclaw Announcement (openclaw/openclaw, 392k stars), Release Announcement (paperclipai/paperclip, 99k stars), Stock (MagicCube/agentara, 516 stars) and Stock Analysis (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stock Announcements?

freestylefly (a GitHub user) maintains it in freestylefly/wesight, which has 946 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 1, 2026.

Source: freestylefly/wesight on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.