Community编程与开发github.com

himself65/yfinance-data

使用 yfinance Python 库获取金融与市场数据。当用户询问股票价格、历史数据、财务报表、期权链、股息、收益、分析师建议或任何市场数据时,请使用此技能。

yfinance-data 是什么?

本技能封装了 yfinance Python 库,为 AI 代理提供获取实时与历史金融市场数据的能力。它支持获取股票价格、历史行情、财务报表(资产负债表、利润表、现金流)、期权链、股息历史、收益数据、分析师目标价、机构持股信息,并可实现股票比较和筛选。该技能适用于所有需要 Yahoo Finance 数据的场景,并能从用户简短的上下文(如仅提供股票代码)中自动推断意图,无需显式关键词触发。开发者可通过 pip `yfinance` 库集成,无需外部 API 密钥,直接调用 yfinance 的 Ticker 对象及其方法。

兼容平台~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.

相关技能