Logo: Web Publishing And Deployments

Web Publishing And Deployments

OrganisatiounBeléift
kortix-ai
web-publishing-and-deployments

Publish a website or web app from the sandbox to a public URL, and deploy to cloud providers — get a live link to share, ship a static site or SPA, put a built site online, or deploy a framework app / container. Use when the user says 'publish this', 'deploy it', 'put it online', 'give me a live URL', 'host this', 'share a preview link', or wants to make a site/app they (or you) just built reachable on the web. Covers the zero-account instant path (Cloudflare) and permanent hosting (Vercel, incl. any Dockerfile). Also owns the publish GUARDRAILS: never publish unprompted, how to honestly take a site down, the runtime-dependency and data-persistence checks, and the mandatory pre-publish security review. Prefers Kortix Apps (a stable Kortix URL behind Kortix sign-in) when the project has Apps on.

Iwwersiicht

Editeurkortix-ai
RepositoryCompanyOS
Skill-Nummweb-publishing-and-deployments
Stären
20.8K
Forks
3.5K
Matgeliwwert Dateien
3
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    kortix-ai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Web Publishing And Deployments an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/general-knowledge-worker/skills/web-publishing-and-deployments
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kortix-ai/CompanyOS.git /tmp/CompanyOS
mkdir -p .claude/skills
cp -r /tmp/CompanyOS/packages/starter/templates/general-knowledge-worker/skills/web-publishing-and-deployments .claude/skills/web-publishing-and-deployments
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Web Publishing And Deployments an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Web Publishing And Deployments automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Web Publishing And Deployments net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Web Publishing & Deployments

Get a site or app that exists in the sandbox onto a public URL — and decide whether it should go up at all. When to publish is the first half of this skill; how is the second.

Never publish unprompted

Default posture: everything stays a local preview until the user explicitly asks to go live. Previewing is free and re-runnable; publishing is a deliberate, opt-in step that puts code on a URL other people can reach.

Publish only when the user asks in plain terms — "publish this", "make it live", "give me a real/permanent/shareable link", "put this online", "I want to send this to people".

  • Never publish unprompted. If the site looks finished and you suspect they'll want it live, offer — "Want me to publish this to a shareable URL?" — and wait for the yes.
  • Don't auto-republish after edits. Re-running a local preview is fine any time. Pushing changes to a live URL is not — offer, then wait.
  • Don't publish from memory. If you believe a site went live earlier but the current state doesn't confirm it's still up, assume the user took it down on purpose. Re-publish only on a fresh, explicit request.
  • Subagents never publish. Approval only routes back to the main thread. Finish the build, verify the preview, hand the project path back.

Taking a published site down

