kirby-headless-api

kirby-headless-api is a skill for Claude Code, Codex from bnomei/kirby-mcp. It costs 41 tokens per session (529 once invoked), scanned A, original, MIT.

Kirby headless API tools deliver website content to a separate frontend or application through APIs, KQL queries, and JSON responses. A headless setup keeps the content system separate from the interface visitors see.

In plain words
What is it for?
Use them to build API endpoints, query filtered or cross-collection content with KQL, provide page data as JSON, and connect Kirby to kiosks, custom frontends, or other applications.
Why use it?
They help define what content is public, protect private fields and drafts, and choose suitable responses and caching for different clients.

Skill for Claude CodeCodex

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

Good fit Use them to build API endpoints, query filtered or cross-collection content with KQL, provide page data as JSON, and connect Kirby to kiosks, custom frontends, or other applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bnomei/kirby-mcp/kirby-headless-api
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-headless-api
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-headless-api

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bnomei/kirby-mcp/kirby-headless-api"><img src="https://agentmods.dev/badge/skills/bnomei/kirby-mcp/kirby-headless-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 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.00041 $0.00529
Opus 5 $0.00020 $0.00264
Sonnet 5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured 12d ago against content hash 77143fc31922, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

kirby-headless-api 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-headless-api/SKILL.md · 67 lines

How it starts

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

Kirby Headless API

KB entry points

  • kirby://kb/scenarios/44-headless-api-with-kql
  • kirby://kb/scenarios/02-json-content-representation-ajax-load-more
  • kirby://kb/scenarios/45-headless-kiosk-application
  • kirby://kb/scenarios/28-figma-auto-populate

Required inputs

  • Consumers and auth requirements.
  • Public vs private content boundaries.
  • Response shape and caching policy.
  • Preferred approach (KQL, representations, or routes).

Default delivery choices

  • Use .json representations for page-backed responses.
  • Use KQL for cross-collection queries and filtered datasets.
  • Use routes for non-page or composite endpoints.

Default response envelope

{
  "status": "ok",
  "data": {}
}

Caching rule

  • Public endpoints: set Cache-Control with a short max-age.
  • Authenticated endpoints: disable caching.

Common pitfalls

  • Exposing private fields or drafts in JSON output.
  • Caching authenticated responses.

Verification checklist

  • Confirm auth requirements and public/private boundaries.
  • Validate JSON output for required fields.

Workflow

  1. Clarify consumers, authentication, and which content is public vs private.
  2. Call kirby:kirby_init and read kirby://config/api to confirm API settings.
  3. Check plugin availability for KQL: kirby:kirby_plugins_index.
  4. If you need custom endpoints, inspect existing routes with kirby:kirby_routes_index (install runtime if needed).
  5. Search the KB with kirby:kirby_search (examples: "headless api with kql", "json content representation", "figma auto populate", "headless kiosk").
  6. Use kirby:kirby_online to fetch official API/KQL docs when KB coverage is insufficient.
  7. Implement:
    • enable API auth (api.basicAuth) when required
    • create or update KQL queries for /api/query
    • add .json representations for template-backed JSON
  8. Verify:
    • request /api/query with Basic Auth
    • render .json representations with kirby:kirby_render_page(contentType: json)

Read the full file on GitHub · 67 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 First seen · 67 lines · 41 tokens per session scan A 77143fc31922

Subscribe to this mod's changes

kirby-headless-api is a skill published in the GitHub repository bnomei/kirby-mcp (59 stars, last pushed 12d ago), licensed MIT. It adds 41 tokens to every session and 529 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

defending-applications

Application security defense knowledge for builders. Covers Web/API/GraphQL hardening (XSS/SQLi/SSRF/IDOR/BOLA/Mass Assignment/deserialization/upload/path traversal), authentication/authorization (OAuth 2.0/OIDC/JWT/Session/Cookie/SAML/SSO), and LLM application security (prompt injection, jailbreak, RAG poisoning…

telagod/code-abyss · 152 tokens

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.

telagod/code-abyss · 43 tokens

backend

Backend engineering judgment, distilled from a stronger model - invoke when CHOOSING a tech stack, language, database, queue, or architecture; designing a service, API, business logic, or schema; making a system production-ready (observability, failure handling, security); or reviewing server-side code and judging…

telagod/code-abyss · 99 tokens

api-contract-design

Use this skill when freezing the interface between a backend and its clients before parallel work starts, or when changing an endpoint other code already calls - request/response shapes, status codes, error envelope, pagination, filtering, idempotency, versioning, and the breaking-change rules. Covers writing the…

chadixearth/graphyloop · 79 tokens

supabase-setup

Use this skill when setting up or changing a Supabase database - schema, migrations, row-level security, seeds, typed clients, or connecting an app to a hosted project. Covers the safe order of operations and the checks that prevent a public table or an unreviewable schema change.

chadixearth/graphyloop · 62 tokens

hipson-workflow

Use for structured Codex development workflows with Architect, Executor, and Reviewer roles, especially repo scans, task packets, review reports, verification, and two-Codex handoffs.

Hipson47/Hipson · 41 tokens