Claude Code skill:估计 A 股「国家队」(中央汇金) 宽基 ETF 持仓变动趋势 / Estimate China's national team (Central Huijin) broad-base ETF positioning
Supply asset profile
Market data, SEC filings, portfolio analysis, quant research, backtesting, and risk workflows.
Scenario
Finance and quant
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add Xiaoyuan-Liu/national-team-position
Maintenance
fresh
1d since push
Risk
Needs review
Low GitHub adoption signal
GitHub quality
39
74/100 quality · 77/100 trust
Coverage tags
Review notes
Low GitHub adoption signal · Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewInstall readiness, security metadata, maintenance, and adoption risk.
Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
39 GitHub stars
Repo activity
39 stars, 4 forks
Maintenance
1d since push
License
MIT
Install
npx skills add Xiaoyuan-Liu/national-team-position
Install safety
standard package or runtime install path
Permission surface
shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add Xiaoyuan-Liu/national-team-positionDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
Install targets
Copy the registry command or an agent-specific install prompt for Codex, Claude Code, and Cursor.
Use the registry command when your workflow supports the OpenAgentSkill installer.
$ npx skills add Xiaoyuan-Liu/national-team-positionAgent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Resolve JSON
/api/agent/resolve?task=Use%20National%20Team%20Position%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20National%20Team%20Position%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/xiaoyuan-liu-national-team-position/install
Agent should check
Copy prompt
Task: Use National Team Position in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20National%20Team%20Position%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/xiaoyuan-liu-national-team-position/install
Install command: npx skills add Xiaoyuan-Liu/national-team-position
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/xiaoyuan-liu-national-team-position/install
LLM text format
/api/skills/xiaoyuan-liu-national-team-position/install?format=text
Find alternatives
/api/skills/search?q=National%20Team%20Position&limit=3
Agent prompt
Use National Team Position for this task. Review https://www.openagentskill.com/api/skills/xiaoyuan-liu-national-team-position/install, then install with: npx skills add Xiaoyuan-Liu/national-team-positionRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/xiaoyuan-liu-national-team-position
LLM text
/api/registry/manifest/xiaoyuan-liu-national-team-position?format=text
Install alias
/api/registry/install/xiaoyuan-liu-national-team-position
Recommend
/api/registry/recommend?task=Use%20National%20Team%20Position%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Python, Claude Code
Audit report
Review install readiness, maintenance, trust, quality, and metadata warnings before adding this skill to an agent workflow.
Agent decision cockpit
Shortlist this skill and compare it with close alternatives before production adoption.
Role in stack
Companion skill
Primary fit
Coding agents
Trust label
Strong shortlist
Install path
Command ready
Use when
Evidence
Review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
CHECK39 GitHub stars
Stars/forks activity
CHECK39 stars, 4 forks; issue activity unavailable in current metadata
Recent maintenance
PASS1d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Analyze datasets
I need my agent to analyze CSV data, produce insights, and explain trends.
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Stack fit
Inspect, patch, and verify code
A stack for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
A stack for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
A practical stack for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Alternative shortlist
Similar skills in this category, ranked with the same readiness and quality signals.
# national-team-position · 国家队持仓估计
一个 [Claude Code](https://claude.com/claude-code) Agent Skill:通过追踪上交所核心**宽基 ETF 份额**变化,估计中国 A 股「国家队」(中央汇金)的持仓变动与结构轮动,并生成可视化图表。
> A Claude Code Agent Skill that estimates China's "national team" (Central Huijin) broad-base ETF positioning by tracking Shanghai Stock Exchange ETF share changes, and renders charts.
## 它能做什么
- 覆盖六大上交所宽基:**沪深300 / 上证50 / 中证500 / 中证1000 / 中证A500 / 科创50** - 追踪 ETF **份额**(而非规模,已排除价格涨跌干扰),更真实地反映净买卖行为 - 输出一张**六合一总图** + 六张**各指数单图**(每张 = 该宽基份额 + 对应指数价格双轴)+ JSON 数据 - 能区分「真减仓」与「换仓轮动」(例如沪深300 见顶后资金是否流向新发的中证A500)
### 示例输出

> 上图为 2023 至今的六合一总图:每格的彩色线是该宽基的 ETF 份额(左轴,估计国家队持仓),灰线是对应指数价格(右轴)。
| 文件 | 内容 | |------|------| | `national_team_overview.png` | 六合一总图(2×3) | | `national_team_hs300/sse50/csi500/csi1000/csiA500/star50.png` | 各指数单图 | | `national_team_position.json` | 各宽基份额时间序列 + 全宽基合计 |
## 安装
本仓库即一个独立 skill,直接克隆到 Claude Code 的 skills 目录:
```bash git clone https://github.com/Xiaoyuan-Liu/national-team-position.git \ ~/.claude/skills/national-team-position ```
安装依赖:
```bash pip install akshare matplotlib pandas ```
> macOS 自带中文字体;Linux 需自备中文字体(如 `fonts-noto-cjk`),否则图中中文会显示为方块。
## 使用
在 Claude Code 中直接说「**看看国家队持仓**」「**国家队最近在加仓还是减仓**」即可自动触发, 或手动执行脚本:
```bash # 推荐看 2023 至今,完整覆盖「建仓 → 轮动 → 撤离」 python ~/.claude/skills/national-team-position/scripts/national_team_position.py \ --start 2023-01-01 --output-dir ./ ```
| 参数 | 说明 | |------|------| | `--start` / `--end` | 日期范围 `YYYY-MM-DD`,默认 2024-01-01 ~ 今天 | | `--output-dir` | 输出目录,默认当前目录 | | `--freq` | 采样频率 `weekly`(默认)/ `monthly` | | `--data-only` | 仅输出 JSON,不画图 |
## 原理
中央汇金是宽基 ETF 的绝对控盘方,其申赎会直接体现在 ETF **份额**上。脚本按周(或按月)从 上交所 ETF 份额接口(经 [AKShare](https://github.com/akfamily/akshare) 封装的 `fund_etf_scale_sse`, 一次调用即返回当日全部 ETF)采样各宽基份额,并叠加各指数日线走势。
## 局限与免责声明
### 为什么只统计上交所、不含深交所(创业板、深市中证1000 / A500 等)
**这不是「深市没有数据」,而是沪深两个交易所的公开披露机制不同。** 本工具依赖 AKShare 封装的交易所官方 ETF 份额接口,而两市接口能力不对等:
| | 上交所 `fund_etf_scale_sse`
Frameworks & Tools
Decision snapshot
recent repository activity
Audit snapshot
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the audit before production use.
Growth loop
Scenario-led draft for National Team Position, ready for a manual X post.
Finance agents don't need louder takes. They need sources, data, and a repeatable research path. National Team Position helps turn market noise into source-backed analysis an... 39 stars https://www.openagentskill.com/skills/xiaoyuan-liu-national-team-position?ref=x #AIAgents
Listing + install path for National Team Position: https://www.openagentskill.com/skills/xiaoyuan-liu-national-team-position?ref=x Install: npx skills add Xiaoyuan-Liu/national-team-position
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This community indexed listing is attributed to Xiaoyuan-Liu but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/xiaoyuan-liu-national-team-position)
[](https://www.openagentskill.com/skills/xiaoyuan-liu-national-team-position)
[](https://www.openagentskill.com/skills/xiaoyuan-liu-national-team-position/audit)
[](https://www.openagentskill.com/skills/xiaoyuan-liu-national-team-position)Xiaoyuan-Liu
@xiaoyuan-liu
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only