Skip to content

marlin688/finance-skill

Repository files navigation

Finance Skill Pack

Reusable Codex skills for value-investing analysis in Chinese equity markets.

Included Skills

Skill Path Best For
buffett-analysis buffett-analysis/ Buffett-style analysis for Hong Kong-listed companies
wuweizhi-style wuweizhi-style/ China-local value framework with risk control and phased position sizing
duan-yongping-style duan-yongping-style/ Long-term "buy the business" framework with strict risk constraints

Routing Rules

  • Use buffett-analysis when the request explicitly mentions Buffett and the target is a Hong Kong-listed company.
  • Use wuweizhi-style for general China A/H-share value-investing requests, especially when user asks for safety margin and position rhythm.
  • Use duan-yongping-style when the request explicitly mentions 段永平 / 买公司 / 不懂不做 / 长期持有纪律.
  • If user explicitly asks for Buffett style, prefer buffett-analysis.

Install

  1. Clone this repository.
  2. Copy skill folders into your Codex skills directory.
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R buffett-analysis "${CODEX_HOME:-$HOME/.codex}/skills/"
cp -R wuweizhi-style "${CODEX_HOME:-$HOME/.codex}/skills/"
cp -R duan-yongping-style "${CODEX_HOME:-$HOME/.codex}/skills/"

Usage Examples

  • 请用巴菲特框架分析 9988.HK 是否值得买入
  • 用吴伟志风格评估兆易创新,给我分批建仓节奏
  • 按段永平风格分析腾讯,并按30万资金给每笔建仓金额

Evaluate Locally

Each skill ships with eval prompts:

  • buffett-analysis/evals/evals.json
  • wuweizhi-style/evals/evals.json
  • duan-yongping-style/evals/evals.json

Run repository checks:

python3 scripts/validate_skills.py

Notes And Disclaimers

  • These skills are educational templates and not investment advice.
  • "吴伟志风格" here means a methodological abstraction for value-investing workflow, not personal endorsement or representation.
  • "段永平风格" here means a methodological abstraction for long-term investing workflow, not personal endorsement or representation.
  • Always verify financial data timestamps and source quality before making decisions.

License

MIT. See LICENSE.

About

finance-skill

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages