qgis-process

qgis-process is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 98 tokens per session (4,561 once invoked), scanned B, original, MIT.

A command-line program included with QGIS for running map-processing algorithms without opening the QGIS desktop interface. It can run built-in tools, models, and plugin-provided algorithms.

In plain words
What is it for?
Use it to batch-process map data, run buffers or clips, convert coordinate systems, analyse raster data, and automate QGIS workflows from the command line.
Why use it?
It makes repeatable and automated spatial-data jobs possible on servers, in scripts, or in CI/CD pipelines, where no graphical interface is available.

Skill for Claude CodeCodex

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

Good fit Use it to batch-process map data, run buffers or clips, convert coordinate systems, analyse raster data, and automate QGIS workflows from the command line.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/qgis-process"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/qgis-process.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,561 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00098 $0.04561
Opus 5.5 $0.00039 $0.01824
Sonnet 5.5 $0.00020 $0.00912
Haiku 4.5 $0.00010 $0.00456

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

Security

Grade B, and why

qgis-process scanned grade B with 1 finding 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 21d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install qgis
gis/qgis-process/SKILL.md · 436 lines

How it starts

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

项目地址: https://github.com/qgis/QGIS

文档地址: https://github.com/qgis/QGIS-Documentation

在线文档: https://docs.qgis.org/4.2/en/docs/user_manual/processing/standalone.html

最新版本: QGIS 4.2.3;3.44 LTR 最新 3.44.15(截至 2026-11,GitHub Releases、下载页;qgis_process 自 QGIS 3.16 起可用)

许可证: GPL-2.0+

概述

qgis_process 是 QGIS 自带的命令行工具(QGIS Processing Executor),允许在不启动 QGIS 桌面应用的情况下,直接从命令行运行 Processing 算法和模型(内置算法或由插件提供)。它适用于服务器端批量处理、CI/CD 自动化流水线、脚本化 GIS 工作流等场景。

源码位置:src/process/ 目录下的 main.cpp、qgsprocess.cpp、qgsprocess.h。


环境准备

前置条件

  • 安装 QGIS 3.16+(qgis_process 从 QGIS 3.16 开始可用)
  • 确保 qgis_process 可执行文件在 PATH 中

安装方式

# Ubuntu/Debian
sudo apt install qgis

# Conda(跨平台)
conda install -c conda-forge qgis

# Docker(官方镜像,含 qgis_process;stable=4.2、ltr=3.44)
docker run --rm -v "$PWD:/data" qgis/qgis:ltr qgis_process --version

# Windows:通过 OSGeo4W 安装器安装 QGIS,随后在 "OSGeo4W Shell" 中运行 qgis_process

提示: Windows 下手动运行的场景,将 QGIS 安装目录的 bin(如 C:\Program Files\QGIS 3.44\bin 或 C:\OSGeo4W\bin)加入 PATH。

无窗口系统(Headless 服务器)

在没有窗口管理器的系统上运行前,需设置环境变量:

export QT_QPA_PLATFORM=offscreen

验证安装

qgis_process --version

命令行语法

qgis_process [--help] [--version] [--json] [--verbose] [--no-python] [--skip-loading-plugins] [command] [algorithm id | model path | script path] [parameters]

全局选项

选项 说明
--help 或 -h 输出帮助信息
--version 或 -v 输出 QGIS Process 相关的所有版本信息
--json 以 JSON 格式输出结果(AI/脚本友好)
--verbose 输出详细日志
--no-python 禁用 Python 支持(启动更快)
--skip-loading-plugins 跳过加载已启用的插件(启动更快)

可用命令

命令 说明
plugins 列出可用和已激活的插件
plugins enable <name> 启用已安装的插件
plugins disable <name> 禁用已安装的插件
list 列出所有可用的 Processing 算法
help <algorithm_id> 显示指定算法的帮助信息
run <algorithm_id> [-- PARAM=VALUE ...] 运行指定算法

Read the full file on GitHub · 436 lines

Files

What ships with it

1 file 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. 21d ago Changed · -7 lines 46ea801d8e58
  2. 1mo ago Changed · +49 lines a8491dc81438
  3. 1mo ago Changed · -21 lines · +50 tokens per session 8a223874b8cb
  4. 1mo ago Changed · +41 lines scan A → B d9613cf47ae0
  5. 2mo ago Changed · +2 lines 3889afcaae15
  6. 2mo ago Changed · +1 lines ccfe4d6b8767
  7. 2mo ago Changed 4b180e948f81
  8. 2mo ago First seen · 371 lines · 48 tokens per session scan A 594a6f143526

Subscribe to this mod's changes

qgis-process is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 98 tokens to every session and 4,561 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

qgis-process compared with skills from other repositories

qgis-process next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qgis-processznlgis/opengis-skillsSkill8720d agoMITB98Claude Code, Codex
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.6k15d agoMITA69Claude Code
webhook-managementhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA56Claude Code, Codex
monorepo-managementwshobson/agentsSkill43kyesterdayMITC54Claude Code
managing-github-actions-secretsPostHog/posthog-fossSkill734todayMITA67Claude Code, Codex
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
deployment-engineerrmyndharis/antigravity-skillsSkill2.2k23d agoMITA73Claude Code, Codex