Agent skill

HiThink A-Share Market Data

by kansoku-trade in kansoku-trade/kansoku

Pulls mainland China A-share data from HiThink's official API: limit-up pools, dragon-tiger lists, hot rankings, move explanations, financial statements, quote snapshots and daily candles.

Custom licenceAuto-check: notesBusiness, Finance & HR

SKILL.md written in Chinese; this summary is our English description.

Install HiThink A-Share Market Data

skills CLI
$ npx skills add kansoku-trade/kansoku --skill hithink-a-share -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kansoku-trade/kansoku hithink-a-share --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kansoku-trade/kansoku.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/hithink-a-share .claude/skills/hithink-a-share && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hithink-a-share
GitHub stars
328
Token cost
~1.8k tokens
SKILL.md length
242 words
Files
8 (incl. scripts)
Skills in repo
13
Repo updated
First seen
Licence
Custom licence

At a glance

Pulls mainland China A-share data from HiThink's official API: limit-up pools, dragon-tiger lists, hot rankings, move explanations, financial statements, quote snapshots and daily candles.

  • Reviewing today's limit-up stocks and how many days in a row each has hit the limit
  • SKILL.md covers 何时用, 认证, 脚本一览 and CLI 示例, plus 4 more sections
  • Runs Python scripts from its folder; calls python3; needs HITHINK_FINANCE_API_KEY
  • Finding out why a mainland stock jumped or dropped, or checking the dragon-tiger list

What it does

This skill gives the agent six Python scripts that query HiThink's official finance API for stocks listed in mainland China. The special.py script switches with a --kind option between the limit-up pool, the consecutive limit-up ladder, the dragon-tiger list of institutional and hot-money activity, surging stocks, hot rankings with their history and trend, and explanations for abnormal price moves.

The other scripts return quote snapshots for several tickers at once or a paged view of the whole market, daily candlesticks over a day count or a date range, income statement, balance sheet, cash flow and financial indicator data by year or quarter, the trading calendar for the past year, and symbol search. An API key named HITHINK_FINANCE_API_KEY is required and is read from the repository's .env file; the scripts exit with code 2 when it is missing.

Coverage is limited to A-shares, whose codes look like 600519.SH. Minute-level candles, live market watching and Hong Kong or US stocks are out of scope, and the skill is meant for requests about a specific A-share stock or sector, not for market-wide US scans.

When your agent uses it

  • Reviewing today's limit-up stocks and how many days in a row each has hit the limit
  • Finding out why a mainland stock jumped or dropped, or checking the dragon-tiger list
  • Pulling official income statement, balance sheet or cash flow figures for an A-share company
  • Looking up a quote snapshot or daily candles for a ticker such as 600519.SH

Example prompts

  • “Show me the limit-up pool and the consecutive-board ladder for today.”
  • “Why did 000001.SZ move so sharply? Check the anomaly explanations.”
  • “Pull quarterly income statement data and financial indicators for 600519.SH.”
  • “Which stocks are on the hot ranking list, and how has that ranking trended lately?”

Requirements

  • Python to run the bundled scripts
  • A HITHINK_FINANCE_API_KEY, normally kept in the repository's .env file
  • Network access to HiThink's API

What it can do on your machine

Read from SKILL.md and the folder at commit 8fa9a03. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • HITHINK_FINANCE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

