Fu Haitang Framework: Integrating Fu Haitang's Investment Methodology into Agent Skill

Preface

When conducting research on A-shares or commodities using Large Language Models (LLMs), a common issue is unfocused output: the model jumps between technical analysis and market sentiment, making it difficult to converge on conclusions using a reusable discipline. If you adhere to principles such as supply and demand, the reversal of extremes, and “buying cheap like jade and pearls,” and wish for an Agent to follow the same checklist for stock selection, timing, and position sizing, relying solely on generic prompts often requires rewriting rules for every session.

The following introduces the community Skill “Fu Haitang Framework” (located at @user_231765ee/fuhtang) on SkillHub. It encapsulates the philosophical core of the Fu Haitang framework along with quantitative, qualitative, and trading discipline rules into a Skill, allowing for the repeated invocation of the same analytical structure within conversations.

What is This

Fu Haitang Framework is a community Skill on SkillHub categorized as professional. The current version is v1.0.1, published by user_231765ee (displayed as EtterLanhorne on the SkillHub page). The official entry points are:

  • API Metadata: https://api.skillhub.cn/user_231765ee/fuhtang
  • Store Page: https://www.skillhub.cn/skills/user_231765ee/fuhtang

The Skill page description positions it as a core upgrade under the premise of an “unchanged philosophical core”: it retains the concepts of the “Way of Heaven” (Natural Law), supply and demand dynamics, the reversal of extremes, and “buying cheap like jade and pearls.” It supplements these with actionable quantitative stock selection, qualitative evaluation, and trading discipline rules, enabling the Agent to expand on items according to the list rather than generating free-form, generic investment advice.

The page metadata indicates requires_api_key=true. Regarding the specific type of API Key required and configuration instructions, you must refer to the SKILL.md file within the package after installation; this article does not speculate on field names.

Core Features

The following capabilities are derived from the official SkillHub description, summarized by module.

Philosophical Core (Unchanged)

  • The Way of Heaven (Natural Law)
  • Supply and Demand Dynamics
  • Reversal of Extremes (Things turn opposite at their extremes)
  • Buying Cheap Like Jade and Pearls (Accumulate when prices are low)

Quantitative Analysis

The quantitative perspectives added to “your prompt” include:

  1. Stock Selection “Four Looks”: Profit growth, number of shareholders, capital liquidity, and valuation percentile.
  2. “Five Golden Rules”: Low price + Low inventory + Negative profit expectations + Good demand + High spread.
  3. Quantitative Timing: Financial reports exceed expectations but the stock price does not rise; this is treated as a golden buying point.

Qualitative Analysis

  • Moat Assessment
  • Management Pragmatism
  • Policy / Human Nature Inflection Points

Trading Discipline

  • Position sizing based on certainty grading (heavy position range 30%–40%)
  • No stop-loss due to panic
  • Stop-loss only when fundamentals deteriorate

Installation and Activation

SkillHub recommends installing the Skill via CLI into the skills directory actually read by the current Agent. If installed to the default ./skills/ while the Agent is not configured to read that path, the Skill may not be loaded.

1. Check or Install SkillHub CLI

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation documentation to perform a complete installation (including CLI and default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

CLI only:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install Fu Haitang Framework

Install user_231765ee/fuhtang to the skills directory of the corresponding environment. Taking Cursor as an example, the common path is ~/.cursor/skills/:

skillhub install user_231765ee/fuhtang --dir ~/.cursor/skills/

Paths for other clients (excerpted from SkillHub installation documentation; replace --dir based on the tool you are actually using):

Environment skills Directory
Claude Code ~/.claude/skills/
Cursor ~/.cursor/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project
Gemini CLI ~/.gemini/skills/

The store page also supports sending the following intent to your AI to let it install @user_231765ee/fuhtang according to https://skillhub.cn/install/skillhub.md:

Please install @user_231765ee/fuhtang based on https://skillhub.cn/install/skillhub.md.

After installation is complete, if the Agent does not automatically discover the new Skill, please restart or refresh the skills directory according to the instructions for your specific client.

3. API Key (If applicable)

The Skill tag contains requires_api_key=true. Before enabling, please open SKILL.md (and documentation files in the same directory) in the installation directory and configure the key as required by the publisher; do not assume configuration items not listed on the public page.

Typical Usage

The Skill itself is an encapsulation of prompts and rules. The typical workflow is: Installation → Trigger framework items with specific tasks within a session where the Skill is enabled.

Example conversational intent (replace the underlying asset and data source; you must provide market and financial report materials):

The Fu Haitang Framework Skill is enabled. Please perform a complete analysis on [Target Asset Name] according to this framework:
1. Four Looks: Profit growth, number of shareholders, capital liquidity, valuation percentile (mark areas where data is missing and needs supplementation).
2. Five Golden Rules: Low price, low inventory, negative profit expectations, demand, high spread; check against each item and provide whether it is met and the reasoning.
3. Timing: If recent financial reports exceed expectations, compare with the stock price reaction to determine if it approaches the "exceeds expectations but doesn't rise" scenario.
4. Qualitative: Moat, management pragmatism, policy or human nature inflection points.
5. Trading Discipline: Suggest position sizing based on certainty (including whether the 30%–40% heavy position range applies), and explain whether stop-loss should be based on panic or fundamental deterioration.
Conclusions should be divided into "Watchlist" and "Hypotheses to Verify," and do not constitute buy/sell instructions.

Following the above steps, the Agent will tend to output based on the structure embedded in the Skill rather than skipping discipline to give conclusions directly.

Use Cases and Notes

Who is it for

  • Researchers who are familiar with or willing to learn Fu Haitang-style supply/demand and reversal of extremes thinking, and wish to fix the analysis steps into their Agent workflow.
  • Users who need to repeatedly review targets under the same set of “Four Looks / Five Golden Rules / Timing / Qualitative / Position Sizing.”

Limitations and Notes

  • The source is community-driven, not an official SkillHub product; investment conclusions still require self-verification of data and compliance requirements. The Skill cannot replace licensed advisors.
  • The public page shows a score of 100000, approximately 921 downloads, and 0 installs (statistics are based on the SkillHub page and may change over time).
  • If it depends on requires_api_key, incorrect configuration may lead to partial functionality being unavailable.
  • The position sizing and stop-loss descriptions in the framework are methodological descriptions; actual trading requires combination with personal risk tolerance and local regulations.

Conclusion

The Fu Haitang Framework writes Fu Haitang’s investment philosophy and upgraded quantitative, qualitative, and trading disciplines into a Skill. It is suitable as a fixed template for structured research conversations in environments that support SkillHub installation paths, such as Cursor, Claude Code, and Codex. For installation and details, see SkillHub: https://www.skillhub.cn/skills/user_231765ee/fuhtang. Metadata address: https://api.skillhub.cn/user_231765ee/fuhtang.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye