Agent skill

Export Restrictions

by lamm-mit in lamm-mit/scienceclaw

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

Apache-2.0Auto-check passed

Install Export Restrictions

skills CLI
$ npx skills add lamm-mit/scienceclaw --skill export-restrictions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lamm-mit/scienceclaw export-restrictions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lamm-mit/scienceclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/export-restrictions .claude/skills/export-restrictions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
export-restrictions
GitHub stars
244
Token cost
~541 tokens
SKILL.md length
125 words
Files
2 (incl. scripts)
Skills in repo
85
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • SKILL.md covers Usage, Parameters, Examples and Notes
  • Runs Python scripts from its folder; calls python3; needs PINECONE_API_KEY

What it does

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

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/restrictions_query.py`).

The licence is Apache-2.0.

Example prompts

  • “/export-restrictions”

Requirements

  • Python 3
  • A credential in PINECONE_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit ab9aba1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PINECONE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Export Restrictions loads about 541 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 125 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~541

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lamm-mit/scienceclaw at commit ab9aba1, republished under its Apache-2.0 licence (© lamm-mit). 125 words, ~541 tokens.

Download SKILL.mdSave it as .claude/skills/export-restrictions/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
export-restrictions
description
Query OECD export restriction policies on critical raw materials with corpus-search enrichment

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"
bash
python3 {baseDir}/scripts/restrictions_query.py --query "rare earth export ban"
bash
python3 {baseDir}/scripts/restrictions_query.py --commodity "cobalt" --country "Congo" --format json

Parameters

ParameterDescriptionDefault
--commodityCommodity name to search for-
--countryCountry name to search for-
--queryFree-text search across policy documents-
--formatOutput format: summary, detailed, jsonsummary

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

© lamm-mit, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/export-restrictions of lamm-mit/scienceclaw.

  • SKILL.md
  • scripts/restrictions_query.py

Open the folder on GitHubat commit ab9aba1

Compare with similar skills

Export Restrictions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Export Restrictions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Export Restrictions this skilllamm-mit/scienceclaw244—~541Automated safety check: PassApache-2.0
Implementing Policy As Code With Open Policy Agentmukul975/Anthropic-Cybersecurity-Skills34k—~2.6kAutomated safety check: NotesApache-2.0
OmniRoute Audit and Policy CLIdiegosouzapw/OmniRoute74k1 repos~733Automated safety check: PassMIT
Criticism Self CriticismHughYau/qiushi-skill3.8k—~423Automated safety check: PassMIT
Crossframe Criticalsickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT
Policy Acknowledgementsickn33/agentic-awesome-skills47k1 repos~3.4kAutomated safety check: PassMIT

Similar skills

  • Implementing Policy As Code With Open Policy Agent

    mukul975/Anthropic-Cybersecurity-Skills

    Implements policy-as-code enforcement with Open Policy Agent (OPA) and Gatekeeper for Kubernetes and CI/CD pipelines, covering writing Rego policies, deploying OPA Gatekeeper as a Kubernetes…

    34k GitHub stars~2.6k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • OmniRoute Audit and Policy CLI

    diegosouzapw/OmniRoute

    Command reference for omniroute's audit, logs, policy and telemetry commands: search and export audit trails, manage access policies and review request history for compliance work.

    74k GitHub starsUsed in 1 repo~733 tokens
    SecurityAuto-check passed
  • Criticism Self Criticism

    HughYau/qiushi-skill

    批评与自我批评:在工作完成、阶段验收、收到批评或同类错误反复出现时,对成果和过程做诚实、具体、基于事实的审视,输出可执行的改进项,并处理外来批评而不辩解。触发信号包括 review、复盘、审查、"帮我看看有没有问题"、"你确定吗";任务刚开始或只是单步查询时不触发。

    3.8k GitHub stars~423 tokensUpdated 7 days ago
    Product & Project ManagementAuto-check passed
  • Crossframe Critical

    sickn33/agentic-awesome-skills

    Use only when the user explicitly names crossframe-critical for a Chinese structural critique dossier, article plan, or long-form critical essay.

    47k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Policy Acknowledgement

    sickn33/agentic-awesome-skills

    Policy acknowledgement register: employee, policy and version, sent and due dates, acknowledged date and flag, days overdue, reminder sent and status.

    47k GitHub starsUsed in 1 repo~3.4k tokens
    Auto-check passed
  • Export

    0xsline/OpenChatCut

    A skill your agent uses when a OpenChatCut video editing or creation workflow needs export, render, download, share, final delivery, subtitle-file export, render choice, local-only asset handling…

    2.2k GitHub stars~2.2k tokensUpdated yesterday
    Media & CreativeAuto-check: warnings

More from lamm-mit/scienceclaw

All 85 skills in this repo
  • Fred Economic Data

    lamm-mit/scienceclaw

    Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources.

    244 GitHub starsUsed in 4 repos~3k tokens
    Auto-check passed
  • Drug Research

    lamm-mit/scienceclaw

    Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.

    244 GitHub starsUsed in 3 repos~1.7k tokens
    Auto-check passed
  • Imaging Data Commons

    lamm-mit/scienceclaw

    Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index.

    244 GitHub starsUsed in 5 repos~11k tokens
    Auto-check passed
  • Rowan

    lamm-mit/scienceclaw

    Cloud-based quantum chemistry platform with Python API. An agent skill from lamm-mit/scienceclaw.

    244 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check: warnings
  • Infographics

    lamm-mit/scienceclaw

    Create professional infographics using Nano Banana Pro AI with smart iterative refinement.

    244 GitHub starsUsed in 6 repos~4.4k tokens
    Auto-check: notes
  • Disease Research

    lamm-mit/scienceclaw

    Generate comprehensive disease research reports using 100+ ToolUniverse tools.

    244 GitHub stars~946 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Export Restrictions

What does Export Restrictions do?

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

How do I install Export Restrictions in Claude Code?

Run `npx skills add lamm-mit/scienceclaw --skill export-restrictions -a claude-code`. Or copy the skill folder (skills/export-restrictions in lamm-mit/scienceclaw) into .claude/skills/export-restrictions in your project. Claude Code loads it when a task matches its description.

How do I install Export Restrictions in Codex?

Run `npx skills add lamm-mit/scienceclaw --skill export-restrictions -a codex`. Or copy the skill folder (skills/export-restrictions in lamm-mit/scienceclaw) into .agents/skills/export-restrictions in your project. Codex loads it when a task matches its description.

Can I use Export Restrictions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lamm-mit/scienceclaw --skill export-restrictions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/export-restrictions, .gemini/skills/export-restrictions, .github/skills/export-restrictions and .opencode/skills/export-restrictions in your project.

What does Export Restrictions need to run?

Going by SKILL.md and its folder, Export Restrictions needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named PINECONE_API_KEY. Our summary lists: Python 3; A credential in PINECONE_API_KEY.

Does Export Restrictions access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Export Restrictions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Export Restrictions use?

Export Restrictions is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Export Restrictions use?

About 541 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Export Restrictions?

Skills that share tags, products or a category with Export Restrictions: Implementing Policy As Code With Open Policy Agent (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), OmniRoute Audit and Policy CLI (diegosouzapw/OmniRoute, 74k stars), Criticism Self Criticism (HughYau/qiushi-skill, 3.8k stars) and Crossframe Critical (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Export Restrictions?

lamm-mit (a GitHub user) maintains it in lamm-mit/scienceclaw, which has 244 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on August 21, 2026.

Source: lamm-mit/scienceclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.