kirby-scaffold-page-type

kirby-scaffold-page-type is a skill for Claude Code, Codex from bnomei/kirby-mcp. It costs 48 tokens per session (720 once invoked), scanned A, original, MIT.

A Kirby project scaffold for creating a new page type, including its Panel blueprint and frontend template, with optional controller and model files. A page type defines the fields editors fill in and how that content is displayed.

In plain words
What is it for?
Use it to create blog posts, one-page site sections, custom content types, or reusable blueprint structures.
Why use it?
It helps keep the related Kirby files named and connected correctly, reducing errors between blueprints, templates, controllers, and models.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create blog posts, one-page site sections, custom content types, or reusable blueprint structures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bnomei/kirby-mcp/kirby-scaffold-page-type
Install

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.

Any agent
npx skills add bnomei/kirby-mcp --skill kirby-scaffold-page-type
Clone the repo
git clone --depth 1 https://github.com/bnomei/kirby-mcp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for kirby-scaffold-page-type

README.md
[![agentmods](https://agentmods.dev/badge/skills/bnomei/kirby-mcp/kirby-scaffold-page-type/github.svg)](https://agentmods.dev/skills/bnomei/kirby-mcp/kirby-scaffold-page-type)
Your own site
<a href="https://agentmods.dev/skills/bnomei/kirby-mcp/kirby-scaffold-page-type"><img src="https://agentmods.dev/badge/skills/bnomei/kirby-mcp/kirby-scaffold-page-type/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.

agentmods 80×15 button for kirby-scaffold-page-type

Your own site · 80×15
<a href="https://agentmods.dev/skills/bnomei/kirby-mcp/kirby-scaffold-page-type"><img src="https://agentmods.dev/badge/skills/bnomei/kirby-mcp/kirby-scaffold-page-type.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 720 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00720
Opus 5.5 $0.00019 $0.00288
Sonnet 5.5 $0.00010 $0.00144
Haiku 4.5 $0.00005 $0.00072

Measured 12d ago against content hash 94c1563fd73a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kirby-scaffold-page-type 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.

skills/kirby-scaffold-page-type/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kirby Scaffold Page Type

Use Kirby 6 conventions for new work: pagelist/filelist for display lists and pagepicker/filepicker/userpicker for stored selections. Declare fields directly; root-field placements use list references, with case-insensitively unique names.

Quick start

  • Follow the workflow below to scaffold a new page type safely.

KB entry points

  • kirby://kb/scenarios/01-scaffold-page-type
  • kirby://kb/scenarios/22-custom-post-types
  • kirby://kb/scenarios/30-create-a-blog-section
  • kirby://kb/scenarios/31-one-pager-site-sections
  • kirby://kb/scenarios/06-blueprints-reuse-extends

Required inputs

  • Page type name and required fields.
  • Panel UX expectations and any reuse/extends needs.
  • Template/controller/model naming preferences.

Minimal scaffold

Blueprint:

title: Example
fields:
  title:
    type: text

Template:

<?php snippet('header') ?>
<?php snippet('footer') ?>

Default controller/model

Controller:

return function ($page) {
  return ['page' => $page];
};

Model:

class ExamplePage extends Page
{
}

Naming checklist

  • Template filename matches blueprint id.
  • Controller filename matches template name.
  • Model class name matches template name in StudlyCase.

Common pitfalls

  • Mismatched template, blueprint, and controller names.
  • Creating a Panel type without a matching blueprint.

Workflow

  1. Ask for page type name, required fields, Panel UX expectations, and whether to extend an existing type.
  2. Call kirby:kirby_init and read kirby://roots to locate templates, blueprints, controllers, models, and snippets.
  3. Check for name collisions and existing patterns:
    • kirby:kirby_templates_index
    • kirby:kirby_blueprints_index
    • kirby:kirby_controllers_index
    • kirby:kirby_models_index
  4. If extending an existing type, read it with kirby:kirby_blueprint_read before generating new files.
  5. Use Panel reference resources for value and display field choices:
    • kirby://fields
    • kirby://sections for existing section configuration and migration guidance
  6. Search the KB with kirby:kirby_search (examples: "scaffold page type", "blueprints reuse extends", "custom post types", "create a blog section", "one pager site sections").
  7. Create minimal, convention-aligned files; prefer snippets for reusable view logic.
  8. Verify with kirby:kirby_render_page(noCache=true) when runtime is available; otherwise run kirby:kirby_runtime_status and kirby:kirby_runtime_install first.
  9. Optionally run kirby:kirby_ide_helpers_status and kirby:kirby_generate_ide_helpers (dry-run first) to keep IDE types in sync.

Read the full file on GitHub · 92 lines

Changes

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.

  1. 12d ago Changed · +2 lines · -5 tokens per session 94c1563fd73a
  2. 1mo ago First seen · 90 lines · 53 tokens per session scan A 921bac283fcd

Subscribe to this mod's changes

kirby-scaffold-page-type is a skill published in the GitHub repository bnomei/kirby-mcp (67 stars, last pushed 8d ago), licensed MIT. It adds 48 tokens to every session and 720 once invoked, about $0.0002 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.