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 ZICXR/A-Stock-Skills --skill alertergit clone --depth 1 https://github.com/ZICXR/A-Stock-SkillsWrote 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/zicxr/a-stock-skills/alerter)<a href="https://agentmods.dev/skills/zicxr/a-stock-skills/alerter"><img src="https://agentmods.dev/badge/skills/zicxr/a-stock-skills/alerter/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/zicxr/a-stock-skills/alerter"><img src="https://agentmods.dev/badge/skills/zicxr/a-stock-skills/alerter.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.00809 |
| Opus 5 | $0.00039 | $0.00404 |
| Sonnet 5 | $0.00016 | $0.00162 |
| Haiku 4.5 | $0.00008 | $0.00081 |
Grade A, and why
alerter 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 12d 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.
What it actually says
A 股告警推送 Skill
何时使用
- 用户需要微信/钉钉/Slack 通知
- 用户需要将告警实时推送
- 用户需要集成企业微信/Server酱
- 用户需要批量推送报告
支持的渠道
| 渠道 | 难度 | 适用 |
|---|---|---|
| 钉钉 | 易 | 团队 |
| 飞书 | 易 | 团队 |
| 企业微信 | 易 | 企业 |
| Slack | 易 | 海外团队 |
| Telegram | 中 | 个人 |
| Server 酱 (微信) | 易 | 个人微信 |
| 自定义 Webhook | 易 | 通用 |
| 邮件 (SMTP) | 中 | 传统 |
使用方式
1. 钉钉推送
python main.py dingtalk \
--webhook "https://oapi.dingtalk.com/robot/send?access_token=xxx" \
--title "涨停板告警" \
--content "## 今日涨停 56 只\n- 000001 平安银行"
2. 企业微信推送
python main.py wechat \
--webhook "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx" \
--content "今日复盘..."
3. Server 酱 (推送到微信)
python main.py serverchan \
--key "SCT123xxx" \
--title "涨停告警" \
--content "..."
4. 飞书推送
python main.py feishu \
--webhook "https://open.feishu.cn/open-apis/bot/v2/hook/xxx" \
--content "..."
5. 配置文件 (推荐)
编辑 ~/.astock_skills/alert_config.yaml:
channels:
dingtalk:
webhook: "https://oapi.dingtalk.com/robot/send?access_token=xxx"
secret: "SEC..."
wechat:
webhook: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx"
serverchan:
key: "SCTxxx"
feishu:
webhook: "https://open.feishu.cn/open-apis/bot/v2/hook/xxx"
然后:
python main.py send --channel dingtalk --content "..."
Python API
from skills.06-tools.alerter.main import send
# 钉钉
send("dingtalk", title="告警", content="## 内容", webhook="...")
# 企业微信
send("wechat", content="...", webhook="...")
# 从配置文件
send("dingtalk", content="...", config="~/.astock_skills/alert_config.yaml")
与 watchlist-monitor 集成
# 监控 + 推送
python skills/02-data-collection/watchlist-monitor/main.py monitor \
--config watchlist.yaml \
| python skills/06-tools/alerter/main.py forward --channel dingtalk
依赖
requests>=2.28.0
pyyaml>=5.4.0
What ships with it
2 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.
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.
- 12d ago First seen · 117 lines · 79 tokens per session scan A d48d3394e869
alerter is a skill published in the GitHub repository ZICXR/A-Stock-Skills (25 stars, last pushed 2mo ago), licensed MIT. It adds 79 tokens to every session and 809 once invoked, about $0.0004 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.
Other skills, from other repositories
private-company-research
A research workflow for private companies, meaning businesses whose shares are not traded on a public stock exchange. It uses several research roles to investigate the company in depth.
bottleneck-hunter
A research workflow for finding supply-chain bottlenecks—parts of global production where shortages or limited capacity may create investment opportunities.
investment-research
A broad stock-research workflow combining ideas associated with Warren Buffett, Charlie Munger, Duan Yongping, and Li Lu. It examines the business, its quality, its risks, and its value.
earnings-review
A workflow for closely reading and interpreting a company's financial reports using original source material.
industry-research
An industry-research workflow that maps how an industry works from suppliers to customers, then examines individual companies within it. The value-investing analysis looks at business quality, risks, and price.
investment-checklist
A pre-purchase checklist for value investing, which means buying shares based on a company’s business quality and estimated worth. It is based on the investing approach associated with Warren Buffett.