Agent skill

CLI Anything Qgis

by HKUDS in HKUDS/CLI-Anything

Stateful QGIS CLI for projects, writable layers, features, layouts, exports, and qgisprocess operations using the real QGIS runtime.

Apache-2.0Auto-check passed

Install CLI Anything Qgis

skills CLI
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-qgis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HKUDS/CLI-Anything cli-anything-qgis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-anything-qgis .claude/skills/cli-anything-qgis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-anything-qgis
GitHub stars
52k
Token cost
~972 tokens
SKILL.md length
256 words
Files
1
Skills in repo
78
Repo updated
First seen
Licence
Apache-2.0

At a glance

Stateful QGIS CLI for projects, writable layers, features, layouts, exports, and qgisprocess operations using the real QGIS runtime.

  • SKILL.md covers Requirements, Agent guidance, What this CLI covers and Command groups, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

CLI Anything Qgis is an agent skill from HKUDS/CLI-Anything. Stateful QGIS CLI for projects, writable layers, features, layouts, exports, and qgisprocess operations using the real QGIS runtime.

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: "CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/. The licence is Apache-2.0.

Example prompts

  • “/cli-anything-qgis”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 34f5195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CLI Anything Qgis loads about 972 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~972

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HKUDS/CLI-Anything at commit 34f5195, republished under its Apache-2.0 licence (© HKUDS). 256 words, ~972 tokens.

