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.
Analyze China macroeconomic data, PBOC monetary policy, fiscal policy, and their impact on A-share and HK stock markets.
$ npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nicepkg/ai-workflow china-macro-analyst --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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/china-macro-analyst .claude/skills/china-macro-analyst && rm -rf skills-srcUse ~/.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/
Install the "china-macro-analyst" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst into .claude/skills/china-macro-analyst/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "china-macro-analyst", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/china-macro-analystType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nicepkg/ai-workflow china-macro-analyst --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nicepkg/ai-workflow.git skills-src && mkdir -p .agents/skills && cp -r skills-src/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst .agents/skills/china-macro-analyst && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "china-macro-analyst" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst into .agents/skills/china-macro-analyst/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "china-macro-analyst", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nicepkg/ai-workflow china-macro-analyst --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nicepkg/ai-workflow.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst .cursor/skills/china-macro-analyst && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "china-macro-analyst" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst into .cursor/skills/china-macro-analyst/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "china-macro-analyst", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/nicepkg/ai-workflow.git --path workflows/stock-trader-workflow/.claude/skills/china-macro-analyst--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nicepkg/ai-workflow china-macro-analyst --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nicepkg/ai-workflow.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst .gemini/skills/china-macro-analyst && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "china-macro-analyst" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst into .gemini/skills/china-macro-analyst/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "china-macro-analyst", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install nicepkg/ai-workflow china-macro-analystInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nicepkg/ai-workflow.git skills-src && mkdir -p .github/skills && cp -r skills-src/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst .github/skills/china-macro-analyst && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "china-macro-analyst" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst into .github/skills/china-macro-analyst/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "china-macro-analyst", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nicepkg/ai-workflow china-macro-analyst --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nicepkg/ai-workflow.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst .opencode/skills/china-macro-analyst && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "china-macro-analyst" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/china-macro-analyst into .opencode/skills/china-macro-analyst/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "china-macro-analyst", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
china-macro-analystAnalyze China macroeconomic data, PBOC monetary policy, fiscal policy, and their impact on A-share and HK stock markets.
China Macro Analyst is an agent skill from nicepkg/ai-workflow. Analyze China macroeconomic data, PBOC monetary policy, fiscal policy, and their impact on A-share and HK stock markets. Track GDP, CPI, PPI, PMI, social financing, and interpret policy signals. Use when user asks about 中国宏观经济, 央行政策, economic data impact on markets, or needs to understand policy implications for investment.
Its SKILL.md is about 1.5k 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.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d167b41. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
China Macro Analyst loads about 1.5k tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 309 words of instructions outside code blocks.
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.
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.
The full file from nicepkg/ai-workflow at commit d167b41, republished under its MIT licence (© nicepkg). 309 words, ~1,460 tokens.
.claude/skills/china-macro-analyst/SKILL.md (or your agent's skills folder).Analyze China's macroeconomic environment, monetary policy, fiscal policy, and their implications for equity markets. Interpret key economic indicators, policy signals, and their potential impact on different sectors and investment strategies.
| Indicator | Chinese | Frequency | Release |
|---|---|---|---|
| GDP Growth | GDP增速 | Quarterly | ~15th of month after quarter |
| Industrial Production | 工业增加值 | Monthly | ~15th |
| Retail Sales | 社会消费品零售总额 | Monthly | ~15th |
| Fixed Asset Investment | 固定资产投资 | Monthly | ~15th |
| Indicator | Chinese | Frequency | Key Levels |
|---|---|---|---|
| CPI | 居民消费价格指数 | Monthly | Target ~3% |
| PPI | 工业生产者出厂价格指数 | Monthly | Deflation < 0% |
| Core CPI | 核心CPI (剔除食品能源) | Monthly |
| Indicator | Chinese | Frequency | Key Levels |
|---|---|---|---|
| Manufacturing PMI | 制造业PMI | Monthly | Expansion > 50 |
| Non-Mfg PMI | 非制造业PMI | Monthly | Expansion > 50 |
| Caixin PMI | 财新PMI | Monthly | Private sector focus |
| Indicator | Chinese | Frequency |
|---|---|---|
| Social Financing | 社会融资规模 | Monthly |
| M2 Growth | M2增速 | Monthly |
| New RMB Loans | 新增人民币贷款 | Monthly |
| LPR | 贷款市场报价利率 | Monthly (20th) |
| Indicator | Chinese | Frequency |
|---|---|---|
| Exports | 出口 | Monthly |
| Imports | 进口 | Monthly |
| Trade Balance | 贸易顺差 | Monthly |
| FX Reserves | 外汇储备 | Monthly |
| RMB Exchange Rate | 人民币汇率 | Daily |
Official Sources:
Search Strategy:
GDP Analysis:
### GDP数据解读
| 指标 | 本期 | 上期 | 预期 | 解读 |
|-----|------|-----|------|------|
| GDP同比 | X.X% | X.X% | X.X% | 高于/低于/符合预期 |
| GDP环比 | X.X% | X.X% | | |
**分项分析:**
- 第一产业: X.X% (农业)
- 第二产业: X.X% (工业/制造业)
- 第三产业: X.X% (服务业)
**市场影响:**
[分析对股市、债市、汇率的潜在影响]Inflation Analysis:
### 通胀数据解读
| 指标 | 本月 | 上月 | 同比 | 环比 |
|-----|------|-----|------|------|
| CPI | | | X.X% | X.X% |
| 核心CPI | | | X.X% | |
| PPI | | | X.X% | X.X% |
**CPI分项:**
- 食品: X.X% (猪肉、蔬菜等)
- 非食品: X.X%
- 服务: X.X%
- 商品: X.X%
**PPI分项:**
- 生产资料: X.X%
- 生活资料: X.X%
**投资含义:**
- CPI上行: [对消费股、债券的影响]
- PPI上行: [对上游资源股、中游制造的影响]
- CPI-PPI剪刀差: [对利润分配的影响]PMI Analysis:
### PMI数据解读
| 指标 | 本月 | 上月 | 荣枯线 |
|-----|------|-----|-------|
| 制造业PMI | XX.X | XX.X | 50 |
| 非制造业PMI | XX.X | XX.X | 50 |
| 综合PMI | XX.X | XX.X | 50 |
**制造业分项:**
- 生产指数: XX.X
- 新订单指数: XX.X
- 新出口订单: XX.X
- 原材料库存: XX.X
- 从业人员: XX.X
**信号解读:**
- PMI > 50: 经济扩张
- PMI < 50: 经济收缩
- 连续X月高于/低于荣枯线PBOC Policy Tools:
### 货币政策工具
**利率工具:**
| 利率 | 当前 | 上次调整 | 方向 |
|-----|------|---------|------|
| 1年LPR | X.XX% | [日期] | 降/升/持平 |
| 5年LPR | X.XX% | [日期] | 降/升/持平 |
| MLF利率 | X.XX% | [日期] | |
| 逆回购利率 | X.XX% | [日期] | |
| 存款准备金率 | X.X% | [日期] | |
**数量工具:**
| 工具 | 本周操作 | 到期量 | 净投放 |
|-----|---------|-------|-------|
| 逆回购 | XXX亿 | XXX亿 | +/-XXX亿 |
| MLF | XXX亿 | XXX亿 | +/-XXX亿 |
| 国库定存 | XXX亿 | | |
**政策信号:**
[解读央行政策取向: 宽松/中性/收紧]Policy Interpretation:
Fiscal Data:
### 财政数据
| 指标 | 本月 | 累计 | 同比 |
|-----|------|-----|------|
| 财政收入 | XXXX亿 | XXXX亿 | X.X% |
| 财政支出 | XXXX亿 | XXXX亿 | X.X% |
| 财政赤字 | | XXXX亿 | |
**地方债:**
- 新增专项债额度: XXXX亿
- 已发行: XXXX亿
- 发行进度: XX%
**投资方向:**
[财政支出重点领域: 基建、民生、科技等]Key Policy Areas:
### 行业政策追踪
**房地产:**
- 限购/限贷政策变化
- 房贷利率调整
- 保交楼政策
- 房企融资政策
**科技/半导体:**
- 自主可控政策
- 科技补贴
- 出口管制应对
**新能源:**
- 新能源汽车补贴
- 光伏/风电政策
- 储能政策
**消费:**
- 促消费政策
- 消费券发放
- 家电下乡/以旧换新
**金融:**
- 金融监管政策
- 注册制改革
- 对外开放措施Impact Matrix:
| Economic Event | A股影响 | 港股影响 | 受益板块 | 受损板块 |
|---|---|---|---|---|
| 降准 | + | + | 银行、地产 | - |
| 降息 | + | + | 成长股 | 银行 |
| CPI上行 | - | - | 消费 | 成长股 |
| PMI超预期 | + | + | 周期股 | 防御股 |
| 人民币升值 | + | + | 航空、造纸 | 出口股 |
| 人民币贬值 | - | - | 纺织出口 | 航空 |
# [指标名称] 数据解读 [日期]
## 数据概览
[核心数据表格]
## 数据解读
[数据含义分析]
## 市场影响
- **对A股:** [影响分析]
- **对港股:** [影响分析]
- **对债市:** [影响分析]
- **对汇率:** [影响分析]
## 投资建议
- 受益板块: [列出]
- 规避板块: [列出]
- 操作建议: [具体建议]# [政策名称] 政策解读
## 政策要点
1. [要点1]
2. [要点2]
3. [要点3]
## 政策背景
[出台背景分析]
## 行业影响
| 行业 | 影响程度 | 影响方向 | 分析 |
|-----|---------|---------|------|
| | 高/中/低 | 正面/负面 | |
## 相关标的
- **直接受益:** [股票列表]
- **间接受益:** [股票列表]
- **可能受损:** [股票列表]
## 投资策略
[基于政策的投资策略建议]经济数据:
货币政策:
财政政策:
行业政策:
综合分析:
© nicepkg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in workflows/stock-trader-workflow/.claude/skills/china-macro-analyst of nicepkg/ai-workflow.
Open the folder on GitHubat commit d167b41
China Macro Analyst 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| China Macro Analyst this skillnicepkg/ai-workflow | 285 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Stock APIzhangxiangliang/stock-api | 2k | — | ~507 | Automated safety check: Pass | MIT | |
| Tushare Datazillionare/zillionare | 321 | 2 repos | ~2.3k | Automated safety check: Pass | None | |
| Tradingview MCPatilaahmettaner/tradingview-mcp | 5k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Digital Oraclekomako-workshop/digital-oracle | 878 | — | ~5.9k | Automated safety check: Pass | MIT | |
| Longbridge Researchhelsome/folio | 271 | 3 repos | ~2.1k | Automated safety check: Pass | MIT |
zhangxiangliang/stock-api
Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.
zillionare/zillionare
面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。
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…
komako-workshop/digital-oracle
Answer prediction questions using market trading data, not opinions.
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…
helsome/folio
Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.
nicepkg/ai-workflow
Processes Drafts Pro captures from the Inbox folder. An agent skill from nicepkg/ai-workflow.
nicepkg/ai-workflow
Transform legacy codebases into AI-ready projects with Claude Code configurations.
nicepkg/ai-workflow
Writing coach that extracts educational content from your daily experiences and turns it into publish-ready newsletter drafts.
nicepkg/ai-workflow
Content web architecture framework. An agent skill from nicepkg/ai-workflow.
nicepkg/ai-workflow
Create complete Claude Code workflow directories with curated skills.
nicepkg/ai-workflow
Video/audio/image processing with FFmpeg and ImageMagick. An agent skill from nicepkg/ai-workflow.
Categories
Analyze China macroeconomic data, PBOC monetary policy, fiscal policy, and their impact on A-share and HK stock markets. China Macro Analyst is an agent skill from nicepkg/ai-workflow. Analyze China macroeconomic data, PBOC monetary policy, fiscal policy, and their impact on A-share and HK stock markets.
China Macro Analyst fits situations like: user asks about 中国宏观经济; economic data impact on markets; needs to understand policy implications for investment.
Run `npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a claude-code`. Or copy the skill folder (workflows/stock-trader-workflow/.claude/skills/china-macro-analyst in nicepkg/ai-workflow) into .claude/skills/china-macro-analyst in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a codex`. Or copy the skill folder (workflows/stock-trader-workflow/.claude/skills/china-macro-analyst in nicepkg/ai-workflow) into .agents/skills/china-macro-analyst in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nicepkg/ai-workflow --skill china-macro-analyst -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/china-macro-analyst, .gemini/skills/china-macro-analyst, .github/skills/china-macro-analyst and .opencode/skills/china-macro-analyst in your project.
SKILL.md names no scripts, command-line tools or credentials: China Macro Analyst is instructions for the agent only.
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.
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.
China Macro Analyst is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with China Macro Analyst: Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 321 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.
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.