gdal

gdal is a skill for Claude Code, Codex from beginor/agent-skills. It costs 136 tokens per session (4,287 once invoked), scanned A, original, MIT.

A guide for using GDAL, a command-line toolkit for processing geographic raster and vector data such as GeoTIFFs, GeoPackages and Shapefiles. It covers inspecting, converting, reprojecting, clipping, mosaicking, tiling, rasterizing and querying these datasets.

In plain words
What is it for?
Use it to inspect and transform map and terrain datasets, combine or tile them, run spatial SQL and chain geospatial processing steps.
Why use it?
It gives geospatial data work a consistent command-line workflow and explains how to run the tools locally or in a Docker container. This reduces confusion when formats, coordinate systems or multi-step pipelines differ.

Skill for Claude CodeCodex

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

Good fit Use it to inspect and transform map and terrain datasets, combine or tile them, run spatial SQL and chain geospatial processing steps.

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

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 gdal

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/beginor/agent-skills/gdal"><img src="https://agentmods.dev/badge/skills/beginor/agent-skills/gdal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,287 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.00136 $0.04287
Opus 5.5 $0.00054 $0.01715
Sonnet 5.5 $0.00027 $0.00857
Haiku 4.5 $0.00014 $0.00429

Measured 18d ago against content hash aa2a93ac45a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gdal 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 18d 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.

skills/gdal/SKILL.md · 250 lines

How it starts

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

GDAL

GDAL's unified CLI replaces the legacy gdal_translate / gdalwarp / ogr2ogr / gdalinfo / gdaladdo tools with one gdal command built from subcommands. Everything is gdal <group> <action> [OPTIONS] <INPUT> <OUTPUT>.

Running GDAL

Check for a local binary first:

gdal --version

If gdal is not installed locally, run it through the official Docker image. The image has no entrypoint, so gdal must be the first argument after the image name:

docker run --rm ghcr.io/osgeo/gdal:ubuntu-small-latest gdal --version

Mount the directory holding the data and set it as the working directory, then use paths relative to that mount:

docker run --rm -v "$PWD:/data" -w /data ghcr.io/osgeo/gdal:ubuntu-small-latest gdal info dem.tif
docker run --rm -v "$PWD:/data" -w /data ghcr.io/osgeo/gdal:ubuntu-small-latest gdal raster convert --format=COG in.tif out.tif

For data outside the current directory, mount that directory instead (-v /path/to/data:/data). For multi-step work, prefer one container with &&-chained commands over several starts:

docker run --rm -v "$PWD:/data" -w /data --entrypoint sh ghcr.io/osgeo/gdal:ubuntu-small-latest \
  -c 'gdal raster reproject --output-crs=EPSG:3857 in.tif tmp.tif && gdal raster convert --format=COG tmp.tif out.tif'

The image's default command is bash -l, so --entrypoint sh (or --entrypoint bash) is needed to run a shell. The image tracks GDAL master, so its version may be newer than the latest stable release.

Command map

Group Purpose
gdal info <INPUT> Shortcut for gdal raster info or gdal vector info
gdal convert <IN> <OUT> Shortcut for gdal raster convert or gdal vector convert
gdal raster <action> Raster processing (convert, reproject, clip, mosaic, calc, tile, ...)
gdal vector <action> Vector processing (convert, clip, filter, reproject, sql, rasterize, ...)
gdal pipeline <steps> Chain steps with ! in one command
gdal vsi <action> Virtual filesystem ops (copy, list, delete, move, sync, sozip)
gdal dataset <action> Dataset-level ops (check, copy, delete, identify, rename)
gdal mdim <action> Multidimensional datasets (info, convert, mosaic; reproject/compare/pipeline are 3.14+)
gdal crs info <CRS> Inspect, validate, or identify a CRS (3.14+)
gdal driver <name> <action> Driver-specific ops (cog, gpkg, gti, openfilegdb, parquet, pdf, zarr, ...)

Read the full file on GitHub · 250 lines

Files

What ships with it

6 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. 18d ago Changed · +8 lines · +11 tokens per session aa2a93ac45a0
  2. 19d ago First seen · 242 lines · 125 tokens per session scan A 3066dfdb7678

Subscribe to this mod's changes

gdal is a skill published in the GitHub repository beginor/agent-skills (2 stars, last pushed 19d ago), licensed MIT. It adds 136 tokens to every session and 4,287 once invoked, about $0.0005 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-11-17.

Related

gdal compared with skills from other repositories

gdal next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gdalbeginor/agent-skillsSkill219d agoMITA136Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38kyesterdayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k6d agoApache-2.0A205Claude Code