Hithink Finance Futures logo

Hithink Finance Futures

CommunityPopular
HiThink-Tech
hithink-finance-futures

用于 Agent 通过 hithink-finance CLI 查询公开期货品种、合约详情、持仓、仓单、基差、交易日程、分时和日 K;端内专用的品种板块、重点合约目录、F10 与会话时间轴不在本 skill 范围。

Overview

PublisherHiThink-Tech
RepositoryFinancial-API
Skill namehithink-finance-futures
Stars
3.6K
Forks
311
Bundled files
13
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 13 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by HiThink-Tech on GitHub. Read the source before you install it.

Installation

Install the Hithink Finance Futures AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HiThink-Tech/Financial-API.git /tmp/Financial-API
mkdir -p .claude/skills
cp -r /tmp/Financial-API/hithink-finance-cli/skills/hithink-finance-futures .claude/skills/hithink-finance-futures
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hithink Finance Futures in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hithink Finance Futures on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hithink Finance Futures is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

hithink-finance-futures

期货公开资料和行情入口。按完整 thscode、品种与日期语义选择稳定命令。

前置条件表

条件操作
开始任何 CLI 调用先读取并遵循 hithink-finance-shared
不确定命令是否存在或参数是否变化运行 hithink-finance capabilities --format json,再运行 hithink-finance schema <id> --format json
需要执行下表某个命令先读取对应 reference 文件,不要只凭命令名猜参数
结果可能是全市场、分页、多标的或长区间使用命令声明的 --output <path> 落盘;远端 stdout 只返回摘要

快速决策

用户意图首选命令 / 路由
期货品种futures varieties
合约详情futures contract-detail
品种或公司持仓futures variety-positions / futures company-variety-positions
合约持仓futures contract-positions / futures contract-position-history
仓单或基差futures warehouse-receipts / futures latest-basis / futures basis-history
交易日程futures trading-schedule
分时或日 Kfutures intraday / futures daily

Shortcuts

命令何时使用
futures basis-historyQuery historical futures basis
futures company-variety-positionsQuery daily company positions by futures varieties
futures contract-detailQuery futures contract details
futures contract-position-historyQuery up to one year of futures contract positions
futures contract-positionsQuery daily futures contract positions
futures dailyQuery fixed 1d futures prices
futures intradayQuery current futures session intraday prices
futures latest-basisQuery latest main-continuous futures basis
futures position-companiesList futures position companies
futures trading-scheduleQuery futures trading schedule
futures varietiesList public futures varieties
futures variety-positionsQuery daily futures variety positions
futures warehouse-receiptsQuery historical futures warehouse receipts

原生命令与 schema

bash
hithink-finance capabilities --format json
hithink-finance schema <capability-id> --format json
hithink-finance futures <command> --help

使用原生命令前必须先看 schema;schema 是当前 CLI 参数契约,reference 是决策和边界补充。

权限表

命令类型要求
远端服务查询API Key 来自系统凭据库、HITHINK_FINANCE_API_KEY--api-key-stdin
本地 DuckDB 查询/导出本地库存在且 schema 兼容;可用全局 --db <path> 指定
删除、迁移、修复等有副作用操作先预览或说明影响;需要用户明确确认时才加 --yes

边界声明

  • 使用完整期货 thscode;品种代码必须大写并与合约匹配。
  • 历史持仓开始日在调用日前一年内;daily 的 start/end 必须成对提供。
  • 金融数值与日期允许 null,合法无数据数组保留为空数组。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hithink Finance Futures AI skill do?

用于 Agent 通过 hithink-finance CLI 查询公开期货品种、合约详情、持仓、仓单、基差、交易日程、分时和日 K;端内专用的品种板块、重点合约目录、F10 与会话时间轴不在本 skill 范围。

Why use Hithink Finance Futures on TypingMind?

Because you install it once and use it with any model. Hithink Finance Futures is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hithink Finance Futures in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HiThink-Tech/Financial-API/tree/main/hithink-finance-cli/skills/hithink-finance-futures. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hithink Finance Futures?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hithink Finance Futures?

As many as you like. As long as a model supports skills, you can use Hithink Finance Futures with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hithink Finance Futures AI skill free?

Yes. It is published on GitHub by HiThink-Tech under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