stocks

stocks is a skill for Claude Code, Codex from GGbond-bo/MemOmics-Agent. It costs 15 tokens per session (754 once invoked), scanned A, a copy of stocks, MIT.

A read-only tool for looking up stock and cryptocurrency market data through Yahoo Finance. It supports current quotes, company searches, price history, and comparisons.

In plain words
What is it for?
It helps retrieve ticker symbols, current prices, historical OHLCV data, performance over a date range, side-by-side stock comparisons, and crypto prices.
Why use it?
It avoids manually checking several market pages or installing a separate finance library, while noting that Yahoo's unofficial endpoint can change or limit requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps retrieve ticker symbols, current prices, historical OHLCV data, performance over a date range, side-by-side stock comparisons, and crypto prices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggbond-bo/memomics-agent/stocks
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 GGbond-bo/MemOmics-Agent --skill stocks
Clone the repo
git clone --depth 1 https://github.com/GGbond-bo/MemOmics-Agent

Made for: Claude Code, Codex.

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 stocks

README.md
[![agentmods](https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/stocks/github.svg)](https://agentmods.dev/skills/ggbond-bo/memomics-agent/stocks)
Your own site
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/stocks"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/stocks/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 stocks

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/stocks"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/stocks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 754 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.
Origin 100% copy Near-identical to another mod 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.00015 $0.00754
Opus 5 $0.00008 $0.00377
Sonnet 5 $0.00003 $0.00151
Haiku 4.5 $0.00002 $0.00075

Measured 10d ago against content hash 8f8c724cf995, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

stocks 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/stocks_client.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.

Origin

This is a copy

100% identical to stocks — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

hermes-agent/optional-skills/finance/stocks/SKILL.md · 96 lines

How it starts

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

Stocks Skill

Read-only market data via Yahoo Finance. Five commands: quote, search, history, compare, crypto. Python stdlib only — no API key, no pip installs. Yahoo's endpoint is unofficial and may rate-limit or change.

When to Use

  • User asks for a current stock price (AAPL, TSLA, MSFT, ...)
  • User wants to look up a ticker by company name
  • User wants OHLCV history or performance over a date range
  • User wants to compare several tickers side by side
  • User asks for a crypto price (BTC, ETH, SOL, ...)

Prerequisites

Python 3.8+ stdlib only. Optional: set ALPHA_VANTAGE_KEY to enrich market_cap, pe_ratio, and 52-week levels when Yahoo's crumb-protected fields come back null. Free key: https://www.alphavantage.co/support/#api-key

How to Run

Invoke through the terminal tool. Once installed:

SCRIPT=~/.hermes/skills/finance/stocks/scripts/stocks_client.py
python3 $SCRIPT quote AAPL

All output is JSON on stdout — pipe through jq if you want to slice it.

Quick Reference

python3 $SCRIPT quote AAPL
python3 $SCRIPT quote AAPL MSFT GOOGL TSLA
python3 $SCRIPT search "Tesla"
python3 $SCRIPT history NVDA --range 6mo
python3 $SCRIPT compare AAPL MSFT GOOGL
python3 $SCRIPT crypto BTC ETH SOL

Commands

quote SYMBOL [SYMBOL2 ...]

Current price, change, change%, volume, 52-week high/low.

search QUERY

Find tickers by company name. Returns top 5: symbol, name, exchange, type.

history SYMBOL [--range RANGE]

Daily OHLCV plus stats (min, max, avg, total return %). Ranges: 1mo, 3mo, 6mo, 1y, 5y. Default: 1mo.

compare SYMBOL1 SYMBOL2 [...]

Side-by-side: price, change%, 52-week performance.

crypto SYMBOL [SYMBOL2 ...]

Crypto prices. Pass BTC (the script appends -USD automatically).

Pitfalls

  • Yahoo Finance's API is unofficial. Endpoints can change or rate-limit without notice — if requests start failing, that's why.
  • market_cap and pe_ratio may return null on quote when Yahoo's crumb session isn't established. Set ALPHA_VANTAGE_KEY to backfill.
  • Add a small delay between bulk requests to avoid rate-limiting.
  • This is read-only — no order placement, no account integration.

Read the full file on GitHub · 96 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. 10d ago First seen · 96 lines · 15 tokens per session scan A 8f8c724cf995

Subscribe to this mod's changes

stocks is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (19 stars, last pushed 7d ago), licensed MIT. It adds 15 tokens to every session and 754 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to stocks, differing in 16 lines, and is treated as a copy.

Related

Other skills, from other repositories