HiThink A-Share Market Data loads about 1.8k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 242 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:29
    需要 `HITHINK_FINANCE_API_KEY`(已在仓库根 `.env` 里配置,脚本通过 `_shared/env.py` 自动加载,无需手动 `source`)。缺失时脚本报 `exit_code=2`,提示去 `.env`
  • NoteMentions a .env fileSKILL.md:120
    CE_API_KEY`                     | 提示用户去 `.env` 补 key

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 242 words (~1,830 tokens).

“Longbridge 不覆盖 A 股的短线情绪与官方口径财报数据,这个 skill 补这块盲区。触发词:”

— opening of SKILL.md by kansoku-trade, Custom licence
name
hithink-a-share

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (scripts) in .claude/skills/hithink-a-share of kansoku-trade/kansoku.

  • SKILL.md
  • scripts/_common.py
  • scripts/calendar.py
  • scripts/financials.py
  • scripts/kline.py
  • scripts/search.py
  • scripts/snapshot.py
  • scripts/special.py

Open the folder on GitHubat commit 8fa9a03

Compare with similar skills

HiThink A-Share Market Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

HiThink A-Share Market Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
HiThink A-Share Market Data this skillkansoku-trade/kansoku328—~1.8kAutomated safety check: NotesCustom licence
AI-Trader Market IntelHKUDS/AI-Trader23k—~1.1kAutomated safety check: PassNone
Eastmoney Market DataHKUDS/Vibe-Trading35k—~1kAutomated safety check: PassMIT
Stock Deep Analysis Workflowwbh604/UZI-Skill7.1k—~9.1kAutomated safety check: NotesMIT
Zhengxi Fund Manager Views Librarylyra81604/zhengxi-views1.8k—~1.6kAutomated safety check: PassMIT
SEC EDGAR Filings FetcherHKUDS/Vibe-Trading35k—~1.4kAutomated safety check: PassMIT

Similar skills

  • AI-Trader Market Intel

    HKUDS/AI-Trader

    Reads AI-Trader's read-only market snapshots, grouped financial news and events board through its market-intel endpoints, for context before trading or posting.

    23k GitHub stars~1.1k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Eastmoney Market Data

    HKUDS/Vibe-Trading

    Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.

    35k GitHub stars~1k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Runs a staged deep analysis of a single stock on China A-share, Hong Kong and US markets, ending in an HTML report with valuation models and investor-panel scores.

    7.1k GitHub stars~9.1k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check: notes
  • Zhengxi Fund Manager Views Library

    lyra81604/zhengxi-views

    Answers questions with sourced quotes from one Chinese fund manager's public writings, applies his stated investment method and compares his words with real fund holdings.

    1.8k GitHub stars~1.6k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • SEC EDGAR Filings Fetcher

    HKUDS/Vibe-Trading

    Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.

    35k GitHub stars~1.4k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Scans a long-running industry trend for supply chain chokepoints, aiming to find second- and third-layer suppliers that the market has not yet priced in.

    17k GitHub stars~2.6k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed

More from kansoku-trade/kansoku

All 13 skills in this repo
  • Korea Market Quotes

    kansoku-trade/kansoku

    Fetches KOSPI, KOSDAQ, SK Hynix and Samsung quotes from Yahoo Finance and runs a capitulation-reversal test on Korean chip-stock selloffs.

    328 GitHub stars~1.7k tokensUpdated 14 days ago
    Auto-check passed
  • Trump Truth Social Monitor

    kansoku-trade/kansoku

    Pulls recent Truth Social posts from a public RSS mirror, sorts them into market-relevant topic buckets and prepares them for market-impact grading, with an archive mode.

    328 GitHub stars~2.2k tokensUpdated 14 days ago
    Auto-check passed
  • Trade Decision Gate

    kansoku-trade/kansoku

    Runs a fixed checklist before any buy, add, sell or trim, scores the result, logs each verdict as JSON and flags trades that went against it.

    328 GitHub stars~2k tokensUpdated 14 days ago
    Auto-check passed
  • US Capital Rotation Scanner

    kansoku-trade/kansoku

    Takes one end-of-session reading of US capital flow across sector cohorts, names the dominant rotation narrative and saves a dated journal file.

    328 GitHub stars~1.9k tokensUpdated 14 days ago
    Auto-check passed
  • FRED Macro Time Series

    kansoku-trade/kansoku

    Looks up US and global macro series from St. Louis Fed FRED, such as CPI, GDP, Fed funds, yields, M2 and the dollar index, and reports them with units and dates.

    328 GitHub stars~1.1k tokensUpdated 14 days ago
    Auto-check: notes
  • GDELT News and Tone Search

    kansoku-trade/kansoku

    Queries the GDELT 2.0 Doc API for multilingual global news, article lists, tone timelines and volume charts, with a helper script and a request throttle.

    328 GitHub stars~1k tokensUpdated 14 days ago
    Auto-check passed

Questions about HiThink A-Share Market Data

What does HiThink A-Share Market Data do?

Pulls mainland China A-share data from HiThink's official API: limit-up pools, dragon-tiger lists, hot rankings, move explanations, financial statements, quote snapshots and daily candles. This skill gives the agent six Python scripts that query HiThink's official finance API for stocks listed in mainland China.py script switches with a --kind option between the limit-up pool, the consecutive limit-up ladder, the dragon-tiger list of institutional and hot-money activity, surging stocks, hot rankings with their history and trend, and explanations for abnormal price moves.

When should I use HiThink A-Share Market Data?

HiThink A-Share Market Data fits situations like: reviewing today's limit-up stocks and how many days in a row each has hit the limit; finding out why a mainland stock jumped or dropped, or checking the dragon-tiger list; pulling official income statement, balance sheet or cash flow figures for an A-share company; looking up a quote snapshot or daily candles for a ticker such as 600519.SH.

How do I install HiThink A-Share Market Data in Claude Code?

Run `npx skills add kansoku-trade/kansoku --skill hithink-a-share -a claude-code`. Or copy the skill folder (.claude/skills/hithink-a-share in kansoku-trade/kansoku) into .claude/skills/hithink-a-share in your project. Claude Code loads it when a task matches its description.

How do I install HiThink A-Share Market Data in Codex?

Run `npx skills add kansoku-trade/kansoku --skill hithink-a-share -a codex`. Or copy the skill folder (.claude/skills/hithink-a-share in kansoku-trade/kansoku) into .agents/skills/hithink-a-share in your project. Codex loads it when a task matches its description.

Can I use HiThink A-Share Market Data in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kansoku-trade/kansoku --skill hithink-a-share -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hithink-a-share, .gemini/skills/hithink-a-share, .github/skills/hithink-a-share and .opencode/skills/hithink-a-share in your project.

What does HiThink A-Share Market Data need to run?

Going by SKILL.md and its folder, HiThink A-Share Market Data needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named HITHINK_FINANCE_API_KEY. Our summary lists: Python to run the bundled scripts; A HITHINK_FINANCE_API_KEY, normally kept in the repository's .env file; Network access to HiThink's API.

Does HiThink A-Share Market Data access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is HiThink A-Share Market Data safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does HiThink A-Share Market Data use?

HiThink A-Share Market Data has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does HiThink A-Share Market Data use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to HiThink A-Share Market Data?

Skills that share tags, products or a category with HiThink A-Share Market Data: AI-Trader Market Intel (HKUDS/AI-Trader, 23k stars), Eastmoney Market Data (HKUDS/Vibe-Trading, 35k stars), Stock Deep Analysis Workflow (wbh604/UZI-Skill, 7.1k stars) and Zhengxi Fund Manager Views Library (lyra81604/zhengxi-views, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains HiThink A-Share Market Data?

kansoku-trade (a GitHub organization) maintains it in kansoku-trade/kansoku, which has 328 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 26, 2026.

Source: kansoku-trade/kansoku on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.