stock-prices
Query real-time stock prices and market data using the Stock Prices API. Responses are in TOON format—decode with @toon-format/toon. Use when fetching stock quotes, analyzing market data, or working with symbols like AAPL, NVDA, GOOGL, or any ticker symbols.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anthonylee1994/stock-pricesWhat This Skill Does
The stock-prices skill for OpenClaw enables high-performance, real-time market data retrieval directly within your AI agent workflows. It connects to the Stock Prices API, which delivers data in the specialized TOON (Token-Oriented Object Notation) format. By utilizing TOON, this skill reduces token overhead by approximately 40% compared to traditional JSON, making it an incredibly efficient choice for high-frequency financial tracking, automated portfolio analysis, or agentic market reporting. The skill supports batch processing for up to 50 ticker symbols in a single request, providing a robust dataset including current prices, daily highs/lows, open prices, and pre-market activity.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface. Ensure you have your environment configured, then run the following command to pull the skill from the official repository:
clawhub install openclaw/skills/skills/anthonylee1994/stock-prices
Once installed, you must install the dependency to handle the data format transformation: pnpm add @toon-format/toon. This library is essential for decoding the compact TOON response into standard JavaScript objects.
Use Cases
This skill is perfect for developers and power users building financial automation agents. Key use cases include:
- Automated Portfolio Monitoring: Creating agents that check your watchlists at market open and close.
- Market Analysis: Feeding real-time ticker data into an LLM to generate daily market summary reports or sentiment analysis.
- Alerting Systems: Building trigger-based agents that notify you when a stock hits a specific price target.
- Trend Tracking: Aggregating pre-market data to identify early-day momentum for assets like AAPL, NVDA, or GOOGL.
Example Prompts
- "Check the current price and daily high for NVDA and AAPL; calculate if the current price is within 5% of the high."
- "Get the latest market data for GOOGL, MSFT, and TSLA, and tell me which one has the largest pre-market percentage change."
- "Fetch the full stock profile for NVDA and summarize its current market performance compared to its previous close price."
Tips & Limitations
- Efficiency: Always batch your symbols (e.g., "AAPL,MSFT,GOOGL") in a single request rather than calling the API multiple times to optimize latency and usage.
- Decoding: Never attempt to parse the raw TOON string using standard JSON parsers; always use the
@toon-format/toondecoder to prevent errors. - Rate Limits: While the API is fast, avoid overwhelming the endpoint with continuous loops; implement appropriate back-off strategies if polling at high frequencies.
- Availability: The skill relies on the
https://stock-prices.on99.appendpoint, so ensure your agent has network access to this domain.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anthonylee1994-stock-prices": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api