stock-quote

stock-quote is a skill for Claude Code from staskh/trading_skills. It costs 45 tokens per session (637 once invoked), scanned A, original, MIT.

A tool that retrieves a current stock quote from Yahoo Finance. It returns price, trading volume, daily change, market value, 52-week range, valuation, and dividend information.

In plain words
What is it for?
Use it to check a ticker’s current price, recent movement, trading activity, company size, price range, price-to-earnings ratio, and dividend yield.
Why use it?
It avoids having to collect basic market data from several places. The result also includes when the data was generated and its delay.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to check a ticker’s current price, recent movement, trading activity, company size, price range, price-to-earnings ratio, and dividend yield.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/staskh/trading_skills/stock-quote
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add staskh/trading_skills --skill stock-quote
Clone the repo
git clone --depth 1 https://github.com/staskh/trading_skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stock-quote

README.md
[![agentmods](https://agentmods.dev/badge/skills/staskh/trading_skills/stock-quote/github.svg)](https://agentmods.dev/skills/staskh/trading_skills/stock-quote)
Your own site
<a href="https://agentmods.dev/skills/staskh/trading_skills/stock-quote"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/stock-quote/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stock-quote

Your own site · 80×15
<a href="https://agentmods.dev/skills/staskh/trading_skills/stock-quote"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/stock-quote.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00637
Opus 5.5 $0.00018 $0.00255
Sonnet 5.5 $0.00009 $0.00127
Haiku 4.5 $0.00005 $0.00064

Measured 1mo ago against content hash ce78183ba254, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stock-quote scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/quote.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/stock-quote/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stock Quote

Fetch current stock data from Yahoo Finance.

Instructions

Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.

Run the quote script with the ticker symbol:

uv run python scripts/quote.py SYMBOL

Replace SYMBOL with the requested ticker (e.g., AAPL, MSFT, TSLA, SPY).

Output

The script outputs JSON with:

  • symbol, name, price, change, change_percent
  • as_of_session - the trading date price/change belong to (YYYY-MM-DD, from Yahoo's regular-session timestamp; null if Yahoo omits it)
  • market_open_now - whether the NYSE regular session is open right now
  • market_state - Yahoo's session state: PRE, REGULAR, POST, CLOSED (also PREPRE/POSTPOST)
  • pre_market, post_market - {price, change, change_percent, time} for extended-hours trading, or null. change is measured from the last regular close; time is the ET timestamp of that print
  • volume, avg_volume, market_cap
  • high_52w, low_52w, pe_ratio, forward_pe, dividend_yield, beta

Present the data in a readable format. Highlight significant moves (>2% change).

Before presenting change/change_percent as "today's move", check as_of_session against today's NY calendar date. Before the regular session opens (market_open_now: false and as_of_session is a prior date), Yahoo's change fields still describe the last completed session (yesterday's close vs. the day before) — not intraday movement in the still-unopened current session. In that case, label it as "as of <as_of_session> close", not "today". Once as_of_session equals today's date, change/change_percent are genuinely intraday.

Report the extended-hours move when there is one. Pre-market (market_state: PRE), lead with pre_market as the current move, then give the regular change as the prior session's close. After the close (POST), show post_market alongside the day's regular move. Check each block's time: a post_market print from the previous evening seen during pre-market is last night's move, not this morning's.

Read the full file on GitHub · 47 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +8 lines ce78183ba254
  2. 3mo ago First seen · 39 lines · 45 tokens per session scan A ca1eb7e2ed04

Subscribe to this mod's changes

stock-quote is a skill published in the GitHub repository staskh/trading_skills (427 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 637 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

stock-quote compared with skills from other repositories

stock-quote next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stock-quotestaskh/trading_skillsSkill427todayMITA45Claude Code
find-cpa-firmnostrband/ServiceGraphSkill586mo agoMITA238Claude Code
nse-trading-toolkitBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA165Claude Code, Codex
clawby-dataopenclawby/openclawby-skillsSkill925d agoMITC204Claude Code, Codex
fibonacci-tradingBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA101Claude Code, Codex
multi-timeframe-analysisBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA105Claude Code, Codex
position-sizingBhala-Srinivash/nse-trading-skillsSkill749mo agoMITA96Claude Code, Codex