Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/skloxo/TideTradingnpx agentmods add skills/skloxo/tidetrading/ashare-pre-st-filterWrote 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/skloxo/tidetrading/ashare-pre-st-filter)<a href="https://agentmods.dev/skills/skloxo/tidetrading/ashare-pre-st-filter"><img src="https://agentmods.dev/badge/skills/skloxo/tidetrading/ashare-pre-st-filter/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/skloxo/tidetrading/ashare-pre-st-filter"><img src="https://agentmods.dev/badge/skills/skloxo/tidetrading/ashare-pre-st-filter.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.00089 | $0.10221 |
| Opus 5 | $0.00044 | $0.05110 |
| Sonnet 5 | $0.00018 | $0.02044 |
| Haiku 4.5 | $0.00009 | $0.01022 |
Grade A, and why
ashare-pre-st-filter scanned grade A with 1 finding 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 11d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run([ This is a copy
97% identical to ashare-pre-st-filter — 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 — 515 lines — stays where its author put it; the contents beside it link to each section on GitHub.
依赖:本 skill 必须配合 tushare skill 使用,缺数据时回退到 akshare skill。
A 股 ST/*ST 风险预测
适用范围
- 仅 A 股主板 / 创业板 / 科创板。港股、美股、加密、商品、北交所(
8xxxxx.BJ监管规则与本 skill 阈值不一致)均不适用,本 skill 直接拒绝。 - 仅做"下一财年是否会被 ST/*ST"的前瞻预测,不做财务造假预测。
- 输出双轴结果:触线风险等级 + 预测可信度。
触发条件
用户提问形如:
- "分析 000729.SZ 的 ST 风险"
- "600xxx 下个年报会不会被 ST"
- "帮我看一下 300xxx 是否有退市风险"
收到此类请求时,按下面"分析流程"执行;其他场景不要主动启用本 skill。
数据获取规范(tushare 优先 → akshare 兜底)
铁律:
- 所有财务/基本面/分红/审计/ST 状态数据,必须先调用 tushare skill,按下表指定的接口名、
ts_code、period拉取。 - 当 tushare 接口因积分不足、token 缺失或返回空时,回退到 akshare skill 对应函数。
- akshare 兜底数据必须在最终输出"备注"中显式标注:
数据源:akshare(非官方聚合,不保证完整性,建议核对原始公告)。不允许只用 akshare 给出"高可信度"预测——akshare 兜底的红线项可信度强制降一档(高→中高,中高→中,中→低)。 - 监管处罚(E2)走本 skill 自带的 scripts/fetch_sina_penalties.py,不经过 tushare/akshare。
数据需求映射表
| 数据需求 | tushare 接口(首选) | 抓取参数 / 时间窗口 | akshare 兜底 | akshare 注意事项 |
|---|---|---|---|---|
| 当前 ST 状态 | stock_st |
最近一个交易日 | stock_zh_a_st_em() |
仅返回当前 ST/退市整理板列表,历史不可查 |
| 历史改名 | namechange |
ts_code 全历史 |
stock_zh_a_new_em()(仅新股,无改名) |
akshare 无完整改名接口,必要时跳过 |
| 股票基础信息(板块判断) | stock_basic |
list_status='L' |
stock_individual_info_em(symbol) |
字段名不同,需自行映射 |
| 业绩预告 | forecast |
ts_code + 最近 2 个 period({Y}0630/{Y}0930/{Y}1231) |
stock_yjyg_em(date='YYYYMMDD') |
按报告期日期反查,需先按 period 拉全市场再筛 ts_code |
| 业绩快报 | express |
同上,最近 2 个 period | stock_yjbb_em(date='YYYYMMDD') |
同上,全市场快照需筛 |
| 利润表 | income |
ts_code + 最近 5 个 period(过去 4 年年报 {Y}1231 + 最新中报/三季报) |
stock_financial_report_sina(stock='sh600000', symbol='利润表') |
单位不一致(万元 vs 元),需做归一;季报缺失常见 |
| 资产负债表 | balancesheet |
同上 | stock_financial_report_sina(stock='sh600000', symbol='资产负债表') |
同上 |
| 现金流量表 | cashflow |
同上 | stock_financial_report_sina(stock='sh600000', symbol='现金流量表') |
同上 |
| 财务指标(扣非净利润等) | fina_indicator |
ts_code + 最近 5 个 period |
stock_financial_analysis_indicator(symbol='600000') |
字段中文,扣非字段名为"扣除非经常性损益后的净利润" |
| 审计意见 | fina_audit |
ts_code + 最近 2 个年报 period |
akshare 无对应接口 | 缺失时在输出中标注"审计意见数据缺失",不得跳过——必须提示用户去官网查 |
| 分红 | dividend |
ts_code + 近 5 年 div_proc='实施' |
stock_history_dividend_detail(symbol='600000', indicator='分红') |
字段中文,需把"派息"金额×总股本得到现金分红总额 |
| 日线行情(1 元退市预警) | daily |
ts_code + 最近 30 个交易日 |
stock_zh_a_hist(symbol='600000', period='daily', adjust='') |
必须用不复权价格判断 1 元退市线 |
| 每日指标(市值) | daily_basic |
ts_code + 最近一个交易日 |
stock_zh_a_spot_em() 全市场快照筛 代码=600000 |
字段名为"总市值"(单位:元,东方财富 push2 原始口径,akshare 不做缩放),换算成亿元需 /1e8。⚠️ 不要与 tushare daily_basic.total_mv(万元)混淆——本列是 akshare 兜底口径 |
| 财报披露日期 | disclosure_date |
ts_code + 当前年度 |
akshare 无对应接口 | 缺失时按经验估算(4/30 年报、8/31 中报、10/31 三季报) |
| 监管处罚 | — | — | 走本 skill 自带 sina 脚本 | 见 E2 章节 |
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.
- 11d ago First seen · 515 lines · 89 tokens per session scan A 18633f54faf8
ashare-pre-st-filter is a skill published in the GitHub repository skloxo/TideTrading (10 stars, last pushed 4d ago), licensed MIT. It adds 89 tokens to every session and 10,221 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 97% identical to ashare-pre-st-filter, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
daily-deep-brief
A scheduled, pre-market investment briefing for Hong Kong and United States stocks. A deterministic preparation step gathers data and an agent adds judgment, while a later step validates and publishes the result.
hk-stock-analysis
A workspace-aware analysis workflow for Hong Kong-listed stocks. It retrieves prices, technical indicators, market comparisons, and news through a local data pipeline, then adds Hong Kong-specific investment context.
us-stock-analysis
Workspace-aware US stock analysis for kcn. Routes through clawock analyze-us / clawock us-quotes instead of generic web search, then layers fundamental/technical/news analysis on top. Use when user asks to analyze a US ticker (e.g. "analyze AAPL", "look at RKLB", "compare TSLA vs NVDA"), check earnings, run…
portfolio-swarm-review
Multi-agent swarm review of kcn's current holdings. Inspired by TauricResearch/TradingAgents framework already in workspace — three-tier analysis (analysts → bull/bear debate → risk debate + judge) with confidence scoring. Use for post-close reviews, holiday/next-session planning, pre-add sizing decisions, and any…
invest-analyst
A framework for producing professional investment research, including company reports, industry studies, event analysis, analyst-expectation reviews, comparisons, and market summaries. It connects several investment research workflows into one process.
invest-fund
A Chinese-language guide for analysing investment funds, with different workflows for comparing funds, reviewing ETFs, examining new funds, and studying industry funds.