pyrolite
Geochemistry data analysis and visualization for igneous, metamorphic, and sedimentary rocks. Use when Claude needs to: (1) Create ternary diagrams for compositional data, (2) Plot REE spider diagrams with normalization, (3) Build TAS or other classification diagrams, (4) Apply log-ratio transforms to compositional data, (5) Calculate CIPW norms, (6) Generate Harker variation diagrams, (7) Compute element ratios and anomalies.
npx skills add majiayu000/claude-skill-registry --skill pyrolite --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# pyrolite - Geochemistry Analysis ## Quick Reference ```python import pandas as pd import matplotlib.pyplot as plt from pyrolite.geochem.norm import get_reference_composition df = pd.read_csv('samples.csv') df.pyrochem # Geochemistry methods df.pyrocomp # Compositional methods # Normalize and plot REE chondrite = get_reference_composition('Chondrite_McDonough1995') ax = df.pyrochem.normalize_to(chondrite, units='ppm').pyroplot.REE(unity_line=True) ``` ## Key Modules | Module | Purpose | |--------|---------| | `pyrolite.plot` | Ternary, spider diagrams | | `pyrolite.geochem.norm` | Normalization references | | `pyrolite.comp` | CLR, ALR, ILR transforms | | `pyrolite.plot.templates` | TAS, Pearce diagrams | | `pyrolite.mineral.normative` | CIPW norm | ## Essential Operations ### Ternary Diagram ```python ax = df[['SiO2', 'CaO', 'Na2O']].pyroplot.scatter(c='k', s=50) ``` ### TAS Diagram ```python from pyrolite.plot.templates import TAS df['Na2O_K2O'] = df['Na2O'] + df['K2O'] ax = TAS() ax.scatter(df['SiO2'], df['Na2O_K2O'], c='red', s=50) ``` ### REE Pattern ```python chondrite = get_reference_composition('Chondrite_McDonough1995') ax = df.pyrochem.normalize_to(chondrite, units='ppm'
- Quick Reference
- Key Modules
- Essential Operations
- Ternary Diagram
- TAS Diagram
- REE Pattern
- Trace Element Spider
- Compositional Transforms
- Element Ratios and Anomalies
- CIPW Norm
- Harker Diagrams
- Pearce Discrimination
- Common Normalization References
- When to Use vs Alternatives
What does the pyrolite skill do?
Geochemistry data analysis and visualization for igneous, metamorphic, and sedimentary rocks. Use when Claude needs to: (1) Create ternary diagrams for compositional data, (2) Plot REE spider diagrams with normalization, (3) Build TAS or other classification diagrams, (4) Apply log-ratio transforms to compositional data, (5) Calculate CIPW norms, (6) Generate Harker variation diagrams, (7) Compute element ratios and anomalies.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill pyrolite --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
