Preface¶
When estimating the valuation of individual stocks or indices, relying solely on the P/E ratio for the past 12 months can easily be distorted by cyclical peaks or one-off profits. The Cyclically Adjusted P/E (CAPE, also known as the Shiller Ratio or P/E10), proposed by Shiller and Campbell in 1988, smooths cycles by using the inflation-adjusted average EPS over the past ten years, making it more suitable for mid-to-long-term valuation benchmarking. Encapsulating this methodology into the Agent’s SKILL.md ensures a consistent workflow combining “qualitative narrative + quantitative CAPE” during conversations, eliminating the need to manually recite formulas from scratch each time.
The following section introduces what the SkillHub community skill Robert James Shiller Framework (coordinate @user_231765ee/django-new) is, what it can do, and how to install and trigger it.
What Is This¶
The Robert James Shiller Framework is a professional community Skill on SkillHub: published by user_231765ee, the SkillHub page credits the author as EtterLanhorne, the current listed version is 1.0.0, and the source is community. The skill identifier in the package’s SKILL.md is shiller-cape-valuation-analyst. The documentation records methodology updates up to 2.0.0 (Total Return CAPE, ECY, and cross-validation with the Buffett Indicator, etc.).
Official entry points:
- API Coordinate Page:
https://api.skillhub.cn/user_231765ee/django-new - SkillHub Display Page:
https://www.skillhub.cn/skills/user_231765ee/django-new
The tag indicates requires_api_key=false. Upon installation, the Agent primarily relies on reasoning and structuring outputs based on the skill documentation, without requiring additional API Key configuration.
SkillHub Statistics (based on page and crawled data): Rating 100000, 789 downloads, Installation count 0 (statistical fields subject to SkillHub).
Core Features¶
The following capabilities are derived from the conventions in the package’s SKILL.md. Once the Agent loads this Skill, it generates structured reports according to the documentation.
Two-Layer Analysis Framework¶
- Qualitative Layer: Narrative and sentiment diagnosis, human weaknesses and manipulation risks, institutional and historical perspectives (including industry regulations and comparisons with historical bubbles).
- Quantitative Layer: Centered on CAPE, supplemented by historical percentiles, buy/sell thresholds, and various cross-validation indicators.
CAPE and Total Return CAPE¶
- Traditional CAPE:
CAPE = Current Price (P) / E10, where E10 is the arithmetic mean of real EPS adjusted for CPI inflation over the past ten years. - Inflation Adjustment:
Real EPS(t) = Nominal EPS(t) × [CPI(Current) / CPI(t)]. - Total Return CAPE (Added in 2.0 docs): Corrects for the impact of changes in dividend policies (such as dividends shifting to share buybacks) on EPS comparability; prioritized when data is available.
Input and Output Conventions¶
Input (Fields defined in documentation):
| Field | Description |
|---|---|
stock_identifier |
Required, e.g., AAPL, sh600519 |
market_region |
Optional, US / CN / HK / OTHER; defaults to US, used to select CPI data source |
custom_cape_central |
Optional, custom reasonable CAPE central; if left blank, uses the stock’s historical median or default 16.5 |
Output: structured_report, containing qualitative analysis, quantitative calculations (including E10/CAPE table), valuation judgment, limitations and corrections, and a comprehensive conclusion (including confidence level and variables to monitor).
Valuation Judgment and Auxiliary Indicators¶
- Historical Percentile: Provides operational range descriptions from “severely undervalued” to “severely overvalued” based on the CAPE’s percentile in its own historical series.
- Buy/Sell Thresholds: Reasonable central × 0.7 serves as a buy-side reference, × 1.5 as a sell-side reference (central defaults to historical median or 16.5).
- Auxiliary Indicators: ECY (
(1/CAPE) - 10-Year Real Treasury Yield), Dividend Yield, Buffett Indicator (Market Cap/GDP), Tobin’s Q, CAPE-based PEG, etc., used for cross-validation.
Applicable Markets and Data Requirements¶
The documentation states applicability to US stocks, A-shares, Hong Kong stocks, and other publicly traded stocks and major indices; trading history of at least 10 years is required to calculate CAPE. If insufficient, traditional PE/PB etc. must be used, with limitations explained in the report.
External data references listed in the documentation include the Shiller Yale dataset, caperatio.com, multpl.com/shiller-pe, longtermtrends, etc. Actual analysis is organized by the Agent combining user-provided financial reports/terminal data or online queries; the Skill itself does not bundle market data interfaces.
Installation and Activation¶
SkillHub recommends two methods: installing into the current Agent’s skills directory via CLI, or sending the installation prompt to an AI to install on your behalf. During installation, --dir must be specified; otherwise, it defaults to ./skills/, which may not be recognized by the IDE.
1. Check SkillHub CLI¶
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation (full installation or CLI only):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install This Skill¶
Community packages require a namespace; the example installs the skill to the Cursor default directory:
skillhub install django-new --namespace user_231765ee --dir ~/.cursor/skills/
Other common Agent skills paths (from SkillHub installation documentation):
- Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project - Windsurf:
~/.codeium/windsurf/skills/or.windsurf/skills/
After installation, restart or reload the Agent to include SKILL.md in the skills list.
3. Use Natural Language for AI Installation¶
The prompt provided by the SkillHub page is:
Please install `@user_231765ee/django-new` according to https://skillhub.cn/install/skillhub.md.
Send the above content to an Agent that supports the SkillHub protocol; the Agent will complete directory selection and installation according to skillhub.md.
Typical Usage¶
The reproducible trigger method provided in the skill documentation is to explicitly request a Shiller CAPE framework analysis for a specific target in the conversation, for example:
Please use the Shiller CAPE framework to analyze the valuation level of Kweichow Moutai (600519).
You can supplement with market_region or a custom CAPE central as needed, for example:
Please use the Shiller CAPE framework to analyze IBM (US market), calculate the reasonable CAPE central based on the stock's historical median, and provide Total Return CAPE (if data available) and ECY cross-validation.
Following the steps above, the Agent should output a structured report according to SKILL.md, including qualitative diagnosis, a ten-year inflation-adjusted EPS table, CAPE/Total Return CAPE, historical percentiles, and auxiliary indicator comparisons, while explaining data gaps (e.g., listing less than ten years) in the limitations section.
Applicable Scenarios and Notes¶
Who It Is For
- Value investors and macro/equity researchers who need mid-to-long-term valuation benchmarking.
- Teams hoping to standardize methodology in environments like Cursor / Claude Code, reducing repetitive explanations of CAPE and narrative analysis steps.
Limitations and Pitfalls
- Data Threshold: Individual stocks with less than ten years of history cannot calculate CAPE; the Skill documentation requires using other indicators and stating the reasons.
- Methodological Boundary: CAPE is based on historical earnings and is sensitive to drastic changes in business models, accounting standards differences, and structural changes in emerging markets; the documentation explicitly states that relying solely on CAPE is not recommended and should be combined with Total Return CAPE, ECY, Buffett Indicator, etc.
- Version Information: The SkillHub list shows v1.0.0, while the package’s
SKILL.mdmetadata is 2.0.0 and includes update notes from 2026-05-12; refer to the files in your locally installed package to understand the functional scope. - Not Investment Advice: Outputs containing buy/sell range statements are still analytical frameworks generated by the model according to the documentation; you must verify original financial reports and market data yourself and comply with regulatory requirements.
- Installation Source: Must use
django-newplus theuser_231765eenamespace; omitting the namespace may result in incorrect resolution of the download address from the community source.
Conclusion¶
The Robert James Shiller Framework encapsulates the Shiller CAPE valuation workflow, qualitative narrative layer, and cross-validations like Total Return CAPE and ECY from the 2.0 documentation into a standard SKILL.md, suitable for reproducible deep valuation conversations within an Agent. Installation and details are subject to SkillHub:
https://www.skillhub.cn/skills/user_231765ee/django-newhttps://api.skillhub.cn/user_231765ee/django-new