qgis-syntax-processing-scripts

qgis-syntax-processing-scripts is a skill for Claude Code, Codex from Impertio-Studio/QGIS-Claude-Skill-Package. It costs 105 tokens per session (2,683 once invoked), scanned A, original, MIT.

A guide for QGIS processing scripts, which automate geographic data operations in the QGIS mapping application. It covers built-in processing algorithms, custom algorithms, parameters, progress reporting, cancellation, and background execution.

In plain words
What is it for?
Use it to run or chain geospatial operations with Python, create custom QGIS algorithms, process many datasets, and handle coordinate systems, feedback, logging, and background tasks.
Why use it?
It helps avoid common scripting mistakes such as hardcoded algorithm identifiers, wrong parameter types, and operations that cannot report progress or be cancelled.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to run or chain geospatial operations with Python, create custom QGIS algorithms, process many datasets, and handle coordinate systems, feedback, logging, and background tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/impertio-studio/qgis-claude-skill-package/qgis-syntax-processing-scripts
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 Impertio-Studio/QGIS-Claude-Skill-Package --skill qgis-syntax-processing-scripts
Clone the repo
git clone --depth 1 https://github.com/Impertio-Studio/QGIS-Claude-Skill-Package

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 qgis-syntax-processing-scripts

README.md
[![agentmods](https://agentmods.dev/badge/skills/impertio-studio/qgis-claude-skill-package/qgis-syntax-processing-scripts.svg)](https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-syntax-processing-scripts)
Your own site
<a href="https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-syntax-processing-scripts"><img src="https://agentmods.dev/badge/skills/impertio-studio/qgis-claude-skill-package/qgis-syntax-processing-scripts.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,683 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.00105 $0.02683
Opus 5 $0.00053 $0.01341
Sonnet 5 $0.00021 $0.00537
Haiku 4.5 $0.00011 $0.00268

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

Security

Grade A, and why

qgis-syntax-processing-scripts 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 8d 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/source/qgis-syntax/qgis-syntax-processing-scripts/SKILL.md · 331 lines

How it starts

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

qgis-syntax-processing-scripts

Quick Reference

Processing Framework Overview

Component Purpose
processing.run() Execute any registered algorithm from Python
processing.runAndLoadResults() Execute and add results to the current project
QgsProcessingAlgorithm Base class for custom algorithms
QgsProcessingProvider Groups custom algorithms under a provider ID
QgsProcessingContext Execution environment (project, CRS, transform context)
QgsProcessingFeedback Progress reporting, logging, and cancellation
QgsProcessingAlgRunnerTask Background (non-blocking) algorithm execution
QgsApplication.processingRegistry() Central registry for all providers and algorithms

Algorithm ID Format

Algorithm IDs follow the pattern provider:algorithm_name:

Provider Prefix Example
Native QGIS (C++) native: native:buffer
QGIS (legacy Python) qgis: qgis:regularpoints
GDAL/OGR gdal: gdal:warpreproject
GRASS GIS grass: grass:v.buffer
PDAL (point clouds) pdal: pdal:info
Processing Models model: model:my_workflow
Custom plugin {provider_id}: myplugin:myalgorithm

Key Parameter Types

Parameter Class Purpose Read Method
QgsProcessingParameterFeatureSource Vector input parameterAsSource()
QgsProcessingParameterRasterLayer Raster input parameterAsRasterLayer()
QgsProcessingParameterNumber Numeric value parameterAsDouble() / parameterAsInt()
QgsProcessingParameterEnum Dropdown choice parameterAsEnum()
QgsProcessingParameterField Attribute field parameterAsString()
QgsProcessingParameterExpression QGIS expression parameterAsExpression()
QgsProcessingParameterCrs CRS selection parameterAsCrs()
QgsProcessingParameterExtent Bounding box parameterAsExtent()
QgsProcessingParameterBoolean Toggle parameterAsBool()
QgsProcessingParameterFeatureSink Vector output parameterAsSink()
QgsProcessingParameterRasterDestination Raster output (returned as path)

Read the full file on GitHub · 331 lines

Files

What ships with it

3 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. 8d ago First seen · 331 lines · 105 tokens per session scan A 8b7a1cbb099a

Subscribe to this mod's changes

qgis-syntax-processing-scripts is a skill published in the GitHub repository Impertio-Studio/QGIS-Claude-Skill-Package (33 stars, last pushed 2mo ago), licensed MIT. It adds 105 tokens to every session and 2,683 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

opengis-all

Use when navigating end-to-end GIS workflows — discover the full toolchain from GDAL data processing through GeoServer publishing to CesiumJS/OpenLayers visualization. One-stop index covering the complete open-source GIS data pipeline.

znlgis/opengis-skills · 48 tokens

open-map-stack

Use textual agent instructions for GIS and geospatial work: source discovery and provenance, vector/raster/point-cloud pipelines, CRS and metric analysis, spatial SQL, routing and isochrones, QGIS projects, tile generation, and web maps. Use advanced tools and formats such as OSM, Overture, STAC, Sentinel/Landsat…

jaakla/openmapstack · 169 tokens

gdal

Use when processing geospatial raster/vector data via command line — format conversion (Shapefile to GeoJSON), reprojection, DEM analysis, NDVI calculation, mosaicking. GDAL/OGR CLI: the industry standard for batch geospatial data processing with 50+ command-line tools (ogr2ogr, gdalwarp, gdaltranslate, gdalcalc).

znlgis/opengis-skills · 77 tokens

gis-skills

Use when processing geospatial data, publishing map services, querying spatial databases, performing geometry operations, or building web map applications. Index of 23 skills: GDAL, GeoServer, QGIS, PostGIS, JTS, GeoPandas, Shapely, CesiumJS, OpenLayers, NetTopologySuite and more.

znlgis/opengis-skills · 71 tokens

swmm-end-to-end

Top-level orchestration skill for agentic SWMM modelling. Use when an agent needs one entrypoint that decides which module tools to run, in what order, and when to stop, for example to build, run, QA, and optionally calibrate a SWMM case from prepared or partially prepared inputs.

Zhonghao1995/agentic-swmm-workflow · 67 tokens

swmm-calibration

Calibration and validation scaffold for EPA SWMM. Use when an agent needs to (1) compare simulated vs observed flow, (2) evaluate candidate parameter sets, (3) rank explicit candidates by an objective, (4) run a bounded random / LHS / adaptive search for the best-fitting parameters, (5) run a publication-grade SCE-UA…

Zhonghao1995/agentic-swmm-workflow · 146 tokens