maxine-1520/openair_materials_skills/search-material

Claude Code and agent skill by maxine-1520/openair_materials_skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Search and filter 2D semiconductor materials from Materials Project (MP) database. Use this skill whenever the user wants to: - Find 2D semiconductor materials from Materials Project - Search for materials with specific band gap ranges - Filter materials by elements (e.g., "C", "N", "Si") - Get material recommendations based on multiple properties (dielectric, piezoelectric, magnetic, etc.) - Analyze crystal structures for 2D dimensionality - Query the MP database for semiconductor materials Th…

Install

npx vskill@latest install maxine-1520/openair_materials_skills/search-material

SKILL.md

MP Materials Search Skill

This skill enables intelligent search and filtering of 2D semiconductor materials from the Materials Project database. The agent automatically determines optimal search parameters based on user requirements.

Core Search Function

Use the bundled filter_materials.py script to search Materials Project:

bash
python skills/mp-material-search/scripts/filter_materials.py [options]

Search Parameters

ParameterDescriptionDefault
--elementsElement symbols (e.g., C N Si)All elements
--band-gap-minMinimum band gap (eV)0.5
--band-gap-maxMaximum band gap (eV)3.0
--target-band-gapTarget band gap for scoring (eV)1.5
--energy-above-hull-maxMax energy above hull (eV/atom)0.05
--max-resultsMaximum number of results10
--api-keyMP API key (or set MP_API_KEY env)Required

How to Search

Step 1: Understand User Requirements

Ask clarifying questions if needed:

  • What elements should the material contain?
  • What band gap range is acceptable?
  • Is stability (low energy above hull) important?
  • Any specific properties needed? (piezoelectric, magnetic, etc.)
Step 2: Execute Search

Run the filter script with appropriate parameters:

bash
cd <project-root>
export MP_API_KEY=<api_key>
python skills/mp-material-search/scripts/filter_materials.py \
--elements <elements> \
--band-gap-min <min> \
--band-gap-max <max> \
--max-results <num>
Step 3: Present Results

The search returns a JSON array with comprehensive material data:

  • Basic info: material_id, formula, band_gap, energy_above_hull
  • Structure: lattice parameters, spacegroup, crystal_system
  • Properties: dielectric, piezoelectric, magnetic, elastic anisotropy
  • Recommendation score (0-1, higher is better)

Present top results with:

  1. Formula and material ID
  2. Band gap and stability
  3. Special properties (piezoelectric, magnetic, etc.)
  4. Recommendation score

Example Searches

Search for C-based 2D semiconductors
bash
python skills/mp-material-search/scripts/filter_materials.py \
--elements C \
--band-gap-min 0.5 \
--band-gap-max 2.0
Search for piezoelectric 2D materials
bash
python skills/mp-material-search/scripts/filter_materials.py \
--band-gap-min 0.5 \
--band-gap-max 3.0 \
--max-results 20
Search with specific target band gap
bash
python skills/mp-material-search/scripts/filter_materials.py \
--elements Mo S \
--target-band-gap 1.5 \
--max-results 15

Output Format

Results are saved to results.json in the project root. The output includes:

  • material_id: MP material ID
  • formula: Chemical formula
  • band_gap: Band gap in eV
  • energy_above_hull: Thermodynamic stability
  • recommendation_score: Overall score (0-1)
  • property_scores: Breakdown of scores by category
  • Structure and property details

API Key Setup

Users need a Materials Project API key:

  1. Sign up at https://next-gen.materialsproject.org/
  2. Set MP_API_KEY environment variable or use --api-key argument

Bundled Scripts

  • scripts/filter_materials.py: Main search script (adapted from Step1_new_materials)
  • scripts/setup_env.sh: Environment setup helper

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/maxine-1520/openair_materials_skills/search-material/badge)](https://verified-skill.com/skills/maxine-1520/openair_materials_skills/search-material)

Something wrong with this skill or its page? Tell us.