kleap

A way to build, edit, host, and publish websites through Kleap from inside the coding agent. It also supports databases, user sign-in, and connecting a domain.

In plain words
What is it for?
Use it to create or change a Kleap website or web app, connect its domain, and publish it online after publication is confirmed.
Why use it?
It takes care of the hosting and publishing steps that would otherwise require separate services and manual deployment work.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/kleaphq/cli/skill
Any agent
npx skills add kleaphq/cli --skill skill
Clone the repo
git clone --depth 1 https://github.com/kleaphq/cli

Made for: Claude Code, Codex.

Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00088 $0.00801
Opus 5 $0.00044 $0.00400
Sonnet 5 $0.00018 $0.00160
Haiku 4.5 $0.00009 $0.00080

Measured yesterday against content hash c55e5be0951c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

skill/SKILL.md · 65 lines

How it starts

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

Driving Kleap

Kleap is website infrastructure for agents: you describe a site, Kleap builds it (hosting + database + auth included), connects a domain, and publishes it with a verified-live guarantee. You drive it through the Kleap MCP tools (create_app, modify_app, check_task, publish_app, etc.).

The golden rule: never claim a site is live until Kleap confirms it

A deploy being started is NOT the same as a site being online. Only state that a site is live after get_publish_status (or check_task) returns status: "published" with a production_url. If it isn't confirmed, say so plainly — never invent a working URL.

Core flow — create a site

  1. create_app({ prompt }) — give a detailed description. Returns { app_id, task_id }.
  2. Poll check_task({ task_id }) every ~10–15s until status is completed or failed. Building usually takes a couple of minutes (up to ~15 for complex sites) — check_task long-polls so you don't babysit it.
  3. If failed (transient stalls happen): call retry_task({ task_id }) with the SAME task_id — it resumes from partial state and preserves files already written. Do not start a brand-new create_app. Then poll check_task on the new task_id. Retry once or twice before giving up.
  4. publish_app({ app_id }) → then poll get_publish_status({ app_id }) until status: "published". Report the production_url only then.

Edit an existing site

modify_app({ app_id, message }) with a clear, specific instruction (e.g. "Change the headline to X and make the background charcoal"). It returns a task — poll check_task, then publish_app to push the change live. Editing is reliable; prefer it over recreating.

Domains

  • search_domains({ query }) — find available names. You cannot buy a domain — purchase is confirmed by the user in Kleap. Tell the user to complete the purchase there, then continue.
  • connect_domain({ app_id, domain }) — connect a domain the user ALREADY owns to a published app (the app must be published first). The user points the domain's A record to Kleap; TLS is automatic.
  • check_domain({ domain }) — DNS / connection status.

Read the full file on GitHub · 65 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 · 65 lines · 88 tokens per session scan A c55e5be0951c

Subscribe to this mod's changes

kleap is a skill published in the GitHub repository kleaphq/cli (1 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 801 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

9router-video

Generate videos via 9Router /v1/videos/generations using xAI Grok Imagine (grok-imagine-video). Async job flow - submit, poll requestid until done, download MP4. Use when the user wants to create, generate, or render a video, text-to-video (txt2vid), or image-to-video.

decolua/9router · 74 tokens

9router-web-search

Web and X search via 9Router /v1/search using Tavily / Exa / Brave / Serper / SearXNG / Google PSE / Linkup / SearchAPI / You.com / Perplexity / Xquik. Use when the user wants to search the web, find articles, or search public X posts.

decolua/9router · 74 tokens

9router-stt

Speech-to-text via 9Router /v1/audio/transcriptions using OpenAI Whisper / Groq / Gemini / Deepgram / AssemblyAI / NVIDIA / HuggingFace models. Use when the user wants to transcribe audio, convert speech to text, or get subtitles from audio files.

decolua/9router · 63 tokens

9router-tts

Text-to-speech via 9Router /v1/audio/speech using OpenAI / ElevenLabs / Deepgram / Edge TTS / Google TTS / Hyperbolic / Inworld voices. Use when the user wants to convert text to speech, generate audio, voiceover, narrate, or read text aloud.

decolua/9router · 70 tokens

9router-web-fetch

Fetch URL → markdown / text / HTML via 9Router /v1/web/fetch using Firecrawl / Jina Reader / Tavily Extract / Exa Contents. Use when the user wants to scrape a webpage, extract URL content, read article, or convert a URL to markdown.

decolua/9router · 63 tokens

9router

Entry point for 9Router — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions 9Router, NINEROUTERURL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability…

decolua/9router · 84 tokens