extensions
Qué hace
Esta skill explica cómo crear, editar y gestionar extensiones, que son mini apps aisladas en Alpine.js mostradas en un iframe. Incluye páginas de referencia con funciones auxiliares y ejemplos trabajados. Es para creadores que quieren un bloque personalizado dentro de una app que controlan.
Cuándo usarla
- ✓Cuando la app anfitriona permite extensiones y el usuario pide un bloque personalizado puntual.
- ✓Cuando quieres una mini app pequeña, como un widget de estado o un panel rápido de notas.
- ✓Cuando necesitas las funciones auxiliares exactas disponibles dentro de una extensión.
Link de la skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/extensions/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
“¿Puedes crear una extensión pequeña que muestre el estado de nuestra API y se actualice cada minuto?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente escribe un archivo HTML pequeño con Alpine.js y clases de Tailwind. Usa las funciones auxiliares proporcionadas para obtener o guardar datos, y el resultado se ejecuta en un marco aislado.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Extensions
Terminology note. This skill is about extensions — the framework's user-authored mini-app primitive (sandboxed Alpine.js HTML rendered in an iframe). It is NOT the same thing as LLM "tools", which are the function-calling primitives the AI agent uses (actions, MCP tools, etc.). Other skills still talk about "the agent calls actions as tools" — that's the LLM concept and stays as-is. When this doc says "tool" without qualification, it means LLM tool. When it says "extension", it means the sandboxed mini-app.
Historical naming: extensions were previously called "tools". The physical SQL table names (
tools,tool_data,tool_shares) and a few legacy in-iframe globals (toolFetch,toolData) are kept for back-compat — see the back-compat table inreferences/api.md.
References
references/api.md— the exhaustive helper/global tables (appAction,appFetch,dbQuery,dbExec,extensionFetch,extensionData), secrets, Tailwind classes, sharing, navigation, routes, and the full back-compat naming table. Read this when you need the precise signature, scope option, or route for any helper.references/examples.md— five worked HTML extensions (API status dashboard, weather widget, todo list withextensionData, quick notes). Read this when you want a complete copy-pasteable starting point.
CRITICAL: What Extensions Are (and Are Not)
An Extension is a self-contained Alpine.js HTML snippet stored in the
SQL tools table (table name kept for back-compat; the Drizzle export is
extensions). It runs inside a sandboxed iframe with its own Tailwind CSS
and Alpine.js runtime.
Extensions are NOT:
- React components
- New source code files
- Database schema changes
- Action files in
actions/ - Routes
When the Request Needs Code Instead
Route by the user's exact outcome, not by whether they called it an
"extension." Extensions render only on their own page or inside an existing
named ExtensionSlot; they cannot inject UI into arbitrary native components,
replace built-in views, or appear at a location where the host app has no slot.
If the requested placement or behavior requires changing native components, host layout/styles/routes/business logic, or adding a new slot:
- Briefly explain the extension boundary.
- Do not stop at "an extension cannot do that," and do not silently move the UI to a less useful slot.
- Continue through the normal source-code customization flow:
- In hosted/app-rendered chat, call
connect-builder. When itsbuilderEnabledresult is true, offer the Builder.io Cloud Agent handoff; when false, say the change can be made with local code editing, Agent Native Desktop, or Builder.io cloud editing. - In a local development or outer code-editing surface, follow the
self-modifying-codeskill and edit the app source directly.
- In hosted/app-rendered chat, call
Full source-code customization is a core Agent-Native capability. Extensions are an optional, sandboxed, no-deploy patch layer—not the limit of what the app can become. Most apps keep extension creation disabled; do not offer or create one unless the host app has explicitly opted in.
Use this decision rule when either path could solve the request:
- Start with native app behavior or app code. Use an extension only when the app opted in, the user explicitly wants a bespoke one-off block, and an existing extension surface fits the requested placement.
- Use app code for a core template feature, native UI/layout/routes/business logic, a new slot, or behavior that should be reused across dashboards or users.
- Treat an extension as an agent-authored patch. Make that provenance clear, preserve it while promoting, and use Promote to app code when the behavior becomes durable. Do not imply that promotion is a lossless mechanical conversion.
As a rule of thumb, default to app code. In Analytics, an explicitly requested one-off custom visualization can be a Custom Block; a new chart type that should be available across dashboards belongs in the template code.
When a user asks to "make an extension", "create an extension", or "build a ... extension" (or the older phrasings "make a tool" / "create a tool"):
- Write the Alpine.js HTML
- Call
create-extensionwith the HTML ascontent - That's it — no files to create, no schema changes, no actions
Extensions have full access to app data via helpers injected into
Preguntas frecuentes
¿Qué es una extensión?
Es una mini app pequeña que se ejecuta en un marco aislado dentro de la app, escrita en HTML y Alpine.js.
¿Las extensiones son lo mismo que las herramientas de IA?
No. La skill indica que las extensiones son mini apps creadas por el usuario, mientras que las herramientas son llamadas a funciones que usa la IA.
¿Puedo ver ejemplos?
Sí. La skill incluye cinco ejemplos trabajados, como un panel de estado y una app rápida de notas.
Detalles
Descripción original del autor
Creating, editing, and managing extensions — sandboxed Alpine.js mini-apps that run inside iframes. Use only when the host app explicitly enables extensions and the user asks for a one-off custom block or mini-app. Distinct from LLM "tools" (function calls) — see note below.
repo: BuilderIO/agent-native
Popularidad
- Estrellas en GitHub
- 7,6 mil
- Posición en el ranking
- #13157
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
design-exploration
7,6 milAyuda a tu agente a explorar varias direcciones de diseño de interfaces una al lado de otra, dejar que elijas una y después afinar el diseño elegido.
visual-edit
7,6 milAyuda a tu agente a abrir una aplicación local en marcha en un editor visual, para que reviséis y editéis juntos sus pantallas reales.
turn-into-app
7,6 milConvierte un flujo de trabajo, una hoja de cálculo o un proyecto en una aplicación visual pulida, con pantallas llenas de datos y un agente que trabaja tras los controles.
visual-plan
7,6 milConvierte un plan escrito en texto plano en un plan visual interactivo, con diagramas, mapas de archivos, fragmentos de código y preguntas abiertas.
Skills parecidas
angular-developer
280 milAyuda a tu agente con código de Angular y la estructura del proyecto. Útil para empezar proyectos, crear partes de código o mejorar el rendimiento y la accesibilidad.
frontend-a11y
280 milAyuda a tu agente a hacer que las interfaces web sean accesibles para todos. Asegura que sitios y apps funcionen bien con lectores de pantalla y navegación por teclado.
frontend-patterns
280 milHace que tu agente aplique patrones modernos en desarrollo frontend. Optimiza el rendimiento, gestiona el estado y sigue buenas prácticas en React y Next.js.