agents
O que ela faz
Esta skill orienta a criação de um agente de IA salvo no Windmill, um assistente reutilizável com quem você pode conversar, executado a partir de um formulário ou vinculado a um fluxo. É para quem configura assistentes de IA dentro do Windmill.
Quando usar
- ✓Quando você quer um assistente independente com quem conversar ou que possa reutilizar dentro do Windmill.
- ✓Quando você precisa dar a um agente o seu próprio prompt de sistema, ferramentas e configurações de memória.
- ✓Quando um passo de fluxo deve apontar para um agente salvo, em vez de recriar a mesma lógica.
Link da skill
https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/agents/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
“Me ajude a criar no Windmill um assistente de suporte reutilizável que responda perguntas com base na nossa documentação do produto.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill descreve o agente como um arquivo de recurso que guarda o modelo de IA escolhido, as instruções, a memória e as ferramentas, para que possa ser reutilizado em vários lugares.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Devo criar um agente ou um fluxo?
Crie um agente independente quando quiser um assistente com quem conversar ou que possa reutilizar. Crie um fluxo quando o agente for apenas uma etapa de um processo maior.
Onde o agente fica guardado?
Ele é salvo como um arquivo de recurso do tipo ai_agent, junto com os outros arquivos do workspace.
O agente pode usar ferramentas?
Sim. Você pode dar ao agente ferramentas, como scripts que ele pode chamar, cada uma com uma descrição curta de quando usar.
Detalhes
Descrição original do autor
MUST use when creating or changing an AI agent, the reusable `ai_agent` resource the Agents page lists.
repo: windmill-labs/windmill
Popularidade
- Estrelas no GitHub
- 18 mil
- Posição no ranking
- #10627
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
commit
18 milAjuda seu agente a escrever uma mensagem de commit do git limpa, de uma linha, no formato convencional, incluindo apenas os arquivos alterados.
pr
18 milAjuda seu agente a abrir um pull request em rascunho no GitHub, com título e descrição claros, e depois acompanhar as rodadas de revisão.
cli-commands
18 milAjuda seu agente a usar a ferramenta de linha de comando do Windmill, o wmill, para gerenciar scripts, fluxos, apps e o histórico de jobs.
datatables
18 milAjuda seu agente a alterar uma tabela de dados do Windmill com segurança, usando migrações versionadas, passos de desfazer e as permissões corretas.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.