headless-step-check-state

headless-step-check-state is a skill for Claude Code, Codex from hostinger/api-mcp-server. It costs 102 tokens per session (3,021 once invoked), scanned A, original, MIT.

A read-only status check for a Hostinger site build. It compares saved files in the user's home directory with Hostinger's reported state to find whether a build is new, active, complete, or ready to resume.

In plain words
What is it for?
Use it after connecting to find the current stage of a domain's build, resume an interrupted run, or confirm which step should happen next.
Why use it?
It prevents the agent from starting duplicate work or making changes before the user agrees on how to continue. It does not create, deploy, or delete anything.

Skill for Claude CodeCodex

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

Good fit Use it after connecting to find the current stage of a domain's build, resume an interrupted run, or confirm which step should happen next.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hostinger/api-mcp-server/01-check-state
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 01-check-state
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-check-state

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hostinger/api-mcp-server/01-check-state"><img src="https://agentmods.dev/badge/skills/hostinger/api-mcp-server/01-check-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,021 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.
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.00102 $0.03021
Opus 5.5 $0.00041 $0.01208
Sonnet 5.5 $0.00020 $0.00604
Haiku 4.5 $0.00010 $0.00302

Measured yesterday against content hash 4ce8632b184b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

headless-step-check-state 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 yesterday.

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/headless/steps/01-check-state/SKILL.md · 210 lines

How it starts

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

headless-step-check-state

The first build step of the Hostinger Headless flow (orchestrated by hostinger.com/headless/skill.md), run right after connect. Connect has already connected the Hostinger connector and confirmed the account can build. Your job here is to figure out where this domain stands and agree the route with the user before any new work begins. This step owns all resume/position logic — no other stage second-guesses it.

Nothing in this step creates, provisions, deploys, or deletes anything. It reads and guides.


Where state lives

Everything for a domain lives under the global site workspace ~/.hostinger/<domain>/ — one directory per domain, under the user's home (~ = $HOME), not the current working directory. The directory name is the domain, so state.json inside does not store it. Because it's global, ~/.hostinger/ holds every site the user has built and each one is discoverable and resumable from any directory — no collisions.

state.json shape (stage is the next stage to run; provision is the background task's status, present only once provision has fired):

{ "tool": "claude-code", "stage": "content_model",
  "provision": { "status": "in_progress", "domain": "<domain>", "started_at": "…" },
  "updated_at": "…" }

provision.status is in_progress or completed — but it is a hint: always re-verify it against hosting_websites_list-setups (Step 1) before trusting it to gate an instance-barrier step.


Step 0 — Start the run log

Before anything else, start a run and the stage (see Run log and build report in the top-level SKILL.md):

node <skill>/run-log.mjs <domain> run-start --tool <tool> --model <model> --skill <skill version>
node <skill>/run-log.mjs <domain> stage-start check_state

If an earlier run on this domain never wrote its report, run-start closes it as abandoned first.

Then send any build reports that haven't reached Hostinger yet (that abandoned run, or a send that failed last time):

Read the full file on GitHub · 210 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. yesterday First seen · 210 lines · 102 tokens per session scan A 4ce8632b184b

Subscribe to this mod's changes

headless-step-check-state is a skill published in the GitHub repository hostinger/api-mcp-server (163 stars, last pushed yesterday), licensed MIT. It adds 102 tokens to every session and 3,021 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-10-20.