본문으로 건너뛰기
cccskills
무료GitHub에 공개

earnings-preview

Prepare a briefing before a company's earnings report using Yahoo Finance data. Review the reporting schedule, expected earnings and revenue, past results versus forecasts, analyst views, and company-specific points to watch.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Build a pre-earnings briefing for a stock from Yahoo Finance data (yfinance): the upcoming report date and timing, consensus EPS and revenue estimates with their range, the beat/miss track record, analyst ratings and price targets, and what to watch in the print. Use this skill whenever the user is preparing for an upcoming earnings report or asks what the street expects — consensus or whisper numbers, EPS expectations, whether a company will beat, an earnings setup, or an earnings-season preview — and whenever a ticker comes up in the context of upcoming earnings, even without the word "preview". For results that are already out, use earnings-recap.

연동 도구Yahoo Finance
설치 방법 보기

이럴 때 유용합니다

  • Preparing for an upcoming earnings report
  • Checking earnings and revenue forecast ranges
  • Comparing past earnings with analyst estimates
  • Reviewing analyst ratings and price targets

포함된 파일(3)

  • SKILL.md5.9 KB
  • README.md1.1 KB
  • references/api_reference.md4.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Earnings Preview Skill

If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the ! wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.

Generates a pre-earnings briefing using Yahoo Finance data via yfinance. Pulls together upcoming earnings date, consensus estimates, historical accuracy, analyst sentiment, and key financial context — everything you need before an earnings call.

Important: Data is for research and educational purposes only. Not financial advice. yfinance is not affiliated with Yahoo, Inc.


Step 1: Ensure yfinance Is Available

Current environment status:

!`python3 -c "exec('try:\n import yfinance\n print(\'yfinance \' + yfinance.__version__ + \' installed\')\nexcept Exception:\n print(\'YFINANCE_NOT_INSTALLED\')')"`

If YFINANCE_NOT_INSTALLED, install it:

import subprocess, sys
subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "yfinance"])

If already installed, skip to the next step.


Step 2: Identify the Ticker and Gather All Data

Extract the ticker symbol from the user's request. If they mention a company name without a ticker, look it up. Then fetch all relevant data in one script to minimize API calls.

import yfinance as yf

ticker = yf.Ticker("AAPL")  # replace with actual ticker

# --- Core data ---
info = ticker.info
calendar = ticker.calendar
earnings_dates = ticker.get_earnings_dates(limit=8)  # report timestamps; the upcoming one has no Reported EPS yet
hist = ticker.history(period="1mo")                  # recent price performance

# --- Estimates ---
earnings_est = ticker.earnings_estimate
revenue_est = ticker.revenue_estimate

# --- Historical track record ---
earnings_hist = ticker.earnings_history

# --- Analyst sentiment ---
price_targets = ticker.analyst_price_targets
recommendations = ticker.recommendations

# --- Recent financials for context ---
quarterly_income = ticker.quarterly_income_stmt
quarterly_cashflow = ticker.quarterly_cashflow

What to extract from each source

Data SourceKey FieldsPurpose
calendarEarnings Date, Ex-Dividend DateWhen earnings are and key dates
get_earnings_dates()Earnings Date (tz-aware timestamp), EPS Estimate, Reported EPSReport timing: the upcoming row has no Reported EPS; a time at or after 16:00 ET means after the close, earlier times mean before the open
earnings_estimateavg, low, high, numberOfAnalysts, yearAgoEps, growth (for 0q, +1q, 0y, +1y)Consensus EPS expectations
revenue_estimateavg, low, high, numberOfAnalysts, yearAgoRevenue, growthRevenue expectations
earnings_historyepsEstimate, epsActual, epsDifference, surprisePercentBeat/miss track record (indexed by fiscal quarter-end, oldest first)
analyst_price_targetscurrent, low, high, mean, medianStreet price targets
recommendationsBuy/Hold/Sell countsSentiment distribution
quarterly_income_stmtTotalRevenue, NetIncome, BasicEPSRecent trajectory

