publish
O que ela faz
Permite que o assistente publique um app web pronto, uma página de status ou um painel online para as pessoas da sua organização. É para equipes que querem uma ferramenta interna compartilhada com um link estável.
Quando usar
- ✓Quando você quer um painel ou app web interno que continue rodando depois que o chat termina.
- ✓Quando você precisa de uma página de status compartilhada que os colegas possam abrir no navegador.
- ✓Quando você quer restaurar uma versão anterior de um app se algo der errado.
Link da skill
https://github.com/yc-software/qm/blob/main/skills-seed/publish/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Publique este painel de vendas como uma página interna que minha equipe possa abrir por um link estável.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O assistente constrói e testa o app e depois o envia para um ambiente de execução hospedado separado. Cada lançamento é guardado como uma versão, então uma versão anterior pode ser restaurada. Somente o seu escopo e as pessoas com quem você compartilha podem abri-lo.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Publish (internal apps & dashboards)
Use this skill when the user wants something that outlives the turn and is reachable in a browser — a small web app, an internal API, a status page, a dashboard you generated from a query. Publishing ships your files from the selected sandbox to a separate, long-lived runtime with a stable link.
Publish with the apps tool, action publish. Build the app in the workspace with
files actions write / read; install dependencies and test with execute. Keep the
same explicit sandbox_id throughout writing, building, testing, previewing, and
publishing. Use sandbox only to manage computers, not to run commands.
The app must listen on the PORT env var (the runtime sets it).
Match the house style (the default)
Anything browsable you publish should look designed, not defaulted. Before you build the UI, load the design skills and apply your organization's house style unless the user asked for a different look:
- The deployment's house-style skill — if the Skills index lists a
*-designskill, it carries the org's look as ready-to-paste CSS and design tokens. Start there for the look. taste-skill— the design process: reading the brief, layout, hierarchy, verifying the result, avoiding generic AI-design slop.popular-web-designs— when the user wants a specific visual reference (Stripe, Linear, Vercel…).
This is about the page a person sees — skip it for an internal-only API or a script with no UI.
Publishing
First publish, and every later update — same call, same name, a new immutable version:
apps({ action: "publish", dir: "dist", entrypoint: "node server.js", name: "status-board", sandbox_id: "<selected sandbox ID>" })
Roll back to an earlier version (an instant pointer flip):
apps({ action: "publish", name: "status-board", rollbackTo: 3 })
Give an auto-named deployment a friendly link:
apps({ action: "publish", renameFrom: "s-1176-p-5050", name: "status-board" })
apps action publish returns { id, name, version, url, dataDir? } — give the user the full absolute url, whose path is /d/<name>/.
App bar and editing
On a configured app subdomain, signed-in people who can manage the app automatically see a slim top bar. Chat opens a resizable editing conversation beside the app. Normal app links and refreshes keep editing available for the signed-in session; viewers with read-only access see the app alone.
The bar uses a consistent neutral appearance, independent of the app's theme. Its name follows the app document title. The drawer opens directly into an empty composer; the app identity is supplied as conversation context, not pasted into the draft. The conversation survives app reloads after a publish.
Durable data — where app state must live
The app's disk is reset from source on every relaunch, with one exception: when the
runtime supports durable app data it sets $DATA_DIR (and the publish result reports
dataDir). Everything the app writes under $DATA_DIR survives restarts, redeploys, and
platform recycles.
- Any state the app keeps — write it under
$DATA_DIR. Never beside the code, never in/tmp, never in a JSON file in the app dir: all of that silently vanishes on the next relaunch. - Database: SQLite at exactly
$DATA_DIR/app.db. That specific path gets the strongest durability the runtime offers (continuous replication where enabled — ~seconds of loss window — periodic snapshots otherwise). Other files under$DATA_DIRare snapshotted periodically. - Guard the no-persistence case: if
$DATA_DIRis unset, the runtime has no durable app storage — don't build an app that quietly accumulates state on disk; say so and bake data in or fetch it live instead. - Updating an existing stateful app? If it writes runtime state (a db, uploads,
counters) anywhere else, move that state under
$DATA_DIRas part of the update — do this on your own initiative; the user should never have to ask. Data deliberately baked into the repo (seed/reference files) stays where it is.
Check your work before you call it done
A published app is a new immutable version the moment the runtime accepts it — that is not the same as the app working. So for anything browsable, sanity-check it locally before you publish:
- Run it locally. Start the server in the background on a port — e.g.
PORT=8080 node server.jsviaexecutewit
Perguntas frequentes
Qualquer pessoa na internet pode ver o app?
Não. O link é interno, então somente o seu escopo e as pessoas com quem você o compartilha podem abri-lo.
O que significa reverter aqui?
Cada versão publicada é guardada, então o assistente pode devolver o app a uma versão anterior, se necessário.
O app precisa de uma porta especial?
Sim. O app deve escutar na configuração PORT, que o ambiente de execução fornece.
Detalhes
Descrição original do autor
Publish a long-lived internal web app, site, or dashboard from the agent computer. Scope-bound (only the owner's scope, plus whoever you share it with, can reach it), immutable versions with rollback, a stable friendly link. No public URL.
repo: yc-software/qm
Popularidade
- Estrelas no GitHub
- 16 mil
- Posição no ranking
- #10902
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
deploy-qm
16 milImplanta o pacote QM no Fly.io, na AWS ou no Render e depois configura um administrador, conectores e, opcionalmente, o Slack, seguindo uma lista completa de verificação de implantação.
onboarding
16 milGuia um novo usuário por conectar contas, compartilhar como ele trabalha, escolher uma voz e configurar as primeiras ajudas, em uma conversa curta.
admin
16 milPermite que um administrador verificado da organização consulte ou altere configurações de toda a organização e outros escopos pelo chat, confirmando cada mudança antes de fazê-la.
browse
16 milControla um navegador web real e discreto a partir do seu shell para agir em sites, como fazer login ou preencher formulários, com os logins mantidos por pessoa. Feito para ações, não para leitura.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.