General Chemical Pricing

SkillDev tools

Retrieves averaged elemental prices and provides direct vendor purchase links for elements and precursor compounds.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the General Chemical Pricing skill

What this skill tells your AI

The instructions your AI receives, as published by learningmatter-mit/atomisticskills in .agents/skills/general-chemical-pricing/SKILL.md and read by ahel’s review.

Goal

To programmatically query averaged bulk commodity prices for pure chemical elements (in USD/kg) and to retrieve direct chemical vendor links for ordering specific precursor compounds or elemental forms.

Instructions

1. Get Pricing and Vendor Links

Use this script to search for the pricing details of a given element or chemical compound. The script aggregates Wikipedia's USGS elemental data with PubChem's registered supplier vendor lists.

# Env: base-agent
python .agents/skills/general-chemical-pricing/scripts/get_pricing.py <Query Name or Symbol>

Parameters:

  • <Query Name or Symbol>: The name, symbol, or full compound name (e.g., "Lithium", "Li", "Lithium carbonate", "Li2CO3"). Ensure multi-word compounds are wrapped in quotes (e.g., "Lithium carbonate").

Examples

See examples/lithium-carbonate/README.md for a complete run of querying elemental lithium alongside a molecular precursor.

Constraints

  • Environments: The script requires the base-agent Conda environment because it uses standard requests, beautifulsoup4, and pubchempy libraries. Each code block MUST specify the environment.
  • Price Precision: Elemental bulk prices presented are averaged and highly dependent on market fluctuations and the reference year (scraped dynamically from Wikipedia's USGS Mineral Commodity list).
  • Vendor Links: For compounds, live price points are not freely accessible via unauthenticated APIs. The skill provides a robust PubChem URL that aggregates active supplier links where live pricing can be interactively observed.

References


Author: Bowen Deng Contact: GitHub @learningmatter-mit

Signals

GitHub stars
164
Forks
24
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
general-chemical-pricing
Source
github.com/learningmatter-mit/atomisticskills