Step 3: Build the Earnings Preview

The briefing should let the user see the setup at a glance. Cover these five areas; if the data for one is missing, say so in a line rather than dropping it.

  1. Date and context — company, ticker, sector and industry; the report date and whether it lands before the open or after the close; current price with 1-week and 1-month performance; market cap.
  2. Consensus estimates — a table of this quarter's EPS and revenue consensus with low, high, analyst count, year-ago value, and expected growth. A high/low spread wider than about 20% of consensus signals unusual uncertainty; say so when you see it.
  3. Beat/miss track record — the last four quarters of estimated vs actual EPS with surprise %, summarized as a beat count and average surprise.
  4. Analyst sentiment — the rating distribution (strong buy through strong sell) and the price-target range (low, mean, median, high), with the implied upside or downside from the mean target.
  5. What to watch — the few things the market will focus on in this print, chosen for this company and sector: revenue growth accelerating or decelerating, margins expanding or compressing, line items that moved sharply quarter over quarter, and segment trends where the data has them. This is the judgment part of the briefing.

Step 4: Respond to the User

Open with the headline — the report date and a one-line read of the setup — then the five areas above, using tables where they help. Close with a short read of the overall setup drawn from the estimates, track record, and sentiment, framed as what the street expects rather than a recommendation.

Include the caveats that apply: estimates can change until the report date, past beats don't guarantee future ones, Yahoo Finance consensus can lag real-time providers by a few hours, and this is not financial advice.


Reference Files

  • references/api_reference.md — Detailed yfinance API reference for earnings and estimate methods

Read the reference file when you need exact method signatures or edge case handling.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Estimate a public company's value using projected cash flows, peer comparisons, and separate business segments where applicable. Produce an implied share price, compare it with the market price, and show how different assumptions change the result.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Estimating a company's fair share price
  • Comparing valuation multiples with industry peers
  • Testing how growth and discount rates affect value
himself65/finance-skills3.4천2026년 10월 19일 업데이트

Read and search Discord discussions for financial research through opencli. Review servers, channels, members, and recent messages, then organize comments about stocks or crypto by topic, attribution, and bullish or bearish views.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing recent posts in a market discussion channel
  • Searching Discord conversations about a stock or coin
  • Checking available servers, channels, and online members
himself65/finance-skills3.4천2026년 10월 19일 업데이트

Review a company's latest or specified past earnings report using Yahoo Finance data. Compare earnings per share with estimates, examine revenue and profit margins, and measure the stock's price reaction against previous earnings moves.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check whether reported earnings beat estimates
  • Review quarterly revenue and profit margin trends
  • Compare the stock reaction with earlier earnings reports
himself65/finance-skills3.4천2026년 10월 19일 업데이트

Analyze company earnings and revenue forecasts using Yahoo Finance data. Compare analyst consensus, meaning their combined expectations, across periods, track upward and downward revisions, assess forecast ranges, and review how past estimates compared with actual results.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Tracking changes in earnings forecasts
  • Comparing optimistic and pessimistic estimates
  • Comparing growth forecasts with industry benchmarks
himself65/finance-skills3.4천2026년 10월 19일 업데이트

Calculate how far an ETF’s market price sits above or below its net asset value, the value of its holdings. Compare funds, screen for large gaps, and investigate sudden moves using holdings data and options-based estimates.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check an ETF’s price gap relative to its net asset value
  • Compare premiums and discounts across similar ETFs
  • Screen ETFs for unusually large price gaps
himself65/finance-skills3.4천2026년 10월 19일 업데이트

Compare how stocks are discussed on Reddit, X.com, financial news, and Polymarket using the Adanos Finance API. Get attention scores, bullish percentages, activity counts, and trends to identify agreement or differences across sources and stocks.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking how much a stock is discussed on Reddit
  • Comparing sentiment across X.com and financial news
  • Comparing attention across several stocks
himself65/finance-skills3.4천2026년 10월 19일 업데이트

himself65의 스킬 모두 보기

이 스킬의 문제 신고