materials-science

materials-science is a skill for Claude Code, Codex from leonardodalinky/SciDER. It costs 53 tokens per session (2,846 once invoked), scanned A, original, Apache-2.0.

A set of methods for studying solid materials, including crystal structures, phase diagrams, mechanical and electronic properties, and measurements such as X-ray diffraction and microscopy.

In plain words
What is it for?
Use it to inspect CIF crystal files, analyze XRD, SEM, TEM, XPS, or AFM data, interpret density-functional calculations, and screen materials with pymatgen.
Why use it?
It helps connect material structure, computed properties, and laboratory characterization in analyses of bulk or extended solids.

Skill for Claude CodeCodex

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

Good fit Use it to inspect CIF crystal files, analyze XRD, SEM, TEM, XPS, or AFM data, interpret density-functional calculations, and screen materials with pymatgen.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leonardodalinky/scider/materials-science
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 leonardodalinky/SciDER --skill materials-science
Clone the repo
git clone --depth 1 https://github.com/leonardodalinky/SciDER

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-science

README.md
[![agentmods](https://agentmods.dev/badge/skills/leonardodalinky/scider/materials-science.svg)](https://agentmods.dev/skills/leonardodalinky/scider/materials-science)
Your own site
<a href="https://agentmods.dev/skills/leonardodalinky/scider/materials-science"><img src="https://agentmods.dev/badge/skills/leonardodalinky/scider/materials-science.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,846 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.00053 $0.02846
Opus 5 $0.00026 $0.01423
Sonnet 5 $0.00011 $0.00569
Haiku 4.5 $0.00005 $0.00285

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

Security

Grade A, and why

materials-science 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 8d 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.

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.

.scider/skills/materials-science/SKILL.md · 262 lines

How it starts

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

Materials Science

Overview

This skill covers computational and experimental materials science: crystal structure analysis, property prediction, characterization data interpretation, and high-throughput DFT workflows. It complements the chemistry-analysis skill (which focuses on molecular systems) — this skill is for extended solids and bulk materials.

When to Use This Skill

  • Analyzing crystal structures (CIF files, XRD data)
  • Interpreting characterization data (XRD, SEM, TEM, XPS, AFM)
  • Computing or interpreting mechanical/electronic properties from DFT
  • High-throughput screening using the Materials Project database

1. Crystal Structure

Loading and Analyzing Structures with pymatgen

from pymatgen.core import Structure, Lattice, Element
from pymatgen.symmetry.analyzer import SpacegroupAnalyzer
from pymatgen.io.cif import CifParser

# Load from CIF file
parser = CifParser("structure.cif")
structure = parser.parse_structures(primitive=True)[0]

# Basic properties
print(f"Formula: {structure.formula}")
print(f"Lattice: a={structure.lattice.a:.3f}, b={structure.lattice.b:.3f}, c={structure.lattice.c:.3f}")
print(f"Angles: α={structure.lattice.alpha:.2f}, β={structure.lattice.beta:.2f}, γ={structure.lattice.gamma:.2f}")
print(f"Volume: {structure.lattice.volume:.3f} ų")
print(f"Density: {structure.density:.3f} g/cm³")

# Symmetry analysis
sga = SpacegroupAnalyzer(structure)
print(f"Space group: {sga.get_space_group_symbol()} (#{sga.get_space_group_number()})")
print(f"Crystal system: {sga.get_crystal_system()}")
print(f"Point group: {sga.get_point_group_symbol()}")

# Get conventional standard structure
conv_structure = sga.get_conventional_standard_structure()

# Nearest neighbor analysis
for i, site in enumerate(structure.sites[:3]):
    neighbors = structure.get_neighbors(site, r=3.5)
    print(f"Site {i} ({site.specie}): {len(neighbors)} neighbors within 3.5 Å")

Miller Indices and Interplanar Spacing

import numpy as np

def bragg_d_spacing(two_theta_deg: float, wavelength_angstrom: float = 1.5406) -> float:
    """Compute d-spacing from Bragg's law: nλ = 2d sinθ (n=1)."""
    theta_rad = np.deg2rad(two_theta_deg / 2)
    return wavelength_angstrom / (2 * np.sin(theta_rad))

def bragg_two_theta(d_angstrom: float, wavelength_angstrom: float = 1.5406) -> float:
    """Compute 2θ peak position from d-spacing."""
    sin_theta = wavelength_angstrom / (2 * d_angstrom)
    if abs(sin_theta) > 1:
        return None  # no peak at this wavelength
    return 2 * np.rad2deg(np.arcsin(sin_theta))

# Example: Cu Kα radiation (λ = 1.5406 Å)
peaks = [(38.2, "Au (111)"), (44.4, "Au (200)"), (64.6, "Au (220)")]
for two_theta, label in peaks:
    d = bragg_d_spacing(two_theta)
    print(f"{label}: 2θ={two_theta}°, d={d:.3f} Å")

Read the full file on GitHub · 262 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. 8d ago First seen · 262 lines · 53 tokens per session scan A 4af48ebf401f

Subscribe to this mod's changes

materials-science is a skill published in the GitHub repository leonardodalinky/SciDER (88 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 2,846 once invoked, about $0.0003 per session on Opus 5. 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-08-30.

Related

Other skills, from other repositories

paper-writer

Drafts publishable paper prose from the author's own materials, from a single paragraph to a full manuscript, across STEM and non-STEM fields. Every factual claim traces to user input, verified retrieval, or field common knowledge; citations pass an independent verification ladder; delivery is clean prose with zero…

HKUSTDial/Supervisor-Skills · 90 tokens

paper-polish

Polishes existing academic prose while preserving the author's meaning: grammar and flow repair, tone calibration against evidence strength, AI-tone removal, and Chinese-to-English rewriting at submission quality. Never fabricates data, citations, or claims, and flags any edit that could change scientific meaning. Use…

HKUSTDial/Supervisor-Skills · 93 tokens

pre-submission-reviewer

Runs a pre-submission review of a technical paper across five dimensions: macro logic, writing details, English grammar, LaTeX formatting, and figure quality. Uses a reviewer-style severity taxonomy (CRITICAL / MAJOR / MINOR) and flags banned AI-tone vocabulary and em-dash misuse. Use when the user asks to 'review…

HKUSTDial/Supervisor-Skills · 104 tokens

intro-drafter

Drafts the Introduction prose for a technical paper, guided internally by a six-paragraph flowchart: background and running example, existing limitations, problem essence and goal, key challenges, solution overview, contributions. Positions the paper as Technique or New Problem/Setting, aligns contributions with…

HKUSTDial/Supervisor-Skills · 95 tokens

figure-designer

Advises on the design of the three core figures in a technical paper: the Motivated Example (Figure 1), the Solution Overview (Methodology), and the Experimental Results figures. Recommends the right design paradigm, layout, labelling, and tool for each figure type, then runs a quality-control audit. Use when the user…

HKUSTDial/Supervisor-Skills · 112 tokens

tech-paper-template

Structures a technical paper's full logical skeleton using a thinking-template table (research background, limitations, key idea or goal, challenges, methodology modules, contributions), positions the paper as Technique or New Problem/Setting, and runs a four-point self-consistency check. Use when the user is…

HKUSTDial/Supervisor-Skills · 100 tokens