Agent skill · Data & Analytics

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill pyrolite --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Geoscience Skills
Requires: [pyrolite>=0.3.0, pandas, matplotlib]
Path: skills/analysis/pyrolite/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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'

What's inside
Steps it walks through
  1. Quick Reference
  2. Key Modules
  3. Essential Operations
  4. Ternary Diagram
  5. TAS Diagram
  6. REE Pattern
  7. Trace Element Spider
  8. Compositional Transforms
  9. Element Ratios and Anomalies
  10. CIPW Norm
  11. Harker Diagrams
  12. Pearce Discrimination
  13. Common Normalization References
  14. When to Use vs Alternatives
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going