on-demand-cluster

on-demand-cluster is a skill for Claude Code from zilliztech/zilliz-plugin. It costs 55 tokens per session (943 once invoked), scanned A, original, Apache-2.0.

Instructions for creating and managing on-demand Vector Lake clusters. A cluster is a group of computers that runs queries, while Vector Lake is a data system designed for vector-search workloads.

In plain words
What is it for?
Use them to create, list, describe, or delete on-demand clusters and set their compute size, idle timeout, and query capacity.
Why use it?
These clusters can automatically suspend after being idle, which suits occasional queries without leaving the cluster running continuously. The instructions also cover transparent resuming on the next query.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use them to create, list, describe, or delete on-demand clusters and set their compute size, idle timeout, and query capacity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zilliztech/zilliz-plugin/on-demand-cluster
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.

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

Made for: Claude Code.

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 on-demand-cluster

README.md
[![agentmods](https://agentmods.dev/badge/skills/zilliztech/zilliz-plugin/on-demand-cluster/github.svg)](https://agentmods.dev/skills/zilliztech/zilliz-plugin/on-demand-cluster)
Your own site
<a href="https://agentmods.dev/skills/zilliztech/zilliz-plugin/on-demand-cluster"><img src="https://agentmods.dev/badge/skills/zilliztech/zilliz-plugin/on-demand-cluster/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for on-demand-cluster

Your own site · 80×15
<a href="https://agentmods.dev/skills/zilliztech/zilliz-plugin/on-demand-cluster"><img src="https://agentmods.dev/badge/skills/zilliztech/zilliz-plugin/on-demand-cluster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00055 $0.00943
Opus 5 $0.00028 $0.00472
Sonnet 5 $0.00011 $0.00189
Haiku 4.5 $0.00006 $0.00094

Measured 9d ago against content hash 2e725d4a49a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

on-demand-cluster 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 9d 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/on-demand-cluster/SKILL.md · 83 lines

How it starts

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

Prerequisites

  1. CLI installed and logged in (see setup skill).
  2. A Vector Lake instance in the target project/region (see cluster skill -- cluster create-vectorlake).

Commands Reference

Create an On-Demand Cluster

create is hand-written and not generated from the JSON model. It calls POST /v2/clusters/createOnDemandCluster and accepts:

zilliz on-demand-cluster create \
  --project-id <project-id> \
  --region-id <region-id> \
  --cu-size <integer>            # required, >= 8
  --cluster-name <string> \      # required, max 64 chars, letters/digits/space/_/-/CJK
  [--session-ttl <duration>] \   # auto-suspend TTL: 30m, 1h, 90s (min 60s, default 60s)
  [--max-query-node-cu <n>] \
  [--max-query-node-replicas <n>]

Session TTL controls how long an idle on-demand cluster stays running before it is automatically suspended. Format is <number><s|m|h>, with a floor of 60 seconds. Resuming a suspended on-demand cluster happens transparently on the next query.

Examples:

# Create an 8-CU on-demand cluster with the default 60s idle TTL
zilliz on-demand-cluster create \
  --project-id proj-xxxx \
  --region-id aws-us-east-1 \
  --cu-size 8 \
  --cluster-name "qc-prod-1"

# Keep alive 30 minutes between queries, cap query node CU and replicas
zilliz on-demand-cluster create \
  --project-id proj-xxxx \
  --region-id aws-us-east-1 \
  --cu-size 16 \
  --cluster-name "qc-batch-1" \
  --session-ttl 30m \
  --max-query-node-cu 16 \
  --max-query-node-replicas 4

List On Demand Clusters

zilliz on-demand-cluster list --project-id <project-id> --region-id <cloud-region>

Describe an On Demand Cluster

zilliz on-demand-cluster describe --cluster-id <on-demand-cluster-id>

Delete an On Demand Cluster

zilliz on-demand-cluster delete --cluster-id <on-demand-cluster-id-to-delete>

Guidance

  • On-demand clusters belong to a Vector Lake instance and only exist inside a <projectId> + <regionId> pair. If neither list nor describe returns anything, first confirm that the project has a Vector Lake (zilliz cluster create-vectorlake).
  • list requires both --project-id and --region-id -- there is no all-projects listing.
  • Status flows through CREATING -> RUNNING -> SUSPENDING -> SUSPENDED and back to RESUMING -> RUNNING on the next query. Treat SUSPENDING/SUSPENDED as healthy idle state, not an error.
  • --session-ttl is the idle auto-suspend timer. The minimum is 60s; values smaller than that are rejected client-side before the API call. The current default is 60s, so on-demand clusters are aggressive about suspending -- raise it (e.g. 30m) when running interactive workloads.
  • --cu-size must be >= 8 and --cluster-name is at most 64 characters, allowing letters, digits, space, _, -, and Chinese characters.
  • delete is irreversible and asynchronous -- always confirm with the user before invoking. The cluster row moves to DELETING and disappears once cleanup finishes.
  • These commands are distinct from the regular cluster skill: a regular cluster owns its own compute, while on-demand clusters share storage with their parent Vector Lake. Do not confuse zilliz on-demand-cluster delete with zilliz cluster delete.

Read the full file on GitHub · 83 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. 9d ago First seen · 83 lines · 55 tokens per session scan A 2e725d4a49a9

Subscribe to this mod's changes

on-demand-cluster is a skill published in the GitHub repository zilliztech/zilliz-plugin (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 943 once invoked, about $0.0003 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.