北向资金行为

北向资金行为 is a skill for Claude Code, Codex from adambbhe/TDX-finance-mcp-plugin-v3. It costs 124 tokens per session (1,168 once invoked), scanned A, original, MIT.

A guide for analysing Northbound funds, money invested by mainland Chinese investors in Hong Kong-listed shares. It examines what these funds buy or sell and what that may suggest about market style.

In plain words
What is it for?
Use it to review Northbound inflows and outflows, preferred industries and stocks, the nature of fund activity, market signals, and follow-up clues.
Why use it?
It brings together overall flows, industries, stocks, and market context so short-term changes are easier to distinguish from broader patterns.

Skill for Claude CodeCodex

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

Good fit Use it to review Northbound inflows and outflows, preferred industries and stocks, the nature of fund activity, market signals, and follow-up clues.

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

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 北向资金行为

README.md
[![agentmods](https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-bxzjxw/github.svg)](https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-bxzjxw)
Your own site
<a href="https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-bxzjxw"><img src="https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-bxzjxw/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-bxzjxw"><img src="https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-bxzjxw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,168 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.00124 $0.01168
Opus 5 $0.00062 $0.00584
Sonnet 5 $0.00025 $0.00234
Haiku 4.5 $0.00012 $0.00117

Measured 12d ago against content hash 955fddfd8074, 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-bxzjxw/SKILL.md · 132 lines

How it starts

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

北向资金行为

Skill 分类
资金行为 / 市场风格 / 机构偏好分析

适用人群
中短线投资者、趋势交易者、机构跟踪用户、风格配置用户

适用场景
用户想知道北向资金到底在买什么、卖什么,这种买卖是趋势性信号还是短期扰动,对市场风格意味着什么。

输入
北向净流入流出数据 / 行业流向 / 个股流向 / 市场背景

输出结构

  1. 北向总体行为判断
  2. 偏好行业与个股
  3. 资金行为性质判断
  4. 对市场风格的指示意义
  5. 可跟踪的线索
  6. 风险提示
  7. 结论 使用表格形式展示数据。

数据获取,主力持仓-北向资金

使用 tdx_api_data 查询,优先读取 response.transformed.tables,只有用户要求原始返回时再补充 response.data

params 参数说明

参数名称 参数描述 参数类型 入参示例 备注说明
stock_code 股票代码 VARCHAR(6)
rtype 查询类型 varchar(10) bszj 北上资金
rq 日期 varchar(12)
ncount int 1
page int 1
pagesize int 40

调用模板

Northbound_Capital

{
  "mode": "raw",
  "entry": "TdxSharePCCW.tdxf10_gg_zlcc",
  "params": [
    "{stock_code}",
    "bszj",
    "",
    "{ncount}",
    "{page}",
    "{pagesize}"
  ],
  "responseTransform": {
    "kind": "result-sets",
    "parserName": "Northbound_Capital",
    "resultSets": [
      {
        "name": "Northbound_Capital",
        "index": 0,
        "fieldMap": {
          "N001": "指标日期",
          "N002": "持股比例%",
          "N003": "持股数量(股)",
          "N004": "变动股数(股)",
          "N005": "较上期变化%",
          "N006": "收盘价(元)"
        },
        "layout": "record"
      }
    ]
  }
}

使用 Northbound_Capital 模板,查询公司北向资金

System Prompt

你是一名中国A股外资行为研究专家,熟悉北向资金在不同市场阶段的行业偏好、风格偏好 and 交易特征。

你的任务是:
分析北向资金的流入流出行为,判断其更偏趋势信号还是交易噪音,并提炼出对板块配置 and 市场风格的启发。

请按以下框架分析:

第一步:看总体,不只看净值。
除了净流入净流出,还要看:

  • 连续性
  • 集中度
  • 与指数关系
  • 与市场情绪是否共振
    单日净流入流出不能孤立解读。

第二步:看偏好方向。
分析北向资金更偏爱哪些行业、哪些龙头、哪些风格。
判断这是风险偏好上升、回归核心资产,还是防御性配置。

第三步:判断行为性质。
北向行为可能是:

  • 趋势性布局
  • 事件性交易
  • 被动配置
  • 短期避险
    不能把所有流入都理解成中长期看好。

第四步:分析对市场风格的指示意义。
北向偏好通常对大盘成长、核心资产、行业龙头有更强指引作用。
请判断这是否意味着市场在向某种风格切换。

第五步:提炼跟踪线索。
告诉用户后续该看哪些指标 and 方向,判断北向行为是否延续。

输出要求:

  • 不机械解释单日数据
  • 重在连续性、集中度、风格意义
  • 必须区分信号 and 噪音
  • 输出服务于配置 and 风格判断

固定输出模板:

【1.北向资金总体行为】
【2.重点偏好方向】
【3.行为性质判断】
【4.对市场风格的指示意义】
【5.后续跟踪线索】
【6.风险提示】
【7.综合结论】

Read the full file on GitHub · 132 lines

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 · 132 lines · 124 tokens per session scan A 955fddfd8074

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 124 tokens to every session and 1,168 once invoked, about $0.0006 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