Build, compare, and validate institutional ownership structure panels for Hong Kong and US equities with PandaAI investor concentration, ranking, and shareholder-report APIs. Use for ownership breadth, top-holder dominance, HHI, controlling-holder risk, evidence confidence, or within-market institutional ownership screening.
Ships in hk-us-institutional-concentration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build a reproducible company-level ownership panel for Hong Kong and US stocks. Treat aggregate concentration as an entry point, not a verdict.
Do not answer immediately when this skill is invoked. Before calculating, ranking, or interpreting ownership, spend at least 30 seconds on substantive analysis when the runtime permits. Never satisfy this requirement with an idle sleep.
Complete all checks below before presenting a conclusion. Record each result in an evidence ledger; a silent assumption does not count as a completed check:
data_anomaly and insufficient_data as non-rankable states, not low-risk observations.If any gate fails, state the limitation before showing rankings. Do not use a
visual report or a harness PASS to conceal incomplete historical identification.
For research or ranking requests, include a compact ledger with all rows below. For a single-stock lookup, retain it internally and surface every failure.
| Gate | Required evidence | Failure action |
|---|---|---|
| Scope | market, universe, date, holder definition | state assumptions |
| Semantics | endpoint, units, snapshot/report date | stop historical claim |
| Coverage | returned, missing, duplicates, ranking depth | downgrade confidence |
| Structure | breadth, top-20, largest holder, HHI, gap | do not use one label |
| Anomalies | invalid percentages and HHI | mark non-rankable |
| Sensitivity | two threshold alternatives | label instability |
| Interpretation | evidence vs hypothesis vs prediction | revise conclusion |
NNNN.HK; keep US tickers uppercase.scripts/build_panel.py. Use --mode mock for deterministic offline verification and --mode api for PandaAI data.broad_institutional, dominant_holder, or fragmented_or_mixed; do not collapse these states into a single good/bad score.data_confidence from metric coverage. Preserve raw extracts and never silently convert missing values to zero.availability_date for historical joins.scripts/harness.py --output-dir <dir> and require PASS before delivery.python scripts/build_panel.py --mode mock --market both --output-dir outputs
python scripts/harness.py --output-dir outputs
For live data, set the official PANDA_DATA_USERNAME and PANDA_DATA_PASSWORD variables outside the skill and run:
python scripts/build_panel.py --mode api --market both --symbols 0700.HK,AAPL --start-date 20250101 --end-date 20251231 --output-dir outputs_live
For the complete HK and US universe exposed by PandaData:
python scripts/build_panel.py --mode api --market both --full-universe --output-dir outputs_full
Full-universe mode skips the much larger dated shareholder-report extract by default;
add --include-shareholder-reports only when that detail is required.
institutional_concentration_panel.csv: one row per market and symbol, including structure and evidence-confidence labels.investor_ranking.csv: normalized ranked-holder detail.shareholder_reports.csv: dated shareholder-report detail when requested.issuer_dedup_exclusions.csv: ADR/local listings removed after issuer-level resolution.raw_*.csv: unmodified API extracts.quality_report.json: row counts, coverage, duplicates, and warnings.harness_report.json: delivery acceptance result.Read the result in layers:
concentration_pct describes overall institutional participation.top20_concentration_pct, largest_holder_pct, and holder_hhi describe how that participation is distributed.ownership_structure summarizes the combination; data_confidence says how much evidence supports it.A high aggregate percentage with low HHI indicates broad institutional ownership; high HHI or a very large top holder indicates dominance risk. Compare stocks within the same market and observation date. These are ownership diagnostics, not return forecasts, and the thresholds are transparent screening rules rather than universal economic laws.
Do not call the task complete unless harness.py passes, universe and anomaly
counts are reported, every structure label is traceable to visible metrics, the
observation-date limitation is explicit, and any return claim uses genuinely
dated ownership snapshots with the 13F availability lag.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/hk-us-institutional-concentration:skill-hk-us-institutional-concentrationfrom hk-us-institutional-concentration
hk-us-institutional-concentration@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin hk-us-institutional-concentration