Index of every page on this site: llms.txt
All skills
Run it yourself

Deploy OpenSearch search applications to Aiven for OpenSearch (a fully managed OpenSearch service across AWS, GCP, Azure, DigitalOcean, and UpCloud). Use this skill when the user wants to provision an Aiven OpenSearch service, deploy a search configuration to Aiven, migrate a local search setup to Aiven, or manage Aiven-hosted OpenSearch infrastructure. Activate even if the user says Aiven, avn, Aiven Console, managed OpenSearch on Aiven, or Aiven OpenSearch without mentioning search. For Amazon OpenSearch Service or Serverless, use aws-setup instead.

Use this Skill: https://skilld.dev/gh/opensearch-project/opensearch-agent-skills/aiven-setup

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

aiven-01-provision.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Aiven for OpenSearch — Step 1: Provision Service

This guide covers creating and configuring an Aiven for OpenSearch service (a managed cluster). Follow it after the user chooses Aiven as the deployment target.

All Aiven calls go through the aiven-mcp MCP server. The Aiven Console equivalents are shown in comments so users who prefer the UI can follow along.

Prerequisites

Before starting:

  1. Read .opensearch-deploy-state.json for current deployment state
  2. Confirm aiven-mcp was connected with full access and allow_secrets=true (a connection flag that lets aiven_service_connection_info return the real credentials instead of [REDACTED]). If the connection is read-only, tell the user to reconnect with full access.

Step 1: Select the Project

aiven_project_list

Present the available projects and ask the user which one to deploy into. Save it as project.

Update state: "project": "<project>"

Step 2: List Plans

aiven_service_type_plans   # service_type="opensearch", project="<project>"

Each plan entry describes the tier (e.g. hobbyist, startup-4, business-8, premium-16), node count, CPU/memory, and disk. Some entries include regions / clouds listing where the plan can run.

Present the plans to the user (name, size, approximate price if available) and ask them to choose. Do not pick a plan yourself.

Save it as plan. Update state: "plan": "<plan>".

Step 3: Choose the Cloud Region

Prefer the regions / clouds shown on the chosen plan. If those are unclear, list all clouds available to the project:

aiven_list_project_clouds   # project="<project>"

Aiven cloud names look like aws-eu-west-1, google-europe-west1, azure-westeurope, do-fra1, upcloud-de-fra. Present valid names and ask the user to choose. Never invent a region.

Save it as cloud. Update state: "cloud": "<cloud>".

Step 4: Create the Service

Choose a service name (lowercase letters, numbers, dashes) and create the OpenSearch service:

aiven_service_create
  project      = "<project>"
  service_name = "<service-name>"
  service_type = "opensearch"
  plan         = "<plan>"
  cloud        = "<cloud>"
  # Optional user_config, e.g. OpenSearch major version:
  # user_config = { "opensearch_version": "2" }

Aiven Console equivalent: Services → Create service → OpenSearch, then pick cloud, region, and plan.

The response includes service_name, service_type, state (usually BUILDING right after create), plan, and cloud_name.

Tell the user the service is provisioning (typically a few minutes) and ask them to tell you when to check status. Do not poll in a loop.

Update state: "service_name": "<service-name>", "step_completed": "create-service".

Step 5: Wait for RUNNING, then Read Endpoint + Credentials

When the user asks you to check, call once:

aiven_service_get   # project="<project>", service_name="<service-name>"

If state is not RUNNING, report the state and stop — ask the user to tell you when to check again. Do not loop.

If state is RUNNING, read the endpoint and credentials with aiven_service_connection_info (this is the tool that returns the real host, port, user, and password — aiven_service_get keeps them [REDACTED]):

aiven_service_connection_info   # project="<project>", service_name="<service-name>"
  • Host / port / user — from the response (default admin user is avnadmin).
  • Password — from the response; requires allow_secrets=true, otherwise it comes back [REDACTED].
  • Dashboards URL — the opensearch_dashboards endpoint if present.

Aiven Console equivalent: the service's Connection information tab.

How the credential reaches the MCP: Aiven generates the password; you read it from aiven_service_connection_info and wire it into opensearch-mcp-server's OPENSEARCH_PASSWORD env in Step 2. The agent never invents it.

Store the pieces you'll need for Step 2. Do not echo the password into the chat beyond what's needed to configure the MCP server.

Update state:

{
  "step_completed": "provision-service",
  "resource_name": "<service-name>",
  "resource_host": "<host>",
  "resource_port": "<port>",
  "resource_endpoint": "https://<host>:<port>",
  "os_username": "<user>",
  "dashboards_url": "<opensearch_dashboards component url, if present>"
}

Do not write the password into the state file. Keep it only in the opensearch-mcp-server env configured in Step 2.

Next Step

Proceed to Deploy Search Configuration.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    The skill is authored by a known organization and provides deployment automation for Aiven OpenSearch. It follows a discouraged security practice by passing sensitive passwords through command-line arguments during the Search UI launch.

  • Socket3mo

    1 alert: gptAnomaly

  • Snyk3mo

    Risk: HIGH · 1 issue

Signed by skilld at c4f7b1e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 4 months ago
metadata
{
  "author": "opensearch-project",
  "version": "1.0"
}
Other metadata
compatibility
Requires the Aiven MCP server (aiven-mcp) connected with full access and allow_secrets=true, plus opensearch-mcp-server. An Aiven account with a project and a valid API token is required. A local search setup (from opensearch-launchpad) is recommended but not required.

README badge

README badge for opensearch-project/opensearch-agent-skills/aiven-setup