Communityコーディング&開発github.com

yfinance 金融データ取得

yfinance Pythonライブラリを使用して株価、財務諸表、オプション連鎖、配当などの金融・市場データを取得します。ユーザーが株式ティッカーや市場データを要求した場合に常に使用します。

yfinance 金融データ取得 とは?

yfinance スキルは、Yahoo Finance から金融データを取得するための強力なツールです。株価のリアルタイムおよび履歴データ、財務諸表(貸借対照表、損益計算書、キャッシュフロー)、配当履歴、株式分割、オプション連鎖、アナリスト推奨、機関投資家の保有状況など、幅広いデータにアクセスできます。ユーザーがティッカーシンボル(例:AAPL、MSFT、TSLA)を指定したり、「株価を教えて」、「財務諸表を見せて」、「配当履歴を取得して」などの自然言語クエリを発した際に自動的にトリガーされるよう設計されています。このスキルはClaude Code、Cursor、CodexなどのAIエージェントプラットフォームとシームレスに連携し、yfinanceライブラリを通じてデータを取得し、ユーザーにわかりやすく整理された形で提供します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/himself65/finance-skills/tree/main/skills/yfinance-data

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

yfinance 金融データ取得 は何をしますか?

yfinance Python ライブラリを使用して金融および市場データを取得します。ユーザーが株価、履歴データ、財務諸表、オプション連鎖、配当、収益、アナリスト推奨、または任意の市場データを要求した場合には、常にこのスキルを使用してください。トリガーとなる条件は以下の通りです:株価、ティッカーシンボル(AAPL、MSFT、TSLA など)、「財務諸表を取得」、「収益を表示」、「〜の価格は?」、「株データをダウンロード」、「オプション連鎖」、「配当履歴」、「貸借対照表」、「損益計算書」、「キャッシュフロー」、「アナリスト目標」、「機関投資家保有」、「株式比較」、「株式スクリーニング」、または Yahoo Finance データに関する任意のリクエスト。ユーザーがティッカーのみを提供した場合でも、文脈から意図を推測し、このスキルを常に使用してください。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

himself65/generative-ui

Design system and guidelines for Claude's built-in generative UI — the show_widget tool that renders interactive HTML/SVG widgets inline in claude.ai conversations. This skill provides the complete Anthropic "Imagine" design system so Claude produces high-quality widgets without needing to call read_me first. Use this skill whenever the user asks to visualize data, create an interactive chart, build a dashboard, render a diagram, draw a flowchart, show a mockup, create an interactive explainer, or produce any visual content beyond plain text or markdown. Triggers include: "show me", "visualize", "draw", "chart", "dashboard", "diagram", "flowchart", "widget", "interactive", "mockup", "illustrate", "explain how X works" (with visual), or any request for visual/interactive output. Also triggers when the user wants to display financial data visually, create comparison grids, or build tools with sliders, toggles, or live-updating displays.

himself65/hormuz-strait

Check the current status of the Strait of Hormuz — shipping transit data, oil price impact, stranded vessels, insurance risk levels, diplomatic developments, and global trade impact. Use this skill whenever the user asks about the Strait of Hormuz, Hormuz chokepoint, Persian Gulf shipping risk, oil transit disruption, war risk premium in the Gulf, Middle East shipping routes, tanker traffic through Hormuz, oil supply chain risk, or geopolitical risk affecting energy markets. Triggers include: "Hormuz status", "Strait of Hormuz", "is Hormuz open", "shipping through the Gulf", "oil chokepoint", "Persian Gulf tanker traffic", "war risk premium", "Hormuz crisis", "energy supply chain risk", "oil transit disruption", "Middle East shipping", any mention of Hormuz or Persian Gulf in context of oil, shipping, or geopolitical risk.

himself65/options-payoff

Generate an interactive options payoff curve chart with dynamic parameter controls. Use this skill whenever the user shares an options position screenshot, describes an options strategy, or asks to visualize how an options trade makes or loses money. Triggers include: any mention of butterfly, spread (vertical/calendar/diagonal/ratio), straddle, strangle, condor, covered call, protective put, iron condor, or any multi-leg options structure. Also triggers when a user pastes strike prices, premiums, expiry dates, or says things like "show me the payoff", "draw the P&L curve", "what does this trade look like", or uploads a screenshot from a broker (IBKR, TastyTrade, Robinhood, etc). Always use this skill even if the user only provides partial info — extract what you can and use defaults for the rest.

himself65/stock-correlation

Analyze stock correlations to find related companies and trading pairs. Use when the user asks about correlated stocks, related companies, sector peers, trading pairs, or how two or more stocks move together. Triggers: "what correlates with NVDA", "find stocks related to AMD", "correlation between AAPL and MSFT", "what moves with", "sector peers", "pair trading", "correlated stocks", "when NVDA drops what else drops", "stocks that move together", "beta to", "relative performance", "supply chain partners", "correlation matrix", "co-movement", "related tickers", "sympathy plays", "semiconductor peers", "hedging pair", "realized correlation", "rolling correlation", or any request about stocks that move in tandem or inversely. Also triggers for well-known pairs like AMD/NVDA, GOOGL/AVGO, LITE/COHR. If only one ticker is provided, infer the user wants correlated peers.

himself65/twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my bookmarks", "who follows", "look up @user", "what's trending about", "market sentiment on Twitter", "what are people saying about AAPL", "recent tweets from @elonmusk", "show me @user's posts", "fintwit", any mention of Twitter/X in context of reading financial news or market research. This skill is READ-ONLY — it does NOT support posting, liking, retweeting, or any write operations.

関連スキル