Munger 5-维模型与一票否决的多角度cross-validation分析工具,面向 A 股。支持单票和行业批筛。
Ships in munger-mental-model. 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.
QuantSkills 的 Munger 心理模型分析工具用于评估 A 股上市公司的投资价值,通过五个独立维度的评分与一票否决的cross-validation机制,产出高置信度的候选池。
| 维度 | 描述 | 核心数据接口 | 主要指标 |
|---|---|---|---|
| 财务 (fin) | ROE、毛利率、OCF 的相对优势 | get_fina_performance | ROE vs 中位数、毛利率 vs 中位数、OCF 正性与相对优势 |
| 竞争 (comp) | 行业内相对竞争力 | get_stock_industry + get_industry_constituents | 同业 ROE/毛利率百分位数、同业数量 |
| 激励 (incentive) | 大股东持股集中度、管理层增减持、质押冻结 | get_top_holders, get_stock_shareholder_change | 前十大股东持股 %、管理层净增持、质押/冻结占比 |
| 心理 (psych) | 投资者活动与机构关注度 | get_investor_activity | 年度投资者活动次数、参与机构数 |
| 反面清单 (neg) | 审计意见、高管变动、ST/退市、质押过高、控股股东减持 | get_audit_opinion, get_stock_status_change, get_stock_pledge | 审计意见(标准/非标)、代理人变动、ST 标记、质押比例 |
related_party: data_unavailableqa_sentiment: not_availableratio_up_limit > 2% 作为敌意收购的弱代理,flag 为 hostile_takeover: weak_proxylitigation: data_unavailable(预留,暂不触发一票否决)panda_data SDK 仅;不读本地文件,不调用其他 APIMUNGER_PASS_THRESHOLD=60(分数阈值,default)MUNGER_PLEDGE_MAX=0.50(质押比例上限,default)MUNGER_IR_MONTHS=12(投资者活动查询范围,月数,default)PANDA_DATA_USERNAME 和 PANDA_DATA_PASSWORD 环境变量读取;不存储凭证report_{symbol}.json)high_confidence_list.csv)radar_{symbol}.png)详见 munger-mental-model/SKILL.md。
cd munger-mental-model/scripts
# 单票分析
python analyze.py --symbol 000001.SZ --end-date 20260630
# 行业批筛
python analyze.py --industry L2004001 # 银行业
# 验证(运行前置检查)
PYTHONPATH=. python validate.py
本模型改编自Charlie Munger《穷查理宝典》的多角度思维方法论,并针对A股市场做出维度替换:
本 repository 在 GNU General Public License v3.0 下开源。研究和教育用途,不构成投资建议。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/munger-mental-model:skill-munger-mental-modelfrom munger-mental-model
munger-mental-model@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin munger-mental-model