install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/acrid-auto/acrid-skill-creator/examples/stock-checker" ~/.claude/skills/clawdbot-skills-stock-checker && rm -rf "$T"
manifest:
skills/acrid-auto/acrid-skill-creator/examples/stock-checker/SKILL.mdsource content
SKILL: stock-checker
Description
Fetches the current stock price for a given ticker symbol using free public APIs. Returns the price in USD along with daily change data. No API key required.
Usage
Use when you need to check a stock price, compare current values, or get a quick market snapshot for a ticker.
Triggers: "What's the price of AAPL?", "Check stock price for TSLA", "Get me a quote on MSFT"
Inputs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Yes | string | — | Stock ticker symbol (e.g., , , ). Must be 1-5 uppercase alpha characters. |
Outputs
Structured text response:
**<TICKER>** — $<price> USD Change: <+/->$<amount> (<+/-><%>) Volume: <volume> As of: <timestamp>
Steps
-
Validate input — Confirm
is 1-5 alphabetic characters. Convert to uppercase if needed. If invalid, return: "Invalid ticker symbol. Please provide 1-5 letters (e.g., AAPL)."ticker -
Fetch stock data — Use WebFetch to call:
https://query1.finance.yahoo.com/v8/finance/chart/<TICKER>?range=1d&interval=1d -
Check response — If the response contains an error or the result array is empty:
- Return: "Could not find data for ticker '<TICKER>'. Verify the symbol and try again."
-
Extract price data from the JSON response:
:pricechart.result[0].meta.regularMarketPrice
:previousClosechart.result[0].meta.chartPreviousClose
:volumechart.result[0].meta.regularMarketVolume- Calculate
change = price - previousClose - Calculate
changePercent = (change / previousClose) * 100
-
Format and return:
**<TICKER>** — $<price> USD Change: <+/->$<change> (<+/-><%changePercent>) Volume: <volume> As of: <current timestamp>
Error Handling
| Scenario | Action |
|---|---|
| Invalid ticker format | Return validation error with format hint |
| API unreachable / timeout | Return: "Unable to reach market data API. Try again shortly." |
| Ticker not found | Return: "No data found for '<TICKER>'. Check the symbol." |
| Market closed / stale data | Still return last known price, note "Market closed" in output |