Command Palette

Search for a command to run...

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

pxrdgen

БесплатноБез исполняемых скриптовНе проверен

Predict candidate crystal structures from powder X-ray diffraction data and retrieve generated CIF files. Use when a user provides a PXRD .dat input, chemical…

infometaот infometa★ 475 звёзд на GitHub

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

PXRDGen

Use the task-oriented tools from the packaged pxrdgen MCP server. Tool names below are raw MCP names; let the client resolve their namespace.

Workflow

  1. For a local XRD .dat file, call pxrdgen_prepare_upload with its plain filename. Send the raw bytes with the exact HTTP PUT URL, method, and headers it returns. After a successful PUT, retain the returned attachment_ref.
  2. For a .dat file already available at an HTTP(S) URL under iphy.ac.cn or one of its subdomains, call pxrdgen_ingest_url with the URL and plain filename. Retain its returned attachment_ref.
  3. Call pxrdgen_predict with exactly one ref and the user-declared chemical formula. Preserve any explicit num_evals, cell_params, step_lr, infer_timesteps, and model_family settings. Reuse the same ref for comparisons across parameter sets.
  4. Poll pxrdgen_get_task_status with the returned task_id. Stop on FAILED and report the returned error message. Call pxrdgen_get_task_outputs only after SUCCEEDED.
  5. Preserve candidate index order and use each available direct HTTP GET URL to return the generated CIF file. Report unavailable artifacts rather than reconstructing CIF text.

Input and Parameter Rules

  • Never place local paths, Base64, XRD points, or file bytes in MCP tool arguments. MCP returns transfer instructions; it does not transport the payload.
  • A valid input is UTF-8 .dat text no larger than 1 MiB, with exactly 7,500 whitespace-delimited 2theta intensity rows on the grid from 5.00 through 79.99 in increments of 0.01. Let the Server validate it.
  • num_evals is 1–256. model_family is flow or diffusion when supplied. cell_params selects constrained prediction and must represent a,b,c,alpha,beta,gamma. Use step_lr and infer_timesteps only as explicit inference controls, not as scientific confidence measures.
  • Treat upload URLs and their headers as short-lived capabilities. Use them only for the specified PUT, and never copy credentials or authentication headers into tool arguments, prose, logs, or retained files.

Retry and Scientific Boundaries

  • Repeating pxrdgen_ingest_url with the exact URL and filename is idempotent. An exact pxrdgen_predict retry with the same ref, formula, and all parameters returns the existing task. Do not blindly replay any other indeterminate mutation.
  • Retry only when a structured tool error marks the operation retryable, and follow its recovery guidance. A failed task is not an empty prediction.
  • Generated structures are model candidates under the recorded inputs and parameters. Do not describe them as experimentally confirmed, uniquely solved, thermodynamically stable, or synthesizable without separate evidence.

If the MCP tools are unavailable, ask the user to connect the packaged pxrdgen server. Do not bypass MCP by calling private provider endpoints, substitute local structure prediction, or guess task, input, or artifact data. Raw HTTP is used only with upload or download instructions returned by MCP.

Полный SKILL.md на GitHub

Установить pxrdgen в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл pxrdgen?

Predict candidate crystal structures from powder X-ray diffraction data and retrieve generated CIF files. Use when a user provides a PXRD .dat input, chemical formula, or PXRDGen task and wants structure candidates or explicit inference trials.

Как установить скилл pxrdgen?

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

Скилл pxrdgen запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить pxrdgen с