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.5 | $0.00044 | $0.01284 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (44 stars, last pushed 4mo ago), licensed MIT. It adds 109 tokens to every session and 3,210 once invoked, about $0.0004 per session on Opus 5.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.
qgis-impl-print-layouts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qgis-impl-print-layoutsImpertio-Studio/QGIS-Claude-Skill-Package | Skill | 44 | 4mo ago | MIT | A | 109 | Claude Code, Codex |
| swmm-reportZhonghao1995/agentic-swmm-workflow | Skill | 37 | 1mo ago | MIT | A | 62 | Claude Code, Codex |
| nature-paper2wordYuan1z0825/nature-skills | Skill | 56k | 3d ago | Apache-2.0 | A | 233 | Codex |
| pydicomK-Dense-AI/scientific-agent-skills | Skill | 59k | today | MIT | A | 52 | Claude Code, Codex |
| nature-paper-transYuan1z0825/nature-skills | Skill | 56k | 3d ago | Apache-2.0 | A | 68 | Codex |
| pptx-postersK-Dense-AI/scientific-agent-skills | Skill | 59k | today | MIT | A | 59 | Claude Code |
| extracting-lab-tablesmaziyarpanahi/openmed | Skill | 5.9k | today | Apache-2.0 | A | 210 | Claude Code |