yueweilu

stock-price

0
0
# Install this skill:
npx skills add yueweilu/ai-agent-skills --skill "stock-price"

Install specific skill from multi-skill repository

# Description

Retrieve real-time stock price and market data for a given ticker symbol.

# SKILL.md


name: stock-price
description: Retrieve real-time stock price and market data for a given ticker symbol.


Stock Price Skill

δΈ­ζ–‡

This skill allows you to fetch current stock market data using the Yahoo Finance API.

Tools

get_stock.py

A Python script that fetches stock data and returns it in JSON format.

Location: skills/stock-price/get_stock.py

Dependencies:
- yfinance

Install via: pip install yfinance

Usage:

python skills/stock-price/get_stock.py "Ticker Symbol"

Example:

python skills/stock-price/get_stock.py "AAPL"

Output Format:

The script returns a JSON object with:
- symbol: Ticker symbol
- current_price: Current trading price
- currency: Currency of the price
- market_cap: Market capitalization
- volume: Trading volume

Acknowledgments

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.