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.
npx skills add Impertio-Studio/QGIS-Claude-Skill-Package --skill qgis-impl-print-layoutsgit clone --depth 1 https://github.com/Impertio-Studio/QGIS-Claude-Skill-PackageWrote 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.
[](https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-impl-print-layouts)<a href="https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-impl-print-layouts"><img src="https://agentmods.dev/badge/skills/impertio-studio/qgis-claude-skill-package/qgis-impl-print-layouts/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.
<a href="https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-impl-print-layouts"><img src="https://agentmods.dev/badge/skills/impertio-studio/qgis-claude-skill-package/qgis-impl-print-layouts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00109 | $0.03210 |
| Opus 5 | $0.00055 | $0.01605 |
| Sonnet 5 | $0.00022 | $0.00642 |
| Haiku 4.5 | $0.00011 | $0.00321 |
Grade A, and why
qgis-impl-print-layouts scanned grade A with 0 findings 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 12d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 397 lines — stays where its author put it; the contents beside it link to each section on GitHub.
qgis-impl-print-layouts
Quick Reference
Layout Creation Workflow
| Step | Action | Key Class |
|---|---|---|
| 1. Create layout | QgsPrintLayout(project) + initializeDefaults() |
QgsPrintLayout |
| 2. Register layout | layoutManager().addLayout(layout) |
QgsLayoutManager |
| 3. Add map item | QgsLayoutItemMap(layout) + set extent |
QgsLayoutItemMap |
| 4. Add decorations | Labels, legend, scale bar, north arrow | Various QgsLayoutItem* |
| 5. Configure export | Set DPI, page size | QgsLayoutExporter.*ExportSettings |
| 6. Export | exportToPdf(), exportToImage(), exportToSvg() |
QgsLayoutExporter |
Layout Item Types
| Class | Purpose | Key Methods |
|---|---|---|
QgsLayoutItemMap |
Map display | zoomToExtent(), setScale(), setCrs() |
QgsLayoutItemLabel |
Text labels | setText(), adjustSizeToText() |
QgsLayoutItemLegend |
Map legend | setLinkedMap(), setAutoUpdateModel() |
QgsLayoutItemScaleBar |
Scale indicator | setLinkedMap(), setStyle(), applyDefaultSize() |
QgsLayoutItemPicture |
Images/north arrows | setPicturePath() |
QgsLayoutItemAttributeTable |
Data tables | setVectorLayer(), setMaximumNumberOfFeatures() |
QgsLayoutItemPolygon |
Shape decorations | setSymbol() |
Export Result Codes
| Code | Constant | Meaning |
|---|---|---|
| 0 | Success |
Export completed |
| 1 | Canceled |
Export was canceled |
| 2 | MemoryError |
Insufficient memory |
| 3 | FileError |
Cannot write to file path |
| 4 | PrintError |
Printing subsystem error |
| 5 | SvgLayerError |
SVG layer export failed |
| 6 | IteratorError |
Atlas iterator failed |
Critical Warnings
NEVER export a layout without setting the map item extent first -- the export produces a blank or incorrect map. ALWAYS call zoomToExtent() or setScale() on every QgsLayoutItemMap before exporting.
NEVER skip initializeDefaults() after creating a new QgsPrintLayout -- without it the layout has no pages and export fails silently.
What ships with it
3 files 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.
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.
- 12d ago First seen · 397 lines · 109 tokens per session scan A 148b58020426
qgis-impl-print-layouts is a skill published in the GitHub repository Impertio-Studio/QGIS-Claude-Skill-Package (33 stars, last pushed 2mo ago), licensed MIT. It adds 109 tokens to every session and 3,210 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
swmm-report
Generate a client-deliverable Word (.docx) report from an audited SWMM run directory. Reads manifest.json, experimentprovenance.json, modeldiagnostics.json, comparison.json, and any PNG figures — SWMM is never re-run. Supports custom YAML/JSON section templates.
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
pptx-posters
Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.
extracting-lab-tables
Detects and extracts tabular laboratory panels from PDFs, scans, and images into structured rows ready for OpenMed and FHIR. Use when the user has a CBC, CMP, lipid panel, or other lab report as a scanned image / PDF / spreadsheet and needs the test name, value, unit, reference range, and abnormal flag as clean rows.…
paper-spine
Build, rewrite, audit, submit, revise, or transfer scholarly papers end to end, producing verified LaTeX/PDF/Word and target-specific publication packages.
paper-compile
A build workflow that turns LaTeX source files into a PDF and checks whether the paper compiles correctly. LaTeX is a text-based system commonly used for academic papers.