Agent skill

Hk Stock Analysis

by nicepkg in nicepkg/ai-workflow

Comprehensive Hong Kong stock analysis covering H-shares, Red Chips, local HK stocks, AH premium analysis, Stock Connect flows, and HK market characteristics (T+0, no price limits, short selling).

MITAuto-check passedBusiness, Finance & HR

Install Hk Stock Analysis

skills CLI
$ npx skills add nicepkg/ai-workflow --skill hk-stock-analysis -a claude-code

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

GitHub CLI
$ gh skill install nicepkg/ai-workflow hk-stock-analysis --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/nicepkg/ai-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workflows/stock-trader-workflow/.claude/skills/hk-stock-analysis .claude/skills/hk-stock-analysis && 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
hk-stock-analysis
GitHub stars
285
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
412 words
Files
1
Skills in repo
75
Repo updated
First seen
Licence
MIT

At a glance

Comprehensive Hong Kong stock analysis covering H-shares, Red Chips, local HK stocks, AH premium analysis, Stock Connect flows, and HK market characteristics (T+0, no price limits, short selling).

  • Works in 6 steps: Basic Information → AH Premium Analysis (For Dual-Listed) → Fundamental Analysis → …
  • User asks about 港股分析
  • SKILL.md covers Overview, Market Characteristics, Data Sources and Analysis Framework, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hk Stock Analysis is an agent skill from nicepkg/ai-workflow. Comprehensive Hong Kong stock analysis covering H-shares, Red Chips, local HK stocks, AH premium analysis, Stock Connect flows, and HK market characteristics (T+0, no price limits, short selling). Use when user asks about 港股分析, Hong Kong listed stocks, H shares, or needs analysis considering HK market features.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Stock and market analysis. The repository describes itself as: 🚀 170+ pre-built skills for Claude Code, Cursor, Codex & 14+ AI tools. Stop re-teaching your AI the same things. One command → instant domain expertise. Marketing, SEO, Trading… The licence is MIT.

When your agent uses it

  • User asks about 港股分析
  • Hong Kong listed stocks
  • Needs analysis considering HK market features

Example prompts

  • “/hk-stock-analysis”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Basic Information
  2. AH Premium Analysis (For Dual-Listed)
  3. Fundamental Analysis
  4. Technical Analysis
  5. Capital Flow Analysis
  6. Liquidity Analysis

What it can do on your machine

Read from SKILL.md and the folder at commit d167b41. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    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 no API keys, tokens, secrets or passwords.

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

Context cost

Hk Stock Analysis loads about 1.3k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 412 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from nicepkg/ai-workflow at commit d167b41, republished under its MIT licence (© nicepkg). 412 words, ~1,301 tokens.

