matminer-composition-featurization

matminer-composition-featurization is a skill for Claude Code, Codex from ma-compbio-lab/SkillFoundry. It costs 0 tokens per session (257 once invoked), scanned A, original, Apache-2.0.

A tool that converts chemical formulas such as Fe2O3 or LiFePO4 into consistent numeric composition features. It parses the formulas and reports proportions and simple stoichiometry measures.

In plain words
What is it for?
Use it to calculate composition features for a short list of material formulas and save the results as JSON.
Why use it?
It turns text formulas into structured data that can be used in later materials analysis or machine-learning workflows.

Skill for Claude CodeCodex

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

Good fit Use it to calculate composition features for a short list of material formulas and save the results as JSON.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ma-compbio-lab/skillfoundry/matminer-composition-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 ma-compbio-lab/SkillFoundry --skill matminer-composition-featurization
Clone the repo
git clone --depth 1 https://github.com/ma-compbio-lab/SkillFoundry

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 matminer-composition-featurization

README.md
[![agentmods](https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/matminer-composition-featurization/github.svg)](https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/matminer-composition-featurization)
Your own site
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/matminer-composition-featurization"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/matminer-composition-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 matminer-composition-featurization

Your own site · 80×15
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/matminer-composition-featurization"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/matminer-composition-featurization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 257 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00257
Opus 5 $0.00000 $0.00129
Sonnet 5 $0.00000 $0.00051
Haiku 4.5 $0.00000 $0.00026

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

Security

Grade A, and why

matminer-composition-featurization scanned grade A with 0 findings 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/run_matminer_composition_features.py, tests/test_run_matminer_composition_features.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/materials-science-and-engineering/matminer-composition-featurization/SKILL.md · 29 lines

What it actually says

Matminer Composition Featurization

Use this skill to compute deterministic stoichiometry-style composition features for a short list of formulas with matminer.

What it does

  • Parses one or more formulas with pymatgen.
  • Computes matminer stoichiometry features for each composition.
  • Returns compact JSON with reduced formulas, simple stoichiometry norms, and top element fractions.

When to use it

  • You need a first runnable materials-informatics starter in this repository.
  • You want a light composition-featurization template before moving to heavier property-prediction workflows.

Example

slurm/envs/materials/bin/python skills/materials-science-and-engineering/matminer-composition-featurization/scripts/run_matminer_composition_features.py \
  --formula Fe2O3 \
  --formula LiFePO4 \
  --out scratch/materials/matminer_features.json

Verification

  • Skill-local tests: python3 -m unittest discover -s skills/materials-science-and-engineering/matminer-composition-featurization/tests -p 'test_*.py'
  • Repository smoke: python3 -m unittest tests.smoke.test_frontier_domain_skills -v
Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 29 lines · 0 tokens per session scan A 8d4e75bfc7e7

Subscribe to this mod's changes

matminer-composition-featurization is a skill published in the GitHub repository ma-compbio-lab/SkillFoundry (38 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 257 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

esmfold2

Biohub ESMFold2 / ESMFold2-Fast all-atom co-folding (Candido et al. 2026, github.com/Biohub/esm). Single-sequence and MSA modes; protein, DNA, RNA, ligand (CCD/SMILES), modified residues. FoldBench Ab-Ag 50-55%, PPI 70-77% DockQ-pass. Also covers the ESMC-{300M,600M,6B} protein language models from the same release…

aipoch/open-science · 223 tokens

evo2

Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model. Use this skill when: (1) Computing per-nucleotide or per-sequence likelihoods for variant effect scoring, (2) Embedding genomic windows for downstream classification, (3) Generating DNA conditioned on a prefix, (4) Scoring…

aipoch/open-science · 83 tokens

scgpt

Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology. Use this skill when: (1) Producing cell embeddings from an AnnData for clustering/integration, (2) Zero-shot or fine-tuned cell-type annotation, (3) Gene-level representation for perturbation/GRN tasks. For…

aipoch/open-science · 89 tokens

cv-classification

Best practices for image classification tasks. Use when working on CIFAR, ImageNet, or other classification benchmarks.

aiming-lab/AutoResearchClaw · 26 tokens

cv-detection

Best practices for object detection tasks. Use when working on COCO, VOC, or detection architectures like YOLO and DETR.

aiming-lab/AutoResearchClaw · 30 tokens

experimental-design

Best practices for designing reproducible ML experiments. Use when planning ablations, baselines, or controlled experiments.

aiming-lab/AutoResearchClaw · 25 tokens