pygmt

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

A Python interface to GMT for making geographic maps and processing geospatial grids. GMT is a separate mapping system, so the GMT shared library must be installed in addition to the Python package.

In plain words
What is it for?
Use it to draw maps, project geographic or projected coordinates, display or process raster grids, and export map figures or vector and raster results.
Why use it?
It helps prevent maps from using the wrong coordinate system, projection, region, grid registration or units. It also makes missing data and coordinate ordering easier to check before plotting.

Skill for Claude CodeCodex

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

Good fit Use it to draw maps, project geographic or projected coordinates, display or process raster grids, and export map figures or vector and raster results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/steadfastasart/geoscience-skills/pygmt
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 pygmt
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 pygmt — /plugin install pygmt 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 pygmt

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/steadfastasart/geoscience-skills/pygmt"><img src="https://agentmods.dev/badge/skills/steadfastasart/geoscience-skills/pygmt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 629 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.00050 $0.00629
Opus 5.5 $0.00020 $0.00252
Sonnet 5.5 $0.00010 $0.00126
Haiku 4.5 $0.00005 $0.00063

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

Security

Grade A, and why

pygmt 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.

pygmt/SKILL.md · 63 lines

How it starts

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

PyGMT

Produce a map whose projection, coordinate units and data coverage are explicit. PyGMT 0.19 requires Python 3.12+ and GMT 6.5+; the Python package alone does not install the GMT shared library. Use the documented isolated conda-forge setup with Ghostscript when exporting figures. Record PyGMT and GMT versions separately.

Inputs and map design

Establish geographic versus projected coordinates, horizontal CRS, longitude convention and vertical datum. Choose region [west, east, south, north] and projection deliberately. Decide pixel versus gridline registration and verify coordinate ordering, spacing and NaN masks before gridding or image display. Do not reinterpret projected metres as longitude/latitude degrees.

Offline map with synthetic locations

This example requires output_pdf to name a new output file. It uses no remote relief or coastline dataset; the three locations are illustrative, not a survey.

# example: synthetic-map
import pygmt

figure = pygmt.Figure()
figure.basemap(region=[5, 10, 44, 48], projection="M10c",
               frame=["af", "+tSynthetic locations"])
figure.plot(x=[6, 7.5, 9], y=[45, 46, 47], style="c0.18c",
            fill="navy", pen="0.4p,black")
figure.savefig(output_pdf)

For actual gridded data, inspect spacing/registration before grdimage; choose interpolation and color limits appropriate to units and scientific comparison. Remote datasets such as Earth relief require documented resolution, cache, license and download size. A cropped map does not prove the source data only cover that region.

Validate and deliver

Reopen the exported file, check bounds, labels, orientation, missing-data areas and color scale. Compare control-point coordinates with the input, and sample known grid nodes through GMT when grid operations are involved. Provide the source data references, script, CRS/projection and export settings with the map.

See installation, tutorials and GMT grid conventions.

Read the full file on GitHub · 63 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 · 63 lines · 50 tokens per session scan A 7bc093aba475

Subscribe to this mod's changes

pygmt is a skill published in the GitHub repository SteadfastAsArt/geoscience-skills (70 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 629 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

scientific-schematics

Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.7 Flash for quality review. Refines when the review requests improvement, with at most two generations. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex…

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

paper-poster-html

A workflow for building an academic conference poster as one HTML/CSS file and printing it to a PDF at an exact page size. It uses the paper’s real figures and checks layout details before review.

wanshuiyin/Auto-claude-code-research-in-sleep · 107 tokens

paperFig

Design, implement, revise, and validate publication-quality scientific figures from references, existing plotting code, and real project data. Trace every figure to source code and inputs; deconstruct reference figures; plan the scientific story and multi-panel structure; build complex model architecture and…

WUBING2023/PaperSpine · 126 tokens

latex-posters

Use when creating or revising LaTeX research posters with beamerposter, tikzposter, or baposter, including poster layout, typography, color, print sizing, figure placement, QR codes, compilation, and print-ready PDF checks.

foryourhealth111-pixel/Vibe-Skills · 53 tokens

ccf-visual-composer

A visual design assistant for research papers, presentations, posters, and README graphics. It can lay out figures, tables, diagrams, icons, colors, and other visual elements, including editable SVG, PDF, and PPTX outputs.

mikubaka88/CCFA-Skills · 86 tokens

academic-paper

A visual style guide for presenting academic papers and research. It specifies restrained colours, scholarly typography, citations, charts, and layouts suited to formal academic material.

arcsin1/oh-my-ppt · 0 tokens