Download SKILL.mdSave it as .claude/skills/hk-stock-analysis/SKILL.md (or your agent's skills folder).
name
hk-stock-analysis
description
Comprehensive Hong Kong stock analysis covering H-shares, Red Chips, local HK stocks, AH premium analysis, Stock Connect flows, and HK market characteristics (T+0, no price limits, short selling). Use when user asks about 港股分析, Hong Kong listed stocks, H shares, or needs analysis considering HK market features.

港股分析 (Hong Kong Stock Analysis)

Overview

Perform comprehensive analysis of Hong Kong listed stocks with consideration of unique market characteristics including T+0 trading, no price limits, short selling mechanism, and cross-border capital flows via Stock Connect.

Market Characteristics

Trading Rules
  • T+0 Trading: Can buy and sell same day (no T+1 restriction)
  • No Price Limits: No daily limit up/down (unlike A-shares)
  • Short Selling: Allowed for designated securities
  • Settlement: T+2
  • Trading Hours:
    • Morning: 9:30-12:00
    • Afternoon: 13:00-16:00
    • Pre-opening: 9:00-9:30
  • Lot Size: Varies by stock (often 100, 200, 400, 500, 1000, 2000)
  • Currency: HKD (some stocks trade in USD/RMB)
Stock Categories

H-Shares (H股)

  • Mainland companies listed in HK
  • Examples: 中国平安(02318), 工商银行(01398)
  • Subject to CSRC approval

Red Chips (红筹股)

  • HK-incorporated companies controlled by mainland entities
  • Examples: 中国移动(00941), 中海油(00883)

Local HK Stocks (本地股)

  • HK-headquartered companies
  • Examples: 长实集团(01113), 新鸿基地产(00016)

Chinese Concept Stocks (中概股)

  • Chinese companies listed via VIE structure
  • Examples: 阿里巴巴(09988), 腾讯控股(00700)
Key Indices
  • 恒生指数 (HSI) - Hang Seng Index
  • 恒生科技指数 (HSTECH) - Hang Seng Tech Index
  • 恒生中国企业指数 (HSCEI) - H-share Index
  • 恒生国企指数

Data Sources

Primary Sources:

  • 港交所披露易 (HKEX) - hkexnews.hk
  • 阿斯达克财经 (AAStocks) - aastocks.com
  • 经济通 (ET Net) - etnet.com.hk
  • 富途牛牛 (Futu) - futunn.com
  • 雪球港股 (Xueqiu) - xueqiu.com

Search Strategy:

  • Use HK stock code with .HK suffix
  • Search: "[股票名称] 港股 财务数据"
  • For AH premium: "[公司名称] AH溢价"
  • For southbound: "[股票代码] 南向资金"

Analysis Framework

1. Basic Information
股票代码: [Code].HK
股票名称: [Name]
股票类型: H股/红筹/本地股/中概股
所属行业: [Industry]
市值: [Market Cap in HKD/USD]
每手股数: [Lot Size]
是否港股通标的: 是/否
2. AH Premium Analysis (For Dual-Listed)

AH溢价指标:

A股价格: ¥XX.XX
H股价格: HK$XX.XX
当前汇率: 1 HKD = XX CNY
AH溢价率: XX% (A股相对H股溢价/折价)
历史溢价区间: XX% - XX%
当前分位: XX%

溢价分析要点:

  • 溢价率 > 30%: A股高估或H股低估
  • 溢价率 < 0%: H股高估或A股低估
  • 关注溢价收敛机会
  • 考虑汇率波动影响
Show full SKILL.md (186 more words)Show less
3. Fundamental Analysis

Financial Metrics (Based on HK Accounting Standards):

  • 营业收入 (Revenue)
  • 股东应占溢利 (Profit Attributable to Shareholders)
  • 每股盈利 EPS
  • 每股派息 DPS
  • 派息比率 (Payout Ratio)
  • 股息率 (Dividend Yield)
  • 市盈率 P/E
  • 市净率 P/B

港股特色指标:

  • 每股净资产 (NAV per share)
  • 折让率 (Discount to NAV) - for property stocks
  • 内含价值 (EV) - for insurance stocks
  • 重估净资产 (Revalued NAV)
4. Technical Analysis

价格分析:

  • 当前价格
  • 52周高低
  • 与均线关系 (10/20/50/200日)
  • 支撑位/压力位

港股特有考虑:

  • 无涨跌停,波动可能较大
  • 关注成交量变化 (港股流动性差异大)
  • 做空比率 (Short Interest)
  • 沽空金额/成交金额比

指标:

  • MACD
  • RSI
  • 布林带
  • 成交量分析
5. Capital Flow Analysis

南向资金 (Southbound Capital):

港股通持股: XXX万股
占已发行股本: X.XX%
近期变化: 增持/减持
南向资金净买入 (近5日): XXX亿港元

机构持仓:

  • 基金持仓比例
  • 大股东增减持
  • 回购情况

沽空数据:

  • 沽空股数
  • 沽空金额
  • 沽空比率
  • 借货利率
6. Liquidity Analysis

流动性指标:

  • 日均成交额 (20日)
  • 换手率
  • 买卖价差 (Bid-Ask Spread)
  • 每手金额

流动性风险评估:

  • 低流动性警示 (日均成交<1000万港元)
  • 大额交易冲击成本估算

Output Format

分析报告模板
markdown
# [股票名称] ([股票代码].HK) 港股分析报告

## 基本信息
| 指标 | 数值 |
|-----|------|
| 当前价格 | HK$XX.XX |
| 涨跌幅 | X.XX% |
| 市值 | XX亿港元 |
| 每手股数 | XXX股 |
| 每手金额 | HK$XXXX |
| 股票类型 | H股/红筹/本地股 |
| 港股通标的 | 是/否 |

## AH溢价分析 (如适用)
| 指标 | 数值 |
|-----|------|
| A股价格 | ¥XX.XX |
| H股价格 | HK$XX.XX |
| 当前溢价率 | XX% |
| 历史平均溢价 | XX% |
| 投资建议 | 偏好A/偏好H/中性 |

## 财务分析

### 核心指标
| 指标 | 最新值 | 同比变化 |
|-----|-------|---------|
| 营收 | | |
| 归母净利 | | |
| EPS | | |
| 股息率 | | |
| ROE | | |

### 估值水平
| 指标 | 当前 | 历史均值 | 同业对比 |
|-----|------|---------|---------|
| PE | | | |
| PB | | | |
| 股息率 | | | |

## 技术分析

### 趋势判断
- 短期:
- 中期:
- 长期:

### 关键价位
- 压力位: HK$XX.XX
- 支撑位: HK$XX.XX
- 52周高: HK$XX.XX
- 52周低: HK$XX.XX

## 资金与流动性

### 南向资金
- 港股通持股: XXX万股 (X.XX%)
- 近期变化:

### 沽空数据
- 沽空比率: X.XX%
- 沽空趋势:

### 流动性评估
- 日均成交额: XXX万港元
- 流动性评级: 优/良/中/差

## 风险提示
1. [港股特有风险: 流动性、汇率等]
2. [公司特定风险]
3. [行业/政策风险]

## 投资建议
- 操作建议: 买入/持有/观望/卖出
- 目标价: HK$XX.XX
- 止损价: HK$XX.XX
- 适合投资者: [描述]

## 免责声明
本分析仅供参考,不构成投资建议。港股市场无涨跌停限制,波动风险较大。

Special Analysis Types

AH股套利分析

For dual-listed stocks:

  • Current premium/discount
  • Historical premium range
  • Convergence opportunity assessment
  • Consider: currency risk, trading cost, settlement difference
港股通标的筛选

Criteria for southbound eligible stocks:

  • Index constituents
  • Market cap requirements
  • Liquidity requirements
高息股分析

Hong Kong dividend stocks:

  • Dividend yield sustainability
  • Payout ratio trends
  • Currency of dividend (HKD/USD/RMB)
  • Withholding tax considerations
老千股识别

Warning signs for potential "penny stock traps":

  • 频繁供股/配股 (frequent rights issues)
  • 大比例合股后再拆股
  • 关联交易频繁
  • 业绩长期亏损但不退市
  • 成交极度稀少

Example Queries

  • "分析腾讯控股"
  • "00700 基本面怎么样"
  • "比亚迪AH溢价多少,买哪个合适"
  • "港股高息股推荐"
  • "恒生科技指数成分股分析"
  • "这只港股流动性怎么样"
  • "港股通净买入最多的股票"

© nicepkg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in workflows/stock-trader-workflow/.claude/skills/hk-stock-analysis of nicepkg/ai-workflow.

Open the folder on GitHubat commit d167b41

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in nicepkg/ai-workflow, which our catalogue first saw on October 9, 2026.

Compare with similar skills

Hk Stock Analysis 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.

Hk Stock Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hk Stock Analysis this skillnicepkg/ai-workflow2851 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Earnings

    helsome/folio

    Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.

    271 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed

More from nicepkg/ai-workflow

All 75 skills in this repo
  • Capture Triage

    nicepkg/ai-workflow

    Processes Drafts Pro captures from the Inbox folder. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~3k tokensUpdated 8 mo ago
    Auto-check passed
  • Legacy To AI Ready

    nicepkg/ai-workflow

    Transform legacy codebases into AI-ready projects with Claude Code configurations.

    285 GitHub stars~2.2k tokensUpdated 8 mo ago
    Auto-check: notes
  • Newsletter Coach

    nicepkg/ai-workflow

    Writing coach that extracts educational content from your daily experiences and turns it into publish-ready newsletter drafts.

    285 GitHub stars~3.7k tokensUpdated 8 mo ago
    Auto-check passed
  • Webfluence

    nicepkg/ai-workflow

    Content web architecture framework. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~1.4k tokensUpdated 8 mo ago
    Auto-check passed
  • Workflow Creator

    nicepkg/ai-workflow

    Create complete Claude Code workflow directories with curated skills.

    285 GitHub stars~2.6k tokensUpdated 8 mo ago
    Auto-check passed
  • Media Processing

    nicepkg/ai-workflow

    Video/audio/image processing with FFmpeg and ImageMagick. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~2.4k tokensUpdated 8 mo ago
    Auto-check: notes

Questions about Hk Stock Analysis

What does Hk Stock Analysis do?

Comprehensive Hong Kong stock analysis covering H-shares, Red Chips, local HK stocks, AH premium analysis, Stock Connect flows, and HK market characteristics (T+0, no price limits, short selling). Hk Stock Analysis is an agent skill from nicepkg/ai-workflow. Comprehensive Hong Kong stock analysis covering H-shares, Red Chips, local HK stocks, AH premium analysis, Stock Connect flows, and HK market characteristics (T+0, no price limits, short selling).

When should I use Hk Stock Analysis?

Hk Stock Analysis fits situations like: user asks about 港股分析; hong Kong listed stocks; needs analysis considering HK market features.

How do I install Hk Stock Analysis in Claude Code?

Run `npx skills add nicepkg/ai-workflow --skill hk-stock-analysis -a claude-code`. Or copy the skill folder (workflows/stock-trader-workflow/.claude/skills/hk-stock-analysis in nicepkg/ai-workflow) into .claude/skills/hk-stock-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Hk Stock Analysis in Codex?

Run `npx skills add nicepkg/ai-workflow --skill hk-stock-analysis -a codex`. Or copy the skill folder (workflows/stock-trader-workflow/.claude/skills/hk-stock-analysis in nicepkg/ai-workflow) into .agents/skills/hk-stock-analysis in your project. Codex loads it when a task matches its description.

Can I use Hk Stock Analysis 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 nicepkg/ai-workflow --skill hk-stock-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hk-stock-analysis, .gemini/skills/hk-stock-analysis, .github/skills/hk-stock-analysis and .opencode/skills/hk-stock-analysis in your project.

What does Hk Stock Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Hk Stock Analysis is instructions for the agent only.

Does Hk Stock Analysis 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 Hk Stock Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hk Stock Analysis use?

Hk Stock Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hk Stock Analysis use?

About 1.3k tokens (SKILL.md is roughly 5.2k 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 Hk Stock Analysis?

Skills that share tags, products or a category with Hk Stock Analysis: Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 322 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Digital Oracle (komako-workshop/digital-oracle, 878 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hk Stock Analysis?

nicepkg (a GitHub organization) maintains it in nicepkg/ai-workflow, which has 285 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on January 20, 2026.

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