automations
Что он делает
Этот скилл объясняет, как создавать автоматизации в приложении Agent-Native. Автоматизация — это набор инструкций, которые выполняет агент, и запускается она по расписанию, событию, webhook или ручным нажатием. Он нужен тем, кто хочет, чтобы рутинная работа агента шла без напоминаний каждый раз.
Когда использовать
- ✓Когда вы хотите, чтобы агент выполнял задачу по расписанию, например каждое утро.
- ✓Когда вы хотите, чтобы задача запускалась при наступлении конкретного события.
- ✓Когда вы хотите, чтобы внешний сервис запускал задачу через webhook.
Ссылка на скилл
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/automations/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Можешь настроить автоматизацию, которая присылает мне сводку новых обращений в поддержку каждое утро в будни?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент сохраняет каждую автоматизацию как файл markdown с несколькими настройками вверху о том, когда она запускается, и инструкциями ниже. Вы также можете запустить ее вручную в любой момент.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Automations
Rule
Automations are the user-facing umbrella for agent-executed tasks that run on
demand, in response to events or webhooks, or on a cron schedule. Schedule,
Event, Manual, and Webhook are the persisted trigger types. Each
automation is a markdown resource under jobs/ with YAML frontmatter describing
when and how it fires, and a body containing natural-language instructions the
agent follows.
Recurring Jobs is the legacy name and API for scheduled automations.
manage-jobs, jobs/, and /agent#jobs remain stable compatibility surfaces.
Use manage-automations for new personal or organization automations, including
per-automation model overrides and MCP allowlists. Keep manage-jobs for
existing schedule-only integrations and delivery metadata.
The Persisted Trigger Types
| Type | Fires when | Trigger-specific fields |
|---|---|---|
schedule |
Cron expression matches (same as recurring jobs) | schedule (required), timezone |
event |
A matching event is emitted on the event bus | event (required), condition (optional) |
manual |
A user explicitly invokes run-now |
None |
webhook |
A POST reaches its generated webhook endpoint | None |
Event triggers can optionally include a condition -- a natural-language
string evaluated by a model against the event payload before dispatch. If the
condition does not match, the automation is skipped. Manual automations have no
schedule, timezone, event, or condition; they never fire from the
scheduler or event bus and run only through manage-automations
action=run-now. Webhook automations run only when their generated endpoint is
called. The endpoint path contains a secret token; share it only with the
intended webhook provider.
The UI's Email received choice is not a persisted trigger type. It is a
specialized event editor that persists triggerType: event with
event: mail.message.received and represents email filters as the event
condition.
How It Works
- User asks the agent to create an automation (or uses the app's Automations
page in Settings,
/settings/automations; open it withopen-settings-pagepageautomations). - For an event trigger, the agent calls
manage-automationswithaction=list-eventsto discover the exact registered event name and payload. - Agent calls
manage-automationswithaction=defineto write ajobs/<name>.mdresource. - The scheduler acquires due schedule triggers, the event dispatcher acquires
matching event triggers, the webhook route accepts authenticated endpoint
calls, and manual triggers wait for
action=run-now. - Event acquisition enforces owner and organization scope and evaluates any condition against the event payload.
- Schedule, event, webhook, and explicit run-now acquisition converge on the shared background-automation runner, which validates identity, resolves the configured model and MCP allowlist, runs the agent loop, handles continuation and delivery, and records usage.
- Status (
lastRun,lastStatus,lastError) is written back to the resource frontmatter.
Trigger acquisition stays separate by design: the scheduler decides when a cron
expression is due, the event dispatcher matches event names, owners, and
conditions, the webhook route authenticates its endpoint token, and run-now is
the only acquisition path for manual automations. Everything after a trigger is
accepted uses the same execution lifecycle.
Markdown Format
---
enabled: true
triggerType: event
event: calendar.booking.created
condition: "attendee email ends with @example.com"
mode: agentic
domain: calendar
createdBy: user@example.com
runAs: creator
---
Send a Slack message to #sales with the booking details.
Use the web-request tool with ${keys.SLACK_WEBHOOK}.
Frontmatter Fields
| Field | Type | Purpose |
|---|---|---|
schedule |
string |
Cron expression; new scheduled automations default to once per hour (0 * * * *) when omitted |
enabled |
boolean |
Whether the automation is active |
triggerType |
"schedule" | "event" | "manual" | "webhook" |
How the automation fires |
event |
string? |
Частые вопросы
Какие типы триггеров?
Скилл перечисляет четыре типа: по расписанию, по событию, вручную и через webhook.
Что делает условие события?
Это проверка на простом языке, которая выполняется над событием до запуска автоматизации.
Чем это отличается от регулярных задач?
Регулярные задачи — старое название автоматизаций по расписанию, и старый API по-прежнему работает.
Подробности
Оригинальное описание автора
Manual, event-triggered, webhook-triggered, and schedule-triggered automations with optional event conditions. Use when creating automations, wiring events or webhooks, running one on demand, or understanding triggers.
repo: BuilderIO/agent-native
Популярность
- Звёзды на GitHub
- 7.6k
- Место в рейтинге
- #13138
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
design-exploration
7.6kПомогает агенту рассмотреть несколько направлений дизайна интерфейса рядом, дать вам выбрать одно, а затем доработать выбранное.
visual-edit
7.6kПомогает агенту открыть запущенное локальное приложение в визуальном редакторе, чтобы вы вместе просмотрели и правили его настоящие экраны.
turn-into-app
7.6kПревращает процесс, таблицу или проект в аккуратное визуальное приложение с заполненными экранами и агентом, работающим за элементами управления.
visual-plan
7.6kПревращает обычный текстовый план в интерактивный визуальный план с диаграммами, картами файлов, фрагментами кода и открытыми вопросами.
Похожие скиллы
knowledge-automation
394kПомогает агенту настроить задачу по расписанию, которая добавляет новое содержимое в хранилище Knowledge, и проверить, что задача работает.
knowledge-source-ingest
394kПомогает агенту держать хранилище Knowledge в актуальном состоянии, добавляя новое из чатов, лент или почтовых ящиков без повторного добавления уже сохраненного.
benchmark
280kПомогает агенту измерять скорость и производительность кода. Полезен, чтобы убедиться, что всё быстро, и найти причины тормозов.