# Send Alicloud Ai Search Milvus to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "alicloud-ai-search-milvus",
    "name": "Alicloud Ai Search Milvus",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/cinience/alicloud-ai-search-milvus",
    "canonicalUrl": "https://clawhub.ai/cinience/alicloud-ai-search-milvus",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/alicloud-ai-search-milvus",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alicloud-ai-search-milvus",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "agents/openai.yaml",
      "references/sources.md",
      "scripts/quickstart.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/alicloud-ai-search-milvus"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/alicloud-ai-search-milvus",
    "downloadUrl": "https://openagent3.xyz/downloads/alicloud-ai-search-milvus",
    "agentUrl": "https://openagent3.xyz/skills/alicloud-ai-search-milvus/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alicloud-ai-search-milvus/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alicloud-ai-search-milvus/agent.md"
  }
}
```
## Documentation

### 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://<host>:19530)
MILVUS_TOKEN (<username>:<password>)
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

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

### References

PyMilvus MilvusClient examples for AliCloud Milvus


Source list: references/sources.md
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cinience
- Version: 1.0.3
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/alicloud-ai-search-milvus)
- [Send to Agent page](https://openagent3.xyz/skills/alicloud-ai-search-milvus/agent)
- [JSON manifest](https://openagent3.xyz/skills/alicloud-ai-search-milvus/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/alicloud-ai-search-milvus/agent.md)
- [Download page](https://openagent3.xyz/downloads/alicloud-ai-search-milvus)