SKILL: stock-checker

## Description

3,891 stars

Best use case

SKILL: stock-checker is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

## Description

Teams using SKILL: stock-checker should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/stock-checker/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/acrid-auto/acrid-skill-creator/examples/stock-checker/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/stock-checker/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How SKILL: stock-checker Compares

Feature / AgentSKILL: stock-checkerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

## Description

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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 |
|-----------|----------|------|---------|-------------|
| `ticker` | Yes | string | — | Stock ticker symbol (e.g., `AAPL`, `TSLA`, `GOOGL`). Must be 1-5 uppercase alpha characters. |

## Outputs

Structured text response:

```
**<TICKER>** — $<price> USD
Change: <+/->$<amount> (<+/-><%>)
Volume: <volume>
As of: <timestamp>
```

## Steps

1. **Validate input** — Confirm `ticker` is 1-5 alphabetic characters. Convert to uppercase if needed. If invalid, return: "Invalid ticker symbol. Please provide 1-5 letters (e.g., AAPL)."

2. **Fetch stock data** — Use WebFetch to call:
   ```
   https://query1.finance.yahoo.com/v8/finance/chart/<TICKER>?range=1d&interval=1d
   ```

3. **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."

4. **Extract price data** from the JSON response:
   - `price`: `chart.result[0].meta.regularMarketPrice`
   - `previousClose`: `chart.result[0].meta.chartPreviousClose`
   - `volume`: `chart.result[0].meta.regularMarketVolume`
   - Calculate `change = price - previousClose`
   - Calculate `changePercent = (change / previousClose) * 100`

5. **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 |

Related Skills

time-checker

3891
from openclaw/skills

Check accurate current time, date, and timezone information for any location worldwide using time.is. Use when the user asks "what time is it in X", "current time in Y", or needs to verify timezone offsets.

General Utilities

openclaw-stock-skill

3891
from openclaw/skills

使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。

Data & Research

us-stock-analyst

3891
from openclaw/skills

Professional US stock analysis with financial data, news, social sentiment, and multi-model AI. Comprehensive reports at $0.02-0.10 per analysis.

Data & Research

stock-watchlist

3891
from openclaw/skills

Query real-time stock prices, basic quote fields, and manage a Markdown watchlist for A-share, Hong Kong, and US stocks. Use when users ask in Chinese or by ticker/code to search stocks, inspect current price and quote basics, or maintain a watchlist stored in a Markdown file.

Personal Finance

jarvis-stock-price - 股票价格查询

3880
from openclaw/skills

**版本**: 1.0.0

Data & Research

jarvis-stock-monitor

3880
from openclaw/skills

全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。

Finance & Trading

hna-666-flight-checker

3891
from openclaw/skills

查询海南航空 666Plus 权益可往返航班,自动遍历指定目的地

akshare-a-stock

3891
from openclaw/skills

A股量化数据分析工具,基于AkShare库获取A股、港股、美股行情、财务数据、板块分析等。用于回答关于股票查询、行情数据、财务分析、资金流向、龙虎榜、涨停跌停、新股IPO、融资融券等问题。

Stock Skill - 股票查询

3891
from openclaw/skills

获取A股、港股、美股的实时行情数据。

minimax-plan-checker

3891
from openclaw/skills

获取 MiniMax 平台的套餐信息,包括套餐名称、额度、当前使用情况。当用户询问 MiniMax 套餐、额度使用情况、API 调用量、计费信息时使用此技能。

stock-query

3891
from openclaw/skills

查询全球主要市场股票实时行情:A 股、港股、美股,以及场内 ETF、场外基金、主要指数。 需要:curl(HTTP 请求)、iconv(GBK→UTF-8 转码)。 Use when: 用户要求查询股价、基金净值、ETF 价格、大盘指数,或需要计算持仓市值时。 NOT for: 加密货币、期货、期权、外汇。

cn-stock-query

3891
from openclaw/skills

查询中国 A 股股票、场内 ETF 及场外基金的实时行情与最新净值。 Use when: 用户要求查询股价、基金净值、ETF 价格,或需要计算持仓市值时。 NOT for: 美股(含中概 ADR)、港股、加密货币、期货、期权。