agents
Qué hace
Esta skill guía la creación de un agente de IA guardado en Windmill, un asistente reutilizable con el que puedes chatear, ejecutar desde un formulario o enlazar desde un flujo. Está pensada para personas que configuran asistentes de IA dentro de Windmill.
Cuándo usarla
- ✓Cuando quieres un asistente independiente con el que hablar o que puedas reutilizar en Windmill.
- ✓Cuando necesitas dar a un agente su propia instrucción de sistema, herramientas y ajustes de memoria.
- ✓Cuando un paso de un flujo debe enlazar a un agente guardado en lugar de reconstruir la misma lógica.
Link de la skill
https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/agents/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
“Ayúdame a crear en Windmill un asistente de soporte reutilizable que responda preguntas a partir de nuestra documentación de producto.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill describe el agente como un archivo de recurso que contiene el modelo de IA elegido, sus instrucciones, su memoria y sus herramientas, para que pueda reutilizarse en varios lugares.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Windmill AI Agents
An agent, as the Agents page lists it, is a saved LLM with its own system prompt, tools and
memory, stored as a resource of type ai_agent. It is built once and used in several places: it is
run from its own page (a chat, or a run form), a flow's AI agent step links to it by path, and it
can be shared in Slack channels from its page. Build a standalone agent when the user wants an
assistant they talk to or reuse. Build a flow when the agent is one step of a larger process.
File Format
An agent is a resource file like any other, {path}.resource.yaml (or .resource.json), with
resource_type: ai_agent.
Structure
{
"resource_type": "ai_agent",
"description": "Answers support questions from the product docs",
"value": {
"provider": { "kind": "openai", "resource": "$res:f/ai_providers/openai", "model": "gpt-4o" },
"system_prompt": "You are the support assistant for Acme. Answer from the docs; say so when they don't cover a question.",
"memory": { "kind": "compaction" },
"output_type": "text",
"tools": [
{
"id": "search_docs",
"summary": "search_documentation",
"description": "Search the product documentation. Use it whenever the user asks how a feature works.",
"value": {
"tool_type": "flowmodule",
"type": "script",
"path": "f/support/search_docs",
"input_transforms": {
"query": { "type": "ai" },
"index": { "type": "static", "value": "product_docs" }
}
}
}
]
}
}
The agent's own settings are plain values, not the input_transforms an agent step in a flow uses:
each is fixed when the agent is saved. Only a tool's arguments keep input_transforms (see Tools). $res: and $var: references inside it are resolved at run time.
provider(required):{ "kind", "resource": "$res:<path>", "model" }, plus an optionalreasoning_effort.resourcenames the workspace's AI provider resource of that kindsystem_prompt: how the agent behaves. Write it for the agent's job: who it serves, what it may do with its tools, and what it should refuse or hand backmemory: what lets the agent see earlier turns.{ "kind": "compaction" }keeps the whole conversation, summarizing its older part as it nears the model's context window; it is what a new agent starts with on its page.{ "kind": "off" }makes every run start from nothing, right for an agent that handles one request per runoutput_type:text(default) orimage. Image output ignores tools and needs S3 storage on the workspaceoutput_schema: a JSON schema the answer must follow, for an agent whose output a program readsmax_iterations: how many model and tool rounds a run may take, 1 to 1000 (default 10)streaming(default on),temperature,max_completion_tokens: as their names sayrun_on_behalf_of: runs from the agent's page take the identity the agent was deployed with rather than the caller's, so people can use it without access to what its tools touch.slack_anyonelets anyone in the Slack channels it is shared in ask it, and is kept only withrun_on_behalf_of. Set either only when the user asks: both widen who acts with the deployer's rightson_behalf_ofis the identity itself. Deploying sets it, so never write it
Tools
tools takes the same entries as a flow's AI agent step. value.tool_type is flowmodule for a
script or inline script the agent calls (or a nested agent or AI decision), mcp for an MCP server
({ "tool_type": "mcp", "resource_path": "$res:<path>", "include_tools": [], "exclude_tools": [] }),
or websearch for web search ({ "tool_type": "websearch" }, summary Web Search).
- Write logic made for this agent as an inline
rawscripttool, as a flow writes its steps. Point ascripttool at a deployed script (path) only when one already does the job: a run calls the deployed version, so a script that exists only as a draft fails the run. An inline tool'svalueis a flow's rawscript step:{ "tool_type": "flowmodule", "type": "rawscript", "language": "bun", "content": "export async function main(query: string) { ... }", "input_transforms": { "query": { "type": "ai" } } } - A flow cannot be a tool: a run offered one fails with
Unsupported tool. Wrap it in a script that runs the flow - A flowmodule tool's
summaryis the name the agent calls it by: letters, num
Preguntas frecuentes
¿Debo crear un agente o un flujo?
Crea un agente independiente cuando quieres un asistente con el que hablar o que puedas reutilizar. Crea un flujo cuando el agente es solo un paso de un proceso más grande.
¿Dónde se guarda el agente?
Se guarda como un archivo de recurso con el tipo de recurso ai_agent, junto a tus otros archivos del espacio de trabajo.
¿El agente puede usar herramientas?
Sí. Puedes dar al agente herramientas, como scripts que puede llamar, cada una con una breve descripción de cuándo usarla.
Detalles
Descripción original del autor
MUST use when creating or changing an AI agent, the reusable `ai_agent` resource the Agents page lists.
repo: windmill-labs/windmill
Popularidad
- Estrellas en GitHub
- 18 mil
- Posición en el ranking
- #10627
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
commit
18 milAyuda a tu agente a escribir un mensaje de commit de git limpio, de una sola línea y en formato convencional, añadiendo solo los archivos que cambiaron.
pr
18 milAyuda a tu agente a abrir una solicitud de cambios (pull request) en borrador en GitHub, con un título y una descripción claros, y después seguir las rondas de revisión.
cli-commands
18 milAyuda a tu agente a usar la herramienta de línea de comandos de Windmill para gestionar scripts, flujos, aplicaciones e historial de ejecuciones.
datatables
18 milAyuda a tu agente a modificar una tabla de datos de Windmill de forma segura, usando migraciones versionadas, pasos para deshacer cambios y los permisos correctos.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.