agentleFS
learningmatter-mitlearningmatter-mit/AtomisticSkills/.agents/skills/general-chemical-pricing/SKILL.md

general-chemical-pricing

Skill174 starsChanged 6 months agoMITView on GitHub

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

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this script to search for the pricing details of a given element or chemical compound.

    line 15

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

General Chemical Pricing

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.