Codex adapter note
This skill is generated from
so Claude Code and Codex users share one canonical workflow.
- Treat as the user's request in the current Codex thread.
- When the source mentions Claude-only surfaces such as Task, Agent, WebSearch, Bash, Read, or Write, use the closest Codex capability available in this session: subagents when available, web search when needed, shell commands for local tools, and normal file edits for workspace files.
- Use shared project tools from in this repository. Prefer running commands from the repository root with paths like
python3 tools/financial_rigor.py ...
; if the current thread starts outside the repo, locate the actual checkout path first instead of assuming a fixed home-directory path.
- Before starting research, run the command to confirm today's date; treat it as the baseline for "latest" data and state the data cutoff date in the report header. Never assume the current date from training data.
- Preserve the research quality rules from : cross-check financial data, use exact arithmetic tools for valuation/math, and clearly label uncertainty and source gaps.
Earnings Report In-depth Analysis Team: Parallel Interpretation by Four Masters + Official Account Publishing
Conduct team-based in-depth earnings report analysis on $ARGUMENTS. Four masters interpret the earnings report in parallel, edit and polish the content, readers review and ensure quality, and finally produce an official account article ready for direct publication.
Supported Input Format:
, e.g.,
,
,
Design Philosophy
A good earnings report analysis needs to solve two problems:
- Understanding the future yourself — requires in-depth research from four different perspectives
- Helping readers understand the value — requires editing and quality control from the reader's perspective
This Skill's process is divided into three stages:
- Stage 1·Research: Four masters conduct parallel in-depth reading of the earnings report (Duan Yongping looks at the essence of the business, Buffett audits financial quality, Munger reads competitive changes, Li Lu hunts for risk signals)
- Stage 2·Synthesis: Team Lead synthesizes the four perspectives to produce a draft research report
- Stage 3·Publishing: Editor Agent rewrites it into an official account article + Reader Review Agent proposes revision suggestions → Team Lead finalizes the draft
Stage 1: Parallel Research by Four Masters
Step 1: Obtain First-hand Materials
Use the Agent tool to launch background Agents in parallel to obtain the following original materials:
| Material Type | Source | Priority |
|---|
| Original Earnings Report | Company IR page, SEC EDGAR (US stocks), HKEX Disclosure易 (HK stocks), CNINFO (A shares) | Highest |
| Earnings Call Transcript | Seeking Alpha, Company IR page, Xueqiu | Highest |
| Management Letter to Shareholders | Extracted from annual report | High (only for annual reports) |
| Previous Earnings Report/Call | Same as above | High (for commitment tracking) |
Material Availability Rating:
| Level | Characteristics | Impact |
|---|
| Level A | Complete original materials obtained | Execute all steps normally |
| Level B | Only partial original materials or third-party summaries obtained | Mark "Non-original source", reduce weight of note analysis |
| Level C | Only news reports and data website summaries available | Focus on core data changes, skip note mining, mark "Insufficient first-hand materials" |
Inform each Agent of the material availability rating to influence their analysis depth.
Step 2: Display Team Framework to Users
| Stage | Role | Master/Position | Core Task |
|---|
| Research | Team Lead (yourself) | Overall Coordinator | Coordinate, synthesize, finalize |
| Research | Business Essence Interpreter | Duan Yongping | Has this business gotten better or worse? |
| Research | Financial Quality Auditor | Buffett | Is the company making real money or fake money? |
| Research | Competitive Change Interpreter | Munger | How is the competitive landscape changing? |
| Research | Risk Signal Hunter | Li Lu | What is management hiding? |
| Publishing | Editor | Official Account Writer | Rewrite research report into a good article |
| Publishing | Reader Reviewer | Ordinary Investor | Can readers understand it? Do they gain value? |
Step 3: Launch 4 Parallel Research Agents
Use the Agent tool to launch 4 background Agents in the same message.
Agent 1: Business Essence Interpretation (Duan Yongping's Perspective)
Core Question: Has the essence of the business reflected in this earnings report gotten better or worse?
Duan Yongping: "Investing is buying a business. Reading earnings reports isn't about looking at numbers, it's about seeing if the business has changed."
Analysis Content:
-
Revenue Structure Disassembly and Interpretation
- Revenue by business/region, which are accelerating, which are decelerating
- Don't just list numbers — what business logic does each business segment reflect?
- Does revenue growth come from "volume" or "price"? Which is healthier?
-
User/Customer Value Changes
- Changes in operational metrics like DAU/MAU/paying users
- Quality metrics like user duration, ARPU, retention rate
- Is the platform/product's value to users strengthening or weakening?
-
Moat Detection
- Changes in gross margin reflect whether pricing power is stable
- Changes in market share reflect whether competitive barriers are effective
- Are there signals of weakened customer switching costs/network effects?
-
"Good Business" Standard Evaluation
- Duan Yongping's three criteria: differentiation, pricing power, sustainable competitive advantage — changes in this period
- Is the business becoming "heavier" or "lighter"?
- If the company closed tomorrow, would users be extremely distressed? Has this changed because of this earnings report?
-
Management's Product Intuition
- Does management use specific language or bureaucratic language when discussing products/users?
- Are there impressive product insights or concerning disconnect signals?
Output Requirements: Mark each sub-item with 🟢Improved / 🟡Flat / 🔴Deteriorated, and provide a Duan Yongping-style summary comment.
Agent 2: Financial Quality Audit (Buffett's Perspective)
Core Question: Is this company making real money or fake money? Has the margin of safety changed?
Buffett: "When I read every earnings report, the first thing I do is turn to the cash flow statement."
Analysis Content:
-
Core Financial Data Extraction and Verification
- Revenue, gross profit, operating profit, net profit — both GAAP and Non-GAAP
- GAAP vs Non-GAAP differences: how much, where, is the gap expanding or narrowing
- Cross-verify key data with at least two sources
bash
python3 tools/financial_rigor.py cross-validate \
--metric "revenue" --values {value1} {value2} --sources "source1" "source2"
-
Cash Flow Analysis (Most Important)
- Operating cash flow vs net profit ratio (>100% is good, <80% requires caution)
- Free cash flow = Operating cash flow - Capital expenditure
- Capital expenditure composition: maintenance vs expansion
- Share repurchase and dividend amounts
-
Profit Quality Inspection
- Accounts receivable growth rate vs revenue growth rate
- Inventory growth rate vs revenue growth rate
- Trend of gap between operating cash flow and net profit
- Whether capitalized expenditures have suddenly increased
- Proportion of non-recurring income
-
Balance Sheet Health
- Changes in net cash/net debt
- Changes in accounts receivable/inventory turnover days
- Impairment risk of goodwill and intangible assets
-
Valuation and Margin of Safety Update
bash
python3 tools/financial_rigor.py verify-market-cap \
--price {price} --shares {shares} --reported {reported market cap} --currency {currency}
python3 tools/financial_rigor.py verify-valuation \
--price {price} --eps {EPS} --bvps {book value per share}
python3 tools/financial_rigor.py three-scenario \
--price {price} --eps {EPS} --shares {shares in 100 million} \
--growth {optimistic} {neutral} {pessimistic} --pe {optimistic PE} {neutral PE} {pessimistic PE}
Output Requirements: Attach tool output records for all calculations, mark profit quality with 🟢/🟡/🔴 signals, and provide a Buffett-style summary comment.
Agent 3: Competitive Landscape Interpretation (Munger's Perspective)
Core Question: What changes in the competitive landscape does this earnings report reveal?
Munger: "I want to know where I'm going to die, so I'll never go there."
Analysis Content:
-
Infer Competitive Changes from Earnings Report Data
- Revenue growth rate vs industry growth rate — outperforming or underperforming?
- Changes in gross margin reflect intensified/eased competition
- Changes in marketing expense rate — does the company need to spend more to acquire customers?
- R&D investment — proactive investment or forced follow-up?
-
Comparison with Competitors in the Same Period
- Comparison of key indicators of major competitors in the same period (if published)
- Comparison of growth rate, profit margin, investment intensity
- Who is winning? Who is losing?
-
Management's Discussion on Competition
- How does management describe the competitive environment in earnings calls?
- Do they name competitors? Is their tone confident or anxious?
- Are there new competitive threats?
-
Industry Trend Signals
- Impact of technological changes (AI/new platforms, etc.)
- Impact of regulatory changes on the competitive landscape
- Consumption/demand-side trends
-
Munger-style Reverse Thinking
- What could kill this company? Does this earnings report have signals pointing to these threats?
- Looking back in 5 years, will this earnings report be a "turning point"?
Output Requirements: Judgment on competitive landscape (strengthened/flat/deteriorated), competitor comparison table, and Munger-style reverse comment.
Agent 4: Risk Signal Hunting (Li Lu's Perspective)
Core Question: What is management hiding in this earnings report? Which signals are flashing?
Li Lu: "The most important thing in investing is to avoid permanent capital loss."
Analysis Content:
-
Management Tone Analysis
- Read management discussion and earnings call remarks paragraph by paragraph, mark signals:
- 🟢Transparency signal (voluntarily admitting problems)/🟢Clarity signal (with quantitative targets)
- 🔴Vagueness signal (empty words)/🔴Diversion signal (avoiding the question)/🔴External attribution
-
Commitment Tracking
- Compare specific commitments made by management in the previous period vs actual fulfillment in this period, item by item
- Duan Yongping: "To see if management is reliable, just check if they did what they said before."
-
Notes and Hidden Information
- Related party transactions, equity incentive dilution, contingent liabilities
- Changes in accounting policies, differences in segment profit margins
- Changes in customer/supplier concentration
-
Selected Earnings Call Q&A
- Score the quality of answers to the 3-5 sharpest analyst questions
-
Permanent Capital Loss Risk
- Are there signals that may lead to permanent loss?
- New developments in regulatory/compliance/litigation risks
- Has management made irreversible wrong decisions?
Output Requirements: Management credibility rating ★1-5, commitment fulfillment rate, risk signal list, and Li Lu-style summary comment.
Step 4: Track Progress
Show users real-time progress:
📊 {Company Name} {Period} Earnings Report In-depth Analysis Progress
━━━━━━━━━━━━━━━━━━━━━━━
Stage 1·Research
☐ Duan Yongping·Business Essence ⏳ Analyzing...
☐ Buffett·Financial Quality ⏳ Analyzing...
☐ Munger·Competitive Landscape ⏳ Analyzing...
☐ Li Lu·Risk Signals ⏳ Analyzing...
Stage 2·Synthesis ⏸ Waiting
Stage 3·Publishing ⏸ Waiting
Update progress and display core findings (3-5 points) each time a report is received.
Stage 2: Team Lead Synthesizes Research Report
After all 4 research reports are received, Team Lead synthesizes them to produce a draft research report.
Synthesis Key Points — not just piecing reports together, but finding intersections and contradictions:
- Consensus Points of Four Perspectives: Conclusions agreed by all four masters, with the highest credibility
- Contradiction Points of Four Perspectives: For example, Duan Yongping says the business has improved, but Munger says competition is worsening — such contradictions are the most valuable analysis
- Overlooked Areas: Things none of the four focused on, could they be the most important?
Research Report Structure
markdown
# {Company Name} {Period} Earnings Report In-depth Analysis Report
**Parallel Interpretation by Four Masters | {Date}**
## 1. One-sentence Conclusion
> 50-100 words: Exceeded/Met/Below expectations, core changes, impact on investment thesis.
## 2. The 3 Most Important Changes This Period
Focus on truly important changes, don't list data, each change within 100 words.
## 3. Four Masters Rating Table
|------|------|---------|------|------|--------|
## 4. Core Data Overview
Table of key financial and operational metrics (Current Period vs Previous Period vs YoY)
## 5. In-depth Analysis from Each Perspective
3-5 most important findings for each perspective
## 6. Management Tone and Commitment Tracking
Commitment fulfillment table + tone change analysis
## 7. What Would the Four Masters Do?
| Master | If Holding | If Not Holding | Reason |
## 8. Conclusion
1. Exceeded/Met/Below expectations?
2. Impact on investment thesis: Strengthened/No impact/Weakened/Broken
3. Next catalyst
4. Operation suggestions
Stage 3: Editing and Polishing + Reader Review
After the research report is completed, launch two Agents in parallel:
Agent 5: Editor (Official Account Article Rewriting)
Position: Rewrite the hardcore research report into an article that official account readers love and can understand.
Core Principles:
- Retain all key data and conclusions, don't reduce professional depth
- Improve expression so non-professional investors can follow the logic
- Not "popularization", but "making professional content easy to read"
Specific Tasks:
-
Title and Opening
- The title should be informative and attractive, but not clickbait
- Good title example: "Kuaishou Spent 26 Billion on AI, Did It Win the Bet?"
- Bad title example: "Shocking! Kuaishou Earnings Report Bombs!"
- Within 100 words at the opening, clearly state: What is the most important conclusion of this earnings report, why readers should care
-
Structure Optimization
- Research reports are for yourself, official account articles are for others — adjust logical order
- Put "The 3 Most Important Changes" at the front (inverted pyramid structure)
- Keep tables but simplify them, change long paragraphs into bullet points
- Insert a "stage summary" every 500 words or so to help readers digest
-
Expression Polishing
- Explain rigid financial terms with analogies/scenarios: "Operating cash flow is 30% lower than net profit" → "Earned 100 yuan but only found 70 yuan in the pocket"
- The four masters' comment quotes are the soul of the article — ensure each reads sharp and memorable
- Paragraphs no more than 4 lines, sentences no more than 30 words
- Moderately use contrast and反差 to create reading rhythm
-
Reader Value Detection
- For each chapter, ask: What decision can readers make after reading this paragraph? If the answer is "nothing", either rewrite or delete it
- The end of the article needs a clear "So what?" — provide operation guidelines for holders and onlookers respectively
-
Format Adaptation
- WeChat official account friendly: short paragraphs, clear subheadings, concise tables
- Add appropriate dividers and quotation formats
- Control article length between 1000-3000 words (readers will leave if it's too long)
Output: Rewritten complete official account article.
Agent 6: Reader Reviewer (Ordinary Investor's Perspective)
Position: Review the article from the perspective of an ordinary investor who "focuses on value investment, has basic financial knowledge, holds/follows the company".
Review Dimensions:
-
Readability (Weight 30%)
- How many minutes does it take to read the full text? Are there paragraphs you want to skip?
- Which parts are hard to understand or require repeated reading?
- How is the rhythm? Is there a feeling of "tired of reading"?
-
Information Value (Weight 30%)
- After reading, has my understanding of this company deepened?
- Are there moments of "Oh, that's how it is"?
- Compared to analyses I've seen elsewhere, what's unique about this article?
- Which information is redundant and can be deleted without affecting understanding?
-
Credibility (Weight 20%)
- Are data sources indicated? Are key judgments supported?
- Does it present both pros and cons? Or is it only bullish/bearish?
- Are there overly confident judgments that make people uncomfortable?
- Are the four masters' quotes appropriate and powerful?
-
Action Guidance (Weight 20%)
- Do I know what to do after reading?
- Are the suggestions for "holders" and "onlookers" specific enough?
- What should I focus on next? (Catalysts, time nodes)
Output Format:
markdown
## Reader Review Report
### Overall Score: X/10
### Advantages (2-3 points)
What the article does well from the reader's perspective
### Must Modify (Critical Issues)
- Issue 1: Specific description → Suggested modification
- Issue 2: ...
### Suggested Optimization (Enhancements)
- Suggestion 1: ...
- Suggestion 2: ...
### Questions Readers Most Want to Know But the Article Doesn't Answer
- Question 1
- Question 2
### One-sentence Overall Comment
Team Lead Finalizes the Draft
After receiving the edited draft and reader review report:
- Address "Must Modify" items from reader review — modify item by item
- Selectively adopt "Suggested Optimization" items — judge if they are worth implementing
- Supplement "Questions readers want to know but aren't answered" — add if supported by data
- Final read-through — ensure the revised text is coherent and logically consistent
Output Files
reports/{Company Name}/
├── {Company Name}-earnings-{Period}.md ← Final official account article (finalized)
├── {Company Name}-earnings-{Period}-research-draft.md ← Four masters synthesized research report (internal use)
├── {Company Name}-earnings-{Period}-duanyongping.md ← Business essence interpretation
├── {Company Name}-earnings-{Period}-buffett.md ← Financial quality audit
├── {Company Name}-earnings-{Period}-munger.md ← Competitive landscape interpretation
├── {Company Name}-earnings-{Period}-lilu.md ← Risk signal analysis
└── {Company Name}-earnings-{Period}-reader-review.md ← Reader review report
Data Sampling Inspection (Exit Process)
Conduct sampling inspection on the final article:
bash
python3 tools/report_audit.py extract \
--report reports/{Company Name}/{Company Name}-earnings-{Period}.md
python3 tools/report_audit.py verdict \
--results '<filled JSON>' \
--report {report filename}
【Approval】 All passed → Ready for publication; 【Rejection】 Failed items → Revise and re-inspect.
Relationship with Existing Skills
| Skill | Position | When to Use |
|---|
| Single Agent earnings report in-depth analysis | Quick review, only need one perspective |
| (this Skill) | Six-agent team in-depth analysis + official account publishing | Key earnings reports of important companies, requiring depth + publication |
| Four-agent comprehensive company research | First-time research on a company |
Key Principles
- Read the original, not summaries: Do everything possible to obtain first-hand materials
- Four perspectives are not four departments: Must mutually verify and challenge each other, not talk past each other
- Team Lead's value lies in comprehensive judgment: Find intersections and contradictions, not just piece reports together
- Conclusions must be clear: No "Overall basically meets expectations but there are some points worth attention"
- Reverse testing runs through the whole process: Each positive finding is accompanied by counterarguments
- Editing does not reduce professionalism: Make professional content easier to read, not turn it into popular science
- Reader review is not a formality: Truly pick faults from the reader's perspective
- Data accuracy: Cross-verify key data, use financial_rigor.py tool for calculation