AGENT SKILL

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.

License 许可
Apache-2.0
最近更新
2026-11-11
Stars
★ 447
Forks
138

01 前言 Front Matter

name
pxrdgen
author
Tiannian Zhu
version
0.1.2
description
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.
display_name
PXRDGen 晶体结构预测
description_en
Generate candidate crystal structures from powder X-ray diffraction data and a chemical formula, compare model outputs, and retrieve available CIF files for further validation.
description_zh
根据粉末 X 射线衍射数据和化学式生成晶体结构候选,支持比较不同模型结果,并提供可用的 CIF 文件供后续验证。
display_name_en
PXRDGen Crystal Structure Prediction

02 资源文件 3

03 SKILL.md 正文

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.

04 同仓库更多 Skills

infometa
infometa/workbuddyskills

yingmi-skill

当用户需要查询基金、策略、公告、财经资讯,做资产配置、组合诊断、风险回测、现金流分析,或生成图表、PDF 时,优先使用本 Skill 获取真实数据与可执行能力。

★ 447
infometa
infometa/workbuddyskills

web-access

所有联网操作必须通过此 skill 处理,包括:搜索、网页抓取、登录后操作、网络交互等。

★ 447
infometa
infometa/workbuddyskills

tencentmap-map-assistant

腾讯位置服务·地图助手 Skill,一句自然语言调用腾讯地图全套能力,无需开发者账号、开箱即用。提供 AI 旅游攻略、地点搜索(含评分/人均/营业时间)、关键词提示、路线规划(驾车/步行/公交/骑行)、地址解析与逆解析、行政区划、IP 定位、距离计算、天气查询,并可将行程或多 POI 渲染成网页地图。涉及找地点、规划路线、旅游行程、查天气、坐标转换等出行场景时使用。

★ 447
infometa
infometa/workbuddyskills

skill-scanner

Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描, 检查 skill 安全, audit skill, scan skill, check skill safety, analyze skill, inspect skill, verify skill, skill security, skill supply chain. Do NOT trigger for general agent usage, full system health checks, project debugging, or normal development.

★ 447
infometa
infometa/workbuddyskills

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends agent capabilities with specialized knowledge, workflows, or tool integrations.

★ 447
infometa
infometa/workbuddyskills

shader-dev

Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.

★ 447