Community程式設計與開發github.com

himself65/yfinance-data

使用 yfinance Python 函式庫擷取金融與市場資料。當使用者詢問股價、歷史資料、財務報表、選擇權鏈、股利、盈餘、分析師推薦或任何市場數據時,請使用此技能。

yfinance-data 是什麼?

此技能(himself65/yfinance-data)可讓 AI 助手透過強大的 yfinance Python 函式庫,輕鬆存取 Yahoo Finance 上的豐富金融資料。開發者或 AI 代理可藉此技能處理廣泛的市場數據請求,包括即時股價查詢、歷史價格下載、財務報表(資產負債表、損益表、現金流量表)、選擇權鏈、股利歷史、盈餘公告、分析師目標價、機構持有者資料,以及股票篩選與比較等。其觸發條件涵蓋使用者提及股票代號(如 AAPL、MSFT、TSLA)或任何與財務相關的關鍵字(如「股價是多少」、「顯示盈餘」、「下載股票資料」),並會自動推斷使用者意圖。此技能支援所有常見的 AI 代理平台(如 Claude Code、Cursor、Codex),只需透過 pip install yfinance 安裝相依套件即可。其運作原理是封裝 yfinance 的 API 呼叫,將結構化資料傳回 AI 代理,使其能無縫整合金融數據至對話或工作流程中。

相容平台~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 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

yfinance-data 是做什麼的?

使用 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.

相關技能