finance by aifinlab
A股企业护城河/竞争优势分析(Morningstar风格) aifinlab/a-share-competitive-moat
A股企业护城河/竞争优势分析/竞争壁垒评估。当用户说"护城河"、"竞争优势"、"moat"、"壁垒"、"XX的护城河是什么"、"竞争力分析"、"可持续竞争优势"、"品牌溢价"、"转换成本"、"网络效应"、"护城河分析"、"竞争壁垒"时触发。MUST USE when user asks about competitive moat, sustainable competitive advantage, barriers to entry, or moat analysis for a company. 基于Morningstar护城河框架,系统评估企业的可持续竞争优势(品牌/成本/网络效应/转换成本/规模效应),判断护城河宽窄和趋势。支持研报风格(formal)和快速评估风格(brief)。
What it changes View full report → 0 of 23 test cases passed with the skill.
Pass-rate lift —
Tokens +50%
Agent turns 0%
Response time +16% Model gemini-3.6-flashMeasured 8/27/2026 v1 0 of 23 cases passed with skill · 1 comparable
Lift withheld: 1 comparable cases; this report requires 8.
Use this skill Claude Code DecimalAI agent CLI & files
Save it into your project's skills folder. Claude Code picks it up in its next session.
curl -fsSL --create-dirs -o .claude/skills/aifinlab-a-share-competitive-moat/SKILL.md https://app.decimal.ai/s/aifinlab-a-share-competitive-moat/SKILL.md Copy command Copy SKILL.md
Want it pinned and updatable? pip install "decimalai>=0.15", then decimalai skills add aifinlab-a-share-competitive-moat, and start Claude Code with claude --plugin-dir "$(git rev-parse --show-toplevel)/.agents"
Linked stays up to date: your agents get the author's new versions automatically.
Editable copy is yours to change; the author's updates won't reach it.
Install linked skill Create editable copy
1 · One-time — install the CLI (
docs ↗ )
$ pip install "decimalai>=0.15"Copy
2 · Get the skill — writes .agents/skills/aifinlab-a-share-competitive-moat/ and pins it in .decimal/skills.lock
$ decimalai skills add aifinlab-a-share-competitive-moatCopy
Copy link Copy README badge Copy SKILL.md No CLI? Get the same file — curl · raw file $ curl -fsSL --create-dirs -o .claude/skills/aifinlab-a-share-competitive-moat/SKILL.md https://app.decimal.ai/s/aifinlab-a-share-competitive-moat/SKILL.mdCopy
Safety checks: 3 of 3 passed
Code scan Clean Intent Passed Content Clean
Overview Benchmark Contents Activity Versions 1 Ratings 0
What's inside The instructions your model reads when the skill loads.
SKILL.md 116 lines 2 files
A股企业护城河/竞争优势分析(Morningstar风格)
数据源
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
# 财务指标(多期,用于ROE/毛利率/ROIC趋势)
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
# 实时行情(市值/PE/PB等)
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
# 同行业可比公司财务(用于市占率/盈利能力对比)
python "$SCRIPTS/cn_stock_data.py" finance --code [COMP1],[COMP2],[COMP3]
# 同行业可比公司行情
python "$SCRIPTS/cn_stock_data.py" quote --code [COMP1],[COMP2],[COMP3]
补充 web 搜索:行业竞争格局、市占率数据、品牌排名、产业链地位、专利/牌照信息、管理层战略。
Workflow (5 phases)
Phase 1: 识别商业模式与行业定位
Web 搜索:公司主营业务、收入结构、行业地位
确定公司所属行业及细分赛道
梳理商业模式:靠什么赚钱、价值链位置、客户/供应商集中度
获取财务数据(多期)和行情数据
Phase 2: 评估五大护城河来源
逐一评估以下 5 个护城河来源(参照 references/competitive-moat-guide.md):
品牌/无形资产 :品牌溢价能力、专利/牌照壁垒、定价权
成本优势 :规模降本、工艺领先、资源禀赋、区位优势
网络效应 :用户越多价值越大(平台型/生态型企业)
转换成本 :客户迁移的显性/隐性成本、客户粘性
规模经济+政府特许 :自然垄断、牌照准入、政策保护
Track record Benchmark 0 / 23
test cases passed with the skill
Adoption
Users 0
Times used 0 View activity → Safety and source details
SkillSafety ✓ 3 of 3 passed ✓ Code scan 15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/3/2026
View 15 scanner checks live_secret remote_code_execution reverse_shell data_exfiltration ssrf_metadata agent_snooping anti_refusal destructive_commands obfuscated_unicode unicode_homoglyph opaque_blob suspicious_url tool_overreach trigger_abuse prompt_injection_phrasing
✓ Intent Safe
LLM judge · does the skill do what it claims
✓ Content Clean
LLM judge · policy & harmful-content review
Source Imported License Apache-2.0Imported 8/3/2026Version v1Bundled 1 file