← Back to Skills Marketplace
youpele52

commodities

by youpele52 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
128
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install commodities
Description
Fetch commodity prices for WTI (Crude Oil), Brent, Natural Gas, and Gold using Yahoo Finance (yfinance). Follow the same pattern as stock-price-checker-pro.
README (SKILL.md)

Skill: Commodities

When to use

  • The user asks for current commodity prices (WTI, Brent, Natural Gas, Gold).
  • The user wants daily change, percent change, recent high/low ranges, or recent headlines affecting these commodities.

When NOT to use

  • User wants equities, fundamentals, or portfolio-level analysis — use the stock skills instead.

Authentication

  • No API key required. Uses Yahoo Finance via yfinance.

Commands

Check a commodity price

uv run skills/commodities/src/main.py \x3CSYMBOL>

Examples

uv run skills/commodities/src/main.py CL=F   # WTI Crude Futures (WTI)
uv run skills/commodities/src/main.py BZ=F   # Brent Crude Futures (Brent)
uv run skills/commodities/src/main.py NG=F   # Natural Gas Futures (NG)
uv run skills/commodities/src/main.py GC=F   # Gold Futures (GC)

Ticker Reference (Yahoo Finance)

Commodity Yahoo Ticker
WTI Crude Oil CL=F
Brent Crude BZ=F
Natural Gas NG=F
Gold Futures GC=F

Output

  • Current price, daily change & % change
  • Previous close
  • Today's high / low
  • 2W, 1M, 3M, 6M, 52W high / low ranges
  • Recent headlines (when available)

Notes

  • uv run reads the inline # /// script dependency block in main.py and auto-installs yfinance.
  • Do NOT use web search or curl for these prices — use this script for consistent formatting.
Usage Guidance
This skill appears to do only what it says: run a small Python script (via the uv runner) that installs yfinance and queries Yahoo Finance for commodity tickers. Before installing, ensure you have (or trust) the 'uv' runner since it will install yfinance from PyPI at runtime and perform network requests to Yahoo. No API keys or secrets are requested. If you have security concerns, review the included source files yourself or run the skill in an isolated environment (container/VM) to limit exposure.
Capability Analysis
Type: OpenClaw Skill Name: commodities Version: 1.0.0 The commodities skill bundle is a legitimate tool designed to fetch and format commodity price data and news from Yahoo Finance using the yfinance library. The code in src/main.py and src/service.py is well-structured, follows the stated purpose, and contains no indicators of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the included Python scripts which use yfinance to fetch commodity tickers; the declared required binary (uv) is consistent with the SKILL.md commands.
Instruction Scope
SKILL.md and the code limit behavior to calling yfinance for price/history/news and formatting output. The skill does not read unrelated files or environment variables. It does surface news article link URLs (from Yahoo) but does not follow or fetch them itself.
Install Mechanism
There is no external download URL; main.py contains an inline dependency block that causes uv to install the 'yfinance' Python package (likely via PyPI) at runtime. Installing a package from PyPI is normal here but is the primary runtime install action to be aware of.
Credentials
The skill requests no env vars, no credentials, and no config paths. All external access is to Yahoo Finance via the yfinance library, which is appropriate for the stated function.
Persistence & Privilege
always is false and the skill does not claim or attempt to persist beyond its own files. Autonomous invocation is allowed (platform default) but not combined with any elevated privileges or secret access.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install commodities
  3. After installation, invoke the skill by name or use /commodities
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release: Query live prices for WTI, Brent, Natural Gas, and Gold using Yahoo Finance. - Supports key stats: current price, daily change & %, previous close, daily/high low, and multi-period high/low ranges. - Includes command examples for each commodity ticker. - Outputs recent headlines when available. - No authentication or API key required; uses `yfinance` with `uv run`.
Metadata
Slug commodities
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is commodities?

Fetch commodity prices for WTI (Crude Oil), Brent, Natural Gas, and Gold using Yahoo Finance (yfinance). Follow the same pattern as stock-price-checker-pro. It is an AI Agent Skill for Claude Code / OpenClaw, with 128 downloads so far.

How do I install commodities?

Run "/install commodities" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is commodities free?

Yes, commodities is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does commodities support?

commodities is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created commodities?

It is built and maintained by youpele52 (@youpele52); the current version is v1.0.0.

💬 Comments