SkillJavaScriptv1.1.0
us-value-investing-framework
US stock valuation model skill (English-first + 中文) based on financial report data.
1 downloads
spyfree
Updated Feb 22, 2026US Stock Valuation Model - Value Investing Framework (EN + 中文)
This skill is an explicit rule-based value model focused on US stocks.
Input
Company financial report data (structured JSON), including:
- 3+ years of ROE
- Debt ratio
- Free cash flow and net income
- Moat assessment: brand / network effect / cost advantage
Use the bundled template: references/input-template.json.
Decision Rules (strict)
- ROE rule: ROE > 15% for at least 3 consecutive years
- Leverage rule: Debt ratio < 50%
- Cash conversion rule: Free cash flow > 80% of net income
- Moat rule: evaluate brand/network effect/cost advantage
Output
- Investment rating: A / B / C / D
- Reasons (pass/fail explanation per rule)
- Bilingual summary (EN main + 中文摘要)
Run
python3 scripts/evaluate_company.py \
--input references/input-template.json \
--out .state/eval.json \
--markdown .state/eval.md
Rating policy
- A: all 4 rules pass
- B: 3 rules pass
- C: 2 rules pass
- D: 0-1 rule pass
Resources
scripts/evaluate_company.py: deterministic evaluatorreferences/input-template.json: input schema example