publish
Qué hace
Permite que el asistente publique en línea una app web terminada, una página de estado o un panel para las personas de tu organización. Está pensada para equipos que quieren una herramienta interna compartida con un enlace estable.
Cuándo usarla
- ✓Cuando quieres que un panel o una app web interna siga funcionando después de que termine el chat.
- ✓Cuando necesitas una página de estado compartida que los compañeros puedan abrir en el navegador.
- ✓Cuando quieres restaurar una versión anterior de una app si algo sale mal.
Link de la skill
https://github.com/yc-software/qm/blob/main/skills-seed/publish/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Publica este panel de ventas como página interna a la que mi equipo pueda acceder con un enlace estable.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El asistente construye y prueba la app, y luego la despliega en un entorno de ejecución alojado aparte. Cada versión publicada se guarda, así que se puede restaurar una anterior. Solo pueden abrirla tu ámbito y las personas con las que la compartes.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Puede ver la app cualquiera en internet?
No. El enlace es interno, así que solo pueden abrirlo tu ámbito y las personas con las que lo compartes.
¿Qué significa volver a una versión anterior?
Cada versión publicada se conserva, así que el asistente puede devolver la app a una versión anterior si hace falta.
¿La app necesita un puerto especial?
Sí. La app debe escuchar en el ajuste PORT, que proporciona el entorno de ejecución.
Detalles
Descripción original del 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
Popularidad
- Estrellas en GitHub
- 16 mil
- Posición en el ranking
- #10902
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
deploy-qm
16 milDespliega el paquete QM en Fly.io, AWS o Render y configura el primer administrador, los conectores y, si quieres, Slack, siguiendo una lista de despliegue completa.
onboarding
16 milGuía a un usuario nuevo para conectar sus cuentas, explicar cómo trabaja, elegir una voz y configurar las primeras ayudas, en una conversación corta.
admin
16 milPermite que un administrador verificado revise o cambie ajustes de toda la organización desde el chat, confirmando cada cambio antes de hacerlo.
browse
16 milManeja un navegador real para actuar en webs, como iniciar sesión o rellenar formularios, con accesos guardados por persona. Sirve para acciones, no para leer.
Skills parecidas
openclaw-update
394 milAyuda a tu agente a actualizar una Gateway de OpenClaw que ya existe, eligiendo el método de actualización que encaja con cómo se instaló y manteniendo tu sesión activa.
diagnose-gateway
394 milAyuda a tu agente a averiguar por qué falla tu Gateway de OpenClaw, revisando ajustes, canales y puertos sin cambiar nada.
crabbox-apps
394 milAyuda a tu agente a abrir y ejecutar una app en una máquina temporal en la nube y mostrar su vista en el panel lateral de tu chat.