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 bnomei/kirby-mcp --skill kirby-performance-and-mediagit clone --depth 1 https://github.com/bnomei/kirby-mcpWrote 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/bnomei/kirby-mcp/kirby-performance-and-media)<a href="https://agentmods.dev/skills/bnomei/kirby-mcp/kirby-performance-and-media"><img src="https://agentmods.dev/badge/skills/bnomei/kirby-mcp/kirby-performance-and-media/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/bnomei/kirby-mcp/kirby-performance-and-media"><img src="https://agentmods.dev/badge/skills/bnomei/kirby-mcp/kirby-performance-and-media.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00037 | $0.00555 |
| Opus 5.5 | $0.00015 | $0.00222 |
| Sonnet 5.5 | $0.00007 | $0.00111 |
| Haiku 4.5 | $0.00004 | $0.00056 |
Grade A, and why
kirby-performance-and-media 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 11d 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kirby Performance and Media
Use Kirby 6 conventions for new work. Measure against the installed CMS; the query runner is fixed, so optimize query scope and custom methods rather than configuring query.runner.
Quick start
- Follow the workflow below, and run a full audit checklist when performance work spans multiple templates or plugins.
KB entry points
kirby://kb/scenarios/55-cdn-asset-and-media-urlskirby://kb/scenarios/56-lazy-loading-imageskirby://kb/scenarios/57-responsive-images-srcsetkirby://kb/scenarios/58-fine-tune-page-cachekirby://kb/scenarios/79-conditional-loading-frontend-libraries
Required inputs
- Target pages/templates and performance symptoms.
- Image/media volume and CDN constraints.
- Acceptable cache settings or invalidation rules.
Audit checklist
- Identify templates that render large image sets or long listings.
- Check
kirby://config/cacheandkirby://config/thumbsfor overrides. - Verify media URLs, cache headers, and variant generation.
Measurement step
- Inspect
Cache-Controlheaders and confirm generated/mediavariants exist.
CDN fallback rule
- If the CDN is unavailable, fall back to local asset/media URLs without breaking pages.
Common pitfalls
- Generating thumbnails in loops without
srcset()or caching. - Routing media through a CDN without preserving variants.
Workflow
- Call
kirby:kirby_initand readkirby://config/cacheandkirby://config/thumbs. - Inspect templates/snippets that render large collections of images:
kirby:kirby_templates_indexkirby:kirby_snippets_index
- Search the KB with
kirby:kirby_search(examples: "cdn asset and media urls", "lazy loading images", "responsive images srcset", "fine tune page cache"). - Apply minimal changes first:
- use
srcset()/sizesfor responsive images - add
loading="lazy"anddecoding="async" - adjust cache ignore rules via blueprint options or fields
- route assets/media through a CDN when required
- use
- Verify output and caching behavior:
kirby:kirby_render_page(noCache=true)for HTML- inspect generated media variants and cache headers in a browser
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.
- 11d ago Changed · +2 lines 560de8a4744d
- 1mo ago First seen · 60 lines · 37 tokens per session scan A f8ea457253ac
kirby-performance-and-media is a skill published in the GitHub repository bnomei/kirby-mcp (67 stars, last pushed 8d ago), licensed MIT. It adds 37 tokens to every session and 555 once invoked, about $0.0001 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.
Other skills, from other repositories
hipson-premium-ui-ux
Use for premium UI/UX review and implementation planning in Hipson frontend projects, especially screenshot-backed landing pages, forms, visual polish, accessibility, responsive behavior, and design-agent packets.
metis-browser
Control Metis Desktop Inspector built-in browser for local preview (HTML/SVG/file paths), page interaction, accessibility snapshots, and screenshots. Use when the user asks to open, show, preview, inspect, click, type, or verify UI in the in-app/built-in browser. Prefer browsernavigate over bash…
aws
Skill "aws" from dhaupin/vant, covering aws, when to use, what to do, 1. services and 2. cli.
css
Skill "css" from dhaupin/vant, covering css, when to use, what to do, 1. syntax and 2. properties.
tailwind
Skill "tailwind" from dhaupin/vant, covering tailwind, when to use, what to do, 1. classes and 2. common.
designing-architectures
Architecture knowledge reference covering API design, security architecture, cloud-native patterns, caching strategies, message queues, and data security. Use when designing system architecture, APIs, or cloud-native infrastructure.