Export restrictions

From lamm-mit/scienceclaw · View interactive version

Export restrictions is an AI agent skill from the GitHub repository lamm-mit/scienceclaw. Query OECD export restriction policies on critical raw materials with corpus-search enrichment

How to use this skill

Skill file

Export Restrictions on Raw Materials

Query OECD export restriction data and policies on industrial raw materials. Combines structured metadata from the OECD Supply Chain dataset with semantic search over policy documents in the local corpus. Covers 65 commodities across 82 countries from 2009-2023.

Usage

Search by commodity:

python3 {baseDir}/scripts/restrictions_query.py --commodity "lithium"

Search by country:

python3 {baseDir}/scripts/restrictions_query.py --country "China"

Free-text policy search:

python3 {baseDir}/scripts/restrictions_query.py --query "rare earth export ban"

Combined search:

python3 {baseDir}/scripts/restrictions_query.py --commodity "cobalt" --country "Congo" --format json

Parameters

| Parameter | Description | Default |

|-----------|-------------|---------|

| --commodity | Commodity name to search for | - |

| --country | Country name to search for | - |

| --query | Free-text search across policy documents | - |

| --format | Output format: summary, detailed, json | summary |

Examples

# China's restrictions on rare earth exports
python3 {baseDir}/scripts/restrictions_query.py --commodity "rare earths" --country "China"

# All lithium export restrictions
python3 {baseDir}/scripts/restrictions_query.py --commodity "lithium" --format detailed

# Policy text search
python3 {baseDir}/scripts/restrictions_query.py --query "export quota critical minerals"

# JSON output for cobalt restrictions
python3 {baseDir}/scripts/restrictions_query.py --commodity "cobalt" --format json

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.