index-fut-depth

index-fut-depth is a skill for Claude Code, Codex from FTShare-Lab/FTShare-skill. It costs 121 tokens per session (1,788 once invoked), scanned A, original, MIT.

A data lookup for snapshots of stock-index futures, their matching index prices, and the mapping between futures contracts and indexes.

In plain words
What is it for?
Use it to query IF, IC, IM, or IH contracts for one trading day or a date range, optionally filtering by contract family.
Why use it?
It avoids combining futures and index data from separate sources when checking market levels or the difference between a futures price and its index.

Skill for Claude CodeCodex

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

Good fit Use it to query IF, IC, IM, or IH contracts for one trading day or a date range, optionally filtering by contract family.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ftshare-lab/ftshare-skill/index-fut-depth
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 index-fut-depth
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 index-fut-depth

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/index-fut-depth"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/index-fut-depth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,788 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.
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.00121 $0.01788
Opus 5.5 $0.00048 $0.00715
Sonnet 5.5 $0.00024 $0.00358
Haiku 4.5 $0.00012 $0.00179

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

Security

Grade A, and why

index-fut-depth 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 2 executable files (scripts/handler.py, scripts/test_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/index-fut-depth/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

股指期货与指数深度行情

接口:GET /api/v1/market/data/index-fut/depth。在线文档:《股指期货与指数深度行情》

1. 接口描述

项目 说明
接口名称 股指期货与指数深度行情(index_fut_depth)
外部接口 GET /api/v1/market/data/index-fut/depth
请求方式 GET(query 参数)
适用场景 查询 IF / IC / IM / IH 股指期货深度快照、对应指数价格和仪器映射
数据范围 按交易日查询;历史数据自 20261030 起

不传日期参数时默认查询最新交易日。历史区间内 futures 与 index 按闭区间返回每个交易日;instrument_map 只返回一份。

2. 请求参数

参数名 类型 是否必填 描述 取值示例 备注
trade_date string 否 单日查询日期 20261030 格式 YYYYMMDD;与 start_date、end_date 互斥;不传日期参数时查询最新交易日
start_date string 否 区间起始交易日 20261030 格式 YYYYMMDD;必须与 end_date 同时传入
end_date string 否 区间结束交易日 20261103 格式 YYYYMMDD;必须与 start_date 同时传入,不得早于起始日,区间最长 3 年
code_prefix string 否 品种筛选 IF 仅 IF / IC / IM / IH,不区分大小写;不传返回全部品种

接口全量返回、无分页;历史区间内每日数据按闭区间返回,instrument_map 只返回一份。

3. 响应说明

外层固定为 code / message / data;成功时 code=200、message=success。

data 对象:

字段名 类型 说明
count integer futures 数组中的期货合约记录数
futures array 期货合约深度快照列表;每条记录带 trade_date
index array 指数价格快照列表;同一标的的完整价格与快速价格合并在同一条记录中
instrument_map object 仪器映射信息,按 fut_info / index_info 分组

futures 元素:

字段名 类型 说明
trade_date string 交易日 YYYYMMDD
code_prefix string 品种代码 IF / IC / IM / IH
delivery_code integer 交割合约代码
expire_date string 合约到期日 YYYYMMDD
days_left integer 剩余交易日数
price number 期货价格
volume number 成交量
open_interest number 持仓量
dividend_config number 分红配置值
index_price number 对应指数的 full 口径价格,用于基差计算
basis number 基差
div_basis number 分红调整后的基差
div_basis_ratio_pct number 分红调整后基差比例(百分比数值)
basis_daily_pct number/null 基差日度百分比;无数据为 null
basis_ann_pct number/null 基差年化百分比;无数据为 null
basis_ann_nodiv_pct number/null 不考虑分红的基差年化百分比;无数据为 null
timestamp string 期货深度快照时间 YYYY-MM-DD HH:MM:SS.fff,无时区偏移

Read the full file on GitHub · 113 lines

Files

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.

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 · +2 lines ae56ca181e3d
  2. 22d ago First seen · 111 lines · 121 tokens per session scan A f37dce186981

Subscribe to this mod's changes

index-fut-depth is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 121 tokens to every session and 1,788 once invoked, about $0.0005 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-11-10.

Related

index-fut-depth compared with skills from other repositories

index-fut-depth next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
index-fut-depthFTShare-Lab/FTShare-skillSkill657d agoMITA121Claude 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