openhands-automation
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when the user asks to "create an automation", "schedule a task", "set up a cron job", "webhook integration", "event-triggered…
от OpenHands★ 190 звёзд на GitHubОб этом скилле
OpenHands Automations
Create and manage automations that run inside an OpenHands agent server - triggered by cron schedules or webhook events (GitHub, Jira Data Center, Bitbucket Data Center, Azure DevOps, custom services).
Windows PowerShell equivalents for the automation API curl examples and shell-variable conventions are in references/windows.md.
Agent Canvas Setup Form
When the automation_form_update tool is available, the conversation is an Agent Canvas automation setup session: the setup form is open next to the chat, and the user reviews the automation there before saving, testing or creating it.
- Propose the automation by filling the form with
automation_form_update. Then tell the user which fields you filled and what they should check. - Do not create, update, enable, dispatch or delete automations, drafts or custom webhooks through the automation API in this conversation, with
curl, a script or any other tool, even when the user asks you to deploy. The form's buttons (Save draft, Test, Create Automation) do that after the user's review. - Take the event source and event key from the tool's description, which lists the sources this deployment delivers. Never invent a source name.
The rest of this skill (API calls, deployment steps, custom webhook registration) applies when that tool is not available.
Automation Creation Process
The agent must follow these steps when creating an automation:
- If the
automation_form_updatetool is available, follow Agent Canvas Setup Form instead of these steps - Quickly check that you can access the correct automations backend using the auth mechanism below
- Quickly check that you can access any necessary integrations (e.g. GitHub, Slack); if access fails, inform the user and stop
- Ask the user for any necessary information, e.g. if you need the name of a Slack channel or GitHub repo to proceed
- Prefer creating a plugin-spec automation when the task can be packaged as an executable plugin. Before creating it, ask which local git repo or remote git repo should be used as the plugin source; if the user wants a local source and no repo exists yet, help them initialize and commit a local git repo first.
- Write the code, plugin manifest, or prompt that will be sent to the automations backend inside the current workspace
- Show the code to the user with the
canvas_uitool if available, otherwise present it in a fenced code block in your reply - Message the user with a concise summary of how the automation will behave, and ask if they are ready to deploy it
Architecture
Two components work together to run automations:
Automation Service (API at OPENHANDS_HOST/api/automation/v1)
Manages the when: holds automation definitions, schedules cron-triggered runs, dispatches webhook-triggered runs, and receives completion callbacks to mark runs as done. This is the API you call to create, update, and manage automations.
Agent Server (accessible as AGENT_SERVER_URL inside script runs)
Manages the what: the runtime environment where automation scripts execute and where conversations (AI agent interactions with tools, bash, file editing, etc.) run. When a run is triggered, the automation service uploads the automation's tarball to the agent server, which unpacks and runs the entrypoint script. The script connects back to the agent server using AGENT_SERVER_URL and a session API key to start, monitor, and stop conversations.
The agent server typically runs inside a sandbox (a Docker or Kubernetes container). Some deployments use sandboxless mode, where the agent server runs directly on a host.
Key environment variables:
| Variable | Availability | Description |
|---|---|---|
RUNTIME_URL |
Ambient in cloud environments | Public-facing URL of the agent server sandbox. Use this to determine whether external webhook delivery is possible — if unset or local, webhooks cannot be received. The automation service may run at a separate URL (see Determining the API Host). |
AGENT_SERVER_URL |
Injected into scripts at run time, local Agent Canvas only | Internal URL of the agent server. Available inside script execution context; not an ambient environment variable outside of a running script, and not set on OpenHands Cloud or Enterprise. |
OPENHANDS_HOST |
Shell convention only — set manually | Base URL for the automation service API. Not a real environment variable. Set it from an explicit host, a detected local Agent Canvas server, or the cloud default. Used in all curl examples throughout this skill. |
⚠️ CRITICAL — Agent behavior rules:
- Does this task need an LLM at all? Check first. Before picking a preset, ask whether the task actually requires reasoning, judgment, summarization, or open-ended tool use. If it is fully deterministic — fixed data transforms, scheduled HTTP calls, healthcheck pings, file rotation, picking from a known list, posting a te
Установить openhands-automation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл openhands-automation?
This skill should be used when the user asks to "create an automation", "schedule a task", "set up a cron job", "webhook integration", "event-triggered automation", or mentions automations, scheduled tasks, cron scheduling, or webhook events in OpenHands Cloud.
Как установить скилл openhands-automation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openhands-automation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic