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 watchlist-monitorgit 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/watchlist-monitor)<a href="https://agentmods.dev/skills/zicxr/a-stock-skills/watchlist-monitor"><img src="https://agentmods.dev/badge/skills/zicxr/a-stock-skills/watchlist-monitor/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/watchlist-monitor"><img src="https://agentmods.dev/badge/skills/zicxr/a-stock-skills/watchlist-monitor.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.00121 | $0.01206 |
| Opus 5 | $0.00060 | $0.00603 |
| Sonnet 5 | $0.00024 | $0.00241 |
| Haiku 4.5 | $0.00012 | $0.00121 |
Grade A, and why
watchlist-monitor 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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
A 股自选股实时监控 Skill
何时使用
- 用户有自选股列表需要监控
- 用户需要盘中盯盘
- 用户需要异动告警
- 用户需要在配置文件中维护自选股
3 种自选股来源
方式 1: 配置文件 (推荐)
创建 watchlist.yaml 或 watchlist.json:
# watchlist.yaml
stocks:
- code: "000001"
name: "平安银行"
cost: 12.50 # 持仓成本 (可选)
shares: 1000 # 持仓数量 (可选)
- code: "600519"
name: "贵州茅台"
- code: "300750"
name: "宁德时代"
alerts:
pct_change_up: 5.0 # 涨幅超过 5% 告警
pct_change_down: -3.0 # 跌幅超过 3% 告警
price_above: 100 # 价格突破 100 告警
price_below: 50 # 价格跌破 50 告警
方式 2: 命令行传入
python main.py monitor --codes 000001,600519,300750
方式 3: 同花顺/东财 API (高级)
需要用户提供 cookie, 详见下方"高级功能"。
提供能力
load_watchlist(path)- 加载自选股get_realtime_quotes(codes)- 批量获取实时行情check_alerts(quotes, alerts)- 检查告警monitor_once(path)- 单次扫描monitor_loop(path, interval)- 持续监控
使用方式
# 使用默认配置 (./watchlist.yaml)
python main.py monitor
# 指定配置
python main.py monitor --config ~/my_watchlist.yaml
# 命令行传入
python main.py monitor --codes 000001,600519,300750
# 持续监控 (每 30 秒)
python main.py loop --interval 30
# 初始化配置模板
python main.py init
# 检查告警
python main.py alerts --config watchlist.yaml
Python API
from skills.02-data-collection.watchlist-monitor.main import (
load_watchlist, get_realtime_quotes, check_alerts
)
# 加载自选股
watchlist = load_watchlist("./watchlist.yaml")
# {'stocks': [...], 'alerts': {...}}
# 批量获取行情
codes = ["000001", "600519", "300750"]
quotes = get_realtime_quotes(codes)
# [{'code', 'name', 'price', 'pct_change', ...}, ...]
# 检查告警
alerts = check_alerts(quotes, watchlist["alerts"])
# [{'code': '000001', 'type': 'pct_change_up', 'message': '...'}]
告警类型
| 类型 | 触发条件 |
|---|---|
pct_change_up |
涨幅超过阈值 |
pct_change_down |
跌幅超过阈值 |
price_above |
价格突破上限 |
price_below |
价格跌破下限 |
volume_spike |
量比异常 (>3) |
limit_up |
涨停 |
limit_down |
跌停 |
高级: 同花顺/东财在线自选股 (需 cookie)
如果你有同花顺/东财账号, 可以从他们的服务器同步自选股:
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 · 147 lines · 0 tokens per session scan A bc8ebd03c1f0
watchlist-monitor is a skill published in the GitHub repository ZICXR/A-Stock-Skills (25 stars, last pushed 2mo ago), licensed MIT. It adds 121 tokens to every session and 1,206 once invoked, about $0.0006 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.
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.
management-deep-dive
A research workflow for evaluating a company’s managers and leaders. It treats buying shares as partly trusting the people who run the business.