collection

collection is a skill for Claude Code, Codex from zilliztech/zilliz-plugin. It costs 32 tokens per session (1,691 once invoked), scanned A, original, Apache-2.0.

A command-line tool for managing Milvus collections, which are named containers for vector data and its schema. It also shows collection metrics over selected time periods.

In plain words
What is it for?
Use it to create, list, describe, rename, delete, load, release, and manage collection aliases, and to view metrics as charts or tables.
Why use it?
It removes the need to perform collection administration and metric checks through separate manual requests or interfaces.

Skill for Claude CodeCodex

Part of the zilliz plugin — 22 skills, 2 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zilliztech/zilliz-plugin/collection
Any agent
npx skills add zilliztech/zilliz-plugin --skill collection
Clone the repo
git clone --depth 1 https://github.com/zilliztech/zilliz-plugin

Made for: Claude Code, Codex.

Or install zilliz, the plugin that ships this one along with the rest of its 22 skills, 2 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for collection

README.md
[![agentmods](https://agentmods.dev/badge/skills/zilliztech/zilliz-plugin/collection.svg)](https://agentmods.dev/skills/zilliztech/zilliz-plugin/collection)
Your own site
<a href="https://agentmods.dev/skills/zilliztech/zilliz-plugin/collection"><img src="https://agentmods.dev/badge/skills/zilliztech/zilliz-plugin/collection.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,691 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.01691
Opus 5 $0.00016 $0.00846
Sonnet 5 $0.00006 $0.00338
Haiku 4.5 $0.00003 $0.00169

Measured 5d ago against content hash 9833b802b198, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

collection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/zilliz/skills/collection/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prerequisites

  1. CLI installed, logged in, and cluster context set (see setup skill).

Commands Reference

All collection commands accept an optional --database <db-name> flag to target a non-default database. If omitted, the database from the current context is used.

Collection metrics

Query per-collection metrics against POST /v2/clusters/{clusterId}/metrics/query with collectionName set in the request body. Mirrors the web console's Collection Detail > Metrics page.

zilliz collection metrics --collection-name <collection-name> --metric <metric-name>
# Optional:
#   --cluster-id <cluster-id>         Override cluster context
#   --period <duration>               e.g. 1h, 24h, 7d (mutually exclusive with --start/--end)
#   --start <iso-8601> --end <iso-8601>
#   --granularity <duration> / -g     e.g. 30s, 5m, 1h (auto-selected if omitted)
#   -o table                          Render pivot table instead of the default inline chart

The default output is an inline text chart: one block per metric with a summary line (min / max / avg / last) and a Braille-rendered line chart. Pass an explicit -o table (or --output table) to render the pivot-table layout — useful for terminals without good Braille font support. -o json, -o yaml, -o csv, and --query always bypass both renderers and return the raw response.

Examples:

# Period shorthand: last hour of SEARCH_QPS for a collection
zilliz collection metrics -c my_coll -m SEARCH_QPS --period 1h

# Explicit range with 1h granularity
zilliz collection metrics -c my_coll -m ENTITIES_LOADED \
  --start 2026-04-13T00:00:00Z --end 2026-04-14T00:00:00Z -g 1h

# Multiple metrics in a single call
zilliz collection metrics -c my_coll -m SEARCH_QPS -m SEARCH_LATENCY_P99 --period 6h

Metric scope

Each metric is tagged with a scope. zilliz collection metrics only accepts metrics whose scope is Collection or Both. Using a Cluster-only metric emits:

Metric '<NAME>' is cluster-scope only and cannot be used with --collection-name.

Read the full file on GitHub · 203 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 203 lines · 32 tokens per session scan A 9833b802b198

Subscribe to this mod's changes

collection is a skill published in the GitHub repository zilliztech/zilliz-plugin (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 32 tokens to every session and 1,691 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.