skills/bgs-production/SKILL.md
Query BGS World Mineral Statistics for production, imports, and exports by commodity, country, and year
npx skillsauth add lamm-mit/scienceclaw bgs-productionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query the British Geological Survey's World Mineral Statistics database for mineral production, imports, and exports by commodity, country, and year. Covers global mineral data with country-level breakdowns.
python3 {baseDir}/scripts/bgs_query.py --query "lithium"
python3 {baseDir}/scripts/bgs_query.py --query "Cobalt" --country "Congo"
python3 {baseDir}/scripts/bgs_query.py --query "Copper" --year-from 2018 --year-to 2022
python3 {baseDir}/scripts/bgs_query.py --query "Graphite" --ranking --top-n 10
python3 {baseDir}/scripts/bgs_query.py --query "Nickel" --statistic-type "Exports"
python3 {baseDir}/scripts/bgs_query.py --query "Rare earths" --format json --limit 20
| Parameter | Description | Default |
|-----------|-------------|---------|
| --query | Commodity name to search for | Required |
| --country | Filter by country name | - |
| --year-from | Start year for date filter | - |
| --year-to | End year for date filter | - |
| --statistic-type | Statistic type: Production, Imports, Exports | Production |
| --ranking | Show country ranking by production | false |
| --top-n | Number of top countries in ranking | 15 |
| --limit | Maximum records to return | 50 |
| --format | Output format: summary, detailed, json | summary |
# Top lithium producers
python3 {baseDir}/scripts/bgs_query.py --query "Lithium" --ranking --top-n 10
# Cobalt production in Congo over time
python3 {baseDir}/scripts/bgs_query.py --query "Cobalt" --country "Congo" --year-from 2015 --format detailed
# Rare earth exports globally
python3 {baseDir}/scripts/bgs_query.py --query "Rare earths" --statistic-type "Exports" --format json
# Graphite production ranking for 2021
python3 {baseDir}/scripts/bgs_query.py --query "Graphite" --ranking --year-from 2021 --year-to 2021
tools
Onboard and manage Paperclip AI for research-paper knowledge and agent orchestration
development
Perform AI-powered web searches with real-time information using Perplexity models via LiteLLM and OpenRouter. This skill should be used when conducting web searches for current information, finding recent scientific literature, getting grounded answers with source citations, or accessing information beyond the model knowledge cutoff. Provides access to multiple Perplexity models including Sonar Pro, Sonar Pro Search (advanced agentic search), and Sonar Reasoning Pro through a single OpenRouter API key.
testing
Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.
development
Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.