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 stock-intradaygit 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/stock-intraday)<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-intraday"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-intraday/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/stock-intraday"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-intraday.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.00102 | $0.01223 |
| Opus 5.5 | $0.00041 | $0.00489 |
| Sonnet 5.5 | $0.00020 | $0.00245 |
| Haiku 4.5 | $0.00010 | $0.00122 |
Grade A, and why
stock-intraday 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 2mo 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.
What it actually says
股票跨日分时行情
1. 接口描述
| 项目 | 说明 |
|---|---|
| 接口名称 | 股票跨日分时行情(stock_intraday) |
| 外部接口 | GET /api/v4/market/data/stock-intraday |
| 请求方式 | GET(query 参数) |
| 适用场景 | 查询单只股票的分钟分时价格、均价及日累计成交量额;支持当日实时分时与近期历史分时合并返回 |
| 数据范围 | 当日及近期历史交易日,时间范围按北京时间(Asia/Shanghai)计算 |
| 单次限量 | 单只股票;days 为 1~5;无分页,返回所选范围内的可用数据点 |
2. 请求参数
| 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 |
|---|---|---|---|---|---|
| symbol | string | 是 | 股票代码(需带市场后缀) | 600000.SH | 不接受裸代码;也接受 600000.XSHG 等 MIC 后缀 |
| range | string | 否 | 预置区间 | Today | Today(当日)/FiveDays(当日及此前 4 个交易日,默认);大小写敏感 |
| days | int | 否 | 查询当日及此前 N−1 个交易日 | 3 | 范围 1~5,1 表示当日 |
| ts_ms | int | 否 | 当日过滤起点(毫秒,包含起点) | 1789522140000 | 只过滤当日数据,不能通过它指定历史日期;早于当日零点时按当日零点处理 |
三个时间参数可以同时传入,按 ts_ms > days > range 选择生效参数,低优先级参数不参与范围计算;三者均不传时默认 FiveDays。
3. 响应说明
外层固定为 code(成功 200)/ message(成功 success)/ data。data 为分时点数组,按时间升序排列,同一分钟只返回一个数据点,无分页:
| 字段名 | 类型 | 说明 | 单位 |
|---|---|---|---|
| ts_ms | int | 分钟起点的 Unix 毫秒时间戳 | 毫秒 |
| price | number | 成交价格;历史分钟取该分钟收盘价,不复权 | 元 |
| avg_price | number / null | 当日累计成交均价;不可用时为 null,字段仍返回 |
元 |
| volume | int | 当日累计成交量 | 股 |
| turnover | number | 当日累计成交额 | 元 |
注:price / avg_price / turnover 是 JSON 数字,不是字符串。历史均价按当日累计成交额除以累计成交量计算,累计成交量为零时均价为 null。
4. 调用方式
# 当日分时
python <RUN_PY> stock-intraday --symbol 600000.SH --range Today
# 默认五日范围(不传任何时间参数)
python <RUN_PY> stock-intraday --symbol 600000.SH
# 当日及此前两个交易日
python <RUN_PY> stock-intraday --symbol 600000.SH --days 3
# 显式指定五日范围
python <RUN_PY> stock-intraday --symbol 600000.SH --range FiveDays
# 同时传入 days 与 range 时 days 优先,此请求按三日范围查询
python <RUN_PY> stock-intraday --symbol 600000.SH --days 3 --range Today
<RUN_PY> 为主 SKILL.md 同级 run.py 的绝对路径。输出 JSON;HTTP 错误输出到 stderr 并以非零状态退出。
5. 注意事项
symbol必填且需带市场后缀,不接受裸代码。days=3表示当日及此前 2 个交易日,历史日期跳过休市日;例如在周二且周一、上周五均为交易日时,范围覆盖上周五、周一和周二。- 当日按自然日计算:非交易日不会自动用上一个交易日替换当日,因此实际有数据的日期数可能少于
days。 ts_ms只过滤当日数据;传入过去日期的时间戳不会返回该历史日期。跨日查询使用days或range。- 历史分钟价格不复权。
- 行情查询所需数据不可用时接口返回错误,不会以缺少部分日期的数据冒充完整成功结果;HTTP 400 表示参数问题,405 不支持的方法,502 行情查询失败,503 行情服务暂不可用。
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.
- 2mo ago First seen · 72 lines · 102 tokens per session scan A 545d7e888b98
stock-intraday is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 102 tokens to every session and 1,223 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-18.
stock-intraday compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stock-intradayFTShare-Lab/FTShare-skill | Skill | 65 | 7d ago | MIT | A | 102 | 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 |