You cannot quietly revoke a live URL, and you must never fake a takedown by overwriting the site with a blank page, a placeholder, or a redirect — that leaves confusing, half-broken state and is not a real unpublish. Point the user at the real control (their deploy platform's dashboard, or stopping the shared sandbox preview), leave the project files untouched, and say plainly that a shared preview URL is public-by-link if they asked for privacy. For a Kortix App, the real controls are kortix apps access <slug> --mode private and kortix apps delete <slug> --yes; run them only when the user asks.

Before you publish

  1. Verify the live build, not just the source. Start the server, exercise the real URL, and confirm the built output works. Don't grep the source and assume.

  2. Run the pre-publish security review — mandatory, every publish. See "Security review" below.

  3. Flag runtime-only dependencies that won't survive publishing. API keys set in the dev environment aren't automatically present in a standalone deployment, and anything reaching back into the Kortix agent runtime or its connectors has no bridge once deployed. Scan first:

    bash
    grep -rn -E "(ANTHROPIC_API_KEY|OPENAI_API_KEY|ELEVENLABS_API_KEY|generate_image|generate_video|generate_audio)" \
      --include='*.py' --include='*.ts' --include='*.tsx' --include='*.js' --include='*.jsx' \
      --exclude-dir=node_modules --exclude-dir=dist . 2>/dev/null

    For each hit: refactor it out (bake the output as a static asset at build time — cleanest), provision the credential on the deploy host, or tell the user the feature will be degraded and let them choose.

  4. Disclose data-persistence limits. If the app stores user-submitted data in SQLite, an in-memory store, or a local file, that data is not durable on an ephemeral host. Say so plainly before publishing, once per publish, in non-technical terms. For real multi-user persistence use Supabase, with the URL and anon key provisioned as production env vars — never hardcoded into the shipped bundle.

  5. Use secure cookies behind the preview proxy. Sites served through the sandbox preview proxy sit behind Kortix's domain — set Secure, explicitly-named, properly-scoped session cookies rather than relying on framework defaults.

Security review

Before publishing, run a security-review subagent with the prompt in references/security-review-prompt.md. The checks are mostly grep/bash, so a fast, cheap model is fine. Pass it {{project_path}} (absolute path) and {{context}} (one or two lines on what the site is and whether it handles user data — "public marketing page, no user data" vs "small-team task tracker backed by Supabase") so it can calibrate severity.

If you are already running as a subagent, do not try to spawn one — the runtime rejects nested spawns with "Subagent depth limit reached". Run the checks in references/security-review-prompt.md yourself, inline, and apply the same BLOCK/WARN rules below. The review is never optional; only the delegation is.

  • BLOCK (exposed secrets, leaked credentials, critical exploitable vulnerabilities): fix what you can automatically — pull hardcoded keys into env vars, add .env to .gitignore. If a fix needs the user, surface it and stop. Never publish over an unaddressed BLOCK.
  • WARN: present it and let the user decide.

Once the user has said yes and the checks are clean, there are two worlds, and picking the right one is 90% of the job:

  • Instant & throwaway — a live URL in seconds, no account, no login, for a preview/demo the user can click and share. It self-destructs after ~1 hour unless claimed. This is the default when someone just wants to see it live.
  • Permanent — a real deployment on the user's own hosting account (custom domain, stays up, redeploys). This needs their account, so it involves them.

Always build the site first (npm run build, etc.) so you're publishing the final output directory (dist/, out/, build/, .next/, …), not source.

Which one?

Kortix Apps first. Apps are available in every project. Deploy with the kortix-apps system skill (kortix system-skills get kortix-apps). It gives a stable Kortix URL that stays up, private to the user by default, with Kortix sign-in for the project or selected people, and no user account on another host. A built static site or SPA deploys in seconds as a static App with no compute cost. Use another host only when the user names Cloudflare, Vercel, or another host, or when the repo already deploys to one (next paragraph).

Then check whether the project already answers this. If the repo targets a host — a Vercel or Cloudflare config, a Dockerfile, a CI deploy step — use that exact workflow. Don't invent a competing one. The table below is for projects with no deploy target of their own.

The user wants…UseAccount needed?
A live URL right now to preview/share a static site or SPACloudflare temporary deploy (wrangler deploy --temporary) — see belowNo
To drag-and-drop it themselves in a browserCloudflare Drop (cloudflare.com/drop) or Vercel Drop (vercel.com/drop) — references/cloudflare.md, references/vercel.mdCF: no · Vercel: yes
A framework app (Next.js, etc.) built & hosted properlyVercel (vercel deploy, or Vercel Drop which auto-builds) — references/vercel.mdYes
It to stay up on their own domainVercel (or claim a Cloudflare temp deploy) — references/vercel.mdYes
A backend / container / any language onlineVercel Dockerfile (Dockerfile.vercel) — references/vercel.mdYes

When in doubt for "just show me it live," reach for the Cloudflare temporary deploy first — it's the only path that needs nothing from the user.

Fast path — instant live URL, no account (Cloudflare)

wrangler deploy --temporary provisions a throwaway Cloudflare account, deploys, and prints a live URL plus a claim URL — all with zero credentials. It is the go-to for handing someone a working link in one turn.

bash
# Build first, then point --assets at the output directory.
# --temporary ONLY works when wrangler is unauthenticated, so clear any creds:
npx wrangler@latest logout 2>/dev/null || true
unset CLOUDFLARE_API_TOKEN CLOUDFLARE_API_KEY

npx wrangler@latest deploy --assets ./dist --temporary --name my-site

Parse the output for the two URLs and hand both to the user:

  • the live URL (*.workers.dev) — works immediately, share it,
  • the claim URL — valid ~60 min; the user opens it to keep the site by signing into (or creating) a Cloudflare account.

Caveats to state plainly when you hand it over:

  • It's temporary. The deployment expires after ~60 min of inactivity; re-running the deploy resets the timer, and unclaimed accounts auto-delete. To make it permanent, the user claims it (or use Vercel instead).
  • Requires wrangler ≥ 4.102.0, Node 18+, and a genuinely unauthenticated wrangler (no OAuth login, no CLOUDFLARE_* token env).
  • Static assets only on this path (HTML/CSS/JS/images/fonts). Dynamic apps → a Worker (still works with --temporary) or Vercel. Full detail + the browser drag-drop flow: references/cloudflare.md.

Permanent / framework / container (Vercel)

For a site that stays up on the user's account, a framework project that needs a real build, or any backend/container, use Vercel — vercel deploy from the CLI (deployment limits were removed, so it's agent/CI-friendly), the browser Vercel Drop (auto-detects and builds frameworks), or Dockerfile.vercel to run any Dockerfile as an autoscaling function. All of this needs the user's Vercel account/token. Full detail: references/vercel.md.

Handing off — always do this

  1. Give the user the live URL first thing (that's the payoff).
  2. If it's a temporary deploy, say so in one line + give the claim URL and the ~60-min window. Don't let them assume it's permanent.
  3. Offer the permanent path as the natural next step ("want this to stay up on your own domain? I'll set it up on Vercel / you can claim it on Cloudflare").
  4. Never publish secrets or private data to a temporary, unauthenticated public URL — anything you deploy this way is world-readable. Treat a public URL as public.

Other providers

This skill covers the two fast paths (Cloudflare + Vercel) inline. For a different provider (Netlify, Render, Fly.io, AWS, Deno Deploy, GitHub Pages, Railway, …), use that provider's official CLI and its current documentation. The guardrails above apply to every provider.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Web Publishing And Deployments?

Publish a website or web app from the sandbox to a public URL, and deploy to cloud providers — get a live link to share, ship a static site or SPA, put a built site online, or deploy a framework app / container. Use when the user says 'publish this', 'deploy it', 'put it online', 'give me a live URL', 'host this', 'share a preview link', or wants to make a site/app they (or you) just built reachable on the web. Covers the zero-account instant path (Cloudflare) and permanent hosting (Vercel, incl. any Dockerfile). Also owns the publish GUARDRAILS: never publish unprompted, how to honestly ta...

Firwat Web Publishing And Deployments op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Web Publishing And Deployments besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Web Publishing And Deployments an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/general-knowledge-worker/skills/web-publishing-and-deployments an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Web Publishing And Deployments benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Web Publishing And Deployments benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Web Publishing And Deployments domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Web Publishing And Deployments gratis?

kortix-ai huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