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 MerkyorLynn/Lynn --skill a-share-scannergit clone --depth 1 https://github.com/MerkyorLynn/LynnWrote 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/merkyorlynn/lynn/a-share-scanner)<a href="https://agentmods.dev/skills/merkyorlynn/lynn/a-share-scanner"><img src="https://agentmods.dev/badge/skills/merkyorlynn/lynn/a-share-scanner/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/merkyorlynn/lynn/a-share-scanner"><img src="https://agentmods.dev/badge/skills/merkyorlynn/lynn/a-share-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00140 | $0.01721 |
| Opus 5 | $0.00070 | $0.00860 |
| Sonnet 5 | $0.00028 | $0.00344 |
| Haiku 4.5 | $0.00014 | $0.00172 |
Grade A, and why
a-share-scanner 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.
How it starts
The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
A股量化选股扫描器 v1.0
模型驱动的全 A 股量化选股工具。扫描 5000+ 只 A 股,检测市场环境,自适应调整 6 因子权重,输出选股/异动排名 + HTML 报告。
配置
必需: 一个免费的 Tushare Pro token。
- 访问 https://tushare.pro 注册(免费)
- 在个人主页获取 API Token
- 设置环境变量:
export TUSHARE_TOKEN="your_token_here"
或直接传参:
python3 {baseDir}/scripts/a_share_scan.py --token YOUR_TOKEN
依赖安装(自动):
pip install tushare pandas
或用 uv(推荐):
uv run {baseDir}/scripts/a_share_scan.py
快速命令
全A扫描(HTML + JSON)
python3 {baseDir}/scripts/a_share_scan.py
执行流程:
- 拉取全A股最新交易日日线快照(5000+ 只)
- 过滤 ST/低价/低流动性
- 获取 5日/20日历史参照日行情
- 检测市场环境(波动率、动量、资金面、板块轮动)
- 6 因子自适应评分
- 输出选股榜 + 异动榜 + 行业分布 + HTML 报告
快速 Top 10
python3 {baseDir}/scripts/a_share_scan.py --top 10
指定股票分析
python3 {baseDir}/scripts/a_share_scan.py --codes 000001,600519,300750
仅 JSON 输出
python3 {baseDir}/scripts/a_share_scan.py --format json
工作原理
6 因子自适应评分
每只股票按 6 个因子评分,权重根据市场环境动态调整:
| 因子 | 基础权重 | 趋势市调整 | 震荡市调整 | 高波动调整 |
|---|---|---|---|---|
| 动量(当日涨跌+5日+20日涨幅) | 25% | x1.3 加强 | x0.7 减弱 | — |
| 量能(量比+换手率+成交额) | 20% | — | — | — |
| 估值(PE/PB/市值合理性) | 15% | x0.8 降低 | x1.3 提升 | — |
| 成长(营收增速+净利增速) | 20% | — | — | x1.2 提升 |
| 分析师(评级+目标价空间) | 10% | — | — | — |
| 风险调整(波动率+涨停风险+偏离度) | 10% | — | — | x1.4 加重 |
市场环境检测
扫描器分析全市场数据,自动判断:
- 波动率水平 — 高/中/低(全市场涨跌幅标准差)
- 动量环境 — 趋势市/震荡市/下跌市(上涨比例+平均涨幅)
- 资金面 — 偏多/中性/偏空(涨停数/跌停数/涨跌比)
- 板块轮动 — 热门行业集中度
数据源
| 接口 | 数据 |
|---|---|
daily |
全A股日线行情(OHLCV+涨跌幅+换手率) |
daily_basic |
量比、总市值、流通市值、PE、PB |
stock_basic |
股票名称、行业、上市日期 |
trade_cal |
交易日历 |
覆盖范围
全 A 股(上交所 + 深交所 + 北交所),自动过滤:
- ST / *ST 股票
- 股价 < 2 元
- 成交额过低
输出
HTML 报告
精美响应式 HTML,包含:
- KPI 面板(Top1 选股、市场环境、核心指标)
- 市场环境诊断卡片
- 全A选股榜 Top 30(含行业、涨跌幅、量比、分数、标签)
- 异动榜 Top 20
- 行业分布
- 自适应权重说明表
JSON 报告
完整机器可读输出,含全部评分数据。
限制
- Tushare 免费 token 每分钟有调用频次限制
- 全A扫描约需 10-30 秒
- 数据为收盘后快照,非实时盘中
- 不构成投资建议 — 仅用于研究与监控
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.
- 10d ago First seen · 185 lines · 140 tokens per session scan A 56ee4255b8a6
a-share-scanner is a skill published in the GitHub repository MerkyorLynn/Lynn (43 stars, last pushed 2d ago), licensed Apache-2.0. It adds 140 tokens to every session and 1,721 once invoked, about $0.0007 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
cua-driver
Drive a native GUI app (macOS, Windows, Linux) via the Qwen Cua Driver CLI (default) or MCP server; snapshot its accessibility tree, act through snapshot-bound element tokens, native menu paths, exact window geometry, or pixel coordinates, and verify from fresh state. Use when the user asks you to operate, drive…
codegraph
Analyze indexed codebases via graph database (neug) and vector index (zvec). Covers call graphs, dependencies, dead code, hotspots, module coupling, architecture reports, semantic search, impact analysis, bug root cause from GitHub issues, class diagrams (UML), and PR review (risk scoring, conflict detection…
goal-draft
Turn a fuzzy intention into a /goal objective the Goal verifier can actually judge - one outcome, numbered binary "Done when" checks that leave evidence in the transcript, guardrails, a budget, and a block protocol. Use when the user wants to set or define a goal, asks whether a goal is good enough, or says "keep…
stuck
Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.
e2e-testing
Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic inspection. Use this skill whenever you need to verify CLI behavior with real model calls, reproduce user-reported bugs end-to-end, test MCP tool integrations, or inspect raw API request/response…
qwen-code-claw
Use Qwen Code as a Code Agent for code understanding, project generation, features, bug fixes, refactoring, and various programming tasks.