Skip to main content

openhands

Unified OpenHands plugin — bundles the OpenHands Cloud CLI, Cloud REST API (openhands-api), Automations (openhands-automation), and Software Agent SDK reference (openhands-sdk) into a single plugin. Use this when you need to interact with OpenHands Cloud or build agents with the SDK.

Informations de source

Dépôt
OpenHands/extensions
Dernière activité de la source
1 juillet 2026 à 22:49
Langue détectée de SKILL.md
anglais
Étoiles
167
Forks
114

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
11 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
openhands
description
Unified OpenHands plugin — bundles the OpenHands Cloud CLI, Cloud REST API (openhands-api), Automations (openhands-automation), and Software Agent SDK reference (openhands-sdk) into a single plugin. Use this when you need to interact with OpenHands Cloud or build agents with the SDK.
triggers
["/openhands-cloud"]
# OpenHands — Cloud, API, Automations & SDK This plugin bundles all OpenHands capabilities under one roof: | Capability | Skill | When to use | |---|---|---| | **CLI** (`openhands cloud`) | — (plugin-only) | Send a task to Cloud and get a conversation URL | | **Cloud REST API (V1)** | `openhands-api` | Start/inspect conversations, delegate work, access sandboxes | | **Automations API** | `openhands-automation` | Create and manage scheduled cron tasks | | **Software Agent SDK** | `openhands-sdk` | Build agents with the Python SDK — custom tools, LLMs, conversations, delegation | Each capability is also available as a standalone skill under `skills/`. This plugin provides a unified entry point and the CLI integration script. ## Authentication — try CLI first 1. **Check if the OpenHands CLI is installed:** ```bash command -v openhands &>/dev/null && echo "CLI available" || echo "CLI not found" ``` PowerShell check: ```powershell if (Get-Command openhands -ErrorAction SilentlyContinue) { "CLI available" } else { "CLI not found" } ``` 2. **If CLI is available**, use it — it manages auth and API keys automatically. 3. **If CLI is not available**, check for an API key: - Preferred env var: `OPENHANDS_CLOUD_API_KEY` - Backward-compatible: `OPENHANDS_API_KEY` - Header: `Authorization: Bearer <key>` 4. **If neither exists**, ask the user whether they'd like to install the CLI: ```bash uv tool install openhands --python 3.12 openhands cloud # starts auth flow ``` ## Quick start — send a task via CLI ```bash ./scripts/run.sh "Investigate flaky tests in tests/test_api.py" ``` The script checks for the CLI, installs it if needed, sends the task, and opens the resulting conversation URL. On Windows, run this POSIX shell script from Git Bash or WSL (`bash scripts/run.sh "Investigate flaky tests in tests/test_api.py"`) unless a native PowerShell launcher is available. If the script exits with code `2` (`AUTH_REQUIRED`), ask the user to complete authentication in the browser, then re-run. ## Bundled skills For full API references, see the individual skills: - **`skills/openhands-api`** — Cloud REST API: endpoints, polling, delegation, events, debugging, Python/TypeScript clients - **`skills/openhands-automation`** — Automations API: presets, CRUD, cron schedules, plugin preset, custom automations - **`skills/openhands-sdk`** — Software Agent SDK: building agents, custom tools, LLM config, conversations, sub-agent delegation, MCP, security, persistence
Voir sur GitHub