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 futures-klinegit 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/futures-kline)<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/futures-kline"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/futures-kline/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/futures-kline"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/futures-kline.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.00078 | $0.01110 |
| Opus 5.5 | $0.00031 | $0.00444 |
| Sonnet 5.5 | $0.00016 | $0.00222 |
| Haiku 4.5 | $0.00008 | $0.00111 |
Grade A, and why
futures-kline 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
期货合约历史K线
接口:GET /api/v1/market/data/futures/kline。在线文档:《期货合约历史K线》
1. 接口描述
| 项目 | 说明 |
|---|---|
| 接口名称 | 期货合约历史K线(futures_kline) |
| 外部接口 | GET /api/v1/market/data/futures/kline |
| 请求方式 | GET(query 参数) |
| 适用场景 | 查询单个期货合约的历史日、周、月、季 K 线,含开高低收、成交量、成交额、vwap、持仓量 |
2. 请求参数
| 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 |
|---|---|---|---|---|---|
| symbol | string | 是 | 不带交易所后缀的期货合约代码 | A2605 | 请求不区分大小写;CZCE 真实合约必须使用四位年份代码(如 AP2612),三位代码不符合接口代码规范 |
| interval | string | 否 | K 线周期 | daily | daily、weekly、monthly、quarterly,兼容 1d/1w/1mo/1q;默认 daily |
| start | int | 否 | 起始时间戳(毫秒) | 1756431000000 | 按北京时间解释,闭区间;可省略时间范围 |
| end | int | 否 | 结束时间戳(毫秒) | 1756791000000 | 闭区间;不能单独传入,须与 start 同时使用,跨度不超过 12 个自然月 |
| limit | int | 否 | 返回条数 | 5 | 默认 500,保留查询范围内最新记录 |
3. 响应说明
外层固定为 code / message / data。data 为对象:items(K 线记录列表,按时间升序)和 total(查询范围内符合条件的记录数)。
items 数组:
| 字段名 | 类型 | 说明 |
|---|---|---|
| symbol | string | 不带交易所后缀的官网合约代码;返回大小写沿用对应交易所官网格式,例如 CZCE/CFFEX 通常为大写,其他交易所通常为小写 |
| datetime | int | K 线时间戳(毫秒) |
| trade_date | int | 交易日 YYYYMMDD |
| open / high / low / close | number | 开盘价 / 最高价 / 最低价 / 收盘价 |
| volume | int | 成交量 |
| amount | number | 成交额 |
| vwap | number | 成交量加权均价 |
| open_interest | number | 持仓量 |
| dominant_contract | string / null | 主力合约;当前合约历史 K 线返回 null |
| forward_factor | number / null | 前复权因子;当前接口返回 null |
| backward_factor | number / null | 后复权因子;当前接口返回 null |
4. 调用方式
python <RUN_PY> futures-kline --symbol A2605 --interval daily --limit 5
python <RUN_PY> futures-kline --symbol A2605 --interval weekly --limit 5
python <RUN_PY> futures-kline --symbol A2605 --start 1756431000000 --end 1756791000000
<RUN_PY> 为主 SKILL.md 同级 run.py 的绝对路径。输出 JSON;HTTP 错误输出到 stderr 并以非零状态退出。
5. 注意事项
- 合约代码使用不带交易所后缀的裸代码,请求不区分大小写;CZCE 真实合约必须使用四位年份代码(如
AP2612),三位代码不符合接口代码规范。 - 周、月、季 K 线由历史日 K 线按北京时间聚合生成。
end不能单独传入,必须与start同时使用(handler 会本地校验并拒绝);同时传入时跨度不得超过 12 个自然月。- 返回结果按 K 线时间升序排列;
limit保留查询范围内最新的记录。
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 · +2 lines d011840fd9c5
- 1mo ago Changed · -2 tokens per session 1a2d9c22debe
- 1mo ago First seen · 63 lines · 80 tokens per session scan A 3b3f808f990f
futures-kline is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 78 tokens to every session and 1,110 once invoked, about $0.0003 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-10-15.
futures-kline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| futures-klineFTShare-Lab/FTShare-skill | Skill | 65 | 7d ago | MIT | A | 78 | 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 |
| sprrwilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 54 | Claude Code, Codex |
| 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 |