主力资金

主力资金 is a skill for Codex from adambbhe/TDX-finance-mcp-plugin-v3. It costs 44 tokens per session (1,317 once invoked), scanned A, original, MIT.

A Chinese-language data-query skill for looking up institutional stock holdings, northbound investment flows, and comparisons with share prices. TDX API data is a source of Chinese market information.

In plain words
What is it for?
Use it with a six-digit stock code to retrieve reporting dates, institutional holdings, northbound funds, or holding-versus-price comparisons.
Why use it?
It maps common investment questions to the required TDX queries and parameters, reducing the need to assemble those requests manually.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it with a six-digit stock code to retrieve reporting dates, institutional holdings, northbound funds, or holding-versus-price comparisons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-main-position
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 adambbhe/TDX-finance-mcp-plugin-v3 --skill tdx-main-position
Clone the repo
git clone --depth 1 https://github.com/adambbhe/TDX-finance-mcp-plugin-v3

Made for: 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 主力资金

README.md
[![agentmods](https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-main-position/github.svg)](https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-main-position)
Your own site
<a href="https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-main-position"><img src="https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-main-position/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 主力资金

Your own site · 80×15
<a href="https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-main-position"><img src="https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-main-position.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 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.00044 $0.01317
Opus 5 $0.00022 $0.00659
Sonnet 5 $0.00009 $0.00263
Haiku 4.5 $0.00004 $0.00132

Measured 12d ago against content hash 3a0a95836c40, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

主力资金 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 12d 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.

skills/tdx-main-position/SKILL.md · 79 lines

How it starts

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

TDX Main Position

何时使用

当用户想看机构持股日期、机构持仓明细、机构持股汇总、机构类型分布、北向资金或机构持仓与股价对比时使用本 skill。

入参规则

  • 当前这些查询类型都已纳入自动映射
  • code 必须是 6 位股票代码字符串
  • 涉及报告期或日期时,统一使用 YYYYMMDD
  • institutional_holding_dates 使用 entry="TdxSharePCCW.tdxf10_gg_comreq" + fixedTag="jgcg"
  • institutional_holding_summary 使用 entry="TdxSharePCCW.tdxf10_gg_gdyj" + fixedTag="jgcg"
  • institutional_holding_overview 使用 entry="TdxSharePCCW.tdxf10_gg_gdyj" + fixedTag="jgcgqk"
  • institutional_holding_detail 使用 entry="TdxSharePCCW.tdxf10_gg_gdyj_jgcgmx"
  • northbound_funds 使用 entry="TdxSharePCCW.tdxf10_gg_zlcc" + fixedTag="bszj" + date="YYYYMMDD"
  • northbound_funds 的实际上游参数会组装为 [code, fixedTag, date, "0", "0", "0"]
  • institutional_holding_price_compare 使用 entry="TdxShareCW.ph_agf10_gbgd_jgcc" + queryKey="00101"
  • 如果显式传 responseTransform,要保证它与查询类型对应一致;当前代码不会自动纠正不匹配的 preset

查询类型映射

查询类型 适用场景 entry 选择参数 默认 preset
institutional_holding_dates 可用报告期列表 TdxSharePCCW.tdxf10_gg_comreq fixedTag="jgcg" institutional_holding_dates
institutional_holding_summary 历次报告期机构家数、持仓比例 TdxSharePCCW.tdxf10_gg_gdyj fixedTag="jgcg"、分页参数 institutional_holding_summary
institutional_holding_overview 单报告期机构类型整体分布 TdxSharePCCW.tdxf10_gg_gdyj fixedTag="jgcgqk"reportDate、分页参数 institutional_holding_overview
institutional_holding_detail 某报告期机构持股明细 TdxSharePCCW.tdxf10_gg_gdyj_jgcgmx reportDatesortTypetypeValuepageNopageSize institutional_holding_detail
northbound_funds 北向资金持股数量、市值和占比 TdxSharePCCW.tdxf10_gg_zlcc fixedTag="bszj"date=<YYYYMMDD> northbound_funds
institutional_holding_price_compare 机构持仓与股价对比 TdxShareCW.ph_agf10_gbgd_jgcc queryKey="00101"compareFlag institutional_holding_price_compare

选择规则

  • 用户要“有哪些报告期可查”时,选 institutional_holding_dates
  • 用户要“历次机构持股汇总”时,选 institutional_holding_summary
  • 用户要“某一期各机构类型分布”时,选 institutional_holding_overview
  • 用户要“某一期机构持仓明细”时,选 institutional_holding_detail
  • 用户要“北向资金持股”时,选 northbound_funds
  • 用户要“机构持仓和股价对比”时,选 institutional_holding_price_compare

Read the full file on GitHub · 79 lines

Files

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.

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. 12d ago First seen · 79 lines · 44 tokens per session scan A 3a0a95836c40

Subscribe to this mod's changes

主力资金 is a skill published in the GitHub repository adambbhe/TDX-finance-mcp-plugin-v3 (35 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 1,317 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

hithink-finance

A routing guide for accessing Chinese A-share financial data, including prices, company reports, valuations, funds, indices, sectors, and local data storage.

HiThink-Tech/Financial-API · 93 tokens

hithink-finance-fund

A command-line guide for querying fund information, including profiles, managers, holdings, prices, returns, financial data, news, and exchange-traded fund snapshots. A command-line tool is a program controlled by typed terminal commands.

HiThink-Tech/Financial-API · 96 tokens

hithink-finance-data

A local data-management skill for the HiThink Finance command-line tool and its DuckDB database. DuckDB is a database stored in a local file.

HiThink-Tech/Financial-API · 60 tokens

hithink-finance-market

A command-line tool entry for retrieving ordinary Chinese A-share market data, including snapshots, historical price bars, trading calendars, adjustment factors, and company actions.

HiThink-Tech/Financial-API · 89 tokens

hithink-finance-special-data

A command-line tool entry for retrieving special Chinese market lists and event data, such as limit-up stocks, limit-down stocks, unusual moves, hot stocks, and Dragon-Tiger records.

HiThink-Tech/Financial-API · 82 tokens

hithink-finance-futures

A command-line data source for public futures-market information, including contracts, positions, warehouse receipts, basis, trading schedules, and price charts. Futures are agreements to buy or sell an asset at a set future date.

HiThink-Tech/Financial-API · 78 tokens