pyleoclim

pyleoclim is a skill for Claude Code, Codex from SteadfastAsArt/geoscience-skills. It costs 56 tokens per session (799 once invoked), scanned A, original, MIT.

A Python workflow for analysing paleoclimate proxy time series, such as measurements from natural archives that record past environmental conditions. It handles uneven sampling, frequency analysis and comparisons between uncertain age estimates.

In plain words
What is it for?
Use it to inspect proxy series, analyse irregularly sampled data with appropriate spectral methods, compare age-model alternatives, and assess whether spectral peaks are meaningful.
Why use it?
It keeps age units, gaps, chronology uncertainty and sampling effects visible instead of treating a proxy as a directly calibrated temperature or rainfall record. This makes apparent cycles easier to test against suitable background variability.

Skill for Claude CodeCodex

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

Good fit Use it to inspect proxy series, analyse irregularly sampled data with appropriate spectral methods, compare age-model alternatives, and assess whether spectral peaks are meaningful.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/steadfastasart/geoscience-skills/pyleoclim
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 SteadfastAsArt/geoscience-skills --skill pyleoclim
Clone the repo
git clone --depth 1 https://github.com/SteadfastAsArt/geoscience-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin pyleoclim — /plugin install pyleoclim after adding the marketplace above.

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 pyleoclim

README.md
[![agentmods](https://agentmods.dev/badge/skills/steadfastasart/geoscience-skills/pyleoclim/github.svg)](https://agentmods.dev/skills/steadfastasart/geoscience-skills/pyleoclim)
Your own site
<a href="https://agentmods.dev/skills/steadfastasart/geoscience-skills/pyleoclim"><img src="https://agentmods.dev/badge/skills/steadfastasart/geoscience-skills/pyleoclim/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 pyleoclim

Your own site · 80×15
<a href="https://agentmods.dev/skills/steadfastasart/geoscience-skills/pyleoclim"><img src="https://agentmods.dev/badge/skills/steadfastasart/geoscience-skills/pyleoclim.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 799 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.00056 $0.00799
Opus 5.5 $0.00022 $0.00320
Sonnet 5.5 $0.00011 $0.00160
Haiku 4.5 $0.00006 $0.00080

Measured 1mo ago against content hash 23f292b0dea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pyleoclim 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 1mo 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.

pyleoclim/SKILL.md · 77 lines

How it starts

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

Pyleoclim

Analyse proxy variability while retaining the chronology and sampling assumptions. Version 1.3.0 requires Python 3.12 or newer; use an isolated environment.

Inputs and method selection

Establish the proxy units, archive type, time direction and origin: years CE, years before 1950 and ka BP are different coordinate systems. Record missing values, duplicate times and age uncertainties before sorting or removing rows. Do not interpolate across hiatuses silently. A proxy is not automatically a calibrated temperature or precipitation observation.

Use Lomb–Scargle for an explicitly retained irregular chronology; use methods requiring regular sampling only after justified resampling and sensitivity checks. Compare spectral peaks with an appropriate autocorrelated null model, sampling window and multiple-testing policy. Power alone is not a significance level.

Irregular synthetic series

This deterministic 20-year sinusoid is an API and frequency-recovery check, not a significance test on field data. Time is elapsed years, never a BP chronology.

# example: irregular-spectrum
import numpy as np
import pyleoclim as pyleo

time_year = np.arange(200, dtype=float) + 0.15 * np.sin(np.arange(200))
proxy = np.sin(2 * np.pi * time_year / 20)
series = pyleo.Series(time=time_year, value=proxy, time_name="Elapsed time",
                     time_unit="year", value_name="Synthetic proxy",
                     value_unit="dimensionless", verbose=False)
frequency_per_year = np.linspace(0.01, 0.2, 1000)
spectrum = series.spectral(method="lomb_scargle", freq=frequency_per_year,
                           settings={"n50": 1, "window": "boxcar"})
valid_spectrum = np.isfinite(spectrum.amplitude)
if not valid_spectrum.any():
    raise ValueError("No finite spectral estimates")
peak_period_year = 1 / spectrum.frequency[valid_spectrum][
    np.argmax(spectrum.amplitude[valid_spectrum])]

The benchmark uses a single full-length, untapered segment. Pyleoclim's default overlapping tapered segments smooth the spectrum; record that choice explicitly when comparing peak locations or resolutions across methods. The method can mark unstable edge estimates as NaN. Retain that mask and report the usable frequency range; an unchecked argmax can select a NaN edge instead of the signal peak.

Read the full file on GitHub · 77 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. 1mo ago First seen · 77 lines · 56 tokens per session scan A 23f292b0dea8

Subscribe to this mod's changes

pyleoclim is a skill published in the GitHub repository SteadfastAsArt/geoscience-skills (70 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 799 once invoked, about $0.0002 per session on Opus 5.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-09-16.

Related

Other skills, from other repositories

glm-lake-mendota

Simulate vertical water temperature profiles for lakes using the General Lake Model (GLM), calibrate key parameters to minimize RMSE against field observations, and produce validated NetCDF output.

EtaYang10th/spark-skills · 0 tokens

obspy-seismology

Seismological data analysis with ObsPy — FDSN waveform download, response removal, phase picking, moment tensor inversion, and seismicity mapping.

xjtulyc/awesome-rosetta-skills · 36 tokens

xarray-netcdf

Labeled multi-dimensional array analysis with xarray: NetCDF/HDF5 I/O, lazy Dask loading, rechunking, Zarr stores, and CF conventions.

xjtulyc/awesome-rosetta-skills · 40 tokens

soil-data

Soil data analysis via SoilGrids 2.0 REST API and SSURGO: SOC stocks, texture classification, kriging interpolation, and soil profile visualization.

xjtulyc/awesome-rosetta-skills · 37 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Performs bounded, local exploratory analysis of explicitly supported scientific files. Supports redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens