Skip to content
hkuds avatar

Cli Anything Qgis

Stateful QGIS command-line tool for projects, layers, features, layouts, exports, and processing algorithms.

CCM score
66 of 100
skills.sh installs
641
GitHub stars
67.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project lifecycle, writable GeoPackage-backed vector layers, feature editing, print layouts, and export to PDF or image
  • Includes command groups project, layer, feature, layout, export, process, and session, with --json output for machine use
  • Runs layout exports through native:printlayouttopdf and native:printlayouttoimage, and runs generic algorithms via qgis_process
  • Requires QGIS with qgis_process on PATH, importable PyQGIS, and Python 3.10 or later

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-qgis -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

cli-anything-qgis

Use this skill when you need to inspect or modify QGIS projects from the terminal through the real QGIS runtime.

Requirements

  • QGIS installed with qgis_process on PATH
  • PyQGIS importable from the Python environment running the CLI
  • Python 3.10+

Agent guidance

  • Prefer --json for all machine-driven use.
  • For one-shot commands, pass --project <path> when operating on an existing project.
  • Running cli-anything-qgis with no subcommand starts a stateful REPL.
  • Layout export is backed by real QGIS processing algorithms:
    • native:printlayouttopdf
    • native:printlayouttoimage

What this CLI covers

  • create, open, save, and inspect .qgs / .qgz projects
  • create writable GeoPackage-backed vector layers
  • add features via WKT geometry and typed key=value attributes
  • create print layouts and add map/label items
  • export layouts to PDF or image
  • inspect and run generic qgis_process algorithms
  • inspect session status and history

Command groups

project

  • new -o/--output [--title] [--crs]
  • open PATH
  • save [PATH]
  • info
  • set-crs CRS

Details

Repository
github.com/hkuds/cli-anything
Categories
CLI & Terminal, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the cli-anything-qgis skill do?

cli-anything-qgis gives an agent a stateful terminal interface to QGIS projects through the real QGIS runtime. It can create and save .qgs or .qgz projects, add writable GeoPackage-backed vector layers and features, build print layouts, export layouts to PDF or image, and run qgis_process algorithms.

What do I need before using cli-anything-qgis?

cli-anything-qgis needs QGIS installed with qgis_process on the PATH, PyQGIS importable from the Python environment running the CLI, and Python 3.10 or newer. Use the --json flag for machine-driven runs, and pass --project when operating on an existing project.

How do I install cli-anything-qgis?

Run npx -y skills add hkuds/cli-anything --skill cli-anything-qgis -y in a project to install it. After that, the agent can use cli-anything-qgis to inspect or modify QGIS projects from the terminal.

Which QGIS processing algorithms can cli-anything-qgis run for layout export?

cli-anything-qgis backs layout export with the native:printlayouttopdf and native:printlayouttoimage processing algorithms. Its process commands also let an agent list, inspect and run generic qgis_process algorithms such as native:buffer.

More from hkuds/cli-anything

All 51

Similar to Cli Anything Qgis

More CLI & Terminal