ashare-pre-st-filter

ashare-pre-st-filter is a skill for Claude Code, Codex from HKUDS/Vibe-Trading. It costs 89 tokens per session (10,221 once invoked), scanned A, original, MIT.

An A-share China stock risk checker that forecasts whether a company may receive an ST or *ST warning in the next financial year. ST labels are Chinese exchange warnings for companies facing specified financial or regulatory problems.

In plain words
What is it for?
Use it to assess listed Chinese stocks on the main, ChiNext, or STAR markets for possible future risk warnings. It does not cover Hong Kong, US, crypto, commodities, or financial-fraud prediction.
Why use it?
It gathers financial, dividend, audit, current-status, and regulatory-penalty evidence in one analysis. It also separates the estimated risk from confidence in the prediction.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **依赖**:本 skill 必须配合 [tushare skill](../tushare/SKILL.md) 使用,缺数据时回退到 [akshare skill](../akshare/SKILL.md)。.

Good fit Use it to assess listed Chinese stocks on the main, ChiNext, or STAR markets for possible future risk warnings. It does not cover Hong Kong, US, crypto, commodities, or financial-fraud prediction.

Compare 6 skills from other repositories ↓
About the project

Vibe-Trading is a personal trading agent that gives an AI system tools for market analysis, algorithmic trading, backtesting, and related workflows. It is for users who want an agent to research and evaluate trading strategies or manage simulated and other trading activities. The catalogue contains skills that expose these trading capabilities to compatible agents.

HKUDS/Vibe-Trading · 33,177 stars · on GitHub · vibetrading.wiki

Install

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.

Clone the repo
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading
agentmods
npx agentmods add skills/hkuds/vibe-trading/ashare-pre-st-filter

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 ashare-pre-st-filter

README.md
[![agentmods](https://agentmods.dev/badge/skills/hkuds/vibe-trading/ashare-pre-st-filter/github.svg)](https://agentmods.dev/skills/hkuds/vibe-trading/ashare-pre-st-filter)
Your own site
<a href="https://agentmods.dev/skills/hkuds/vibe-trading/ashare-pre-st-filter"><img src="https://agentmods.dev/badge/skills/hkuds/vibe-trading/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.

agentmods 80×15 button for ashare-pre-st-filter

Your own site · 80×15
<a href="https://agentmods.dev/skills/hkuds/vibe-trading/ashare-pre-st-filter"><img src="https://agentmods.dev/badge/skills/hkuds/vibe-trading/ashare-pre-st-filter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,221 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. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00089 $0.10221
Opus 5 $0.00044 $0.05110
Sonnet 5 $0.00018 $0.02044
Haiku 4.5 $0.00009 $0.01022

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

Security

Grade A, and why

ashare-pre-st-filter 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 8d ago.

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agent/src/skills/ashare-pre-st-filter/SKILL.md · 515 lines

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 兜底)

铁律

  1. 所有财务/基本面/分红/审计/ST 状态数据,必须先调用 tushare skill,按下表指定的接口名、ts_codeperiod 拉取。
  2. 当 tushare 接口因积分不足、token 缺失或返回空时,回退到 akshare skill 对应函数。
  3. akshare 兜底数据必须在最终输出"备注"中显式标注数据源:akshare(非官方聚合,不保证完整性,建议核对原始公告)不允许只用 akshare 给出"高可信度"预测——akshare 兜底的红线项可信度强制降一档(高→中高,中高→中,中→低)。
  4. 监管处罚(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 章节

Read the full file on GitHub · 515 lines

Files

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.

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. 8d ago Changed 18633f54faf8
  2. 12d ago First seen · 515 lines · 89 tokens per session scan A 88e4979d0973

Subscribe to this mod's changes

ashare-pre-st-filter is a skill published in the GitHub repository HKUDS/Vibe-Trading (33,177 stars, last pushed yesterday), 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 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hyperliquid

Use when backtesting, deploying, checking funding readiness, or debugging a Hyperliquid strategy through Superior Trade Unified API — writing Freqtrade configs and strategy code, running sweeps, checking managed-wallet balances, trading HIP-3 perps, or diagnosing a deployment that will not start or trade.

Superior-Trade/superior-skills · 64 tokens

polymarket

Use when the user wants to trade, research, or backtest Polymarket prediction markets through Superior Trade — finding markets by slug or event URL, placing a single immediate market order, writing NautilusTrader strategies, running filled-data backtests, funding pUSD, or deploying and monitoring a live Polymarket…

Superior-Trade/superior-skills · 68 tokens

aerodrome

Use when creating, validating, backtesting, deploying, sizing, or troubleshooting Aerodrome/Base spot trading strategies through the Superior Trade API, especially Freqtrade configs using exchange.name "aerodrome", AERO/USDC or CHECK/USDC pairs, AMM market swaps, wallet/gas balance checks, no-orderbook pricing, or…

Superior-Trade/superior-skills · 83 tokens

backtesting

Use when running, interpreting, or designing backtests on Superior Trade — anything about backtest windows, trade-count thresholds, exit-reason mix, parameter sweeps, walk-forward validation, zero-trade diagnosis, compute-cost estimation, or "is this backtest result trustworthy?". Pair with the relevant strategy…

Superior-Trade/superior-skills · 73 tokens

basis-arb

Use when the user asks for spot-perp basis trade, basis arbitrage, cash-and-carry, perp discount, or any setup that reads the spot–perp basis as a positioning signal. Long-perp leg only — pure two-leg basis arb requires a paired spot short (or long) which Freqtrade can't run cleanly. The strategy below captures the…

Superior-Trade/superior-skills · 87 tokens

fees-optimizations

Use when the user asks about fees, fee optimization, slippage, maker vs taker, post-only or ALO orders, fee tiers, builder code fees, effective spread, order pricing, lowering trading costs, or why a live Hyperliquid Freqtrade strategy underperforms its backtest. Also use proactively for high-turnover designs (5m or…

Superior-Trade/superior-skills · 94 tokens