← Back to Skills Marketplace
sdk-team

Alibabacloud Milvus Manage

by alibabacloud-skills-team · GitHub ↗ · v0.0.2 · MIT-0
cross-platform ⚠ suspicious
100
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install alibabacloud-milvus-manage
Description
Alibaba Cloud Milvus full-stack Skill for two planes: control-plane instance management via aliyun CLI, and data-plane Milvus operations via pymilvus. Use wh...
README (SKILL.md)

Alibaba Cloud Milvus Full-Stack Skill

Prerequisites

[MUST] CLI User-Agent — Every aliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-milvus-manage

[MUST] PyMilvus User-Agent — Every pymilvus SDK connection must include: grpc_options={"grpc.primary_user_agent": "AlibabaCloud-Agent-Skills/alibabacloud-milvus-manage"}

Alibaba Cloud CLI version must be >= 3.3.3.

Handle two distinct planes:

  • Control-plane: manage Alibaba Cloud managed Milvus instances with aliyun CLI.
  • Data-plane: operate Milvus with pymilvus Python code.

Treat SKILL.md as the router. Load references/*.md for detailed commands, parameters, and examples.

Scope

Use this skill for:

  • Alibaba Cloud managed Milvus instance lifecycle: create, inspect, scale, rename, configure, network, whitelist.
  • Milvus Python SDK workflows with pymilvus: connect, collections, vectors, search, indexes, partitions, databases, RBAC.
  • Retrieval use cases built on Milvus: semantic search, hybrid search, full-text search, RAG patterns.

Do not use this skill for:

  • self-hosted Milvus deployment on Docker, Helm, Kubernetes, or Milvus Operator,
  • Milvus Java / Go / Node SDKs,
  • other Alibaba Cloud products such as ECS, RDS, OSS, EMR, Kafka, StarRocks,
  • other vector databases such as Zilliz Cloud, Pinecone, Qdrant, or Weaviate.

Route The Request

Control-plane

Route here when the user asks about:

  • creating, scaling, renaming, or inspecting a Milvus instance,
  • connection address, component spec, configuration, public network, whitelist,
  • VPC/VSwitch prerequisites for Alibaba Cloud Milvus,
  • Milvus REST-style CLI APIs, creation parameters, or control-plane troubleshooting.

Read:

Data-plane

Route here when the user asks about:

  • connecting to Milvus with Python,
  • creating collections or schemas,
  • inserting, upserting, querying, deleting, or searching vectors,
  • hybrid search, BM25 full-text search, iterators, indexes,
  • partitions, databases, users, roles, or privileges,
  • Milvus-based RAG or semantic retrieval patterns.

Read:

Shared Guardrails

  • Decide the plane first. Do not mix control-plane instance operations with data-plane SDK code.
  • Confirm destructive actions before execution.
  • Validate untrusted user input before passing it into shell commands or code.
  • Prefer loading a targeted reference doc instead of keeping large inline examples in this file.

Control-Plane Rules

Required Environment

  • Reuse the configured aliyun profile. Verify credentials are configured before API calls.
  • Every aliyun CLI invocation must include the required User-Agent flag:
aliyun ... --user-agent AlibabaCloud-Agent-Skills/alibabacloud-milvus-manage
  • Milvus OpenAPI calls through aliyun must include --force.

Preconditions

Before create or major modify operations:

  1. Confirm RegionId with the user.
  2. Verify VPC and VSwitch resources in that region.
  3. For create, record ZoneId, VpcId, and VSwitchId.
  4. If the request is ambiguous, ask whether the user wants dev/test standalone or production HA cluster.

Baseline decision rule:

  • standalone_pro is the default for dev/test.
  • HA cluster is for production.
  • In HA mode, streaming, data, mix_coordinator, and query must use at least 4 CU; proxy must use at least 2 CU.

Detailed templates and field definitions live in references/instance-lifecycle.md and references/create-params.md.

CLI Calling Modes

Use the API's expected parameter mode. Do not improvise.

# get / delete: business params in URL query
aliyun milvus get "/path?RegionId=\x3Cregion>&instanceId=\x3Cid>" --RegionId \x3Cregion> --force --user-agent AlibabaCloud-Agent-Skills/alibabacloud-milvus-manage

# post / put with request body: business params in --body JSON
aliyun milvus post "/path?RegionId=\x3Cregion>" --RegionId \x3Cregion> --body '{...}' --force --user-agent AlibabaCloud-Agent-Skills/alibabacloud-milvus-manage

# post with query-style flags: business params as --Flag value
aliyun milvus post "/path" --RegionId \x3Cregion> --InstanceId \x3Cid> --force --user-agent AlibabaCloud-Agent-Skills/alibabacloud-milvus-manage

Rules:

  • Always pass --RegionId \x3Cregion>.
  • For CreateInstance and UpdateInstance, use --body.
  • For query-style POST APIs such as detail, config, network, ACL, and rename operations, use --Flag value.
  • Do not put user-provided raw text directly into a shell command unless it has been validated.

Runtime Safety

  • Do not download and execute remote scripts or unaudited dependencies during control-plane work.
  • Do not use eval or source with untrusted input.
  • Set reasonable timeouts on CLI calls. Prefer short timeouts for reads and bounded polling for long-running async operations.
  • For list APIs, do not trust total blindly; inspect the returned array.
  • Read the full error message before retrying. Automatic retry is appropriate for throttling, not for arbitrary failures.

Forbidden Operations

  • Instance deletion (DeleteInstance) is strictly forbidden through this Skill. If the user requests to delete/release a Milvus instance, do not execute the Milvus delete command through aliyun CLI. Instead, instruct the user to delete the instance via the Alibaba Cloud Milvus Console.

Destructive Operations

Require explicit confirmation before:

  • modifying instance config,
  • disabling public network access.

Use this template:

About to execute: \x3CAPI>, Target: \x3CInstanceId>, Impact: \x3CDescription>. Continue?

For config change and network troubleshooting flows, read references/operations.md or references/instance-lifecycle.md first.

Output Style

  • Summarize instance lists as a compact table.
  • Highlight instanceId, instanceName, status, dbVersion, ha, paymentType, and connection endpoints when relevant.
  • Convert timestamps to readable time.
  • Use --cli-query or jq to trim noisy payloads when useful.

Data-Plane Rules

Connection First

Before writing any pymilvus code, ask for:

  1. deployment type: Milvus Lite, self-hosted standalone/cluster, or Alibaba Cloud managed instance,
  2. URI or endpoint,
  3. authentication method and credentials if needed,
  4. database name if not using default.

Do not assume connection parameters. Use Milvus Lite only when the user explicitly wants local embedded mode.

Minimal connection shape:

from pymilvus import MilvusClient

PYMILVUS_GRPC_OPTIONS = {
    "grpc.primary_user_agent": "AlibabaCloud-Agent-Skills/alibabacloud-milvus-manage"
}

client = MilvusClient(
    uri="\x3CUSER_URI>",
    token="\x3CUSER_TOKEN>",
    grpc_options=PYMILVUS_GRPC_OPTIONS,
)
  • Every MilvusClient(...) and connections.connect(...) example must pass grpc_options=PYMILVUS_GRPC_OPTIONS.
  • Do not emit pymilvus SDK connection code without grpc_options=PYMILVUS_GRPC_OPTIONS.

For async usage, schema details, and deployment-specific patterns, load the relevant reference doc.

Data Safety And Correctness

  • Never generate fake or placeholder vectors. Always use a real embedding model.
  • The query embedding model must match the model used to create stored vectors.
  • Vector dimensions must exactly match the collection schema.
  • A collection must be loaded before search or query.
  • Confirm destructive operations such as drop_collection, drop_database, or large deletes before executing.
  • Prefer AUTOINDEX unless the user has explicit performance requirements.

Minimal Workflow

For most SDK tasks:

  1. load references/collection.md for schema and collection operations,
  2. load references/vector.md for insert/search/query/delete patterns,
  3. load references/index.md if the user cares about index type, metric, or tuning,
  4. add partition/database/RBAC references only if the task actually needs them.

Common Patterns

Suggested Response Flow

If control-plane

  1. Confirm region and target instance scope.
  2. Read the matching control-plane reference.
  3. Run the command with the correct parameter mode.
  4. Report the key fields, next state, and any follow-up wait conditions.

If data-plane

  1. Ask for connection details first.
  2. Read only the references needed for the requested SDK task.
  3. Write or explain pymilvus code with real embeddings, real connection placeholders, and grpc_options=PYMILVUS_GRPC_OPTIONS.
  4. Call out schema, load-state, index, and dimension pitfalls if they matter.

Reference Map

Usage Guidance
This skill's documentation instructs the agent to run Alibaba Cloud CLI commands that use your configured aliyun profile (i.e., your AccessKey/secret) and to run Python code that may use Milvus credentials — yet the published metadata does not declare those requirements. Before installing or running the skill: - Treat it as requiring the `aliyun` CLI and valid Alibaba Cloud credentials plus Python 3.8+ and pymilvus. Expect operations that create/scale/configure instances and therefore can incur charges. - Do not provide highly-privileged or long-lived keys; use least-privilege AccessKey credentials scoped to only the Milvus actions required, or a temporary/limited profile. - Confirm you trust the skill source (owner and homepage are unknown). Ask the publisher to explain why metadata omits the required binaries/env vars and request a clear list of exactly what credentials/permissions are needed. - Note the instructions require `--force` for aliyun calls (bypasses local path validation). Understand and accept that behavior before allowing CLI commands. - If you proceed, monitor created cloud resources and billing, and avoid allowing the agent to run destructive operations without explicit, per-action confirmation.
Capability Analysis
Type: OpenClaw Skill Name: alibabacloud-milvus-manage Version: 0.0.2 The alibabacloud-milvus-manage skill bundle is a well-structured set of instructions and references for managing Alibaba Cloud Milvus instances and data. It includes explicit safety guardrails, such as a strict prohibition on the 'DeleteInstance' operation (directing users to the console instead) and requirements for user confirmation before destructive actions. The use of the 'aliyun' CLI and 'pymilvus' SDK aligns with the stated purpose, and no indicators of data exfiltration, malicious execution, or harmful prompt injection were found.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
The skill is described as a control-plane (aliyun CLI) + data-plane (pymilvus) tool. The SKILL.md repeatedly instructs use of the `aliyun` CLI with a configured profile and Python/pymilvus, but the registry metadata lists no required binaries, no required env vars, and no primary credential. This mismatch is not proportionate: a control-plane skill legitimately needs cloud credentials and the aliyun binary declared.
Instruction Scope
Instructions direct the agent to run `aliyun milvus` commands (create/scale/configure/network/whitelist) and to run Python pymilvus code (connect, insert/search, RBAC). They warn to validate user input and to confirm destructive actions. The requirement to always include `--force` (bypass local path validation) and to reuse an existing aliyun profile (local credentials) are notable — they expand the agent's runtime scope to use account credentials and perform billing-affecting actions.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing will be downloaded or written by an installer. This keeps install risk low. However, runtime uses external tooling (aliyun CLI, Python/pymilvus) which must already exist on the host.
Credentials
The SKILL.md requires use of configured Alibaba Cloud credentials (aliyun profile), setting ALIBABA_CLOUD_USER_AGENT, and connecting to Milvus instances with host/user/password or tokens — all of which imply handling secrets. The skill registry declares no env or credential requirements; that's an under-declaration that may mislead users about what secrets the skill will require or use.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system-wide configuration. It can be invoked autonomously (platform default), which is normal; there is no explicit request for permanent presence or modification of other skills' configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alibabacloud-milvus-manage
  3. After installation, invoke the skill by name or use /alibabacloud-milvus-manage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.2
**Major upgrade: Adds data-plane operations with pymilvus, expands documentation and usability.** - Introduced data-plane Milvus operations via the Python SDK (`pymilvus`) for collection, vector, index, and RBAC workflows. - Split documentation into detailed references for both control-plane (instance management) and data-plane (DB operations). - Added new reference docs: collection, vector, index, partition, database, user-role, and solution patterns. - Updated control-plane guidance, including stricter safety, parameter validation, and forbidden/destructive operation rules. - Enhanced routing rules to distinguish and enforce correct operation plane and safe command execution. - Improved user guidance, documentation linking, and output formatting standards.
v0.0.1
Initial release: Easily manage the full lifecycle of Alibaba Cloud managed Milvus instances via the Alibaba Cloud CLI. - Supports creation, scaling, configuration, network management, status queries, and troubleshooting for Milvus. - Handles both standalone (for dev/test) and cluster (for production) Milvus deployment types. - Guides users on CU/unit selection, scaling, instance configuration, and supported regions. - Emphasizes correct API calling patterns and User-Agent requirements for all Milvus CLI operations. - Includes clear prerequisites and component capacity notes to avoid configuration errors.
Metadata
Slug alibabacloud-milvus-manage
Version 0.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Alibabacloud Milvus Manage?

Alibaba Cloud Milvus full-stack Skill for two planes: control-plane instance management via aliyun CLI, and data-plane Milvus operations via pymilvus. Use wh... It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.

How do I install Alibabacloud Milvus Manage?

Run "/install alibabacloud-milvus-manage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Alibabacloud Milvus Manage free?

Yes, Alibabacloud Milvus Manage is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Alibabacloud Milvus Manage support?

Alibabacloud Milvus Manage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Alibabacloud Milvus Manage?

It is built and maintained by alibabacloud-skills-team (@sdk-team); the current version is v0.0.2.

💬 Comments