← Back to Skills Marketplace
cinience

Alicloud Ai Search Milvus

by cinience · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
1121
Downloads
0
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install alicloud-ai-search-milvus
Description
Use AliCloud Milvus (serverless) with PyMilvus to create collections, insert vectors, and run filtered similarity search. Optimized for Claude Code/Codex vec...
README (SKILL.md)

Category: provider

AliCloud Milvus (Serverless) via PyMilvus

This skill uses standard PyMilvus APIs to connect to AliCloud Milvus and run vector search.

Prerequisites

  • Install SDK (recommended in a venv to avoid PEP 668 limits):
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pymilvus
  • Provide connection via environment variables:
    • MILVUS_URI (e.g. http://\x3Chost>:19530)
    • MILVUS_TOKEN (\x3Cusername>:\x3Cpassword>)
    • MILVUS_DB (default: default)

Quickstart (Python)

import os
from pymilvus import MilvusClient

client = MilvusClient(
    uri=os.getenv("MILVUS_URI"),
    token=os.getenv("MILVUS_TOKEN"),
    db_name=os.getenv("MILVUS_DB", "default"),
)

# 1) Create a collection
client.create_collection(
    collection_name="docs",
    dimension=768,
)

# 2) Insert data
items = [
    {"id": 1, "vector": [0.01] * 768, "source": "kb", "chunk": 0},
    {"id": 2, "vector": [0.02] * 768, "source": "kb", "chunk": 1},
]
client.insert(collection_name="docs", data=items)

# 3) Search
query_vectors = [[0.01] * 768]
res = client.search(
    collection_name="docs",
    data=query_vectors,
    limit=5,
    filter='source == "kb" and chunk >= 0',
    output_fields=["source", "chunk"],
)
print(res)

Script quickstart

python skills/ai/search/alicloud-ai-search-milvus/scripts/quickstart.py

Environment variables:

  • MILVUS_URI
  • MILVUS_TOKEN
  • MILVUS_DB (optional)
  • MILVUS_COLLECTION (optional)
  • MILVUS_DIMENSION (optional)

Optional args: --collection, --dimension, --limit, --filter.

Notes for Claude Code/Codex

  • Insert is async; wait a few seconds before searching newly inserted data.
  • Keep vector dimension aligned with your embedding model.
  • Use filters to enforce tenant scoping or dataset partitions.

Error handling

  • Auth errors: check MILVUS_TOKEN and instance permissions.
  • Dimension mismatch: ensure all vectors match collection dimension.
  • Network errors: verify VPC/public access settings on the instance.

Validation

mkdir -p output/alicloud-ai-search-milvus
for f in skills/ai/search/alicloud-ai-search-milvus/scripts/*.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/alicloud-ai-search-milvus/validate.txt

Pass criteria: command exits 0 and output/alicloud-ai-search-milvus/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/alicloud-ai-search-milvus/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

Workflow

  1. Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
  2. Run one minimal read-only query first to verify connectivity and permissions.
  3. Execute the target operation with explicit parameters and bounded scope.
  4. Verify results and save output/evidence files.

References

  • PyMilvus MilvusClient examples for AliCloud Milvus

  • Source list: references/sources.md

Usage Guidance
This skill appears to be what it says (connects to Milvus and runs create/insert/search), but the package metadata failed to declare the sensitive environment variables the code actually requires. Before installing or running it: 1) do not supply admin or wide-scope credentials — use a low-privilege/read-only token for initial testing; 2) verify the MILVUS_URI and MILVUS_TOKEN are intended for this environment (avoid reuse of general account credentials); 3) review scripts/quickstart.py locally (it only uses pymilvus and prints/saves outputs) and run it in an isolated/test environment or container; 4) confirm where output files will be stored and ensure they are not auto-uploaded anywhere; 5) ask the publisher for source/homepage and request that the skill metadata be updated to explicitly declare required env vars and credential scopes. If you cannot verify the source or cannot limit token permissions, do not provide credentials.
Capability Analysis
Type: OpenClaw Skill Name: alicloud-ai-search-milvus Version: 1.0.3 The skill bundle provides a standard integration for Alibaba Cloud Milvus using the official pymilvus library. The included Python script (scripts/quickstart.py) and instructions (SKILL.md) perform legitimate vector database operations such as collection creation, data insertion, and similarity searching. No indicators of data exfiltration, malicious execution, or harmful prompt injection were identified.
Capability Assessment
Purpose & Capability
The skill's described purpose (use AliCloud Milvus via PyMilvus to create collections, insert vectors, and search) aligns with the included code and SKILL.md examples. However, the registry metadata does not declare any required environment variables/credentials even though the skill clearly needs MILVUS_URI and MILVUS_TOKEN to function.
Instruction Scope
SKILL.md and scripts limit actions to connecting to a Milvus instance, creating collections, inserting sample vectors, and performing searches. The workflow explicitly suggests confirming intent and running a read-only query first. It does include mutating steps (create/insert) which are expected for this purpose but should be noted before granting access.
Install Mechanism
No install spec — instruction-only with a small Python script. This is low-risk from an installation/download perspective; dependencies (pymilvus) are installed via pip per instructions, which is typical.
Credentials
Although requiring a Milvus URI and token is reasonable for this skill, the registry metadata does not declare these required environment variables or a primary credential. The SKILL.md and script require MILVUS_URI and MILVUS_TOKEN (sensitive credentials). The omission in metadata and the use of a raw token (username:password) is a configuration/information mismatch that increases risk if users are not aware before granting credentials.
Persistence & Privilege
The skill does not request permanent presence (always:false), does not modify other skills, and does not declare elevated platform privileges. It writes output artifacts locally per SKILL.md, which is normal for this type of tool.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alicloud-ai-search-milvus
  3. After installation, invoke the skill by name or use /alicloud-ai-search-milvus
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
batch publish from alicloud-skills on 2026-03-11
v1.0.2
batch publish from alicloud-skills on 2026-02-13
v1.0.1
Initial ClawHub publish for Alibaba Cloud skills with agents metadata.
v1.0.0
Initial ClawHub publish for Alibaba Cloud skills with agents metadata.
Metadata
Slug alicloud-ai-search-milvus
Version 1.0.3
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is Alicloud Ai Search Milvus?

Use AliCloud Milvus (serverless) with PyMilvus to create collections, insert vectors, and run filtered similarity search. Optimized for Claude Code/Codex vec... It is an AI Agent Skill for Claude Code / OpenClaw, with 1121 downloads so far.

How do I install Alicloud Ai Search Milvus?

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

Is Alicloud Ai Search Milvus free?

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

Which platforms does Alicloud Ai Search Milvus support?

Alicloud Ai Search Milvus is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Alicloud Ai Search Milvus?

It is built and maintained by cinience (@cinience); the current version is v1.0.3.

💬 Comments