cli-anything-qgis

Inspect and modify QGIS projects via terminal-driven PyQGIS commands.

Updated May 7, 2026
One-click install
npx skills add https://github.com/dawsonblock/JUDGE_ATLAS --skill cli-anything-qgis-dawsonblock
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cli-anything-qgis
Source: https://github.com/dawsonblock/JUDGE_ATLAS/tree/main/external/CLI-Anything-main/QGIS/agent-harness/cli_anything/qgis/skills
Command: npx skills add https://github.com/dawsonblock/JUDGE_ATLAS --skill cli-anything-qgis-dawsonblock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of manually opening, modifying, and exporting QGIS projects through the GUI by enabling repeatable, terminal-driven workflows powered by the real QGIS runtime.

Core Features & Use Cases

  • Stateful QGIS CLI workflows for creating, opening, saving, and inspecting .qgs/.qgz projects without manual GUI steps.
  • Programmatic layer and feature editing using GeoPackage-backed vector layers, WKT geometry input, and typed key=value attributes.
  • Layout creation and export by building print layouts (maps and labels) and exporting them via native QGIS processing algorithms for PDF and image outputs.
  • Generic algorithm execution through qgis_process to list, describe, and run processing algorithms needed for analysis and export pipelines.

Use case: You need to generate consistent map exports for many regions by creating a project, adding a layer, inserting features, assembling a layout, and exporting PDFs in a fully automated way.

Quick Start

Run cli-anything-qgis with a JSON-first command to create a new project and then add a writable point layer with fields.

Frequently Asked Questions about cli-anything-qgis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate QGIS project modification and map export from the terminal?▼

You can automate QGIS project modification by using qgis_process and PyQGIS to inspect .qgs/.qgz files, create GeoPackage layers, insert WKT features, and export print layouts to PDF without GUI interaction.

Can I create writable vector layers and insert features using a QGIS CLI workflow?▼

Yes, the QGIS CLI workflow supports programmatic layer creation using GeoPackage-backed vector layers, inserting features via WKT geometry input, and applying typed key=value attributes directly from the terminal.

How do I export print layouts to PDF using qgis_process?▼

Exporting print layouts to PDF uses native QGIS processing algorithms through qgis_process, allowing you to assemble maps and labels and output deterministic PDF or image files for map production workflows.

Do I need PyQGIS installed to run geospatial automation tasks via qgis_process?▼

Yes, PyQGIS availability is required alongside the real QGIS runtime and qgis_process to execute terminal-driven geospatial automation, inspect project state, and run JSON-oriented commands for machine integration.

What is the best way to generate consistent map exports for multiple regions without opening the QGIS GUI?▼

The best way to generate consistent map exports without the GUI is building a fully automated pipeline that creates a project, adds layers, inserts features, assembles a layout, and exports PDFs deterministically via qgis_process.

Does QGIS CLI support JSON-oriented command execution for machine integration?▼

Yes, QGIS CLI automation supports JSON-oriented command execution, enabling machine integration for stateful project state management, algorithm execution, and deterministic map production workflows.