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.
npx skills add freestylefly/wesight --skill stock-announcementsgit clone --depth 1 https://github.com/freestylefly/wesightWrote 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.
[](https://agentmods.dev/skills/freestylefly/wesight/stock-announcements)<a href="https://agentmods.dev/skills/freestylefly/wesight/stock-announcements"><img src="https://agentmods.dev/badge/skills/freestylefly/wesight/stock-announcements/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.
<a href="https://agentmods.dev/skills/freestylefly/wesight/stock-announcements"><img src="https://agentmods.dev/badge/skills/freestylefly/wesight/stock-announcements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.00925 |
| Opus 5 | $0.00039 | $0.00463 |
| Sonnet 5 | $0.00016 | $0.00185 |
| Haiku 4.5 | $0.00008 | $0.00093 |
Grade A, and why
stock-announcements 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 10d ago.
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.
This is a copy
100% identical to stock-announcements — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stock Announcement Fetcher
获取A股上市公司的官方公告信息(真实数据),帮助投资者及时掌握重要信息披露。
真实数据保证
- 数据来源: 东方财富网(通过AkShare开源库)
- 更新频率: 实时(当日公告)
- 覆盖范围: 全部A股上市公司
- 数据质量: 官方权威数据
Dependencies
Python packages (install once):
pip install akshare pandas requests PyPDF2
When to Use This Skill
触发条件(用户提及以下任一场景时激活):
- 查询特定公司公告 — "查看五粮液最近的公告"、"002368有什么新公告?"
- 监控特定事件 — "哪些公司今天发布了业绩预告?"
- 投资决策辅助 — "公司有利好消息吗?"
Usage
IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.
基础查询
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858
查询最近7天
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --days 7
关键词筛选
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --keyword 业绩
JSON格式输出
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --format json
提取PDF内容并总结
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --detail
Parameters
| 参数 | 说明 | 示例 | 默认值 |
|---|---|---|---|
stock_code |
股票代码(必填) | 000001, 600000.SS | - |
--days |
最近N天 | 7 | 30 |
--format |
输出格式 | json/text | text |
--keyword |
标题关键词筛选 | 业绩 | None |
--detail |
提取PDF内容并总结 | — | false |
Workflow
Step 1: 识别股票代码
用户可能提供以下任一格式:
- 公司名称:"五粮液" → 先用 web-search 查询股票代码
- Yahoo Finance格式:"000858.SZ" → 提取纯数字代码
- 纯代码:"000858" → 直接传递
Step 2: 执行查询
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" <股票代码> [参数]
Step 3: 解读结果
Agent 应该:
- 提取关键信息(标题、类型、日期)
- 分类汇总(业绩类、股东类、重大合同等)
- 标注重要性(🔴高/🟡中/⚪低)
- 提供简洁解读
Limitations
- 只能查询当日公告 — AkShare 的
stock_notice_report接口只返回指定日期的全部公告 - 查询速度约7-10秒 — 需遍历1000+条公告
- 中文显示乱码 — Windows PowerShell GBK编码问题,使用
--format json可规避
What ships with it
1 file 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.
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.
- 10d ago First seen · 114 lines · 79 tokens per session scan A 7a3d91450d17
stock-announcements is a skill published in the GitHub repository freestylefly/wesight (916 stars, last pushed 16d ago), licensed MIT. It adds 79 tokens to every session and 925 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to stock-announcements, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
finance-analyst
Becomes a senior financial analyst who builds analysis frameworks, forecasting models, and budget reviews with explicit assumptions and scenario comparisons. Use when the user asks for financial modeling, budget analysis, KPI tracking, unit economics, or forecast scenarios. Do NOT use when the user needs personal…
finance-balance-sheet
Generate a Balance Sheet (Statement of Financial Position) showing assets, liabilities, and owner equity at a point in time. Entity-aware equity treatment (sole-prop / partnership / LLC / S-corp / C-corp); GAAP vs tax-basis distinction. Templates only - not financial or tax advice.
finance-r-and-d-credit
Form 6765 R&D Tax Credit walkthrough plus §174 capitalization rules (post-TCJA mandate, software-SMB hot topic). Inputs qualified research activities, qualified research expenses (wages, supplies, contract research), four-part test screening. Outputs 6765 prep package + §174 capitalization schedule. Templates only …
finance-receivables
Analyze accounts receivable aging, calculate DSO, and generate compliant collection email sequences for overdue invoices. FDCPA / state-UDAP-aware language; intent-gated escalation; SOL-aware bad-debt write-off guidance. Ported from Anthropic's reconciliation skill, hardened for SMB liability surface.
finance-1099-prep
Vendor W-9 collection workflow, 1099-NEC vs 1099-MISC vs 1099-K decision tree, contractor classification check (IRS 20-factor + ABC test embedded), TIN matching, backup withholding triggers. Templates only - not personalized tax advice.
finance-sales-tax
Wayfair economic-nexus tracker, marketplace facilitator law handling, multi-state filing checklist, exemption certificate management, tax-on-shipping rules. Outputs a state-by-state nexus exposure report. Templates only - not personalized sales-tax advice.