comtrade-minerals

Query UN Comtrade API for mineral and energy trade data.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/jpfielding/claude.pnge --skill comtrade-minerals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comtrade-minerals
Source: https://github.com/jpfielding/claude.pnge/tree/main/skills/comtrade-minerals
Command: npx skills add https://github.com/jpfielding/claude.pnge --skill comtrade-minerals

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides access to UN Comtrade data, enabling users to analyze international trade flows for critical minerals, petroleum, and energy commodities, which is often complex and time-consuming to do manually.

Core Features & Use Cases

  • Query Trade Data: Retrieve import and export statistics by country, commodity (HS code), and time period.
  • Analyze Supply Chains: Identify major trading partners, assess supply concentration, and understand global commodity movements.
  • Use Case: A user can ask, "What were the global import volumes for lithium carbonate in 2023, and who were the top exporting countries?" This Skill can then fetch and present that data.

Quick Start

Use the comtrade-minerals skill to find US imports of lithium carbonate in 2023.

Frequently Asked Questions about comtrade-minerals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze global commodity trade flows for critical minerals using UN Comtrade data?

To analyze global commodity trade flows, this Skill queries the UN Comtrade API to retrieve and parse international import and export statistics for minerals and petroleum by HS commodity code, time period, and partner country.

What is the best way to find major trading partners and supply concentration for energy commodities?

Finding major trading partners for energy commodities requires querying UN Comtrade API data to assess import and export volumes, which this Skill parses to reveal global commodity movements and supply concentration.

How do I query UN Comtrade import volumes for a specific HS commodity code and time period?

Querying UN Comtrade import volumes involves specifying the target HS commodity code and time period, which this Skill uses to fetch detailed trade statistics including values, volumes, and partner countries.

Can I analyze international trade data for petroleum without manual API authentication handling?

Analyzing international trade data for petroleum requires handling API authentication and data parsing, processes this Skill manages internally to deliver comprehensive supply chain insights automatically.

Does the UN Comtrade API support detailed supply chain analysis for lithium carbonate exports?

The UN Comtrade API supports detailed supply chain analysis for lithium carbonate by providing export volumes, values, and partner country data, which this Skill retrieves and presents for global commodity movements.

What are the limitations of using UN Comtrade data for minerals and petroleum trade analysis?

Limitations of using UN Comtrade data include the need for API authentication and complex data parsing, which this Skill handles, while analysis is constrained by available HS commodity codes and reported time periods.