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 FTShare-Lab/FTShare-skill --skill stk-premarketgit clone --depth 1 https://github.com/FTShare-Lab/FTShare-skillWrote 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/ftshare-lab/ftshare-skill/stk-premarket)<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stk-premarket"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stk-premarket/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/ftshare-lab/ftshare-skill/stk-premarket"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stk-premarket.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.00095 | $0.01482 |
| Opus 5.5 | $0.00038 | $0.00593 |
| Sonnet 5.5 | $0.00019 | $0.00296 |
| Haiku 4.5 | $0.00010 | $0.00148 |
Grade A, and why
stk-premarket 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.
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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
盘前数据
接口:GET /api/v2/market/data/stk-premarket
在线文档:https://market.ft.tech/gateway/doc/pages/q1zs7bsw.md
返回每个标的每个交易日的总股本、A 股流通股本、昨收、涨跌停价、价格(当日为预测开盘价、历史为收盘价)及据此计算的总市值与流通市值。
查询模式
- 单日全市场:
--trade-date 20261113(约 5500+ 只,需翻页) - 单票历史区间:
--ts-code 600036.SH --start-date 20250101 --end-date 20261116 - 单票最新一天:只传
--ts-code(等价于该标的最新交易日 1 条)
--trade-date 与 --start-date/--end-date 互斥;--start-date/--end-date 必须成对且配合 --ts-code。
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
--ts-code |
string | N | 标的代码,如 000001.SZ / 600519.SH。只传本参数时仅返回最新交易日 1 条 |
--trade-date |
int | N | 交易日 YYYYMMDD,查该日全市场;非交易日返回空数组 |
--start-date |
int | N | 区间起始日 YYYYMMDD,须与 --end-date 成对、并配合 --ts-code |
--end-date |
int | N | 区间结束日 YYYYMMDD |
--page |
int | N | 页码,默认 1 |
--page-size |
int | N | 每页条数,默认 50、最大 500;配合 --all 时默认 500 |
--all |
flag | N | 按 total_pages 自动翻页并合并 items(单票全历史推荐) |
分页(关键)
- 响应信封:
{"code":200,"message":"success","data":{"items":[...],"total_items":N,"total_pages":P}}。 total_pages = ceil(total_items / page_size),依赖 page_size:同一区间page_size=50与500的页数不同。- 默认只返回第 1 页(50 条),按
trade_date升序 —— 单次请求看到的是最早 50 个交易日,最容易被误判成"历史只到某月"。 - 取全量:加
--all,或自行循环--page到total_pages。
已知边界(实测)
| 场景 | 行为 |
|---|---|
只传 --ts-code |
最新交易日 1 条;代码无效/无数据返回空数组(如旧北交所 830799.BJ) |
| 历史起点 | 2022-01-04;2022 以前无数据,跨起点区间静默截断(2021-12-01~2022-06-30 返回 117 条,从 20220104 起,不报错) |
非交易日 --trade-date |
200 + items: []、total_items: 0 |
--start-date 或 --end-date 单独给 |
本地拦截;服务端 400 start_date and end_date must be provided together |
--trade-date 与区间同给 |
本地拦截;服务端 400 trade_date cannot be used with start_date/end_date |
区间不配 --ts-code |
本地拦截;服务端 400 start_date/end_date must be used with ts_code |
page_size 越界(0 / 501 / 1000) |
400 page_size must be between 1 and 500 |
page=0 |
400 page must be greater than 0 |
| 页码超出末页 | 200 + items: [],总数照常返回 |
| 日期格式 | 必须 YYYYMMDD,YYYY-MM-DD 返回 400 |
| 北交所代码 | 已统一为 92xxxx(如 920002.BJ);旧 43xxxx / 83xxxx 返回空 |
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.
- 11d ago Changed · +66 lines · +58 tokens per session b461142738af
- 2mo ago First seen · 17 lines · 37 tokens per session scan A 1aca91f4b052
stk-premarket is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 95 tokens to every session and 1,482 once invoked, about $0.0004 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.
stk-premarket compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stk-premarketFTShare-Lab/FTShare-skill | Skill | 65 | 7d ago | MIT | A | 95 | Claude Code, Codex |
| tickdb-market-dataTickDB/tickdb-unified-realtime-marketdata-api | Skill | 950 | 25d ago | MIT | A | 165 | Claude Code, Codex |
| defeatbeta-earnings-analysisdefeat-beta/defeatbeta-api | Skill | 812 | 21d ago | Apache-2.0 | A | 112 | Claude Code |
| bprrwilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 36 | Claude Code, Codex |
| create-entrywilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 43 | Claude Code, Codex |
| update-pypi-dateswilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 47 | Claude Code, Codex |
| defeatbeta-earnings-previewdefeat-beta/defeatbeta-api | Skill | 812 | 21d ago | Apache-2.0 | A | 60 | Claude Code, Codex |