Download SKILL.mdSave it as .claude/skills/cli-anything-qgis/SKILL.md (or your agent's skills folder).
name
cli-anything-qgis
description
Stateful QGIS CLI for projects, writable layers, features, layouts, exports, and qgis_process operations using the real QGIS runtime.

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
layer
  • create-vector --name --geometry --crs [--field name:type ...]
  • list
  • info LAYER
  • remove LAYER
feature
  • add --layer LAYER --wkt WKT [--attr key=value ...]
  • list --layer LAYER [--limit N]
layout
  • create --name [--page-size] [--orientation]
  • list
  • info LAYOUT
  • remove LAYOUT
  • add-map --layout LAYOUT --x --y --width --height [--extent xmin,ymin,xmax,ymax]
  • add-label --layout LAYOUT --text TEXT --x --y --width --height [--font-size N]
export
  • presets
  • pdf OUTPUT --layout LAYOUT [--dpi] [--force-vector] [--force-raster] [--georeference/--no-georeference] [--overwrite]
  • image OUTPUT --layout LAYOUT [--dpi] [--overwrite]
process
  • list
  • help ALGORITHM_ID
  • run ALGORITHM_ID [--param KEY=VALUE ...]
session
  • status
  • history [--limit N]

Examples

Create a project and add a writable layer
bash
cli-anything-qgis --json project new -o demo.qgz --title "Demo" --crs EPSG:4326
cli-anything-qgis --json --project demo.qgz layer create-vector \
  --name places \
  --geometry point \
  --field name:string \
  --field score:int
Add features and inspect them
bash
cli-anything-qgis --json --project demo.qgz feature add \
  --layer places \
  --wkt "POINT(1 2)" \
  --attr name=HQ \
  --attr score=5

cli-anything-qgis --json --project demo.qgz feature list --layer places --limit 10
Create and export a layout
bash
cli-anything-qgis --json --project demo.qgz layout create --name Main
cli-anything-qgis --json --project demo.qgz layout add-map --layout Main --x 10 --y 20 --width 180 --height 120
cli-anything-qgis --json --project demo.qgz layout add-label --layout Main --text "Demo map" --x 10 --y 8 --width 100 --height 10
cli-anything-qgis --json --project demo.qgz export pdf output.pdf --layout Main --overwrite
Inspect or run processing algorithms
bash
cli-anything-qgis --json process help native:buffer
cli-anything-qgis --json --project demo.qgz process run native:buffer \
  --param INPUT=/tmp/demo_data.gpkg|layername=places \
  --param DISTANCE=1 \
  --param SEGMENTS=8 \
  --param END_CAP_STYLE=0 \
  --param JOIN_STYLE=0 \
  --param MITER_LIMIT=2 \
  --param DISSOLVE=false \
  --param OUTPUT=/tmp/buffer.geojson
REPL
bash
cli-anything-qgis

Example interactive flow:

text
project new -o demo.qgz --title "Demo"
layer create-vector --name places --geometry point --field name:string
feature add --layer places --wkt "POINT(1 2)" --attr name=HQ
layout create --name Main
session status
quit

© HKUDS, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cli-anything-qgis of HKUDS/CLI-Anything.

Open the folder on GitHubat commit 34f5195

Compare with similar skills

CLI Anything Qgis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CLI Anything Qgis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CLI Anything Qgis this skillHKUDS/CLI-Anything52k—~972Automated safety check: PassApache-2.0
Robius State Managementsickn33/agentic-awesome-skills47k2 repos~3.3kAutomated safety check: PassMIT
Tabler Page Layoutstabler/tabler42k—~1.5kAutomated safety check: PassMIT
Cascade Layersthedaviddias/Front-End-Checklist74k—~514Automated safety check: PassMIT
State Managementcompozy/compozy2.8k—~2.5kAutomated safety check: PassMIT
Makepad Layoutsickn33/agentic-awesome-skills47k2 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Robius State Management

    sickn33/agentic-awesome-skills

    CRITICAL: Use for Robius state management patterns. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~3.3k tokens
    Frontend & DesignAuto-check passed
  • Tabler Page Layouts

    tabler/tabler

    Picks and configures the right layout for a Tabler preview page and covers changing or adding layouts in shared/layouts, including DefaultLayout props and the page-header slot.

    42k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Cascade Layers

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing a CSS architecture for specificity issues, setting up a design system, or migrating a large codebase from utility-first to a layered architecture.

    74k GitHub stars~514 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • State Management

    compozy/compozy

    Model, review, and refactor application state so source state stays minimal, derived state is computed instead of synchronized, impossible states are not representable, and each piece of state lives…

    2.8k GitHub stars~2.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Makepad Layout

    sickn33/agentic-awesome-skills

    CRITICAL: Use for Makepad layout system. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • Analyze and fix unnecessary useState, derived state, and server-state-in-local-state anti-patterns

    30k GitHub stars~672 tokensUpdated today
    Frontend & DesignAuto-check passed

More from HKUDS/CLI-Anything

All 78 skills in this repo
  • CLI-Anything for Codex

    HKUDS/CLI-Anything

    Lets Codex build, refine, test, validate and list CLI-Anything harnesses for GUI applications or source repositories, following the project's full methodology.

    52k GitHub stars~1.5k tokensUpdated 18 days ago
    Auto-check passed
  • CLI-Anything for Reasonix

    HKUDS/CLI-Anything

    Adapts the CLI-Anything methodology so Reasonix can build, refine, test and validate a command-line harness for an existing GUI application or source repository.

    52k GitHub stars~1.8k tokensUpdated 18 days ago
    Auto-check passed
  • Guides Hermes Agent through building, refining and testing a CLI-Anything harness that wraps a GUI application or source repository in a scriptable command line.

    52k GitHub stars~1.1k tokensUpdated 18 days ago
    Auto-check passed
  • Builds, refines, tests or validates a CLI-Anything harness that wraps a GUI application or source repository as a stateful Click CLI with JSON output and a REPL mode.

    52k GitHub stars~839 tokensUpdated 18 days ago
    Auto-check passed
  • Krita CLI Harness

    HKUDS/CLI-Anything

    Drives Krita from the command line to create projects, add layers, apply filters, resize the canvas and export images, with JSON output for agents.

    52k GitHub stars~931 tokensUpdated 18 days ago
    Auto-check passed
  • MacroCLI GUI Macros

    HKUDS/CLI-Anything

    Defines, lists, inspects and runs parameterized GUI macros from the command line, with the runtime choosing the execution backend.

    52k GitHub stars~1.4k tokensUpdated 18 days ago
    Auto-check passed

Questions about CLI Anything Qgis

What does CLI Anything Qgis do?

Stateful QGIS CLI for projects, writable layers, features, layouts, exports, and qgisprocess operations using the real QGIS runtime. CLI Anything Qgis is an agent skill from HKUDS/CLI-Anything. Stateful QGIS CLI for projects, writable layers, features, layouts, exports, and qgisprocess operations using the real QGIS runtime.

How do I install CLI Anything Qgis in Claude Code?

Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-qgis -a claude-code`. Or copy the skill folder (skills/cli-anything-qgis in HKUDS/CLI-Anything) into .claude/skills/cli-anything-qgis in your project. Claude Code loads it when a task matches its description.

How do I install CLI Anything Qgis in Codex?

Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-qgis -a codex`. Or copy the skill folder (skills/cli-anything-qgis in HKUDS/CLI-Anything) into .agents/skills/cli-anything-qgis in your project. Codex loads it when a task matches its description.

Can I use CLI Anything Qgis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/CLI-Anything --skill cli-anything-qgis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-anything-qgis, .gemini/skills/cli-anything-qgis, .github/skills/cli-anything-qgis and .opencode/skills/cli-anything-qgis in your project.

What does CLI Anything Qgis need to run?

SKILL.md names no scripts, command-line tools or credentials: CLI Anything Qgis is instructions for the agent only. Our summary lists: Python 3.

Does CLI Anything Qgis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is CLI Anything Qgis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does CLI Anything Qgis use?

CLI Anything Qgis is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does CLI Anything Qgis use?

About 972 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to CLI Anything Qgis?

Skills that share tags, products or a category with CLI Anything Qgis: Robius State Management (sickn33/agentic-awesome-skills, 47k stars), Tabler Page Layouts (tabler/tabler, 42k stars), Cascade Layers (thedaviddias/Front-End-Checklist, 74k stars) and State Management (compozy/compozy, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CLI Anything Qgis?

HKUDS (a GitHub organization) maintains it in HKUDS/CLI-Anything, which has 51,809 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on September 22, 2026.

Source: HKUDS/CLI-Anything on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.