cli-anything-qgis

Manage QGIS projects, layers, layouts, and exports from the command line.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/edwifiguy/era-agents-ops --skill cli-anything-qgis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-qgis
Source: https://github.com/edwifiguy/era-agents-ops/tree/main/skills/era-agents-op/cli-anything/QGIS/agent-harness/cli_anything/qgis/skills
Command: npx skills add https://github.com/edwifiguy/era-agents-ops --skill cli-anything-qgis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interacting with QGIS projects and data workflows from a terminal can be slow and error-prone; this skill provides a stateful CLI to manage projects, writable layers, features, layouts, and exports using the real QGIS runtime.

Core Features & Use Cases

  • Stateful project management: create, open, save, and inspect QGIS projects from the command line.
  • Layer and feature operations: add, edit, and query writable layers and features programmatically.
  • Layouts and exports: create and manage map layouts and export to PDF or images.
  • QGIS process integration: run qgis_process algorithms directly from the CLI for automated workflows.
  • Real-world use case: a GIS analyst scripts a project workflow to ingest data, generate maps, and export reports in a single run.

Quick Start

Launch cli-anything-qgis to start a stateful REPL or run a single command to manage a project from the terminal.

Frequently Asked Questions about cli-anything-qgis

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

FAQPage Schema
How do I manage QGIS projects from the command line?

You can manage QGIS projects from the command line by using a stateful CLI to create, open, save, and inspect projects. It leverages the real QGIS runtime to automate workflows directly from the terminal.

Can I export QGIS map layouts to PDF from the terminal?

Yes, you can export QGIS map layouts to PDF or images from the terminal. The CLI supports creating and managing map layouts and exporting them programmatically using the real QGIS runtime.

Do I need qgis_process on PATH to automate GIS workflows?

Yes, you need qgis_process on PATH and Python 3.10+ to automate GIS workflows with this CLI. It requires the real QGIS runtime to execute project, layer, feature, layout, and export subcommands.

How do I edit layers and features programmatically in QGIS?

You can edit layers and features programmatically in QGIS by using CLI subcommands to add, edit, and query writable layers. It operates through a stateful REPL or single commands using the real QGIS runtime.

What is the best way to script a QGIS project workflow for map generation?

The best way to script a QGIS project workflow for map generation is using a stateful CLI to ingest data, generate maps, and export reports in a single run. It integrates qgis_process algorithms directly for automated workflows.