chris-stock-master

Original🇨🇳 Chinese
Translated
13 scriptsChecked / no sensitive code detected

Analyze financial reports of listed companies (US, Japanese, Hong Kong, and A-share markets) and generate valuation analysis and investment reports

5installs
Added on

NPX Install

npx skill4agent add chaosjiang/chris-skills chris-stock-master

SKILL.md Content (Chinese)

View Translation Comparison →

Stock Master

Analyze financial reports of listed companies worldwide and generate structured reports.

Trigger Conditions

Use this Skill when users make requests such as:
  • "Analyze US stock AAPL" / "Analyze Apple Inc."
  • "Check the financial report of Hong Kong stock Tencent" / "Analyze 0700.HK"
  • "How is Moutai's valuation?" / "Analyze 600519.SH"
  • Any requests related to stock financial reports, valuation, or financial analysis

Supported Markets

MarketCode FormatExample
US Stocks
SYMBOL
AAPL, MSFT, GOOGL
Japanese Stocks
CODE.T
7203.T (Toyota)
A-shares
CODE.SH/SZ
600519.SH (Moutai)
Hong Kong Stocks
CODE.HK
0700.HK (Tencent)

Execution Process

1. Environment Check (First-time Use)

bash
cd "$SKILL_DIR"
if [ ! -d "scripts/.venv" ]; then
  python3 -m venv scripts/.venv
  scripts/.venv/bin/pip install -r scripts/requirements.txt
fi

2. Run Analysis

bash
cd "$SKILL_DIR"
scripts/.venv/bin/python scripts/run_report.py --symbol <SYMBOL>

3. Read and Present Results

After analysis is completed, read the generated report file and present key information to users:
bash
SYMBOL="<SYMBOL>"
SYMBOL_SAFE="${SYMBOL//./_}"
cat output/${SYMBOL_SAFE}_*/report.md

Parameter Description

ParameterDescriptionDefault Value
--symbol
Stock symbolRequired
--years
Number of fiscal years1
--output
Root output directory (subdirectories for companies will be created automatically)
$SKILL_DIR/output
--refresh
Force refresh cachefalse
To modify the output location, explicitly pass the parameter to override the default value:
bash
cd "$SKILL_DIR"
scripts/.venv/bin/python scripts/run_report.py --symbol <SYMBOL> --output /path/to/output

Output Files

Files for each company are stored in independent folders:
output/<SYMBOL>_<MARKET>/
output/
└── AAPL_US/                # Company folder (symbol_market)
    ├── report.md           # Main report (presented to users)
    ├── data.json           # Raw data
    ├── analysis.json       # Analysis results
    ├── valuation.json      # Valuation data
    └── analyst.json        # Analyst expectations

Presentation Guidelines

When presenting results to users:
  1. First output the opening conclusion of the report (growth trend + valuation status)
  2. Present core information in the order of "Financial Highlights → Product Research → Competitive Landscape → Management Guidance"
  3. Valuation analysis must include quantile range and currency description
  4. Investment recommendations must give clear conclusions (Positive / Neutral / Cautious)
  5. Align with the style of
    report_example.md
    : fewer metrics, more readable conclusions

Frequently Asked Questions

ProblemSolution
Failed to obtain A-share dataCheck network connection; AkShare requires access to domestic data sources
Cached data is outdatedUse
--refresh
to force refresh

Notes

  • Data is cached for 24 hours; use
    --refresh
    to force update
  • This Skill only provides analysis references and does not constitute investment advice
  • A-shares use AkShare, other markets use yfinance