headless-step-validate

headless-step-validate is a skill for Claude Code, Codex from hostinger/api-mcp-server. It costs 90 tokens per session (2,071 once invoked), scanned B, original, MIT.

A quick pre-deployment check for a Hostinger headless website, confirming that the hosted site is live and its backend API returns the content that was created. It can also provide a local preview and wait for a person's approval.

In plain words
What is it for?
Use it to check the hosting instance, test WordPress, WooCommerce, or other backend responses, preview the site locally, and record a user's sign-off.
Why use it?
It catches a missing or empty backend before deployment without repeating checks that earlier stages already performed. It also lets teams skip manual approval when nobody needs to review the site.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to check the hosting instance, test WordPress, WooCommerce, or other backend responses, preview the site locally, and record a user's sign-off.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hostinger/api-mcp-server/07-validate
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 hostinger/api-mcp-server --skill 07-validate
Clone the repo
git clone --depth 1 https://github.com/hostinger/api-mcp-server

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 headless-step-validate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hostinger/api-mcp-server/07-validate"><img src="https://agentmods.dev/badge/skills/hostinger/api-mcp-server/07-validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,071 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00090 $0.02071
Opus 5.5 $0.00036 $0.00828
Sonnet 5.5 $0.00018 $0.00414
Haiku 4.5 $0.00009 $0.00207

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

Security

Grade B, and why

headless-step-validate scanned grade B with 1 finding 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 3d 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Astro (SSG):** `rm -rf dist && npm run build && npm run check:dist`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/headless/steps/07-validate/SKILL.md · 114 lines

How it starts

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

headless-step-validate

Fast. Every stage before this one already verifies its own work (provision checks the backend, content-model push checks the REST counts, frontend builds clean and looks right at desktop and phone width), and deploy verifies the live result. So validate is not a re-run of all that — it's two quick checks, an npm audit before the first deploy, and the optional human preview/sign-off. Skip Steps 4–5 (rebuild + approval) entirely on an autonomous or temp-domain run where no one is signing off. Spend time here only when a person wants to see it before it goes live.

In: project in ~/.hostinger/<domain>/src/, site.json, state.json.

1 — Instance status (always, quick)

provision.status == "completed" in state.json. Anything else → not ready; return to the instance barrier, don't deploy. Deploy's pre-flight asks the connector again (see State and artifacts in the top-level SKILL.md).

2 — Backend API status (every backend, always, quick)

Hit the live API from site.json and confirm it answers with the content the push created — a 200 with an empty catalog means the push didn't land:

  • WordPress: GET {urls.rest_api}/posts?per_page=1 → 200 JSON array; check X-WP-Total against the planned post count, and GET {urls.rest_api}/media?per_page=1 → X-WP-Total matches the planned image count (more = duplicates).
  • WordPress + WooCommerce (site.json → woocommerce.enabled): the WordPress check above plus GET {urls.store_api}/products?per_page=100 → 200 with the seeded products and prices (minor units); count matches the plan. Don't test checkout while woocommerce.payment_enabled is false.
  • Ecommerce: query urls.storefront_api for the sales channel → 200 with the seeded products and prices (confirm against the store).
  • PocketBase (site.json → backend: "pocketbase"): GET {urls.api}/health → 200, and every collection with seed records in pocketbase/schema.json lists them (GET {urls.api}/collections/<name>/records?perPage=1 → totalItems at least the seed count, for collections visitors may list). pb-verify.mjs already ran at the content-model push, so don't repeat it here.
  • Contact form (site.json → contact_form.enabled, Contact Form 7, WordPress only): send the two throwaway test submissions in ../04-content-model/wordpress/contact-form.md §5: the first must return status mail_sent, the one with the honeypot filled spam.

Read the full file on GitHub · 114 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. 3d ago Changed · +10 lines b6f588b56739
  2. 7d ago Changed · +1 lines 0bbd825cbdec
  3. 11d ago Changed · +36 lines · +20 tokens per session scan C → B d1c425ec2298
  4. 13d ago Changed · +6 lines e9b845930767
  5. 14d ago Changed · -10 lines c645cf4fc754
  6. 18d ago Changed · +1 lines c99acbf4ad77
  7. 26d ago Changed 71aed7c058d5
  8. 1mo ago Changed · +13 lines f738ff6eceeb
  9. 1mo ago First seen · 57 lines · 70 tokens per session scan C 7f4b47dc2360

Subscribe to this mod's changes

headless-step-validate is a skill published in the GitHub repository hostinger/api-mcp-server (176 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 2,071 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.

Related

headless-step-validate compared with skills from other repositories

headless-step-validate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
headless-step-validatehostinger/api-mcp-serverSkill176yesterdayMITB90Claude Code, Codex
cost-optimizationwshobson/agentsSkill43kyesterdayMITA48Claude Code
linkerd-patternswshobson/agentsSkill43kyesterdayMITA41Claude Code
mirrord-prev-envmetalbear-co/mirrordSkill5.4ktodayMITA122Claude Code
mirrord-operatormetalbear-co/mirrordSkill5.4ktodayMITA124Claude Code
mirrord-upmetalbear-co/mirrordSkill5.4ktodayMITA163Claude Code
ultralytics-platformfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A135Claude Code