deploy-to-layero

deploy-to-layero is a skill for Claude Code, Codex from LayeroInfra/layero-claude. It costs 58 tokens per session (1,202 once invoked), scanned A, original, MIT.

A deployment guide for publishing static websites and single-page applications to Layero, a hosting platform with build servers and a content-delivery network.

In plain words
What is it for?
Use it when deploying a local static site or SPA to Layero, including projects accessed through SSH, Docker, or sandboxes.
Why use it?
It provides a defined terminal workflow and explains how to handle setup, authentication, uploads, builds, and deployment errors.

Skill for Claude CodeCodex

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

Good fit Use it when deploying a local static site or SPA to Layero, including projects accessed through SSH, Docker, or sandboxes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/layeroinfra/layero-claude/deploy-to-layero
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 LayeroInfra/layero-claude --skill deploy-to-layero
Clone the repo
git clone --depth 1 https://github.com/LayeroInfra/layero-claude

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 deploy-to-layero

README.md
[![agentmods](https://agentmods.dev/badge/skills/layeroinfra/layero-claude/deploy-to-layero/github.svg)](https://agentmods.dev/skills/layeroinfra/layero-claude/deploy-to-layero)
Your own site
<a href="https://agentmods.dev/skills/layeroinfra/layero-claude/deploy-to-layero"><img src="https://agentmods.dev/badge/skills/layeroinfra/layero-claude/deploy-to-layero/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 deploy-to-layero

Your own site · 80×15
<a href="https://agentmods.dev/skills/layeroinfra/layero-claude/deploy-to-layero"><img src="https://agentmods.dev/badge/skills/layeroinfra/layero-claude/deploy-to-layero.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,202 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.00058 $0.01202
Opus 5.5 $0.00023 $0.00481
Sonnet 5.5 $0.00012 $0.00240
Haiku 4.5 $0.00006 $0.00120

Measured 1mo ago against content hash 68a14c5a6b7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deploy-to-layero 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 1mo 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.

plugins/layero-cursor/skills/deploy-to-layero/SKILL.md · 106 lines

How it starts

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

Deploy to Layero

Layero is a deployment platform for static sites and SPAs with build servers and CDN located inside Russia. It ships a local directory — a git repository is not required.

Deploy

Run from the project root:

npx layero@latest deploy --json

--json switches the CLI to JSON-lines output — one JSON object per line on stdout. Parse the stream rather than scraping human-readable text.

If the directory has no .layero/project.json, run npx layero init first. It detects the framework, writes the config, and appends a rules block to AGENTS.md so later sessions follow the same procedure.

Events to handle

auth_required, authorized, project_created, project_linked, detected,
packing, uploading, uploaded, setup_applied, deploy_started, stage,
build_log, ready, error
  • auth_required carries url and user_code. Render the URL as a clickable link. The user signs in once; the CLI's poll loop picks up the token within about two seconds and caches it in ~/.layero/config.json. There is no localhost callback, so the browser may be on a different machine than the terminal — this works from SSH, Docker and sandboxes.
  • detected is informational: framework, build command, output directory. Do not override detection unless it is demonstrably wrong.
  • build_log is raw build output. Forward it only when it contains errors.
  • ready carries url — the live address. Show it as-is. Never construct the hostname from a template: addresses live in a dedicated zone, organizations migrate between zones, and a guessed host will be wrong. preview_url and edge_ready are legacy fields; do not gate on them.
  • error carries a stable code and a next_action hint. Follow next_action. The codes the CLI actually emits are auth_required, auth_expired, auth_timeout, project_unknown, project_not_found, cli_deploys_disabled, invalid_type, prebuilt_no_dir, prebuilt_no_index, deploy_not_started, deploy_failed and internal. The failure code is assembled as deploy_<status> and the only failing statuses are failed and cancelled, so deploy_error and deploy_timed_out never occur.

Read the full file on GitHub · 106 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. 1mo ago First seen · 106 lines · 58 tokens per session scan A 68a14c5a6b7d

Subscribe to this mod's changes

deploy-to-layero is a skill published in the GitHub repository LayeroInfra/layero-claude (0 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 1,202 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-31.

Related

Other skills, from other repositories

pinme-r2

Use when a PinMe Cloudflare Worker needs R2 object storage, including secure file or image upload, streaming download, metadata lookup, deletion, listing, Range requests, or R2+D1 coordination. Guides AI to use PinMe's automatically injected env.R2 binding without R2 credentials or manual Wrangler configuration.

glitternetwork/pinme · 68 tokens

pinme

Use this skill when the user mentions "pinme", or needs to upload files, store to IPFS, create/publish/deploy websites or full-stack services (including frontend pages, backend APIs, database storage, email sending, etc.), or any feature requiring backend database/server support.

glitternetwork/pinme · 60 tokens

piggyback-hosting

Hosting-Muster, um eine lokal gebaute Anwendung (eigene Datenbank, eigener API-Key, In-Process-State) sicher hostbar zu machen, ohne Nutzerverwaltung zu bauen. Kernzug — der Host speichert nichts, der Browser des Besuchers speichert alles — sodass Pro-Besucher-Accounts, Zugriffsprüfungen und Löschfristen…

ellmos-ai/skills · 229 tokens

shippage

Publish HTML or Markdown to a public URL instantly. Zero config, auto-registers on first use. Use when the user wants to share, preview, host, or deploy generated HTML, Markdown, JSX, or web content as a live webpage accessible from any device including mobile phones and WeChat. Perfect for sharing AI-generated pages…

jieshu666/ShipPage-Skill · 94 tokens

deploy

Deploy an app or static site to a live URL with openpouch (agent-native hosting — no account, no CAPTCHA, one command). Use when the user asks to deploy, publish, ship, host, or wants a live/preview/shareable URL for what you built.

openpouch/openpouch · 58 tokens

deploy-on-vercel

Deploy applications and websites to Vercel instantly without authentication. Use when the user wants to "deploy my app", "push this live", or "create a preview link". Returns a live preview URL and a claimable link.

XSpoonAi/spoon-awesome-skill · 51 tokens