agents
Что он делает
Этот скилл помогает создать сохранённого ИИ-агента в Windmill, многоразового помощника, с которым можно общаться, которого можно запускать из формы или связать с потоком. Он нужен тем, кто настраивает ИИ-помощников внутри Windmill.
Когда использовать
- ✓Когда вам нужен отдельный помощник, с которым можно говорить или который можно использовать повторно в Windmill.
- ✓Когда агенту нужно задать собственный системный промпт, инструменты и настройки памяти.
- ✓Когда шаг потока должен ссылаться на сохранённого агента, а не заново собирать ту же логику.
Ссылка на скилл
https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/agents/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Помоги создать многоразового помощника поддержки в Windmill, который отвечает на вопросы по нашей документации к продукту.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл описывает агента как файл ресурса, в котором хранятся выбранная ИИ-модель, инструкции, память и инструменты, чтобы его можно было использовать в нескольких местах.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
Частые вопросы
Что создавать: агента или поток?
Отдельного агента, если нужен помощник, с которым вы говорите или которого используете повторно. Поток, если агент это лишь один шаг большего процесса.
Где хранится агент?
Он сохраняется как файл ресурса с типом ресурса ai_agent рядом с другими файлами рабочего пространства.
Может ли агент использовать инструменты?
Да. Агенту можно дать инструменты, например скрипты, которые он может вызывать, каждый с коротким описанием, когда его использовать.
Подробности
Оригинальное описание автора
MUST use when creating or changing an AI agent, the reusable `ai_agent` resource the Agents page lists.
repo: windmill-labs/windmill
Популярность
- Звёзды на GitHub
- 18k
- Место в рейтинге
- #10627
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
commit
18kПомогает агенту написать чистое однострочное сообщение коммита git в формате Conventional Commits, добавляя в коммит только изменённые файлы.
pr
18kПомогает агенту открыть черновой pull request на GitHub с понятным заголовком и описанием, а затем пройти круги проверки.
cli-commands
18kПомогает агенту запускать инструмент командной строки Windmill для управления скриптами, потоками, приложениями и историей запусков.
datatables
18kПомогает агенту безопасно менять таблицу данных Windmill, используя версионные миграции, шаги отката и правильные права доступа.
Похожие скиллы
add-model-provider
394kПомогает агенту подключить нового провайдера ИИ-моделей к OpenClaw безопасными командами, хранить ключи API не в открытом виде и провести живой тест.
acp-router
394kПомогает агенту передать задачу инструменту для программирования, например Claude Code или Cursor, через OpenClaw, чтобы работа шла в этом инструменте.
browser-automation
394kУчит агента пошагово управлять веб-страницами: входить в аккаунты, работать с вкладками и восстанавливаться, если страница перестала отвечать.