stk-ah-comparison

stk-ah-comparison is a skill for Claude Code, Codex from FTShare-Lab/FTShare-skill. It costs 36 tokens per session (632 once invoked), scanned A, original, MIT.

A comparison tool for the same company’s mainland A shares and Hong Kong H shares. It returns prices, daily changes, the A/H price comparison, and the premium or discount between the listings.

In plain words
What is it for?
Use it to compare a company’s A-share and H-share performance and valuation relationship for one date or a period of up to 30 calendar days.
Why use it?
It makes differences between the two listings easier to inspect than collecting and comparing separate market records.

Skill for Claude CodeCodex

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

Good fit Use it to compare a company’s A-share and H-share performance and valuation relationship for one date or a period of up to 30 calendar days.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ftshare-lab/ftshare-skill/stk-ah-comparison
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 FTShare-Lab/FTShare-skill --skill stk-ah-comparison
Clone the repo
git clone --depth 1 https://github.com/FTShare-Lab/FTShare-skill

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 stk-ah-comparison

README.md
[![agentmods](https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stk-ah-comparison/github.svg)](https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stk-ah-comparison)
Your own site
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stk-ah-comparison"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stk-ah-comparison/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 stk-ah-comparison

Your own site · 80×15
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stk-ah-comparison"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stk-ah-comparison.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 632 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. Third-party audits
  • 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.00036 $0.00632
Opus 5.5 $0.00014 $0.00253
Sonnet 5.5 $0.00007 $0.00126
Haiku 4.5 $0.00004 $0.00063

Measured 11d ago against content hash 3fa5d6ad4d97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stk-ah-comparison 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 11d ago.

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

ftshare-market-data/sub-skills/stk-ah-comparison/SKILL.md · 35 lines

What it actually says

AH 股对比

接口:GET /api/v1/market/data/hk/stk-ah-comparison。可按 --hk-code、--ts-code、--trade-date 或日期区间 --start-date/--end-date 过滤;日期区间最多 30 个自然日。分页参数为 --page(默认 1)和 --page-size(默认 50,最大 1000),支持 --all 自动翻页。在线文档:《AH股对比》

python <RUN_PY> stk-ah-comparison --hk-code 00038.HK --trade-date 20260918 --page 1 --page-size 20

响应为 code/message/data 分页信封,记录位于 data.records,包含双方代码、名称、收盘价、涨跌幅、A/H 比价和溢价率。

仅返回同时有 A 股和 H 股标的的公司;无 A 股对应的港股(如 00700.HK 腾讯控股)查不到记录。

参数

参数 必填 说明
--hk-code 否 港股股票代码,支持 168 或 00168.HK
--ts-code 否 A 股股票代码,格式 xxxxxx.SH/SZ/BJ
--trade-date 否 交易日期 YYYYMMDD;传入时优先于日期区间
--start-date 否 起始日期 YYYYMMDD;未传 trade_date 时需与 end_date 同时传入,与结束日间隔不超过 30 个自然日
--end-date 否 结束日期 YYYYMMDD;未传 trade_date 时需与 start_date 同时传入,与起始日间隔不超过 30 个自然日
--page 否 页码,默认 1
--page-size 否 每页条数,默认 50,上限 1000

返回

  • 记录容器:data.records
  • 分页字段:pageNum、pageSize、total、pages
  • 记录字段:hk_code、ts_code、trade_date、hk_name、hk_close、hk_pct_chg、name、close、pct_chg、ah_comparison、ah_premium
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. 11d ago Changed · +18 lines 3fa5d6ad4d97
  2. 2mo ago Changed · +2 lines 61ab8bc2d973
  3. 2mo ago First seen · 15 lines · 36 tokens per session scan A 338c803a813e

Subscribe to this mod's changes

stk-ah-comparison is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 36 tokens to every session and 632 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

stk-ah-comparison compared with skills from other repositories

stk-ah-comparison next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stk-ah-comparisonFTShare-Lab/FTShare-skillSkill657d agoMITA36Claude Code, Codex
tickdb-market-dataTickDB/tickdb-unified-realtime-marketdata-apiSkill95025d agoMITA165Claude Code, Codex
defeatbeta-earnings-analysisdefeat-beta/defeatbeta-apiSkill81221d agoApache-2.0A112Claude Code
sprrwilsonfreitas/awesome-quantSkill31ktodaynoneA54Claude Code, Codex
bprrwilsonfreitas/awesome-quantSkill31ktodaynoneA36Claude Code, Codex
create-entrywilsonfreitas/awesome-quantSkill31ktodaynoneA43Claude Code, Codex
update-pypi-dateswilsonfreitas/awesome-quantSkill31ktodaynoneA47Claude Code, Codex