The Real Rules of the Stock Market: Packaging the Methodology into an Agent Skill

Preface

When conducting individual stock research, a common practice is to review research reports, take notes, and piece together a few tables in Excel. While this workflow functions, it often lacks a fixed checklist for determining “whether the moat holds,” “if there are landmines in the three financial statements,” or “if there is a margin of safety in valuation.” Conclusions also tend to drift as the conversation progresses. Here, we introduce the community Skill from SkillHub, “The Five Rules for Successful Stock Investing” (股市真规则): It breaks down the value investing analysis from Pat Dorsey’s The Five Rules for Successful Stock Investing into repeatable, structured steps that can be triggered on-demand within Agents that support Skills, such as Cursor and Claude Code.

What is This

“The Five Rules for Successful Stock Investing” is an Agent Skill with the identifier @user_231765ee/valuestockduoerxi. The current version is 1.0.0, sourced from the community, categorized as professional, and published by user_231765ee (displayed as author EtterLanhorne on the SkillHub page). The tags indicate requires_api_key=false, meaning no additional API Key is needed after installation.

It targets long-term value investors, emphasizing structured analysis, quantitative indicator verification, and upfront risk assessment. It explicitly states compatibility with both A-shares and global markets. The Skill does not replace brokerage terminals or professional investment advisors; rather, it converges content such as the five investment principles, moat identification, financial statement health, valuation and margin of safety, and industry-specific frameworks into a conversational analysis workflow executable by Agents.

Core Features

The following capabilities are derived from the official SkillHub description and can be initiated via natural language or trigger words after installation:

  1. Five Investment Principles: Acts as the main analytical thread, constraining subsequent conclusions to stay within the value investing framework.
  2. Moat Identification: Judges whether a company possesses sustainable barriers to entry from the perspective of competitive advantage.
  3. Financial Statement Analysis: Evaluates the health of the income statement, balance sheet, and cash flow statement to assist in avoiding financial report pitfalls.
  4. Valuation and Margin of Safety: Performs multi-dimensional valuation and combines it with margin of safety to judge whether a stock is worth long-term holding.
  5. 10-Minute Quick Screening: Performs a round of structured rough screening when information is limited to decide whether to proceed with an in-depth analysis.
  6. Industry Key Indicator Thresholds: Applies specialized analysis frameworks and indicator thresholds based on the industry, reducing the reliance on a “one-size-fits-all” formula.

Official applicable scenarios include: in-depth individual stock research, portfolio construction, financial report risk avoidance, and long-term target tracking. Common trigger words: Value Investing, Moat, Financial Statements, Valuation, Margin of Safety, Stock Selection, Industry Analysis.

Installation and Activation

SkillHub provides two common methods: instructing the Agent to follow installation documentation, or using the skillhub CLI on your local machine to install to the current Agent’s skills directory (if the directory is incorrect, the Skill will not be loaded).

Method 1: Prompt Installation

Send the following sentence to an AI that supports Skill installation (Original text from the official page):

Please install `@user_231765ee/valuestockduoerxi` according to https://skillhub.cn/install/skillhub.md.

Method 2: CLI Installation

First, confirm if the SkillHub CLI is installed:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub documentation to execute the full installation (including CLI and default Skills):

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

To install only the CLI:

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

When installing this Skill, you must use --dir to point to the skills directory of your current environment. Common paths provided in the documentation are as follows:

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

Taking Cursor as an example:

skillhub install @user_231765ee/valuestockduoerxi --dir ~/.cursor/skills/

You can also search first before installing:

skillhub search valuestockduoerxi
skillhub install @user_231765ee/valuestockduoerxi --dir ~/.cursor/skills/

After installation is complete, restart or refresh the Skills list according to your Agent’s requirements, then use trigger words or explicitly state that you want a “Five Rules for Successful Stock Investing” style analysis in your conversation.

Typical Usage

Official materials do not provide fixed scripts with specific stock codes; usage is primarily based on “structured questions + trigger words.” The following examples can be reproduced directly after installing the Skill. You simply need to replace the company name, code, or financial report period, and prepare public financial reports, annual report links, and other factual materials for the Agent to cite.

Quick Rough Screening (Corresponds to “10-Minute Quick Screening”)

Using the mindset of The Five Rules for Successful Stock Investing, perform a 10-minute quick screening for [Company Name / Stock Code]: provide conclusions and major risk points for the moat, financial statement health, and valuation/margin of safety respectively.

In-depth Individual Stock Research

Based on value investing, moats, financial statements, valuation, and margin of safety, write a structured in-depth analysis for [Company Name] and explain whether key industry indicators meet the standards.

Financial Report Risk Avoidance

Use financial statement analysis to evaluate [Company Name]'s latest financial report, listing subjects that might be problematic and data sources that need secondary verification.

Portfolio and Tracking

I am following [Company A] and [Company B]. Using The Five Rules for Successful Stock Investing framework, compare their moats and financial quality, and provide a list of indicators to watch when tracking them long-term.

Through the steps above, the Agent will organize its output according to the framework embedded in the Skill. However, you should still verify original financial reports and market data, as the analysis conclusions from community Skills do not constitute investment advice.

Applicable Scenarios and Notes

Who is it for

  • Conversational users who already agree with long-term value investing and want repeatable, archivable analysis steps.
  • Researchers who need a unified checklist sequence of “Moat—Financials—Valuation—Industry.”
  • People who want to perform financial report risk avoidance and organize tracking lists for targets within an Agent.

Usage Limitations

  • Data timeliness and accuracy depend on the materials you provide and the Agent’s web access capabilities; the Skill itself does not guarantee access to specific market or financial databases.
  • Community source implies that maintenance rhythm, book editions, and regulatory changes need your own attention; for major decisions, rely on exchange disclosures and company announcements.
  • SkillHub page statistics (as of data capture): Rating 100,000, approximately 1,801 downloads; this may differ from statistics reposted by third parties, so SkillHub prevails.

Conclusion

“The Five Rules for Successful Stock Investing” encapsulates the analytical thread of the book into @user_231765ee/valuestockduoerxi. It requires no API Key and is suitable for structured stock selection and financial report review in environments like Cursor. See SkillHub Installation Documentation for installation and priority source instructions; see SkillHub Skill Page for skill details and one-click installation prompts. The API entry is https://api.skillhub.cn/user_231765ee/valuestockduoerxi.

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

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

Xiaoye