xarray-climate-cube-starter

xarray-climate-cube-starter is a skill for Claude Code, Codex from ma-compbio-lab/SkillFoundry. It costs 0 tokens per session (251 once invoked), scanned A, original, Apache-2.0.

A skill that creates a repeatable toy climate dataset with Xarray, a Python library for labeled multidimensional data, and summarizes its patterns.

In plain words
What is it for?
Use it to create a monthly temperature cube, calculate annual and seasonal statistics, compare latitude averages, and find the hottest month.
Why use it?
It provides a small local example for learning or testing climate-data operations without needing outside data or authentication.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ma-compbio-lab/skillfoundry/xarray-climate-cube-starter
Any agent
npx skills add ma-compbio-lab/SkillFoundry --skill xarray-climate-cube-starter
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 xarray-climate-cube-starter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/xarray-climate-cube-starter.svg)](https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/xarray-climate-cube-starter)
Your own site
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/xarray-climate-cube-starter"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/xarray-climate-cube-starter.svg" alt="Measured on agentmods" 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 251 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00251
Opus 5 $0.00000 $0.00125
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

Measured 3d ago against content hash aebc0a093cda, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

xarray-climate-cube-starter 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 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/run_xarray_climate_cube.py, tests/test_run_xarray_climate_cube.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/earth-climate-and-geospatial-science/xarray-climate-cube-starter/SKILL.md · 27 lines

What it actually says

Xarray Climate Cube Starter

Use this skill to build a deterministic toy climate cube with Xarray and summarize simple spatiotemporal statistics.

What it does

  • Creates a monthly temperature cube with time, lat, and lon dimensions.
  • Computes annual mean temperature, seasonal range, per-latitude means, and the hottest month.
  • Returns compact JSON that is easy to reuse in downstream scientific-Python workflows.

When to use it

  • You need a local, no-auth starter for climate or environmental data handling.
  • You want a minimal example of labeled multidimensional array operations with Xarray.

Example

slurm/envs/scientific-python/bin/python skills/earth-climate-and-geospatial-science/xarray-climate-cube-starter/scripts/run_xarray_climate_cube.py \
  --out scratch/xarray/climate_cube_summary.json

Verification

  • Skill-local tests: python3 -m unittest discover -s skills/earth-climate-and-geospatial-science/xarray-climate-cube-starter/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. 3d ago First seen · 27 lines · 0 tokens per session scan A aebc0a093cda

Subscribe to this mod's changes

xarray-climate-cube-starter is a skill published in the GitHub repository ma-compbio-lab/SkillFoundry (37 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 251 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-08-30.

Related

Other skills, from other repositories

arxiv-search

Skill "arxiv-search" from TaewoooPark/MagLab, covering category scoping, query families (3–6 per topic), version and doi resolution, tier classification and output contract.

TaewoooPark/MagLab · 68 tokens

revision-letter

Point-by-point peer-review response letter workflow for journal resubmission. Invokes RevisionLetterAgent to quote each reviewer comment verbatim, draft a response, and add a change-location marker. Outputs carry HUMAN REVIEW REQUIRED; no auto-send. A DOI or manuscript location is required for every factual response…

TaewoooPark/MagLab · 68 tokens

literature-search

Broad literature search for magnetism & spintronics — OpenAlex REST query strategy, query family generation, tier classification, and evidencematrix construction (§14.3·§14.7). Activated by the maglab lit search command and the research orchestration search-scout agent.

TaewoooPark/MagLab · 60 tokens

physics-oracle

Use when validating the dimensional, range, and conservation-law plausibility of magnetic physics quantities, or when performing deterministic physics formula calculations and unit conversions. Gilbert damping 0≤α≤1 check, M≤Ms, exchange length and domain wall width calculations, Oe↔A/m↔T·emu/cm³↔A/m·Jij meV↔K…

TaewoooPark/MagLab · 84 tokens

gsmm-builder

Build or load a genome-scale metabolic model (GSMM) using COBRApy. Covers loading from BIGG, constructing minimal models from scratch, setting medium constraints, and exporting validated .json model files.

aiming-lab/AutoResearchClaw · 45 tokens

literature-review

Find, verify, and synthesize scientific literature — from "what's the seminal paper for X" through full multi-source reviews. Covers grounding claims in real retrieved sources, avoiding fabricated citations, handling retractions, and calibrating confidence to evidence strength.

aipoch/open-science · 54 tokens