Skip to content

Guide · Agent skill

How to use the Commodity Analysis agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The commodity-analysis skill gives an AI agent a structured way to analyse crude oil, gold and copper. Once installed, the agent checks supply versus demand, inventory levels and cycle stage, the futures curve, and seasonal patterns, then states a directional view such as bullish, bearish or neutral. This guide explains what the skill does, how to install it, how to ask for analysis, and what limits to keep in mind.

Commodity AnalysisHKUDS/Vibe-Trading · MIT

Quick start

  1. 1Download the ZIP. Get the commodity-analysis skill ZIP from this page.
  2. 2Unzip the skill. Extract the archive so you have a commodity-analysis folder containing SKILL.md.
  3. 3Place the folder. Move it to ~/.claude/skills/ for personal use, or to .claude/skills/ inside a project.
  4. 4Or upload in the Claude apps. In the Claude apps, go to Settings → Capabilities → Skills and upload the ZIP.
  5. 5Ask a commodity question. Name the commodity and describe the question, and include the market data you have.
  6. 6Review the report. Check each dimension's score and the data behind it before accepting the bias.

What is an agent skill and what does this one do?

An agent skill is a folder containing a SKILL.md file with instructions that an AI agent reads when a request matches the skill's description. It changes how the agent reasons about a topic rather than adding live data.

The commodity-analysis skill covers six areas: crude oil supply-demand balance, gold pricing, copper as an economic predictor, inventory cycles, futures premium and discount structure, and seasonality. It focuses on crude oil, gold and copper.

  • Supply-demand: OPEC production, US shale output, rig count, Strategic Petroleum Reserve, plus demand indicators such as China crude imports and global PMI.
  • Gold: a four-factor model covering real rates, the US dollar index, safe-haven demand and central-bank buying.
  • Copper: leading-indicator logic and inventory thresholds for LME and SHFE.
  • Futures structure: contango versus backwardation and roll yield.
  • Output: a report with directional signals written so they can be tested against historical data.

Install the commodity-analysis skill

Download the skill ZIP from this page and unzip it. The skill is a folder that contains SKILL.md. Place that folder in one of these locations:

  • Personal skills folder: ~/.claude/skills/
  • Project-specific: the .claude/skills/ folder inside your project
  • Claude apps: upload the ZIP under Settings → Capabilities → Skills

Trigger the skill with natural requests

You do not need a special command. Describe the commodity and the question in plain language, and the agent will apply the framework when the request matches the skill's description. Naming the commodity (oil, gold or copper) and the kind of view you want helps.

Supply the market data yourself in the request or in a file. The skill describes where to find data, such as OPEC and EIA reports, LME and SHFE inventories, and customs data, but it does not fetch prices.

  • "Using the commodity-analysis approach, assess the current oil supply-demand balance. Here are the latest EIA weekly figures: ..."
  • "Apply the gold four-factor model to these real rate and dollar index readings and give a directional view."
  • "Check the copper futures curve shape and tell me whether backwardation confirms the demand picture."
  • "Give me a commodity analysis report for copper with a composite score and bias."

Example workflow: a crude oil report

The skill's five-step method runs in order: supply-demand sets direction, inventory sets rhythm, term structure confirms, seasonality overlays, and macro checks validate the view. The output follows a standard report layout with sections for supply-demand, inventory cycle, term structure, a composite score table and a trading direction.

The composite score uses a -2 to +2 scale per dimension, so a total can be read as a simple bias. The skill's own example gives +3 out of 5 (+0.6) as a bullish bias that is not a strong signal.

What you need before you start

Python is needed only if the agent should run the composite scoring or term-structure code. Without it, the agent can still reason through the framework in text.

You also need market data from your own source or another tool. The skill names OPEC, EIA, LME, SHFE, customs and similar sources. It does not specify API keys or accounts, so check what each source requires.

  • Python (optional, for running the scoring and term-structure code)
  • Market data you supply, or from another tool
  • No API keys or accounts are specified by the skill

Safety notes: scripts and network access

The skill is listed as not running scripts and not using the network. The code blocks in SKILL.md are illustrations the agent may adapt. It does not fetch live prices or inventory numbers.

The thresholds and rules are simplified illustrations, not validated trading strategies. Treat any signal as a hypothesis to test, not an instruction to trade.

  • No scripts are run by the skill as listed.
  • No network use is listed, so any live data must come from you or another tool.
  • Do not trade real money on these signals without independent verification.

Tips for better results

Give the agent recent, specific numbers rather than asking it to recall current data. The framework depends on the inputs, and it can only check thresholds you provide.

Ask for the reasoning as well as the signal, so you can see which of the four dimensions drove the view.

  • Provide dated data with its source, such as the EIA weekly report date.
  • Ask for each dimension's score and basis, not only the final bias.
  • Use the output to build a backtest, then test the rules on historical data yourself.

What people use it for

  • Structuring a weekly oil market note around supply, inventories and the futures curve.
  • Building a simple gold signal from real rates and dollar readings to backtest.
  • Checking whether copper inventory and curve shape confirm an economic view.
  • Teaching students how inventories and contango or backwardation interact.

Frequently asked questions

How do I install the commodity-analysis skill?

Download the skill ZIP from this page and unzip it so you have a folder containing SKILL.md. Put it in ~/.claude/skills/ for personal use or in .claude/skills/ inside a project. In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.

What do I need to run the commodity-analysis skill?

Python is needed only if the agent should run the composite scoring or term-structure code. You also need market data from your own source or another tool, such as OPEC, EIA, LME or SHFE data. The skill does not specify API keys or accounts.

Is the commodity-analysis skill free?

The source material lists the licence as MIT. Check the repository's licence file for the full terms before reuse.

Which commodities does the skill cover?

It focuses on crude oil, gold and copper. It is not designed for other commodities, since its variables and thresholds are built around those three.

Does the skill fetch live prices?

No. The skill describes where to find data but does not itself fetch real-time prices or inventory figures. You need to supply the numbers.

Can I rely on the signals for trading?

No. The thresholds and rules are simplified illustrations, not validated strategies, and they can lose money. Verify any signal independently and test it on historical data before relying on it.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits traders, analysts, quantitative researchers and students who want a consistent framework for oil, gold or copper and signals they can backtest. It is a poor choice for anyone wanting live data, a validated trading system, or coverage of commodities beyond those three.

Download the skill