# Export Restrictions

> Export Restrictions is an Agent Skill for research published in the lamm-mit/scienceclaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Query OECD export restriction policies on critical raw materials with corpus-search enrichment

- Skill name: `export-restrictions`
- Category: [Research](https://www.openparable.com/skill/research/1)
- Source: https://github.com/lamm-mit/scienceclaw/blob/HEAD/skills/export-restrictions/SKILL.md
- Repository: lamm-mit/scienceclaw (232 GitHub stars when collected)

## SKILL.md

# 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:
```bash
python3 {baseDir}/scripts/restrictions_query.py --commodity "lithium"
```

### Search by country:
```bash
python3 {baseDir}/scripts/restrictions_query.py --country "China"
```

### Free-text policy search:
```bash
python3 {baseDir}/scripts/restrictions_query.py --query "rare earth export ban"
```

### Combined search:
```bash
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

```bash
# 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

- OECD data requires local data files (see cmm-data package)
- Policy text search uses the corpus-search skill (requires PINECONE_API_KEY)
- Coverage: 65 commodities, 82 countries, 2009-2023
- Restriction types include export bans, quotas, licenses, taxes
- For trade flow data, use `comtrade-trade` instead

---

Source: https://www.openparable.com/skill/research/export-restrictions (OpenParable). Cite the canonical URL above.
