materials-featurization

materials-featurization is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 4 tokens per session (12,238 once invoked), scanned B, original, MIT.

Methods for converting chemical compositions, atomic structures, and simulation trajectories into numerical feature lists for machine-learning models. Examples include elemental statistics, local atomic environments, distances, and bonding patterns.

In plain words
What is it for?
Use it to build feature tables for prediction or classification, compare handcrafted descriptors with learned representations, and check for missing values, data leakage, or physically inconsistent features.
Why use it?
Machine-learning models need numbers, but crystals, molecules, defects, and trajectories do not have one obvious numerical representation. Choosing and checking features helps models use relevant physical information without hidden data errors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build feature tables for prediction or classification, compare handcrafted descriptors with learned representations, and check for missing values, data leakage, or physically inconsistent features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/materials-featurization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SFETNI/Deep-Matter-Chem-Skills --skill materials-featurization
Clone the repo
git clone --depth 1 https://github.com/SFETNI/Deep-Matter-Chem-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for materials-featurization

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/materials-featurization/github.svg)](https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/materials-featurization)
Your own site
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/materials-featurization"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/materials-featurization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for materials-featurization

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/materials-featurization"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/materials-featurization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00004 $0.12238
Opus 5 $0.00002 $0.06119
Sonnet 5 $0.00001 $0.02448
Haiku 4.5 $0.00000 $0.01224

Measured 12d ago against content hash e5f7ac0e45e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

materials-featurization scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

**Missing values and physical invalidity.** Matminer featurizers can return NaN for structures where a required property is undefined — for example, `OxidationStateDecorator` fails on structures with ambiguous charge bal
skills/scientific-data/materials-featurization/SKILL.md · 859 lines

How it starts

The opening of the file, as written. The whole thing — 859 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Materials Featurization

Description

This skill covers the conversion of atomic structures, compositions, and trajectories into numerical feature vectors for physical-science ML: composition featurizers (Magpie-style elemental statistics, oxidation-state features), structure featurizers (SOAP, Coulomb matrix, Voronoi, radial distribution functions, bond orientational order), site-level featurizers with structure-level aggregation, and descriptor selection for crystals, molecules, surfaces, defects, amorphous structures, and MD trajectories. Covers matminer, pymatgen, ASE, DScribe, and RDKit. Invoke this skill when building a feature matrix for regression or classification on materials datasets, when selecting between hand-crafted descriptors and learned graph representations, or when auditing a feature pipeline for leakage, NaN patterns, or physical inconsistencies.

Domain Context

Materials featurization is the translation of atomic structures and compositions into vectors of numbers that a statistical model can process. Unlike image or text data where pixels and tokens have a natural numerical representation, materials structures have no canonical encoding: a crystal can be described by its unit cell (arbitrary choice of conventional vs. primitive cell), its composition (continuous or categorical species fractions), its local environments (per-site descriptors aggregated to structure level), or its global topology (graph connectivity). Each encoding captures different physical information and has different sensitivity to symmetry operations, cell conventions, and disorder.

Hand-crafted descriptors vs. learned representations. Composition-based descriptors (Magpie, CGCNN input) require only element symbols and fractions — cheap to compute, insensitive to structural details, and appropriate for screening or when structures are unavailable. Structure-based descriptors (SOAP, Voronoi, Coulomb matrix) use full atomic positions but are O(N²) or worse for global descriptors. Learned graph neural network representations (CGCNN, MEGNet, MatFormer) jointly learn the featurization and the regression, but require training data, are less interpretable, and cannot be used as feature vectors for arbitrary downstream models without fine-tuning. The choice between them depends on data quantity, interpretability requirements, computational budget, and whether the target property is dominated by local chemistry (SOAP is then sufficient) or long-range interactions (learned models with long-range attention are preferable).

Read the full file on GitHub · 859 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 859 lines · 4 tokens per session scan B e5f7ac0e45e2

Subscribe to this mod's changes

materials-featurization is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 4 tokens to every session and 12,238 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

primekg

Query the Precision Medicine Knowledge Graph (PrimeKG) for multiscale biological relationships across genes and proteins, drugs, diseases, phenotypes, pathways, biological processes, exposures and anatomy. Use this skill to search entities by name, pull direct neighbours and their evidence types, summarise the local…

K-Dense-AI/drug-discovery-agent-skills · 121 tokens

fragment-based-count-matrix-generation

Use when you have a backed AnnData object containing processed fragment data (stored in .obsm['fragmentpaired'] or .

HolobiomicsLab/asb-skill-collections · 33 tokens

methylbase-object-handling

Use when after reading in per-sample methylation call files with methRead() and obtaining methylRawList objects, but before calculating differential methylation or performing annotation.

HolobiomicsLab/asb-skill-collections · 40 tokens

motif-annotation-correlation-analysis

Use when you have a chromVARDeviations object with multiple annotation sets (such as JASPAR motifs and kmers) and need to determine which annotation pairs are redundant (high correlation) versus synergistic (high synergy z-scores).

HolobiomicsLab/asb-skill-collections · 57 tokens

motif-database-query-and-matching

Use when you have a set of differentially accessible peaks (output from differential accessibility testing, e.g., tl.

HolobiomicsLab/asb-skill-collections · 32 tokens

motif-enrichment-statistical-testing

Use when after identifying a set of differentially accessible peaks (via tl.difftest or equivalent), when you need to infer which transcription factors may regulate the observed chromatin state changes.

HolobiomicsLab/asb-skill-collections · 44 tokens