Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

materials-new-crystal-generation

БесплатноЗапускает вложенные скриптыНе проверен

Orchestrate the DEMO (Diffusion-based Evolutionary Multi-objective Optimization) pipeline on MatterGen for inorganic crystal discovery. Use whenever the user…

pdl-openairот pdl-openair★ 16 звёзд на GitHub

Об этом скилле

DEMO Evolutionary Orchestration Skill

This skill turns Claude into a research collaborator for the DEMO evolutionary pipeline. The pipeline discovers inorganic crystals that satisfy property constraints while pushing the Pareto frontier of two (or more) objectives, using MatterGen's diffusion model as a structure-aware genetic operator.

The architectural reality

Everything heavy lives behind two remote HTTP MCP servers on the same GPU box (mcp.example.internal:22222). Claude is a thin orchestrator.

              ┌────────────────────────────────────────────────────┐
              │              Claude (this skill)                    │
              │  - translates user intent → objectives/constraints  │
              │  - submits runs, monitors, intervenes, reports      │
              └─────────┬──────────────────────────┬────────────────┘
                        │ HTTP MCP                 │ HTTP MCP
                        ▼                          ▼
   ┌────────────────────────────────────┐  ┌──────────────────────────────┐
   │ mattergen MCP                      │  │ crystal-property-prediction MCP                     │
   │ http://mcp.example.internal:22222/         │  │ http://mcp.example.internal:22222/   │
   │        mcp/mattergen/mcp           │  │        mcp/flux/mcp          │
   │                                    │  │                              │
   │  The entire evolution loop:        │  │  predict_flux_properties     │
   │  - run_autonomous_evolution        │  │  (CIF → 9 scalar properties) │
   │  - get_autonomous_evolution_result │  │  MatterSim + ALIGNN + CHGNet │
   │  - create_evolution_session        │  │  + JACS in one call          │
   │  - start/step/continue_evolution   │  │                              │
   │  - get_evolution_status/population │  │                              │
   │  - get_evolution_pareto_front      │  │                              │
   │  - modify_crystal_fitness          │  │                              │
   │  - add_evolution_constraint        │  │                              │
   │  - inject_evolution_knowledge      │  │                              │
   │                                    │  │                              │
   │  Holds: MatterGen ckpt, MatterSim,│  │                              │
   │  JACS ensemble, EMO engine state   │  │                              │
   └────────────────────────────────────┘  └──────────────────────────────┘

The agent never imports torch / pymatgen. The agent never runs Evoloop.py directly. The agent never SSHes into the GPU box. Everything is a tool call.

Two execution modes

Autonomous mode (default, recommended)

One-shot asynchronous submit + poll. Use this for ~95% of requests.

1. run_autonomous_evolution({...})      → returns task_id immediately
2. get_autonomous_evolution_result(task_id, top_pareto=10)
   → status: initializing | running | completed
   → poll every ~30-60s until status=completed
3. read pareto_front from final response

The agent's job here is mostly to translate the user's intent into the right objectives_json / constraints_json and to interpret the resulting Pareto front in plain language.

Interactive mode (when the user wants to steer mid-run)

Step-by-step with pause points for intervention. Use this when the user explicitly wants to inject domain knowledge, fix fitness mid-run, or watch the population evolve one generation at a time.

1. create_evolution_session(mode="interactive", {...})  → session_id
2. start_evolution(session_id, auto_continue=false)
3. step_evolution(session_id, steps=1, pause_at="fitness_evaluated")
4. inspect: get_evolution_status, get_evolution_population
5. optionally intervene:
   - modify_crystal_fitness    (e.g. penalize candidates with Pb)
   - add_evolution_constraint  (e.g. tighten bandgap to [1.0, 2.5])
   - inject_evolution_knowledge(e.g. "prior literature favors Cr-based")
6. continue_evolution(session_id)
7. repeat 3-6 until max_generations
8. get_evolution_pareto_front(session_id)

pause_at accepts generation_start / fitness_evaluated / generation_end. The natural intervention point is fitness_evaluated — properties are computed but selection hasn't run yet, so modifications take effect immediately for the current generation.

Configuring a run

run_autonomous_evolution and create_evolution_session take the same arguments. All have sensible defaults; only override what the user asks for.

Argument Type Range Default Meaning
session_name string — auto Human-readable label; appears in list_evolution_sessions
n_pops int 1–256 8 Population size per group
max_generations int 1–100 2 Hard cap on generations
n_offspring_per_generation int 1–256 8 Offspring count per generation
noise_level float 0.0–1.0 0.3 MatterGen mutation strength
`model_
Полный SKILL.md на GitHub

Установить materials-new-crystal-generation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/emo_engine.mdreferences/mcp_servers.mdreferences/property_catalog.mdscripts/README.mdscripts/poll_run.pyscripts/probe_mcp.pyscripts/smoke_v1.task_idscripts/submit_run.pyscripts/ternary_2d_N32_v1.task_idscripts/ternary_2d_semiconductor_v1.result.jsonscripts/ternary_2d_semiconductor_v1.task_idscripts/ternary_2d_semiconductor_v2.task_idscripts/ternary_2d_semiconductor_v3.task_idscripts/ternary_2d_v1.task_idscripts/test_cppred_clscores.pyscripts/test_flux_clscores.pyscripts/test_mcps.pyskill.yaml

FAQ

Что делает скилл materials-new-crystal-generation?

Orchestrate the DEMO (Diffusion-based Evolutionary Multi-objective Optimization) pipeline on MatterGen for inorganic crystal discovery. Use whenever the user wants to RUN/CONFIGURE/DEBUG/EXTEND the evolutionary loop, modify a running search (tighten constraints, down-rank structures, inject priors), inspect progress (Pareto front, population), evaluate a CIF, debug a stalled run, or explain a result. Triggers: "跑一轮进化", "evolve 2D dielectric crystals", "find a ternary semiconductor with bandgap 1-2 eV", "kick off a run", "intervene mid-run", "inject domain knowledge", or mentions of Evoloop / TriplePopCMOEA / StandardCDP / Pareto / MatterGen / MatterSim / JACS cl_score / cppred. Two remote HTTP MCP servers (FastMCP on mcp.example.internal:22222): mattergen MCP runs the entire loop; crystal-property-prediction MCP computes 9 properties per CIF. Claude runs no models locally and never SSHes.

Как установить скилл materials-new-crystal-generation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл materials-new-crystal-generation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить materials-new-crystal-generation с