alerter

alerter is a skill for Claude Code, Codex from ZICXR/A-Stock-Skills. It costs 79 tokens per session (809 once invoked), scanned A, original, MIT.

A Chinese-language tool for sending stock alerts and reports from A-share monitoring to messaging services. A-shares are shares listed on mainland Chinese stock exchanges.

In plain words
What is it for?
Use it to send Markdown alerts, reports, or monitoring results through DingTalk, Feishu, WeCom, Slack, Telegram, email, Server酱, or a custom webhook. It can also send batches of reports and work with a watchlist monitor.
Why use it?
It prevents important alerts from staying inside a script or monitoring process. Instead, results can be delivered to the channels where a person or team already receives notifications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to send Markdown alerts, reports, or monitoring results through DingTalk, Feishu, WeCom, Slack, Telegram, email, Server酱, or a custom webhook. It can also send batches of reports and work with a watchlist monitor.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zicxr/a-stock-skills/alerter
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 ZICXR/A-Stock-Skills --skill alerter
Clone the repo
git clone --depth 1 https://github.com/ZICXR/A-Stock-Skills

Made for: Claude Code, Codex.

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 alerter

README.md
[![agentmods](https://agentmods.dev/badge/skills/zicxr/a-stock-skills/alerter/github.svg)](https://agentmods.dev/skills/zicxr/a-stock-skills/alerter)
Your own site
<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.

agentmods 80×15 button for alerter

Your own site · 80×15
<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>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 809 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.
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.00079 $0.00809
Opus 5 $0.00039 $0.00404
Sonnet 5 $0.00016 $0.00162
Haiku 4.5 $0.00008 $0.00081

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

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (main.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.

skills/06-tools/alerter/SKILL.md · 117 lines

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
Files

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.

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. 12d ago First seen · 117 lines · 79 tokens per session scan A d48d3394e869

Subscribe to this mod's changes

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.